summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/BUILD.gn7
1 files changed, 6 insertions, 1 deletions
diff --git a/base/BUILD.gn b/base/BUILD.gn
index 84beb15..a0cdf66 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -858,7 +858,7 @@ component("base") {
]
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
- #cflags = [ "/wd4267" ]
+ cflags = [ "/wd4267" ]
libs = [
"cfgmgr32.lib",
@@ -1016,6 +1016,11 @@ component("i18n") {
configs -= [ "//build/config/compiler:optimize" ]
configs += [ "//build/config/compiler:optimize_max" ]
}
+
+ if (is_win) {
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
+ cflags = [ "/wd4267" ]
+ }
}
source_set("prefs") {