Index: test/cctest/BUILD.gn |
diff --git a/test/cctest/BUILD.gn b/test/cctest/BUILD.gn |
index daf59705922ea0e2ca3501ffee414e0f444f8f9f..db94e0c7ff0478e8656231bdb7f39c17f3f19233 100644 |
--- a/test/cctest/BUILD.gn |
+++ b/test/cctest/BUILD.gn |
@@ -160,4 +160,14 @@ v8_executable("generate-bytecode-expectations") { |
} else { |
deps += [ "../..:v8" ] |
} |
+ |
+ if (is_win) { |
+ # Suppress warnings about importing locally defined symbols. |
+ if (is_component_build) { |
+ ldflags = [ |
+ "/ignore:4049", |
+ "/ignore:4217", |
+ ] |
+ } |
+ } |
} |