Index: src/inspector/BUILD.gn |
diff --git a/src/inspector/BUILD.gn b/src/inspector/BUILD.gn |
index d9d3ac879a13ce468ed9a5f65d13c64606eab84e..0d82f64ca5f3648fa6bd2baea7f83600e76153bd 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" ] |
} |
} |