summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--android_webview/lib/main/aw_main_delegate.cc4
-rw-r--r--build/common.gypi9
2 files changed, 1 insertions, 12 deletions
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc
index 967fea3..7440b09 100644
--- a/android_webview/lib/main/aw_main_delegate.cc
+++ b/android_webview/lib/main/aw_main_delegate.cc
@@ -72,14 +72,10 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
// Fullscreen video with subtitle is not yet supported.
cl->AppendSwitch(switches::kDisableOverlayFullscreenVideoSubtitle);
- // Disable WebRTC.
- cl->AppendSwitch(switches::kDisableWebRTC);
-
#if defined(VIDEO_HOLE)
// Support EME/L1 with hole-punching.
cl->AppendSwitch(switches::kMediaDrmEnableNonCompositing);
#endif
-
return false;
}
diff --git a/build/common.gypi b/build/common.gypi
index 36a648c..00fc126 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -693,17 +693,10 @@
'enable_autofill_dialog%': 1
}],
- ['OS=="android" and android_webview_build==0', {
+ ['OS=="android"', {
'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,