aboutsummaryrefslogtreecommitdiff
path: root/webrtc.gyp
diff options
context:
space:
mode:
authorxians@webrtc.org <xians@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2011-11-30 15:35:44 +0000
committerxians@webrtc.org <xians@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2011-11-30 15:35:44 +0000
commit0dffc6449aedb053cbc4aaca5976f9c890e047ea (patch)
tree8281bd9d4849e15e798a157cd297096fa62d7483 /webrtc.gyp
parent0c2adf0b75e74bbd0af0970c913f240b3b4947c3 (diff)
downloadwebrtc-0dffc6449aedb053cbc4aaca5976f9c890e047ea.tar.gz
To be able to get webrtc into chrome, we need to reduce the size of the binary and the usage of memory.
This patch disbale some codecs which are not considered necessary. Review URL: http://webrtc-codereview.appspot.com/299001 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1062 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'webrtc.gyp')
-rw-r--r--webrtc.gyp6
1 files changed, 6 insertions, 0 deletions
diff --git a/webrtc.gyp b/webrtc.gyp
index d7c307ca94..04833e73d0 100644
--- a/webrtc.gyp
+++ b/webrtc.gyp
@@ -39,6 +39,12 @@
},
],
'conditions': [
+ ['build_with_chromium==1', {
+ # Exclude components in engine_configuration.h.
+ 'defines': [
+ 'WEBRTC_CHROMIUM_BUILD',
+ ],
+ }, ], # build_with_chromium=1
['OS=="win"', {
'targets': [
{