| 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 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 declare_args() { | 8 declare_args() { |
| 9 compile_suid_client = is_linux | 9 compile_suid_client = is_linux |
| 10 | 10 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 "seccomp-bpf/sandbox_bpf_test_runner.h", | 60 "seccomp-bpf/sandbox_bpf_test_runner.h", |
| 61 ] | 61 ] |
| 62 deps += [ ":seccomp_bpf" ] | 62 deps += [ ":seccomp_bpf" ] |
| 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 "services/proc_util_unittest.cc", | 69 "services/proc_util_unittest.cc", |
| 70 "services/resource_limits_unittests.cc", |
| 70 "services/scoped_process_unittest.cc", | 71 "services/scoped_process_unittest.cc", |
| 71 "services/syscall_wrappers_unittest.cc", | 72 "services/syscall_wrappers_unittest.cc", |
| 72 "services/thread_helpers_unittests.cc", | 73 "services/thread_helpers_unittests.cc", |
| 73 "services/yama_unittests.cc", | 74 "services/yama_unittests.cc", |
| 74 "syscall_broker/broker_file_permission_unittest.cc", | 75 "syscall_broker/broker_file_permission_unittest.cc", |
| 75 "syscall_broker/broker_process_unittest.cc", | 76 "syscall_broker/broker_process_unittest.cc", |
| 76 "tests/main.cc", | 77 "tests/main.cc", |
| 77 "tests/scoped_temporary_file.cc", | 78 "tests/scoped_temporary_file.cc", |
| 78 "tests/scoped_temporary_file.h", | 79 "tests/scoped_temporary_file.h", |
| 79 "tests/scoped_temporary_file_unittest.cc", | 80 "tests/scoped_temporary_file_unittest.cc", |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 ] | 228 ] |
| 228 } | 229 } |
| 229 } | 230 } |
| 230 | 231 |
| 231 component("sandbox_services") { | 232 component("sandbox_services") { |
| 232 sources = [ | 233 sources = [ |
| 233 "services/init_process_reaper.cc", | 234 "services/init_process_reaper.cc", |
| 234 "services/init_process_reaper.h", | 235 "services/init_process_reaper.h", |
| 235 "services/proc_util.cc", | 236 "services/proc_util.cc", |
| 236 "services/proc_util.h", | 237 "services/proc_util.h", |
| 238 "services/resource_limits.cc", |
| 239 "services/resource_limits.h", |
| 237 "services/scoped_process.cc", | 240 "services/scoped_process.cc", |
| 238 "services/scoped_process.h", | 241 "services/scoped_process.h", |
| 239 "services/syscall_wrappers.cc", | 242 "services/syscall_wrappers.cc", |
| 240 "services/syscall_wrappers.h", | 243 "services/syscall_wrappers.h", |
| 241 "services/thread_helpers.cc", | 244 "services/thread_helpers.cc", |
| 242 "services/thread_helpers.h", | 245 "services/thread_helpers.h", |
| 243 "services/yama.cc", | 246 "services/yama.cc", |
| 244 "services/yama.h", | 247 "services/yama.h", |
| 245 "syscall_broker/broker_channel.cc", | 248 "syscall_broker/broker_channel.cc", |
| 246 "syscall_broker/broker_channel.h", | 249 "syscall_broker/broker_channel.h", |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 # 'type': 'none', | 352 # 'type': 'none', |
| 350 # 'variables': { | 353 # 'variables': { |
| 351 # 'test_suite_name': 'sandbox_linux_jni_unittests', | 354 # 'test_suite_name': 'sandbox_linux_jni_unittests', |
| 352 # }, | 355 # }, |
| 353 # 'dependencies': [ | 356 # 'dependencies': [ |
| 354 # 'sandbox_linux_jni_unittests', | 357 # 'sandbox_linux_jni_unittests', |
| 355 # ], | 358 # ], |
| 356 # 'includes': [ '../../build/apk_test.gypi' ], | 359 # 'includes': [ '../../build/apk_test.gypi' ], |
| 357 # } | 360 # } |
| 358 } | 361 } |
| OLD | NEW |