Index: webrtc/api/BUILD.gn |
diff --git a/webrtc/api/BUILD.gn b/webrtc/api/BUILD.gn |
index cb3066eae69a3b0a580e4658a14b6cf76044d799..ae26497699ca544b2233620bde25f25794b2136c 100644 |
--- a/webrtc/api/BUILD.gn |
+++ b/webrtc/api/BUILD.gn |
@@ -134,7 +134,9 @@ source_set("libjingle_peerconnection") { |
} |
} |
-if (is_android) { |
+# Exclude the targets below from the Chromium build since they cannot be built |
+# due to incompability with Chromium's logging implementation. |
+if (is_android && !build_with_chromium) { |
config("libjingle_peerconnection_jni_warnings_config") { |
# The warnings below are enabled by default. Since GN orders compiler flags |
# for a target before flags from configs, the only way to disable such |