Index: third_party/sqlite/BUILD.gn |
diff --git a/third_party/sqlite/BUILD.gn b/third_party/sqlite/BUILD.gn |
index 6f301ca7167145ba6daa1bab4b76936f024f6497..817ce47e95c3226b1f49be1621e3abf9009bd675 100644 |
--- a/third_party/sqlite/BUILD.gn |
+++ b/third_party/sqlite/BUILD.gn |
@@ -63,11 +63,13 @@ source_set("sqlite") { |
] |
configs -= [ "//build/config/compiler:chromium_code" ] |
- configs += [ "//build/config/compiler:no_chromium_code" ] |
+ configs += [ |
+ "//build/config/compiler:no_chromium_code", |
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
+ "//build/config/compiler:no_size_t_to_int_warning", |
+ ] |
- if (is_win) { |
- cflags += [ "/wd4267" ] # Conversion from size_t to "type". |
- } else if (is_linux) { |
+ if (is_linux) { |
cflags += [ |
# SQLite doesn"t believe in compiler warnings, |
# preferring testing. |