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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 "seccomp-bpf/codegen_unittest.cc", | 107 "seccomp-bpf/codegen_unittest.cc", |
108 "seccomp-bpf/errorcode_unittest.cc", | 108 "seccomp-bpf/errorcode_unittest.cc", |
109 "seccomp-bpf/sandbox_bpf_unittest.cc", | 109 "seccomp-bpf/sandbox_bpf_unittest.cc", |
110 "seccomp-bpf/syscall_iterator_unittest.cc", | 110 "seccomp-bpf/syscall_iterator_unittest.cc", |
111 "seccomp-bpf/syscall_unittest.cc", | 111 "seccomp-bpf/syscall_unittest.cc", |
112 ] | 112 ] |
113 } | 113 } |
114 if (compile_credentials) { | 114 if (compile_credentials) { |
115 sources += [ | 115 sources += [ |
116 "services/credentials_unittest.cc", | 116 "services/credentials_unittest.cc", |
| 117 "services/namespace_utils_unittest.cc", |
117 "services/proc_util_unittest.cc", | 118 "services/proc_util_unittest.cc", |
118 "services/unix_domain_socket_unittest.cc", | 119 "services/unix_domain_socket_unittest.cc", |
119 ] | 120 ] |
120 } | 121 } |
121 } | 122 } |
122 | 123 |
123 # TODO(GYP) Android version of this test. | 124 # TODO(GYP) Android version of this test. |
124 # { | 125 # { |
125 # # This target is the shared library used by Android APK (i.e. | 126 # # This target is the shared library used by Android APK (i.e. |
126 # # JNI-friendly) tests. | 127 # # JNI-friendly) tests. |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 "syscall_broker/broker_process.cc", | 248 "syscall_broker/broker_process.cc", |
248 "syscall_broker/broker_process.h", | 249 "syscall_broker/broker_process.h", |
249 ] | 250 ] |
250 | 251 |
251 defines = [ "SANDBOX_IMPLEMENTATION" ] | 252 defines = [ "SANDBOX_IMPLEMENTATION" ] |
252 | 253 |
253 if (compile_credentials) { | 254 if (compile_credentials) { |
254 sources += [ | 255 sources += [ |
255 "services/credentials.cc", | 256 "services/credentials.cc", |
256 "services/credentials.h", | 257 "services/credentials.h", |
| 258 "services/namespace_utils.cc", |
| 259 "services/namespace_utils.h", |
257 "services/proc_util.cc", | 260 "services/proc_util.cc", |
258 "services/proc_util.h", | 261 "services/proc_util.h", |
259 ] | 262 ] |
260 | 263 |
261 # For capabilities.cc. | 264 # For capabilities.cc. |
262 configs += [ "//build/config/linux:libcap" ] | 265 configs += [ "//build/config/linux:libcap" ] |
263 } | 266 } |
264 | 267 |
265 deps = [ | 268 deps = [ |
266 "//base", | 269 "//base", |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 # 'type': 'none', | 338 # 'type': 'none', |
336 # 'variables': { | 339 # 'variables': { |
337 # 'test_suite_name': 'sandbox_linux_jni_unittests', | 340 # 'test_suite_name': 'sandbox_linux_jni_unittests', |
338 # }, | 341 # }, |
339 # 'dependencies': [ | 342 # 'dependencies': [ |
340 # 'sandbox_linux_jni_unittests', | 343 # 'sandbox_linux_jni_unittests', |
341 # ], | 344 # ], |
342 # 'includes': [ '../../build/apk_test.gypi' ], | 345 # 'includes': [ '../../build/apk_test.gypi' ], |
343 # } | 346 # } |
344 } | 347 } |
OLD | NEW |