summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorwjia@chromium.org <wjia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-19 22:07:48 +0000
committerwjia@chromium.org <wjia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-19 22:07:48 +0000
commitdda90ae68107defd1e2e8d2550475edb7793f3a1 (patch)
tree6ed1e3746a68b3046f56e8b6b775b6f2cfdd6e0d /build
parentebcc462bff6e2328dbae1fb6a42a3ffc3d2f0e4a (diff)
downloadchromium_src-dda90ae68107defd1e2e8d2550475edb7793f3a1.zip
chromium_src-dda90ae68107defd1e2e8d2550475edb7793f3a1.tar.gz
chromium_src-dda90ae68107defd1e2e8d2550475edb7793f3a1.tar.bz2
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
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi4
1 files changed, 4 insertions, 0 deletions
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)',