Index: src/inspector/BUILD.gn |
diff --git a/src/inspector/BUILD.gn b/src/inspector/BUILD.gn |
index 2ebf5611350836e48d6edca7e3ce9780615d0c40..a5ad83b30abb65619318843c98aabedbfabd438d 100644 |
--- a/src/inspector/BUILD.gn |
+++ b/src/inspector/BUILD.gn |
@@ -90,7 +90,7 @@ config("inspector_config") { |
"/wd4996", # Deprecated function call. |
] |
} |
- if (is_component_build) { |
+ if (is_component_build || v8_component_build) { |
defines = [ "BUILDING_V8_SHARED" ] |
} |
} |