| Index: sandbox/win/BUILD.gn
|
| diff --git a/sandbox/win/BUILD.gn b/sandbox/win/BUILD.gn
|
| index ac679f4d439b888763e5b80f0ec1edb3bd44afd1..958996b8ad3081020efee2c3052c23c864c2f1a9 100644
|
| --- a/sandbox/win/BUILD.gn
|
| +++ b/sandbox/win/BUILD.gn
|
| @@ -191,6 +191,7 @@ test("sbox_integration_tests") {
|
| "tests/common/controller.h",
|
| "tests/common/test_utils.cc",
|
| "tests/common/test_utils.h",
|
| + "tests/integration_tests/cfi_unittest.cc",
|
| "tests/integration_tests/integration_tests.cc",
|
| "tests/integration_tests/integration_tests_common.h",
|
| "tests/integration_tests/integration_tests_test.cc",
|
| @@ -198,15 +199,33 @@ test("sbox_integration_tests") {
|
|
|
| deps = [
|
| ":sandbox",
|
| - ":sbox_integration_test_hook_dll",
|
| - ":sbox_integration_test_win_proc",
|
| "//base/test:test_support",
|
| "//testing/gtest",
|
| ]
|
|
|
| + data_deps = [
|
| + ":cfi_unittest_exe",
|
| + ":sbox_integration_test_hook_dll",
|
| + ":sbox_integration_test_win_proc",
|
| + ]
|
| +
|
| libs = [ "dxva2.lib" ]
|
| }
|
|
|
| +executable("cfi_unittest_exe") {
|
| + sources = [
|
| + "tests/integration_tests/cfi_unittest_exe.cc",
|
| + ]
|
| + deps = [
|
| + "//base",
|
| + "//build/config/sanitizers:deps",
|
| + "//build/win:default_exe_manifest",
|
| + ]
|
| +
|
| + # cfi_unittest.cc tests require this exe is built with CFG enabled.
|
| + configs += [ "//build/config/win:win_msvc_cfg" ]
|
| +}
|
| +
|
| loadable_module("sbox_integration_test_hook_dll") {
|
| sources = [
|
| "tests/integration_tests/hooking_dll.cc",
|
|
|