Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(397)

Side by Side Diff: sandbox/linux/sandbox_linux.gypi

Issue 17820002: Add compiler flags that prevent text relocations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add flag for release. Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'conditions': [ 7 'conditions': [
8 ['OS=="linux"', { 8 ['OS=="linux"', {
9 'compile_suid_client': 1, 9 'compile_suid_client': 1,
10 }, { 10 }, {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 'target_name': 'sandbox_linux_jni_unittests', 69 'target_name': 'sandbox_linux_jni_unittests',
70 'includes': [ 70 'includes': [
71 'sandbox_linux_test_sources.gypi', 71 'sandbox_linux_test_sources.gypi',
72 ], 72 ],
73 'type': 'shared_library', 73 'type': 'shared_library',
74 'conditions': [ 74 'conditions': [
75 [ 'OS == "android" and gtest_target_type == "shared_library"', { 75 [ 'OS == "android" and gtest_target_type == "shared_library"', {
76 'dependencies': [ 76 'dependencies': [
77 '../testing/android/native_test.gyp:native_test_native_code', 77 '../testing/android/native_test.gyp:native_test_native_code',
78 ], 78 ],
79 'ldflags!': [
80 # Remove warnings about text relocations, to prevent build
81 # failure.
82 '-Wl,--warn-shared-textrel'
83 ],
79 }], 84 }],
80 ], 85 ],
81 }, 86 },
82 { 87 {
83 'target_name': 'seccomp_bpf', 88 'target_name': 'seccomp_bpf',
84 'type': 'static_library', 89 'type': 'static_library',
85 'sources': [ 90 'sources': [
86 'seccomp-bpf/basicblock.cc', 91 'seccomp-bpf/basicblock.cc',
87 'seccomp-bpf/basicblock.h', 92 'seccomp-bpf/basicblock.h',
88 'seccomp-bpf/codegen.cc', 93 'seccomp-bpf/codegen.cc',
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 }, 217 },
213 'dependencies': [ 218 'dependencies': [
214 'sandbox_linux_jni_unittests', 219 'sandbox_linux_jni_unittests',
215 ], 220 ],
216 'includes': [ '../../build/apk_test.gypi' ], 221 'includes': [ '../../build/apk_test.gypi' ],
217 } 222 }
218 ], 223 ],
219 }], 224 }],
220 ], 225 ],
221 } 226 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698