From 1deb76bc64a51808cd3df93d8166f223241487fe Mon Sep 17 00:00:00 2001 From: brettw Date: Wed, 18 Feb 2015 11:28:20 -0800 Subject: 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} --- components/url_matcher/BUILD.gn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'components/url_matcher/BUILD.gn') 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" ] } -- cgit v1.1