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

Side by Side Diff: third_party/WebKit/Source/platform/BUILD.gn

Issue 2581893002: Use the /WX flag to have link warnings treated as errors. (Closed)
Patch Set: Move /WX setter into :compiler and respect fatal_linker_warnings Created 3 years, 12 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 unified diff | Download patch
« no previous file with comments | « media/mojo/services/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//testing/libfuzzer/fuzzer_test.gni") 7 import("//testing/libfuzzer/fuzzer_test.gni")
8 import("//testing/test.gni") 8 import("//testing/test.gni")
9 import("//third_party/WebKit/public/public_features.gni") 9 import("//third_party/WebKit/public/public_features.gni")
10 import("//third_party/WebKit/Source/build/scripts/scripts.gni") 10 import("//third_party/WebKit/Source/build/scripts/scripts.gni")
(...skipping 1499 matching lines...) Expand 10 before | Expand all | Expand 10 after
1510 "clipboard/ClipboardUtilitiesPosix.cpp", 1510 "clipboard/ClipboardUtilitiesPosix.cpp",
1511 1511
1512 # Uses LocaleWin instead. 1512 # Uses LocaleWin instead.
1513 "text/LocaleICU.cpp", 1513 "text/LocaleICU.cpp",
1514 "text/LocaleICU.h", 1514 "text/LocaleICU.h",
1515 ] 1515 ]
1516 cflags = [ 1516 cflags = [
1517 "/wd4334", # Result of 32-bit shift implicitly converted to 64 bits. 1517 "/wd4334", # Result of 32-bit shift implicitly converted to 64 bits.
1518 "/wd4724", # Modulo by 0. 1518 "/wd4724", # Modulo by 0.
1519 ] 1519 ]
1520
1521 # crbug.com/654776: Suppress symbol import warnings.
1522 if (is_component_build) {
1523 ldflags = [
1524 "/ignore:4217",
1525 "/ignore:4049",
1526 ]
1527 }
1520 } else { 1528 } else {
1521 sources -= [ 1529 sources -= [
1522 "clipboard/ClipboardUtilitiesWin.cpp", 1530 "clipboard/ClipboardUtilitiesWin.cpp",
1523 "text/LocaleWin.cpp", 1531 "text/LocaleWin.cpp",
1524 ] 1532 ]
1525 } 1533 }
1526 1534
1527 if (is_android) { 1535 if (is_android) {
1528 # Add in some Linux files also shared with Android. 1536 # Add in some Linux files also shared with Android.
1529 set_sources_assignment_filter([]) 1537 set_sources_assignment_filter([])
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
2075 "//third_party/WebKit/Source:config", 2083 "//third_party/WebKit/Source:config",
2076 "//third_party/WebKit/Source:inside_blink", 2084 "//third_party/WebKit/Source:inside_blink",
2077 ] 2085 ]
2078 2086
2079 deps = [ 2087 deps = [
2080 ":test_support", 2088 ":test_support",
2081 "//testing/gmock", 2089 "//testing/gmock",
2082 "//testing/gtest", 2090 "//testing/gtest",
2083 ] 2091 ]
2084 } 2092 }
OLDNEW
« no previous file with comments | « media/mojo/services/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698