diff options
author | brettw <brettw@chromium.org> | 2015-02-19 15:17:04 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-19 23:18:14 +0000 |
commit | d1c719acf7db459016f425eb8018ec4208511578 (patch) | |
tree | f5604ba0055245c0133cd5747e8a70de99b917f7 /win8 | |
parent | 9ff250e0023b2f87e0fddd7eadbef7be3ecc3882 (diff) | |
download | chromium_src-d1c719acf7db459016f425eb8018ec4208511578.zip chromium_src-d1c719acf7db459016f425eb8018ec4208511578.tar.gz chromium_src-d1c719acf7db459016f425eb8018ec4208511578.tar.bz2 |
Update existing uses of /wd4267 to use the GN config
This is the size_t to integer conversion warning. Using the config prevents flag duplication and is clearer to read.
Minor updates to Win64 build, including some fixes for size_t to int conversions.
Review URL: https://codereview.chromium.org/929793006
Cr-Commit-Position: refs/heads/master@{#317162}
Diffstat (limited to 'win8')
-rw-r--r-- | win8/BUILD.gn | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/win8/BUILD.gn b/win8/BUILD.gn index 84d7972..fe2a830 100644 --- a/win8/BUILD.gn +++ b/win8/BUILD.gn @@ -29,6 +29,10 @@ source_set("test_support_win8") { "//base", ":test_registrar_constants", ] + + # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. + configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] + sources = [ "test/metro_registration_helper.cc", "test/metro_registration_helper.h", @@ -39,9 +43,6 @@ source_set("test_support_win8") { "test/ui_automation_client.cc", "test/ui_automation_client.h", ] - - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - cflags = [ "/wd4267" ] } source_set("test_registrar_constants") { |