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("//build/config/nacl/config.gni") | 6 import("//build/config/nacl/config.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 if (is_android) { | 9 if (is_android) { |
10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 "seccomp-bpf-helpers/sigsys_handlers.cc", | 269 "seccomp-bpf-helpers/sigsys_handlers.cc", |
270 "seccomp-bpf-helpers/sigsys_handlers.h", | 270 "seccomp-bpf-helpers/sigsys_handlers.h", |
271 "seccomp-bpf-helpers/syscall_parameters_restrictions.cc", | 271 "seccomp-bpf-helpers/syscall_parameters_restrictions.cc", |
272 "seccomp-bpf-helpers/syscall_parameters_restrictions.h", | 272 "seccomp-bpf-helpers/syscall_parameters_restrictions.h", |
273 "seccomp-bpf-helpers/syscall_sets.cc", | 273 "seccomp-bpf-helpers/syscall_sets.cc", |
274 "seccomp-bpf-helpers/syscall_sets.h", | 274 "seccomp-bpf-helpers/syscall_sets.h", |
275 ] | 275 ] |
276 defines = [ "SANDBOX_IMPLEMENTATION" ] | 276 defines = [ "SANDBOX_IMPLEMENTATION" ] |
277 | 277 |
278 deps = [ | 278 deps = [ |
279 "//base", | |
280 ":sandbox_services", | 279 ":sandbox_services", |
281 ":seccomp_bpf", | 280 ":seccomp_bpf", |
| 281 "//base", |
282 ] | 282 ] |
283 | 283 |
284 if (is_nacl_nonsfi) { | 284 if (is_nacl_nonsfi) { |
285 sources -= [ | 285 sources -= [ |
286 "seccomp-bpf-helpers/baseline_policy.cc", | 286 "seccomp-bpf-helpers/baseline_policy.cc", |
287 "seccomp-bpf-helpers/baseline_policy.h", | 287 "seccomp-bpf-helpers/baseline_policy.h", |
288 "seccomp-bpf-helpers/syscall_sets.cc", | 288 "seccomp-bpf-helpers/syscall_sets.cc", |
289 "seccomp-bpf-helpers/syscall_sets.h", | 289 "seccomp-bpf-helpers/syscall_sets.h", |
290 ] | 290 ] |
291 configs += [ ":nacl_nonsfi_warnings" ] | 291 configs += [ ":nacl_nonsfi_warnings" ] |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 } | 453 } |
454 } | 454 } |
455 | 455 |
456 test_runner_script("sandbox_linux_unittests__test_runner_script") { | 456 test_runner_script("sandbox_linux_unittests__test_runner_script") { |
457 test_name = "sandbox_linux_unittests" | 457 test_name = "sandbox_linux_unittests" |
458 test_type = "gtest" | 458 test_type = "gtest" |
459 test_suite = "sandbox_linux_unittests" | 459 test_suite = "sandbox_linux_unittests" |
460 isolate_file = "//sandbox/sandbox_linux_unittests_android.isolate" | 460 isolate_file = "//sandbox/sandbox_linux_unittests_android.isolate" |
461 } | 461 } |
462 } | 462 } |
OLD | NEW |