diff options
Diffstat (limited to 'sandbox')
-rw-r--r-- | sandbox/linux/BUILD.gn | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sandbox/linux/BUILD.gn b/sandbox/linux/BUILD.gn index 5163425..8396a661 100644 --- a/sandbox/linux/BUILD.gn +++ b/sandbox/linux/BUILD.gn @@ -55,8 +55,6 @@ source_set("sandbox_linux_test_utils") { "tests/sandbox_test_runner.h", "tests/sandbox_test_runner_function_pointer.cc", "tests/sandbox_test_runner_function_pointer.h", - "tests/test_utils.cc", - "tests/test_utils.h", "tests/unit_tests.cc", "tests/unit_tests.h", ] @@ -65,7 +63,14 @@ source_set("sandbox_linux_test_utils") { "//testing/gtest", ] - if (use_seccomp_bpf) { + if (!is_nacl_nonsfi) { + sources += [ + "tests/test_utils.cc", + "tests/test_utils.h", + ] + } + + if (use_seccomp_bpf || is_nacl_nonsfi) { sources += [ "seccomp-bpf/bpf_tester_compatibility_delegate.h", "seccomp-bpf/bpf_tests.h", |