Index: sandbox/win/BUILD.gn |
diff --git a/sandbox/win/BUILD.gn b/sandbox/win/BUILD.gn |
index 21828ad0da9db49d4351727e8f054f14892d8c18..03c4d427080f0c8b39db64fe4bb468d58a8537f1 100644 |
--- a/sandbox/win/BUILD.gn |
+++ b/sandbox/win/BUILD.gn |
@@ -218,11 +218,26 @@ test("sbox_integration_tests") { |
deps = [ |
":sandbox", |
+ ":sbox_integration_test_hook_dll", |
+ ":sbox_integration_test_win_proc", |
"//base/test:test_support", |
"//testing/gtest", |
] |
} |
+shared_library("sbox_integration_test_hook_dll") { |
+ sources = [ |
+ "tests/integration_tests/hooking_dll.cc", |
+ ] |
+} |
+ |
+executable("sbox_integration_test_win_proc") { |
+ sources = [ |
+ "tests/integration_tests/hooking_win_proc.cc", |
+ ] |
+ ldflags = [ "/SUBSYSTEM:WINDOWS" ] |
brucedawson
2016/03/29 20:56:23
You need to replace the ldflags line with:
conf
|
+} |
+ |
test("sbox_validation_tests") { |
sources = [ |
"tests/common/controller.cc", |