Index: third_party/openh264/BUILD.gn |
diff --git a/third_party/openh264/BUILD.gn b/third_party/openh264/BUILD.gn |
index b2de306292dd1c4f81c7e4827ecb8e6720a72a7a..ad6c8a6cebc0490dfc31c38b973da94ec26ea73e 100644 |
--- a/third_party/openh264/BUILD.gn |
+++ b/third_party/openh264/BUILD.gn |
@@ -262,6 +262,12 @@ source_set("encoder") { |
configs -= [ "//build/config/compiler:chromium_code" ] |
configs += [ "//build/config/compiler:no_chromium_code" ] |
configs += [ ":config" ] |
+ |
+ # TODO: Remove after fixing always-true condition |
+ # third_party/openh264/src/codec/encoder/core/src/encoder_ext.cpp:142. |
+ if (is_clang) { |
+ configs -= [ "//build/config/clang:extra_warnings" ] |
+ } |
deps = [ |
":common", |
":processing", |