diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-13 16:29:01 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-13 16:29:01 +0000 |
commit | aa981566a6de2a85a9ab85b5e06f154fc00dad8c (patch) | |
tree | 7136b458fcb742a5ab3d2b487eb3f76b19753264 /url | |
parent | e2e01fdac41e2cff888ad76854a3d3f5d2e6a953 (diff) | |
download | chromium_src-aa981566a6de2a85a9ab85b5e06f154fc00dad8c.zip chromium_src-aa981566a6de2a85a9ab85b5e06f154fc00dad8c.tar.gz chromium_src-aa981566a6de2a85a9ab85b5e06f154fc00dad8c.tar.bz2 |
url: Properly disable 4267 warning on Windows.
BUG=None
TEST=gn gen out/Debug_gn --args='os="win"'
TBR=scottmg@chromium.org,brettw@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/324633002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277033 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'url')
-rw-r--r-- | url/BUILD.gn | 19 |
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", |