summaryrefslogtreecommitdiffstats
path: root/components/url_matcher/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 /components/url_matcher/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 'components/url_matcher/BUILD.gn')
-rw-r--r--components/url_matcher/BUILD.gn2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/url_matcher/BUILD.gn b/components/url_matcher/BUILD.gn
index 83f95d3..7df189b 100644
--- a/components/url_matcher/BUILD.gn
+++ b/components/url_matcher/BUILD.gn
@@ -29,4 +29,6 @@ component("url_matcher") {
"//third_party/re2",
"//url",
]
+
+ configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
}