Index: third_party/harfbuzz-ng/harfbuzz.gyp |
diff --git a/third_party/harfbuzz-ng/harfbuzz.gyp b/third_party/harfbuzz-ng/harfbuzz.gyp |
index b2f1d914667cf7cc2c6cc75889777c0dc7681187..d1853e8614e8c0e54f08a2480131e061462639be 100644 |
--- a/third_party/harfbuzz-ng/harfbuzz.gyp |
+++ b/third_party/harfbuzz-ng/harfbuzz.gyp |
@@ -135,7 +135,13 @@ |
'../../third_party/icu/icu.gyp:icuuc', |
], |
'variables': { |
- 'clang_warning_flags': [ '-Wno-unused-value', ], |
+ 'clang_warning_flags': [ |
+ '-Wno-unused-value', |
+ # Harfbuzz uses unused typedefs for its static asserts (and its |
+ # static asserts are strange enough that they can't be replaced |
+ # by static_assert). |
+ '-Wno-unused-local-typedef', |
+ ], |
}, |
'conditions': [ |
['OS=="win"', { |