OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 | 6 |
7 declare_args() { | 7 declare_args() { |
8 compile_suid_client = is_linux | 8 compile_suid_client = is_linux |
9 | 9 |
10 compile_credentials = is_linux | 10 compile_credentials = is_linux |
(...skipping 17 matching lines...) Expand all Loading... |
28 } | 28 } |
29 if (use_seccomp_bpf) { | 29 if (use_seccomp_bpf) { |
30 deps += [ | 30 deps += [ |
31 ":seccomp_bpf", | 31 ":seccomp_bpf", |
32 ":seccomp_bpf_helpers", | 32 ":seccomp_bpf_helpers", |
33 ] | 33 ] |
34 } | 34 } |
35 } | 35 } |
36 | 36 |
37 source_set("sandbox_linux_test_utils") { | 37 source_set("sandbox_linux_test_utils") { |
| 38 testonly = true |
38 sources = [ | 39 sources = [ |
39 "tests/sandbox_test_runner.cc", | 40 "tests/sandbox_test_runner.cc", |
40 "tests/sandbox_test_runner.h", | 41 "tests/sandbox_test_runner.h", |
41 "tests/sandbox_test_runner_function_pointer.cc", | 42 "tests/sandbox_test_runner_function_pointer.cc", |
42 "tests/sandbox_test_runner_function_pointer.h", | 43 "tests/sandbox_test_runner_function_pointer.h", |
43 "tests/test_utils.cc", | 44 "tests/test_utils.cc", |
44 "tests/test_utils.h", | 45 "tests/test_utils.h", |
45 "tests/unit_tests.cc", | 46 "tests/unit_tests.cc", |
46 "tests/unit_tests.h", | 47 "tests/unit_tests.h", |
47 ] | 48 ] |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 # 'type': 'none', | 316 # 'type': 'none', |
316 # 'variables': { | 317 # 'variables': { |
317 # 'test_suite_name': 'sandbox_linux_jni_unittests', | 318 # 'test_suite_name': 'sandbox_linux_jni_unittests', |
318 # }, | 319 # }, |
319 # 'dependencies': [ | 320 # 'dependencies': [ |
320 # 'sandbox_linux_jni_unittests', | 321 # 'sandbox_linux_jni_unittests', |
321 # ], | 322 # ], |
322 # 'includes': [ '../../build/apk_test.gypi' ], | 323 # 'includes': [ '../../build/apk_test.gypi' ], |
323 # } | 324 # } |
324 } | 325 } |
OLD | NEW |