Index: sandbox/win/BUILD.gn |
diff --git a/sandbox/win/BUILD.gn b/sandbox/win/BUILD.gn |
index 49d1ecee90e945ca0f508d5fda9c1d3e2f9ec861..8e7d32e1328ef0ce310b3bbbc6adfc7ff7cd5c1f 100644 |
--- a/sandbox/win/BUILD.gn |
+++ b/sandbox/win/BUILD.gn |
@@ -212,16 +212,36 @@ test("sbox_integration_tests") { |
"tests/common/test_utils.cc", |
"tests/common/test_utils.h", |
"tests/integration_tests/integration_tests.cc", |
+ "tests/integration_tests/integration_tests_common.h", |
"tests/integration_tests/integration_tests_test.cc", |
] |
deps = [ |
":sandbox", |
+ ":sbox_integration_test_hook_dll", |
+ ":sbox_integration_test_win_proc", |
"//base/test:test_support", |
"//testing/gtest", |
] |
} |
+loadable_module("sbox_integration_test_hook_dll") { |
+ sources = [ |
+ "tests/integration_tests/hooking_dll.cc", |
+ "tests/integration_tests/integration_tests_common.h", |
+ ] |
+} |
+ |
+executable("sbox_integration_test_win_proc") { |
+ sources = [ |
+ "tests/integration_tests/hooking_win_proc.cc", |
+ "tests/integration_tests/integration_tests_common.h", |
+ ] |
+ |
+ configs -= [ "//build/config/win:console" ] |
+ configs += [ "//build/config/win:windowed" ] |
+} |
+ |
test("sbox_validation_tests") { |
sources = [ |
"tests/common/controller.cc", |