Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 72eb96d94c07528ee98e90e0bdf56958f8bef7b5..0c1d5c7971ef26acb192cd43c3bbbdb301ddc5aa 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -648,10 +648,17 @@ |
'enable_autofill_dialog%': 1 |
}], |
- ['OS=="android"', { |
+ ['OS=="android" and android_webview_build==0', { |
'enable_webrtc%': 1, |
}], |
+ # Disable WebRTC for building WebView as part of Android system. |
+ # TODO(boliu): Decide if we want WebRTC, and if so, also merge |
+ # the necessary third_party repositories. |
+ ['OS=="android" and android_webview_build==1', { |
+ 'enable_webrtc%': 0, |
+ }], |
+ |
['OS=="ios"', { |
'disable_ftp_support%': 1, |
'enable_automation%': 0, |