Index: base/win/scoped_handle_test_dll.cc |
diff --git a/base/win/scoped_handle_test_dll.cc b/base/win/scoped_handle_test_dll.cc |
index 440a4ca7658c83619baf404b5bf0d0f2d4a078c3..c72e4592b9dc02d7ff3132047299b418e7b51b62 100644 |
--- a/base/win/scoped_handle_test_dll.cc |
+++ b/base/win/scoped_handle_test_dll.cc |
@@ -6,6 +6,7 @@ |
#include <vector> |
+#include "base/win/base_features.h" |
#include "base/win/current_module.h" |
#include "base/win/scoped_handle.h" |
@@ -99,7 +100,7 @@ bool InternalRunLocationTest() { |
HMODULE main_module = ::GetModuleHandle(NULL); |
-#if defined(COMPONENT_BUILD) |
+#if BUILDFLAG(SINGLE_MODULE_MODE_HANDLE_VERIFIER) |
// In a component build ActiveVerifier will always be created inside base.dll |
// as the code always lives there. |
if (verifier_module == my_module || verifier_module == main_module) |