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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 ] | 59 ] |
60 deps += [ | 60 deps += [ |
61 ":seccomp_bpf", | 61 ":seccomp_bpf", |
62 ] | 62 ] |
63 } | 63 } |
64 } | 64 } |
65 | 65 |
66 # The main sandboxing test target. | 66 # The main sandboxing test target. |
67 test("sandbox_linux_unittests") { | 67 test("sandbox_linux_unittests") { |
68 sources = [ | 68 sources = [ |
69 "tests/main.cc", | |
70 "tests/unit_tests_unittest.cc", | |
71 "services/broker_process_unittest.cc", | 69 "services/broker_process_unittest.cc", |
72 "services/scoped_process_unittest.cc", | 70 "services/scoped_process_unittest.cc", |
73 "services/thread_helpers_unittests.cc", | 71 "services/thread_helpers_unittests.cc", |
74 "services/yama_unittests.cc", | 72 "services/yama_unittests.cc", |
| 73 "tests/main.cc", |
| 74 "tests/scoped_temporary_file.cc", |
| 75 "tests/scoped_temporary_file.h", |
| 76 "tests/scoped_temporary_file_unittest.cc", |
| 77 "tests/unit_tests_unittest.cc", |
75 ] | 78 ] |
76 | 79 |
77 deps = [ | 80 deps = [ |
78 ":sandbox", | 81 ":sandbox", |
79 ":sandbox_linux_test_utils", | 82 ":sandbox_linux_test_utils", |
80 "//base", | 83 "//base", |
81 "//base/test:test_support", | 84 "//base/test:test_support", |
82 "//testing/gtest", | 85 "//testing/gtest", |
83 ] | 86 ] |
84 | 87 |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 # 'type': 'none', | 308 # 'type': 'none', |
306 # 'variables': { | 309 # 'variables': { |
307 # 'test_suite_name': 'sandbox_linux_jni_unittests', | 310 # 'test_suite_name': 'sandbox_linux_jni_unittests', |
308 # }, | 311 # }, |
309 # 'dependencies': [ | 312 # 'dependencies': [ |
310 # 'sandbox_linux_jni_unittests', | 313 # 'sandbox_linux_jni_unittests', |
311 # ], | 314 # ], |
312 # 'includes': [ '../../build/apk_test.gypi' ], | 315 # 'includes': [ '../../build/apk_test.gypi' ], |
313 # } | 316 # } |
314 } | 317 } |
OLD | NEW |