aboutsummaryrefslogtreecommitdiff
path: root/webrtc/build/common.gypi
diff options
context:
space:
mode:
authorTommi <tommi@webrtc.org>2015-05-20 09:44:38 +0200
committerTommi <tommi@webrtc.org>2015-05-20 07:44:23 +0000
commit931e6583b21d2d3d1ee8fd240f63708dc56d1a19 (patch)
tree614dbd3bb20c01529e55cb2a879296c9415632ad /webrtc/build/common.gypi
parentcb7f8ce2df7564546936d3041a96ccc86a90f988 (diff)
downloadwebrtc-931e6583b21d2d3d1ee8fd240f63708dc56d1a19.tar.gz
Remove unnecessary dependencies for voe when building with include_internal_audio_device==0.
In particular and practical terms, this avoids pulling in AudioDeviceModuleImpl and associated classes, in Chrome. BUG= R=henrika@webrtc.org Review URL: https://webrtc-codereview.appspot.com/49999004 Cr-Commit-Position: refs/heads/master@{#9229}
Diffstat (limited to 'webrtc/build/common.gypi')
-rw-r--r--webrtc/build/common.gypi6
1 files changed, 5 insertions, 1 deletions
diff --git a/webrtc/build/common.gypi b/webrtc/build/common.gypi
index 863d63b8ad..26b0de367a 100644
--- a/webrtc/build/common.gypi
+++ b/webrtc/build/common.gypi
@@ -129,7 +129,6 @@
# Exclude internal ADM since Chromium uses its own IO handling.
'include_internal_audio_device%': 0,
-
}, { # Settings for the standalone (not-in-Chromium) build.
# TODO(andrew): For now, disable the Chrome plugins, which causes a
# flood of chromium-style warnings. Investigate enabling them:
@@ -370,6 +369,11 @@
}],
],
}],
+ ['include_internal_audio_device==1', {
+ 'defines': [
+ 'WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE',
+ ],
+ }],
], # conditions
'direct_dependent_settings': {
'conditions': [