# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. # # Use of this source code is governed by a BSD-style license # that can be found in the LICENSE file in the root of the source # tree. An additional intellectual property rights grant can be found # in the file PATENTS. All contributing project authors may # be found in the AUTHORS file in the root of the source tree. { 'includes': [ '../../../../common_settings.gypi', # Common settings ], 'targets': [ { 'target_name': 'audio_coding_module', 'type': '<(library)', 'dependencies': [ '../../codecs/CNG/main/source/cng.gyp:CNG', '../../codecs/G711/main/source/g711.gyp:G711', '../../codecs/G722/main/source/g722.gyp:G722', '../../codecs/iLBC/main/source/ilbc.gyp:iLBC', '../../codecs/iSAC/main/source/isac.gyp:iSAC', '../../codecs/iSAC/fix/source/isacfix.gyp:iSACFix', '../../codecs/PCM16B/main/source/pcm16b.gyp:PCM16B', '../../NetEQ/main/source/neteq.gyp:NetEq', '../../../../common_audio/resampler/main/source/resampler.gyp:resampler', '../../../../common_audio/signal_processing_library/main/source/spl.gyp:spl', '../../../../common_audio/vad/main/source/vad.gyp:vad', '../../../../system_wrappers/source/system_wrappers.gyp:system_wrappers', ], 'include_dirs': [ '../interface', '../../../interface', ], 'direct_dependent_settings': { 'include_dirs': [ '../interface', '../../../interface', ], }, 'sources': [ # TODO: Remove files from here and P4 when ACM is slimmed down. '../interface/audio_coding_module.h', '../interface/audio_coding_module_typedefs.h', 'acm_amr.cc', 'acm_amr.h', 'acm_amrwb.cc', 'acm_amrwb.h', 'acm_cng.cc', 'acm_cng.h', 'acm_codec_database.cc', 'acm_codec_database.h', 'acm_dtmf_detection.cc', 'acm_dtmf_detection.h', 'acm_dtmf_playout.cc', 'acm_dtmf_playout.h', 'acm_g722.cc', 'acm_g722.h', 'acm_g7221.cc', 'acm_g7221.h', 'acm_g7221c.cc', 'acm_g7221c.h', 'acm_g729.cc', 'acm_g729.h', 'acm_g7291.cc', 'acm_g7291.h', 'acm_generic_codec.cc', 'acm_generic_codec.h', 'acm_gsmfr.cc', 'acm_gsmfr.h', 'acm_ilbc.cc', 'acm_ilbc.h', 'acm_isac.cc', 'acm_isac.h', 'acm_isac_macros.h', 'acm_neteq.cc', 'acm_neteq.h', 'acm_opus.cc', 'acm_opus.h', 'acm_speex.cc', 'acm_speex.h', 'acm_pcm16b.cc', 'acm_pcm16b.h', 'acm_pcma.cc', 'acm_pcma.h', 'acm_pcmu.cc', 'acm_pcmu.h', 'acm_red.cc', 'acm_red.h', 'acm_resampler.cc', 'acm_resampler.h', 'audio_coding_module.cc', 'audio_coding_module_impl.cc', 'audio_coding_module_impl.h', ], }, { 'target_name': 'audio_coding_module_test', 'type': 'executable', 'dependencies': [ 'audio_coding_module', '../../../../system_wrappers/source/system_wrappers.gyp:system_wrappers', ], 'sources': [ '../test/ACMTest.cpp', '../test/APITest.cpp', '../test/Channel.cpp', '../test/EncodeDecodeTest.cpp', '../test/EncodeToFileTest.cpp', '../test/iSACTest.cpp', '../test/PCMFile.cpp', '../test/RTPFile.cpp', '../test/SpatialAudio.cpp', '../test/TestAllCodecs.cpp', '../test/Tester.cpp', '../test/TestFEC.cpp', '../test/TestStereo.cpp', '../test/TestVADDTX.cpp', '../test/TimedTrace.cpp', '../test/TwoWayCommunication.cpp', '../test/utility.cpp', ], 'conditions': [ ['OS=="linux"', { 'cflags': [ '-fexceptions', # enable exceptions ], }], ], }, ], } # Local Variables: # tab-width:2 # indent-tabs-mode:nil # End: # vim: set expandtab tabstop=2 shiftwidth=2: