| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | |
| 2 # | |
| 3 # Use of this source code is governed by a BSD-style license | |
| 4 # that can be found in the LICENSE file in the root of the source | |
| 5 # tree. An additional intellectual property rights grant can be found | |
| 6 # in the file PATENTS. All contributing project authors may | |
| 7 # be found in the AUTHORS file in the root of the source tree. | |
| 8 | |
| 9 { | |
| 10 'variables': { | |
| 11 'audio_coding_dependencies': [ | |
| 12 'cng', | |
| 13 'g711', | |
| 14 'g722', | |
| 15 'ilbc', | |
| 16 'isac', | |
| 17 'isac_fix', | |
| 18 'pcm16b', | |
| 19 'red', | |
| 20 '<(webrtc_root)/common.gyp:webrtc_common', | |
| 21 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', | |
| 22 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', | |
| 23 ], | |
| 24 'audio_coding_defines': [], | |
| 25 'conditions': [ | |
| 26 ['include_opus==1', { | |
| 27 'audio_coding_dependencies': ['webrtc_opus',], | |
| 28 'audio_coding_defines': ['WEBRTC_CODEC_OPUS',], | |
| 29 }], | |
| 30 ], | |
| 31 }, | |
| 32 'targets': [ | |
| 33 { | |
| 34 'target_name': 'audio_coding_module', | |
| 35 'type': 'static_library', | |
| 36 'defines': [ | |
| 37 '<@(audio_coding_defines)', | |
| 38 ], | |
| 39 'dependencies': [ | |
| 40 '<@(audio_coding_dependencies)', | |
| 41 '<(webrtc_root)/common.gyp:webrtc_common', | |
| 42 'neteq', | |
| 43 ], | |
| 44 'include_dirs': [ | |
| 45 '../interface', | |
| 46 '../../../interface', | |
| 47 '<(webrtc_root)', | |
| 48 ], | |
| 49 'direct_dependent_settings': { | |
| 50 'include_dirs': [ | |
| 51 '../interface', | |
| 52 '../../../interface', | |
| 53 '<(webrtc_root)', | |
| 54 ], | |
| 55 }, | |
| 56 'sources': [ | |
| 57 '../interface/audio_coding_module.h', | |
| 58 '../interface/audio_coding_module_typedefs.h', | |
| 59 'acm_codec_database.cc', | |
| 60 'acm_codec_database.h', | |
| 61 'acm_common_defs.h', | |
| 62 'acm_receiver.cc', | |
| 63 'acm_receiver.h', | |
| 64 'acm_resampler.cc', | |
| 65 'acm_resampler.h', | |
| 66 'audio_coding_module.cc', | |
| 67 'audio_coding_module_impl.cc', | |
| 68 'audio_coding_module_impl.h', | |
| 69 'call_statistics.cc', | |
| 70 'call_statistics.h', | |
| 71 'codec_manager.cc', | |
| 72 'codec_manager.h', | |
| 73 'codec_owner.cc', | |
| 74 'codec_owner.h', | |
| 75 'initial_delay_manager.cc', | |
| 76 'initial_delay_manager.h', | |
| 77 'nack.cc', | |
| 78 'nack.h', | |
| 79 ], | |
| 80 }, | |
| 81 ], | |
| 82 'conditions': [ | |
| 83 ['include_tests==1', { | |
| 84 'targets': [ | |
| 85 { | |
| 86 'target_name': 'acm_receive_test', | |
| 87 'type': 'static_library', | |
| 88 'defines': [ | |
| 89 '<@(audio_coding_defines)', | |
| 90 ], | |
| 91 'dependencies': [ | |
| 92 '<@(audio_coding_dependencies)', | |
| 93 'audio_coding_module', | |
| 94 'neteq_unittest_tools', | |
| 95 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 96 ], | |
| 97 'sources': [ | |
| 98 'acm_receive_test.cc', | |
| 99 'acm_receive_test.h', | |
| 100 'acm_receive_test_oldapi.cc', | |
| 101 'acm_receive_test_oldapi.h', | |
| 102 ], | |
| 103 }, # acm_receive_test | |
| 104 { | |
| 105 'target_name': 'acm_send_test', | |
| 106 'type': 'static_library', | |
| 107 'defines': [ | |
| 108 '<@(audio_coding_defines)', | |
| 109 ], | |
| 110 'dependencies': [ | |
| 111 '<@(audio_coding_dependencies)', | |
| 112 'audio_coding_module', | |
| 113 'neteq_unittest_tools', | |
| 114 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 115 ], | |
| 116 'sources': [ | |
| 117 'acm_send_test.cc', | |
| 118 'acm_send_test.h', | |
| 119 'acm_send_test_oldapi.cc', | |
| 120 'acm_send_test_oldapi.h', | |
| 121 ], | |
| 122 }, # acm_send_test | |
| 123 { | |
| 124 'target_name': 'delay_test', | |
| 125 'type': 'executable', | |
| 126 'dependencies': [ | |
| 127 'audio_coding_module', | |
| 128 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 129 '<(webrtc_root)/common.gyp:webrtc_common', | |
| 130 '<(webrtc_root)/test/test.gyp:test_support', | |
| 131 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers'
, | |
| 132 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_
default', | |
| 133 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | |
| 134 ], | |
| 135 'sources': [ | |
| 136 '../test/delay_test.cc', | |
| 137 '../test/Channel.cc', | |
| 138 '../test/PCMFile.cc', | |
| 139 '../test/utility.cc', | |
| 140 ], | |
| 141 }, # delay_test | |
| 142 { | |
| 143 'target_name': 'insert_packet_with_timing', | |
| 144 'type': 'executable', | |
| 145 'dependencies': [ | |
| 146 'audio_coding_module', | |
| 147 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 148 '<(webrtc_root)/common.gyp:webrtc_common', | |
| 149 '<(webrtc_root)/test/test.gyp:test_support', | |
| 150 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers'
, | |
| 151 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_
default', | |
| 152 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | |
| 153 ], | |
| 154 'sources': [ | |
| 155 '../test/insert_packet_with_timing.cc', | |
| 156 '../test/Channel.cc', | |
| 157 '../test/PCMFile.cc', | |
| 158 ], | |
| 159 }, # delay_test | |
| 160 ], | |
| 161 }], | |
| 162 ], | |
| 163 } | |
| OLD | NEW |