From dda90ae68107defd1e2e8d2550475edb7793f3a1 Mon Sep 17 00:00:00 2001 From: "wjia@chromium.org" Date: Tue, 19 Jul 2011 22:07:48 +0000 Subject: add enable_webrtc in gyp to allow some platform to disable webrtc. enable_webrtc is set to 1 by default. BUG=none TEST=trybots Review URL: http://codereview.chromium.org/7450003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93108 0039d316-1c4b-4281-b951-d872f2087c98 --- build/common.gypi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'build') diff --git a/build/common.gypi b/build/common.gypi index c50b175..3cf0606 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -188,6 +188,9 @@ # Smooth scrolling is disabled by default. 'enable_smooth_scrolling%': 0, + # Webrtc compilation is enabled by default. Set to 0 to disable. + 'enable_webrtc%': 1, + 'conditions': [ # Use Skia as WebKit renderer on Mac ['OS=="mac"', { @@ -281,6 +284,7 @@ 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', 'use_third_party_translations%': '<(use_third_party_translations)', 'remoting%': '<(remoting)', + 'enable_webrtc%': '<(enable_webrtc)', 'p2p_apis%': '<(p2p_apis)', 'configuration_policy%': '<(configuration_policy)', 'safe_browsing%': '<(safe_browsing)', -- cgit v1.1