summaryrefslogtreecommitdiffstats
path: root/content/renderer/BUILD.gn
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2015-02-18 11:28:20 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-18 19:28:58 +0000
commit1deb76bc64a51808cd3df93d8166f223241487fe (patch)
treeba263ec469857e46401390a014eb89e6ea2c2f7f /content/renderer/BUILD.gn
parent17beef666072b2a022752e67a8b23e616a76d038 (diff)
downloadchromium_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.gn5
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