diff options
author | brettw <brettw@chromium.org> | 2015-02-18 11:28:20 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-18 19:28:58 +0000 |
commit | 1deb76bc64a51808cd3df93d8166f223241487fe (patch) | |
tree | ba263ec469857e46401390a014eb89e6ea2c2f7f /content/renderer/BUILD.gn | |
parent | 17beef666072b2a022752e67a8b23e616a76d038 (diff) | |
download | chromium_src-1deb76bc64a51808cd3df93d8166f223241487fe.zip chromium_src-1deb76bc64a51808cd3df93d8166f223241487fe.tar.gz chromium_src-1deb76bc64a51808cd3df93d8166f223241487fe.tar.bz2 |
Work on GN Win64 build.
Adds a new config to disable size_t -> int truncations and use it in various places where the x64 Windows build currently gives warnings.
This covers Chrome (except for Blink which has a separate patch) and the tests.
We should do a second pass to replace the existing instances of /wd4267 with this config.
Review URL: https://codereview.chromium.org/927363005
Cr-Commit-Position: refs/heads/master@{#316874}
Diffstat (limited to 'content/renderer/BUILD.gn')
-rw-r--r-- | content/renderer/BUILD.gn | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/content/renderer/BUILD.gn b/content/renderer/BUILD.gn index 1d64305..73445e1 100644 --- a/content/renderer/BUILD.gn +++ b/content/renderer/BUILD.gn @@ -16,7 +16,10 @@ source_set("renderer") { ".", "//content") - configs += [ "//content:content_implementation" ] + configs += [ + "//content:content_implementation", + "//build/config/compiler:no_size_t_to_int_warning", + ] deps = [ # TODO(GYP) bug 376846 remove this. This should be inherited from //net but |