Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(487)

Unified Diff: webrtc/modules/audio_coding/neteq/neteq.gypi

Issue 1349393003: Don't link with audio codecs that we don't use (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@dmove-clean
Patch Set: More ARM fixes Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/audio_coding/neteq/audio_decoder_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_coding/neteq/neteq.gypi
diff --git a/webrtc/modules/audio_coding/neteq/neteq.gypi b/webrtc/modules/audio_coding/neteq/neteq.gypi
index 6d0162286dfd504a76c55848f949161e27d6f46e..16cdeb3779692620e50009b40982e3611e40adc9 100644
--- a/webrtc/modules/audio_coding/neteq/neteq.gypi
+++ b/webrtc/modules/audio_coding/neteq/neteq.gypi
@@ -11,10 +11,6 @@
'codecs': [
'cng',
'g711',
- 'g722',
- 'ilbc',
- 'isac',
- 'isac_fix',
'pcm16b',
],
'neteq_defines': [],
@@ -23,6 +19,23 @@
'codecs': ['webrtc_opus',],
'neteq_defines': ['WEBRTC_CODEC_OPUS',],
}],
+ ['build_with_mozilla==0', {
+ 'conditions': [
+ ['target_arch=="arm"', {
+ 'codecs': ['isac_fix',],
+ 'neteq_defines': ['WEBRTC_CODEC_ISACFX',],
+ }, {
+ 'codecs': ['isac',],
+ 'neteq_defines': ['WEBRTC_CODEC_ISAC',],
+ }],
+ ],
+ 'codecs': ['g722',],
+ 'neteq_defines': ['WEBRTC_CODEC_G722',],
+ }],
+ ['build_with_mozilla==0 and build_with_chromium==0', {
+ 'codecs': ['ilbc',],
+ 'neteq_defines': ['WEBRTC_CODEC_ILBC',],
+ }],
],
'neteq_dependencies': [
'<@(codecs)',
@@ -120,6 +133,10 @@
'type': '<(gtest_target_type)',
'dependencies': [
'<@(codecs)',
+ 'g722',
+ 'ilbc',
+ 'isac',
+ 'isac_fix',
'audio_decoder_interface',
'neteq_unittest_tools',
'<(DEPTH)/testing/gtest.gyp:gtest',
@@ -127,11 +144,6 @@
'<(webrtc_root)/test/test.gyp:test_support_main',
],
'defines': [
- 'AUDIO_DECODER_UNITTEST',
- 'WEBRTC_CODEC_G722',
- 'WEBRTC_CODEC_ILBC',
- 'WEBRTC_CODEC_ISACFX',
- 'WEBRTC_CODEC_ISAC',
'<@(neteq_defines)',
],
'sources': [
« no previous file with comments | « webrtc/modules/audio_coding/neteq/audio_decoder_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698