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 }, { |
11 'compile_suid_client': 0, | 11 'compile_suid_client': 0, |
12 }], | 12 }], |
13 ['((OS=="linux" or (OS=="android" and target_arch=="arm")) and ' | 13 ['(OS=="linux" or OS=="android") and (target_arch=="ia32" ' |
14 '(target_arch=="ia32" or target_arch=="x64" or ' | 14 'or target_arch=="x64" or target_arch=="arm")', { |
15 'target_arch=="arm"))', { | |
16 'compile_seccomp_bpf': 1, | 15 'compile_seccomp_bpf': 1, |
17 }, { | 16 }, { |
18 'compile_seccomp_bpf': 0, | 17 'compile_seccomp_bpf': 0, |
19 }], | 18 }], |
20 ], | 19 ], |
21 }, | 20 }, |
22 'target_defaults': { | 21 'target_defaults': { |
23 'target_conditions': [ | 22 'target_conditions': [ |
24 # All linux/ files will automatically be excluded on Android | 23 # All linux/ files will automatically be excluded on Android |
25 # so make sure we re-include them explicitly. | 24 # so make sure we re-include them explicitly. |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 'type': '<(gtest_target_type)', | 68 'type': '<(gtest_target_type)', |
70 'dependencies': [ | 69 'dependencies': [ |
71 'sandbox', | 70 'sandbox', |
72 '../testing/gtest.gyp:gtest', | 71 '../testing/gtest.gyp:gtest', |
73 ], | 72 ], |
74 'sources': [ | 73 'sources': [ |
75 'tests/main.cc', | 74 'tests/main.cc', |
76 'tests/unit_tests.cc', | 75 'tests/unit_tests.cc', |
77 'tests/unit_tests.h', | 76 'tests/unit_tests.h', |
78 'services/broker_process_unittest.cc', | 77 'services/broker_process_unittest.cc', |
| 78 'services/ucontext_unittest.cc' |
79 ], | 79 ], |
80 'include_dirs': [ | 80 'include_dirs': [ |
81 '../..', | 81 '../..', |
82 ], | 82 ], |
83 'conditions': [ | 83 'conditions': [ |
84 [ 'compile_suid_client==1', { | 84 [ 'compile_suid_client==1', { |
85 'sources': [ | 85 'sources': [ |
86 'suid/client/setuid_sandbox_client_unittest.cc', | 86 'suid/client/setuid_sandbox_client_unittest.cc', |
87 ], | 87 ], |
88 }], | 88 }], |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 'input_shlib_path': | 215 'input_shlib_path': |
216 '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sandbox_linux_unittests' | 216 '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sandbox_linux_unittests' |
217 '<(SHARED_LIB_SUFFIX)', | 217 '<(SHARED_LIB_SUFFIX)', |
218 }, | 218 }, |
219 'includes': [ '../../build/apk_test.gypi' ], | 219 'includes': [ '../../build/apk_test.gypi' ], |
220 } | 220 } |
221 ], | 221 ], |
222 }], | 222 }], |
223 ], | 223 ], |
224 } | 224 } |
OLD | NEW |