Index: ui/views/examples/BUILD.gn |
diff --git a/ui/views/examples/BUILD.gn b/ui/views/examples/BUILD.gn |
index 8c7902225e2aece6c135450f71676e53755eab07..75d59260ea4277b0e1ee1128bc95dea0dbe7799d 100644 |
--- a/ui/views/examples/BUILD.gn |
+++ b/ui/views/examples/BUILD.gn |
@@ -61,6 +61,9 @@ component("views_examples_lib") { |
"widget_example.h", |
] |
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
+ configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
+ |
defines = [ "VIEWS_EXAMPLES_IMPLEMENTATION" ] |
deps = [ |
@@ -78,9 +81,6 @@ component("views_examples_lib") { |
if (is_win) { |
deps += [ "//third_party/wtl" ] |
- |
- # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
- cflags = [ "/wd4267" ] |
} |
if (use_aura) { |