summaryrefslogtreecommitdiffstats
path: root/ash
diff options
context:
space:
mode:
Diffstat (limited to 'ash')
-rw-r--r--ash/BUILD.gn6
1 files changed, 2 insertions, 4 deletions
diff --git a/ash/BUILD.gn b/ash/BUILD.gn
index f6f0eb9..ed34a59 100644
--- a/ash/BUILD.gn
+++ b/ash/BUILD.gn
@@ -62,7 +62,7 @@ component("ash") {
]
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
- cflags = [ "/wd4267" ]
+ configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
}
if (use_x11) {
@@ -314,9 +314,7 @@ test("ash_unittests") {
]
}
- if (is_win) {
- cflags = [ "/wd4267" ]
- }
+ configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
if (!use_x11) {
sources -= [ "host/ash_window_tree_host_x11_unittest.cc" ]