Index: third_party/harfbuzz-ng/BUILD.gn |
diff --git a/third_party/harfbuzz-ng/BUILD.gn b/third_party/harfbuzz-ng/BUILD.gn |
index 000a9cc361e338973203417895bb6dd993ed4164..ee0cda0c7b25d45301c2f61500fb2864a559af60 100644 |
--- a/third_party/harfbuzz-ng/BUILD.gn |
+++ b/third_party/harfbuzz-ng/BUILD.gn |
@@ -149,7 +149,11 @@ if (use_system_harfbuzz) { |
] |
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", |
+ ] |
public_configs = [ ":harfbuzz-ng_config" ] |
deps = [ |
@@ -162,7 +166,6 @@ if (use_system_harfbuzz) { |
} |
if (is_win) { |
cflags += [ |
- "/wd4267", # size_t to 'type' converion. |
"/wd4334", # Result of 32-bit shift implicitly converted to 64 bits. |
] |
} |