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 'type': 'static_library', | |
62 'dependencies': [ | |
63 '../testing/gtest.gyp:gtest', | |
64 ], | |
65 'include_dirs': [ | |
66 '../..', | |
67 ], | |
68 'sources': [ | |
69 'tests/test_utils.cc', | |
70 'tests/test_utils.h', | |
71 'tests/unit_tests.cc', | |
72 'tests/unit_tests.h', | |
73 ], | |
74 }, | |
75 { | |
76 # The main sandboxing test target. | 60 # The main sandboxing test target. |
77 'target_name': 'sandbox_linux_unittests', | 61 'target_name': 'sandbox_linux_unittests', |
78 'includes': [ | 62 'includes': [ |
79 'sandbox_linux_test_sources.gypi', | 63 'sandbox_linux_test_sources.gypi', |
80 ], | 64 ], |
81 'type': 'executable', | 65 'type': 'executable', |
82 }, | 66 }, |
83 { | 67 { |
84 # This target is the shared library used by Android APK (i.e. | 68 # This target is the shared library used by Android APK (i.e. |
85 # JNI-friendly) tests. | 69 # JNI-friendly) tests. |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 }, | 301 }, |
318 'dependencies': [ | 302 'dependencies': [ |
319 'sandbox_linux_jni_unittests', | 303 'sandbox_linux_jni_unittests', |
320 ], | 304 ], |
321 'includes': [ '../../build/apk_test.gypi' ], | 305 'includes': [ '../../build/apk_test.gypi' ], |
322 } | 306 } |
323 ], | 307 ], |
324 }], | 308 }], |
325 ], | 309 ], |
326 } | 310 } |
OLD | NEW |