OLD | NEW |
1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 { | 9 { |
10 'includes': [ | 10 'includes': [ |
(...skipping 11 matching lines...) Expand all Loading... |
22 '<(webrtc_root)/modules/modules.gyp:audio_conference_mixer', | 22 '<(webrtc_root)/modules/modules.gyp:audio_conference_mixer', |
23 '<(webrtc_root)/modules/modules.gyp:audio_device', | 23 '<(webrtc_root)/modules/modules.gyp:audio_device', |
24 '<(webrtc_root)/modules/modules.gyp:audio_processing', | 24 '<(webrtc_root)/modules/modules.gyp:audio_processing', |
25 '<(webrtc_root)/modules/modules.gyp:bitrate_controller', | 25 '<(webrtc_root)/modules/modules.gyp:bitrate_controller', |
26 '<(webrtc_root)/modules/modules.gyp:media_file', | 26 '<(webrtc_root)/modules/modules.gyp:media_file', |
27 '<(webrtc_root)/modules/modules.gyp:paced_sender', | 27 '<(webrtc_root)/modules/modules.gyp:paced_sender', |
28 '<(webrtc_root)/modules/modules.gyp:rtp_rtcp', | 28 '<(webrtc_root)/modules/modules.gyp:rtp_rtcp', |
29 '<(webrtc_root)/modules/modules.gyp:webrtc_utility', | 29 '<(webrtc_root)/modules/modules.gyp:webrtc_utility', |
30 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', | 30 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
31 '<(webrtc_root)/webrtc.gyp:rtc_event_log', | 31 '<(webrtc_root)/webrtc.gyp:rtc_event_log', |
| 32 'file_player', |
| 33 'file_recorder', |
32 'level_indicator', | 34 'level_indicator', |
33 ], | 35 ], |
34 'export_dependent_settings': [ | 36 'export_dependent_settings': [ |
35 '<(webrtc_root)/modules/modules.gyp:audio_coding_module', | 37 '<(webrtc_root)/modules/modules.gyp:audio_coding_module', |
36 ], | 38 ], |
37 'sources': [ | 39 'sources': [ |
38 'include/voe_audio_processing.h', | 40 'include/voe_audio_processing.h', |
39 'include/voe_base.h', | 41 'include/voe_base.h', |
40 'include/voe_codec.h', | 42 'include/voe_codec.h', |
41 'include/voe_errors.h', | 43 'include/voe_errors.h', |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 'voe_video_sync_impl.cc', | 90 'voe_video_sync_impl.cc', |
89 'voe_video_sync_impl.h', | 91 'voe_video_sync_impl.h', |
90 'voe_volume_control_impl.cc', | 92 'voe_volume_control_impl.cc', |
91 'voe_volume_control_impl.h', | 93 'voe_volume_control_impl.h', |
92 'voice_engine_defines.h', | 94 'voice_engine_defines.h', |
93 'voice_engine_impl.cc', | 95 'voice_engine_impl.cc', |
94 'voice_engine_impl.h', | 96 'voice_engine_impl.h', |
95 ], | 97 ], |
96 }, | 98 }, |
97 { | 99 { |
| 100 'target_name': 'audio_coder', |
| 101 'type': 'static_library', |
| 102 'sources': [ |
| 103 'coder.cc', |
| 104 'coder.h', |
| 105 ], |
| 106 }, |
| 107 { |
| 108 'target_name': 'file_player', |
| 109 'type': 'static_library', |
| 110 'sources': [ |
| 111 'file_player.h', |
| 112 'file_player_impl.cc', |
| 113 'file_player_impl.h', |
| 114 ], |
| 115 'dependencies': [ |
| 116 'audio_coder', |
| 117 ], |
| 118 }, |
| 119 { |
| 120 'target_name': 'file_recorder', |
| 121 'type': 'static_library', |
| 122 'sources': [ |
| 123 'file_recorder.h', |
| 124 'file_recorder_impl.cc', |
| 125 'file_recorder_impl.h', |
| 126 ], |
| 127 'dependencies': [ |
| 128 'audio_coder', |
| 129 ], |
| 130 }, |
| 131 { |
98 'target_name': 'level_indicator', | 132 'target_name': 'level_indicator', |
99 'type': 'static_library', | 133 'type': 'static_library', |
100 'dependencies': [ | 134 'dependencies': [ |
101 '<(webrtc_root)/base/base.gyp:rtc_base_approved', | 135 '<(webrtc_root)/base/base.gyp:rtc_base_approved', |
102 '<(webrtc_root)/common.gyp:webrtc_common', | 136 '<(webrtc_root)/common.gyp:webrtc_common', |
103 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', | 137 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
104 ], | 138 ], |
105 'sources': [ | 139 'sources': [ |
106 'level_indicator.cc', | 140 'level_indicator.cc', |
107 'level_indicator.h', | 141 'level_indicator.h', |
108 ] | 142 ] |
109 } | 143 } |
110 ], | 144 ], |
111 'conditions': [ | 145 'conditions': [ |
112 ['OS=="win"', { | 146 ['OS=="win"', { |
113 'defines': ['WEBRTC_DRIFT_COMPENSATION_SUPPORTED',], | 147 'defines': ['WEBRTC_DRIFT_COMPENSATION_SUPPORTED',], |
114 }], | 148 }], |
115 ['include_tests==1', { | 149 ['include_tests==1', { |
116 'targets': [ | 150 'targets': [ |
117 { | 151 { |
118 'target_name': 'voice_engine_unittests', | 152 'target_name': 'voice_engine_unittests', |
119 'type': '<(gtest_target_type)', | 153 'type': '<(gtest_target_type)', |
120 'dependencies': [ | 154 'dependencies': [ |
121 'voice_engine', | 155 'voice_engine', |
122 '<(DEPTH)/testing/gmock.gyp:gmock', | 156 '<(DEPTH)/testing/gmock.gyp:gmock', |
123 '<(DEPTH)/testing/gtest.gyp:gtest', | 157 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 158 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
124 # The rest are to satisfy the unittests' include chain. | 159 # The rest are to satisfy the unittests' include chain. |
125 # This would be unnecessary if we used qualified includes. | 160 # This would be unnecessary if we used qualified includes. |
126 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', | 161 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
127 '<(webrtc_root)/modules/modules.gyp:audio_device', | 162 '<(webrtc_root)/modules/modules.gyp:audio_device', |
128 '<(webrtc_root)/modules/modules.gyp:audio_processing', | 163 '<(webrtc_root)/modules/modules.gyp:audio_processing', |
129 '<(webrtc_root)/modules/modules.gyp:audio_coding_module', | 164 '<(webrtc_root)/modules/modules.gyp:audio_coding_module', |
130 '<(webrtc_root)/modules/modules.gyp:audio_conference_mixer', | 165 '<(webrtc_root)/modules/modules.gyp:audio_conference_mixer', |
131 '<(webrtc_root)/modules/modules.gyp:media_file', | 166 '<(webrtc_root)/modules/modules.gyp:media_file', |
132 '<(webrtc_root)/modules/modules.gyp:rtp_rtcp', | 167 '<(webrtc_root)/modules/modules.gyp:rtp_rtcp', |
133 '<(webrtc_root)/modules/modules.gyp:webrtc_utility', | 168 '<(webrtc_root)/modules/modules.gyp:webrtc_utility', |
134 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers'
, | 169 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers'
, |
135 '<(webrtc_root)/test/test.gyp:test_support_main', | 170 '<(webrtc_root)/test/test.gyp:test_support_main', |
136 ], | 171 ], |
137 'sources': [ | 172 'sources': [ |
138 'channel_unittest.cc', | 173 'channel_unittest.cc', |
| 174 'file_player_unittests.cc', |
139 'network_predictor_unittest.cc', | 175 'network_predictor_unittest.cc', |
140 'transmit_mixer_unittest.cc', | 176 'transmit_mixer_unittest.cc', |
141 'utility_unittest.cc', | 177 'utility_unittest.cc', |
142 'voe_audio_processing_unittest.cc', | 178 'voe_audio_processing_unittest.cc', |
143 'voe_base_unittest.cc', | 179 'voe_base_unittest.cc', |
144 'voe_codec_unittest.cc', | 180 'voe_codec_unittest.cc', |
145 'voe_network_unittest.cc', | 181 'voe_network_unittest.cc', |
146 'voice_engine_fixture.cc', | 182 'voice_engine_fixture.cc', |
147 'voice_engine_fixture.h', | 183 'voice_engine_fixture.h', |
148 ], | 184 ], |
149 'conditions': [ | 185 'conditions': [ |
150 ['OS=="android"', { | 186 ['OS=="android"', { |
151 'dependencies': [ | 187 'dependencies': [ |
152 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_cod
e', | 188 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_cod
e', |
153 ], | 189 ], |
154 }], | 190 }], |
| 191 ['OS=="ios"', { |
| 192 'mac_bundle_resources': [ |
| 193 '<(DEPTH)/resources/utility/encapsulated_pcm16b_8khz.wav', |
| 194 '<(DEPTH)/resources/utility/encapsulated_pcmu_8khz.wav', |
| 195 ], |
| 196 }], |
155 ], | 197 ], |
156 }, | 198 }, |
157 { | 199 { |
158 # command line test that should work on linux/mac/win | 200 # command line test that should work on linux/mac/win |
159 'target_name': 'voe_cmd_test', | 201 'target_name': 'voe_cmd_test', |
160 'type': 'executable', | 202 'type': 'executable', |
161 'dependencies': [ | 203 'dependencies': [ |
162 'voice_engine', | 204 'voice_engine', |
163 '<(DEPTH)/testing/gtest.gyp:gtest', | 205 '<(DEPTH)/testing/gtest.gyp:gtest', |
164 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | 206 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 'sources': [ | 358 'sources': [ |
317 'voe_auto_test.isolate', | 359 'voe_auto_test.isolate', |
318 ], | 360 ], |
319 }, | 361 }, |
320 ], | 362 ], |
321 }], | 363 }], |
322 ], # conditions | 364 ], # conditions |
323 }], # include_tests==1 | 365 }], # include_tests==1 |
324 ], # conditions | 366 ], # conditions |
325 } | 367 } |
OLD | NEW |