Index: sandbox/win/BUILD.gn |
diff --git a/sandbox/win/BUILD.gn b/sandbox/win/BUILD.gn |
index 89eaaed703df56f26c1f33563095aee89a2e1bba..60bb499af3d5f43fb9b97af0ace9277342808cbb 100644 |
--- a/sandbox/win/BUILD.gn |
+++ b/sandbox/win/BUILD.gn |
@@ -205,11 +205,14 @@ 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", |
] |
@@ -217,6 +220,23 @@ test("sbox_integration_tests") { |
libs = [ "dxva2.lib" ] |
} |
+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", |