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=="ia32" ' | 13 ['(OS=="linux" or OS=="android") and (target_arch=="ia32" ' |
jln (very slow on Chromium)
2013/01/08 22:26:09
Update your repo and you'll see that you need to r
| |
14 'or target_arch=="x64" or target_arch=="arm")', { | 14 'or target_arch=="x64" or target_arch=="arm")', { |
15 'compile_seccomp_bpf': 1, | 15 'compile_seccomp_bpf': 1, |
16 }, { | 16 }, { |
17 'compile_seccomp_bpf': 0, | 17 'compile_seccomp_bpf': 0, |
18 }], | 18 }], |
19 ], | 19 ], |
20 }, | 20 }, |
21 'target_defaults': { | 21 'target_defaults': { |
22 'target_conditions': [ | 22 'target_conditions': [ |
23 # All linux/ files will automatically be excluded on Android | 23 # All linux/ files will automatically be excluded on Android |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
68 'type': '<(gtest_target_type)', | 68 'type': '<(gtest_target_type)', |
69 'dependencies': [ | 69 'dependencies': [ |
70 'sandbox', | 70 'sandbox', |
71 '../testing/gtest.gyp:gtest', | 71 '../testing/gtest.gyp:gtest', |
72 ], | 72 ], |
73 'sources': [ | 73 'sources': [ |
74 'tests/main.cc', | 74 'tests/main.cc', |
75 'tests/unit_tests.cc', | 75 'tests/unit_tests.cc', |
76 'tests/unit_tests.h', | 76 'tests/unit_tests.h', |
77 'services/broker_process_unittest.cc', | 77 'services/broker_process_unittest.cc', |
78 'services/ucontext_unittest.cc' | |
78 ], | 79 ], |
79 'include_dirs': [ | 80 'include_dirs': [ |
80 '../..', | 81 '../..', |
81 ], | 82 ], |
82 'conditions': [ | 83 'conditions': [ |
83 [ 'compile_suid_client==1', { | 84 [ 'compile_suid_client==1', { |
84 'sources': [ | 85 'sources': [ |
85 'suid/client/setuid_sandbox_client_unittest.cc', | 86 'suid/client/setuid_sandbox_client_unittest.cc', |
86 ], | 87 ], |
87 }], | 88 }], |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
214 'input_shlib_path': | 215 'input_shlib_path': |
215 '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sandbox_linux_unittests' | 216 '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sandbox_linux_unittests' |
216 '<(SHARED_LIB_SUFFIX)', | 217 '<(SHARED_LIB_SUFFIX)', |
217 }, | 218 }, |
218 'includes': [ '../../build/apk_test.gypi' ], | 219 'includes': [ '../../build/apk_test.gypi' ], |
219 } | 220 } |
220 ], | 221 ], |
221 }], | 222 }], |
222 ], | 223 ], |
223 } | 224 } |
OLD | NEW |