Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(360)

Unified Diff: BUILD.gn

Issue 2261123003: [gn] add missing suppressions for linker warnings on windows (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/cctest/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 30177d358587dc9c36c1f65f3bf3a1251252ae40..de1b11334ece805574ebae3f888e848efe997819 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -2456,6 +2456,16 @@ v8_executable("v8_parser_shell") {
if (v8_enable_i18n_support) {
deps += [ "//third_party/icu" ]
}
+
+ if (is_win) {
+ # Suppress warnings about importing locally defined symbols.
+ if (is_component_build) {
+ ldflags = [
+ "/ignore:4049",
+ "/ignore:4217",
+ ]
+ }
+ }
}
if (want_v8_shell) {
« no previous file with comments | « no previous file | test/cctest/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698