Index: google_apis/BUILD.gn |
diff --git a/google_apis/BUILD.gn b/google_apis/BUILD.gn |
index 9d10b9e7e9ce5f946f783972f4a07246061c6223..1cdf686f3502f7e09b4b81a01dd5aae7f1d933d2 100644 |
--- a/google_apis/BUILD.gn |
+++ b/google_apis/BUILD.gn |
@@ -122,11 +122,10 @@ source_set("google_apis") { |
"google_api_keys.h", |
] |
- if (is_win) { |
- cflags = [ "/wd4267" ] # size_t -> int |
- } |
- |
- configs += [ ":key_defines" ] |
+ configs += [ |
+ ":key_defines", |
+ "//build/config/compiler:no_size_t_to_int_warning", |
+ ] |
deps = [ |
"//base", |