| 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 ] | 227 ] |
| 227 } | 228 } |
| 228 } | 229 } |
| 229 | 230 |
| 230 component("sandbox_services") { | 231 component("sandbox_services") { |
| 231 sources = [ | 232 sources = [ |
| 232 "services/init_process_reaper.cc", | 233 "services/init_process_reaper.cc", |
| 233 "services/init_process_reaper.h", | 234 "services/init_process_reaper.h", |
| 234 "services/proc_util.cc", | 235 "services/proc_util.cc", |
| 235 "services/proc_util.h", | 236 "services/proc_util.h", |
| 237 "services/resource_limits.cc", |
| 238 "services/resource_limits.h", |
| 236 "services/scoped_process.cc", | 239 "services/scoped_process.cc", |
| 237 "services/scoped_process.h", | 240 "services/scoped_process.h", |
| 238 "services/syscall_wrappers.cc", | 241 "services/syscall_wrappers.cc", |
| 239 "services/syscall_wrappers.h", | 242 "services/syscall_wrappers.h", |
| 240 "services/thread_helpers.cc", | 243 "services/thread_helpers.cc", |
| 241 "services/thread_helpers.h", | 244 "services/thread_helpers.h", |
| 242 "services/yama.cc", | 245 "services/yama.cc", |
| 243 "services/yama.h", | 246 "services/yama.h", |
| 244 "syscall_broker/broker_channel.cc", | 247 "syscall_broker/broker_channel.cc", |
| 245 "syscall_broker/broker_channel.h", | 248 "syscall_broker/broker_channel.h", |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 # 'type': 'none', | 350 # 'type': 'none', |
| 348 # 'variables': { | 351 # 'variables': { |
| 349 # 'test_suite_name': 'sandbox_linux_jni_unittests', | 352 # 'test_suite_name': 'sandbox_linux_jni_unittests', |
| 350 # }, | 353 # }, |
| 351 # 'dependencies': [ | 354 # 'dependencies': [ |
| 352 # 'sandbox_linux_jni_unittests', | 355 # 'sandbox_linux_jni_unittests', |
| 353 # ], | 356 # ], |
| 354 # 'includes': [ '../../build/apk_test.gypi' ], | 357 # 'includes': [ '../../build/apk_test.gypi' ], |
| 355 # } | 358 # } |
| 356 } | 359 } |
| OLD | NEW |