summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--url/BUILD.gn19
1 files changed, 11 insertions, 8 deletions
diff --git a/url/BUILD.gn b/url/BUILD.gn
index 1b9172f..ec15c43 100644
--- a/url/BUILD.gn
+++ b/url/BUILD.gn
@@ -59,10 +59,11 @@ component("url") {
configs += [ ":url_icu_config" ]
- # if (is_win) {
- # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
- # 'msvs_disabled_warnings': [ 4267, ]
- # }
+ if (is_win) {
+ cflags = [
+ "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
+ ]
+ }
deps = [
"//base",
@@ -107,10 +108,12 @@ if (!is_android) {
# }
#}
- # if (is_win) {
- # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
- # 'msvs_disabled_warnings': [ 4267, ]
- # }
+ if (is_win) {
+ cflags = [
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
+ "/wd4267",
+ ]
+ }
deps = [
":url",