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 'compile_credentials': 1, | 10 'compile_credentials': 1, |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
50 # Compile seccomp BPF when we support it. | 50 # Compile seccomp BPF when we support it. |
51 [ 'use_seccomp_bpf==1', { | 51 [ 'use_seccomp_bpf==1', { |
52 'dependencies': [ | 52 'dependencies': [ |
53 'seccomp_bpf', | 53 'seccomp_bpf', |
54 'seccomp_bpf_helpers', | 54 'seccomp_bpf_helpers', |
55 ], | 55 ], |
56 }], | 56 }], |
57 ], | 57 ], |
58 }, | 58 }, |
59 { | 59 { |
60 'target_name': 'sandbox_linux_test_utils', | |
61 'dependencies': [ | |
62 '../testing/gtest.gyp:gtest', | |
63 ], | |
64 'include_dirs': [ | |
65 '../..', | |
66 ], | |
67 'sources': [ | |
68 'tests/test_utils.cc', | |
69 'tests/test_utils.h', | |
70 'tests/unit_tests.cc', | |
71 'tests/unit_tests.h', | |
72 ], | |
73 'type': 'static_library', | |
Mark Seaborn
2014/04/15 23:03:14
Nit: put after target_name
hamaji
2014/04/16 02:10:48
Done.
| |
74 }, | |
75 { | |
60 # The main sandboxing test target. | 76 # The main sandboxing test target. |
61 'target_name': 'sandbox_linux_unittests', | 77 'target_name': 'sandbox_linux_unittests', |
62 'includes': [ | 78 'includes': [ |
63 'sandbox_linux_test_sources.gypi', | 79 'sandbox_linux_test_sources.gypi', |
64 ], | 80 ], |
65 'type': 'executable', | 81 'type': 'executable', |
66 }, | 82 }, |
67 { | 83 { |
68 # This target is the shared library used by Android APK (i.e. | 84 # This target is the shared library used by Android APK (i.e. |
69 # JNI-friendly) tests. | 85 # JNI-friendly) tests. |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
301 }, | 317 }, |
302 'dependencies': [ | 318 'dependencies': [ |
303 'sandbox_linux_jni_unittests', | 319 'sandbox_linux_jni_unittests', |
304 ], | 320 ], |
305 'includes': [ '../../build/apk_test.gypi' ], | 321 'includes': [ '../../build/apk_test.gypi' ], |
306 } | 322 } |
307 ], | 323 ], |
308 }], | 324 }], |
309 ], | 325 ], |
310 } | 326 } |
OLD | NEW |