Index: sandbox/linux/BUILD.gn |
diff --git a/sandbox/linux/BUILD.gn b/sandbox/linux/BUILD.gn |
index 516342513bccb9387c5235f02a728a8e48dd3e41..b3851be4e3c3d4e70ce0a40044536002e94ac402 100644 |
--- a/sandbox/linux/BUILD.gn |
+++ b/sandbox/linux/BUILD.gn |
@@ -65,7 +65,7 @@ source_set("sandbox_linux_test_utils") { |
"//testing/gtest", |
] |
- if (use_seccomp_bpf) { |
+ if (use_seccomp_bpf || is_nacl_nonsfi) { |
sources += [ |
"seccomp-bpf/bpf_tester_compatibility_delegate.h", |
"seccomp-bpf/bpf_tests.h", |
@@ -79,6 +79,13 @@ source_set("sandbox_linux_test_utils") { |
deps += [ "//base/test:test_support" ] |
defines = [ "SANDBOX_USES_BASE_TEST_SUITE" ] |
} |
+ |
+ if (is_nacl_nonsfi) { |
+ sources -= [ |
+ "tests/test_utils.cc", |
Mark Seaborn
2015/12/03 19:05:07
These don't seem to be conditionalised in the Gyp
Petr Hosek
2015/12/04 05:57:46
Gyp build is different, it defines and uses custom
|
+ "tests/test_utils.h", |
+ ] |
+ } |
} |
# Sources for sandbox_linux_unittests. |