OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |