| 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("//sandbox/features.gni") | 7 import("//sandbox/features.gni") |
| 8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
| 9 | 9 |
| 10 if (is_android) { | 10 if (is_android) { |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 "integration_tests/bpf_dsl_seccomp_unittest.cc", | 139 "integration_tests/bpf_dsl_seccomp_unittest.cc", |
| 140 "integration_tests/seccomp_broker_process_unittest.cc", | 140 "integration_tests/seccomp_broker_process_unittest.cc", |
| 141 "seccomp-bpf-helpers/baseline_policy_unittest.cc", | 141 "seccomp-bpf-helpers/baseline_policy_unittest.cc", |
| 142 "seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc", | 142 "seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc", |
| 143 "seccomp-bpf/bpf_tests_unittest.cc", | 143 "seccomp-bpf/bpf_tests_unittest.cc", |
| 144 "seccomp-bpf/sandbox_bpf_unittest.cc", | 144 "seccomp-bpf/sandbox_bpf_unittest.cc", |
| 145 "seccomp-bpf/syscall_unittest.cc", | 145 "seccomp-bpf/syscall_unittest.cc", |
| 146 "seccomp-bpf/trap_unittest.cc", | 146 "seccomp-bpf/trap_unittest.cc", |
| 147 ] | 147 ] |
| 148 deps += [ ":bpf_dsl_golden" ] | 148 deps += [ ":bpf_dsl_golden" ] |
| 149 |
| 150 # syscall_parameters_restrictions_unittests.cc uses MAKE_PROCESS_CPUCLOCK, |
| 151 # which shifts signed ints around, which has undefined behavior. |
| 152 # TODO(thakis): Fix that in LSS, then remove this flag here. |
| 153 cflags = [ "-Wno-shift-negative-value" ] |
| 149 } | 154 } |
| 150 if (compile_credentials) { | 155 if (compile_credentials) { |
| 151 sources += [ | 156 sources += [ |
| 152 "integration_tests/namespace_unix_domain_socket_unittest.cc", | 157 "integration_tests/namespace_unix_domain_socket_unittest.cc", |
| 153 "services/credentials_unittest.cc", | 158 "services/credentials_unittest.cc", |
| 154 "services/namespace_utils_unittest.cc", | 159 "services/namespace_utils_unittest.cc", |
| 155 ] | 160 ] |
| 156 | 161 |
| 157 if (use_base_test_suite) { | 162 if (use_base_test_suite) { |
| 158 # Tests that use advanced features not available in stock GTest. | 163 # Tests that use advanced features not available in stock GTest. |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 | 437 |
| 433 if (is_android) { | 438 if (is_android) { |
| 434 # TODO(GYP_GONE) Delete this after we've converted everything to GN. | 439 # TODO(GYP_GONE) Delete this after we've converted everything to GN. |
| 435 group("sandbox_linux_unittests_deps") { | 440 group("sandbox_linux_unittests_deps") { |
| 436 testonly = true | 441 testonly = true |
| 437 deps = [ | 442 deps = [ |
| 438 ":sandbox_linux_unittests", | 443 ":sandbox_linux_unittests", |
| 439 ] | 444 ] |
| 440 } | 445 } |
| 441 } | 446 } |
| OLD | NEW |