Modifying neteq.gyp

|codecs| list is introduced, which is used in both |neteq_dependencies| and AudiDecoder unittests dependencies. This way, AudioDecoder unittests depend only on |codecs| and not on the entire |neteq_dependencies|, which is unnecessary.

TEST=trybots
BUG=
R=andrew@webrtc.org, henrik.lundin@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/14459004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6094 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
turaj@webrtc.org 2014-05-09 18:04:50 +00:00
parent 1cd14a4502
commit 17bf9a2c5e

View File

@ -8,7 +8,7 @@
{
'variables': {
'neteq_dependencies': [
'codecs': [
'G711',
'G722',
'PCM16B',
@ -16,17 +16,20 @@
'iSAC',
'iSACFix',
'CNG',
'<(DEPTH)/third_party/opus/opus.gyp:opus',
'<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
],
'neteq_defines': [],
'conditions': [
['include_opus==1', {
'neteq_dependencies': ['webrtc_opus',],
'codecs': ['webrtc_opus',],
'neteq_defines': ['WEBRTC_CODEC_OPUS',],
}],
],
'neteq_dependencies': [
'<@(codecs)',
'<(DEPTH)/third_party/opus/opus.gyp:opus',
'<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
],
},
'targets': [
{
@ -132,7 +135,7 @@
'target_name': 'audio_decoder_unittests',
'type': '<(gtest_target_type)',
'dependencies': [
'<@(neteq_dependencies)',
'<@(codecs)',
'<(DEPTH)/testing/gtest.gyp:gtest',
'<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
'<(webrtc_root)/test/test.gyp:test_support_main',