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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 "suid/client/setuid_sandbox_host_unittest.cc", | 112 "suid/client/setuid_sandbox_host_unittest.cc", |
113 ] | 113 ] |
114 } | 114 } |
115 if (use_seccomp_bpf) { | 115 if (use_seccomp_bpf) { |
116 sources += [ | 116 sources += [ |
117 "bpf_dsl/bpf_dsl_unittest.cc", | 117 "bpf_dsl/bpf_dsl_unittest.cc", |
118 "bpf_dsl/codegen_unittest.cc", | 118 "bpf_dsl/codegen_unittest.cc", |
119 "bpf_dsl/cons_unittest.cc", | 119 "bpf_dsl/cons_unittest.cc", |
120 "bpf_dsl/dump_bpf.cc", | 120 "bpf_dsl/dump_bpf.cc", |
121 "bpf_dsl/dump_bpf.h", | 121 "bpf_dsl/dump_bpf.h", |
122 "bpf_dsl/errorcode_unittest.cc", | |
123 "bpf_dsl/syscall_set_unittest.cc", | 122 "bpf_dsl/syscall_set_unittest.cc", |
124 "bpf_dsl/test_trap_registry.cc", | 123 "bpf_dsl/test_trap_registry.cc", |
125 "bpf_dsl/test_trap_registry.h", | 124 "bpf_dsl/test_trap_registry.h", |
126 "bpf_dsl/test_trap_registry_unittest.cc", | 125 "bpf_dsl/test_trap_registry_unittest.cc", |
127 "bpf_dsl/verifier.cc", | 126 "bpf_dsl/verifier.cc", |
128 "bpf_dsl/verifier.h", | 127 "bpf_dsl/verifier.h", |
129 "integration_tests/bpf_dsl_seccomp_unittest.cc", | 128 "integration_tests/bpf_dsl_seccomp_unittest.cc", |
130 "integration_tests/seccomp_broker_process_unittest.cc", | 129 "integration_tests/seccomp_broker_process_unittest.cc", |
131 "seccomp-bpf-helpers/baseline_policy_unittest.cc", | 130 "seccomp-bpf-helpers/baseline_policy_unittest.cc", |
132 "seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc", | 131 "seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc", |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 | 210 |
212 component("seccomp_bpf") { | 211 component("seccomp_bpf") { |
213 sources = [ | 212 sources = [ |
214 "bpf_dsl/bpf_dsl.cc", | 213 "bpf_dsl/bpf_dsl.cc", |
215 "bpf_dsl/bpf_dsl.h", | 214 "bpf_dsl/bpf_dsl.h", |
216 "bpf_dsl/bpf_dsl_forward.h", | 215 "bpf_dsl/bpf_dsl_forward.h", |
217 "bpf_dsl/bpf_dsl_impl.h", | 216 "bpf_dsl/bpf_dsl_impl.h", |
218 "bpf_dsl/codegen.cc", | 217 "bpf_dsl/codegen.cc", |
219 "bpf_dsl/codegen.h", | 218 "bpf_dsl/codegen.h", |
220 "bpf_dsl/cons.h", | 219 "bpf_dsl/cons.h", |
221 "bpf_dsl/errorcode.cc", | |
222 "bpf_dsl/errorcode.h", | 220 "bpf_dsl/errorcode.h", |
223 "bpf_dsl/linux_syscall_ranges.h", | 221 "bpf_dsl/linux_syscall_ranges.h", |
224 "bpf_dsl/policy.cc", | 222 "bpf_dsl/policy.cc", |
225 "bpf_dsl/policy.h", | 223 "bpf_dsl/policy.h", |
226 "bpf_dsl/policy_compiler.cc", | 224 "bpf_dsl/policy_compiler.cc", |
227 "bpf_dsl/policy_compiler.h", | 225 "bpf_dsl/policy_compiler.h", |
228 "bpf_dsl/seccomp_macros.h", | 226 "bpf_dsl/seccomp_macros.h", |
229 "bpf_dsl/syscall_set.cc", | 227 "bpf_dsl/syscall_set.cc", |
230 "bpf_dsl/syscall_set.h", | 228 "bpf_dsl/syscall_set.h", |
231 "bpf_dsl/trap_registry.h", | 229 "bpf_dsl/trap_registry.h", |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
417 # 'type': 'none', | 415 # 'type': 'none', |
418 # 'variables': { | 416 # 'variables': { |
419 # 'test_suite_name': 'sandbox_linux_jni_unittests', | 417 # 'test_suite_name': 'sandbox_linux_jni_unittests', |
420 # }, | 418 # }, |
421 # 'dependencies': [ | 419 # 'dependencies': [ |
422 # 'sandbox_linux_jni_unittests', | 420 # 'sandbox_linux_jni_unittests', |
423 # ], | 421 # ], |
424 # 'includes': [ '../../build/apk_test.gypi' ], | 422 # 'includes': [ '../../build/apk_test.gypi' ], |
425 # } | 423 # } |
426 } | 424 } |
OLD | NEW |