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

Side by Side Diff: webrtc/voice_engine/voice_engine.gyp

Issue 2319583005: Moved webrtc/test/channel_transport/ into webrtc/voice_engine/test/ (Closed)
Patch Set: build error on win_x64 Created 4 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 unified diff | Download patch
OLDNEW
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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 'type': 'static_library', 100 'type': 'static_library',
101 'dependencies': [ 101 'dependencies': [
102 '<(webrtc_root)/base/base.gyp:rtc_base_approved', 102 '<(webrtc_root)/base/base.gyp:rtc_base_approved',
103 '<(webrtc_root)/common.gyp:webrtc_common', 103 '<(webrtc_root)/common.gyp:webrtc_common',
104 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', 104 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
105 ], 105 ],
106 'sources': [ 106 'sources': [
107 'level_indicator.cc', 107 'level_indicator.cc',
108 'level_indicator.h', 108 'level_indicator.h',
109 ] 109 ]
110 } 110 },
111 {
112 'target_name': 'channel_transport',
113 'type': 'static_library',
114 'dependencies': [
115 '<(DEPTH)/testing/gtest.gyp:gtest',
116 '<(webrtc_root)/common.gyp:webrtc_common',
117 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
118 ],
119 'sources': [
120 'test/channel_transport/channel_transport.cc',
121 'test/channel_transport/channel_transport.h',
122 'test/channel_transport/traffic_control_win.cc',
123 'test/channel_transport/traffic_control_win.h',
124 'test/channel_transport/udp_socket_manager_posix.cc',
125 'test/channel_transport/udp_socket_manager_posix.h',
126 'test/channel_transport/udp_socket_manager_wrapper.cc',
127 'test/channel_transport/udp_socket_manager_wrapper.h',
128 'test/channel_transport/udp_socket_posix.cc',
129 'test/channel_transport/udp_socket_posix.h',
130 'test/channel_transport/udp_socket_wrapper.cc',
131 'test/channel_transport/udp_socket_wrapper.h',
132 'test/channel_transport/udp_socket2_manager_win.cc',
133 'test/channel_transport/udp_socket2_manager_win.h',
134 'test/channel_transport/udp_socket2_win.cc',
135 'test/channel_transport/udp_socket2_win.h',
136 'test/channel_transport/udp_transport.h',
137 'test/channel_transport/udp_transport_impl.cc',
138 'test/channel_transport/udp_transport_impl.h',
139 ],
140 'msvs_disabled_warnings': [
141 4302, # cast truncation
142 ],
143 'conditions': [
144 ['OS=="win" and clang==1', {
145 'msvs_settings': {
146 'VCCLCompilerTool': {
147 'AdditionalOptions': [
148 # Disable warnings failing when compiling with Clang on Windows.
149 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
150 '-Wno-parentheses-equality',
151 '-Wno-reorder',
152 '-Wno-tautological-constant-out-of-range-compare',
153 '-Wno-unused-private-field',
154 ],
155 },
156 },
157 }],
158 ], # conditions.
159 },
160
111 ], 161 ],
112 'conditions': [ 162 'conditions': [
113 ['OS=="win"', { 163 ['OS=="win"', {
114 'defines': ['WEBRTC_DRIFT_COMPENSATION_SUPPORTED',], 164 'defines': ['WEBRTC_DRIFT_COMPENSATION_SUPPORTED',],
115 }], 165 }],
116 ['include_tests==1', { 166 ['include_tests==1', {
117 'targets': [ 167 'targets': [
118 { 168 {
119 'target_name': 'voice_engine_unittests', 169 'target_name': 'voice_engine_unittests',
120 'type': '<(gtest_target_type)', 170 'type': '<(gtest_target_type)',
121 'dependencies': [ 171 'dependencies': [
172 'channel_transport',
122 'voice_engine', 173 'voice_engine',
123 '<(DEPTH)/testing/gmock.gyp:gmock', 174 '<(DEPTH)/testing/gmock.gyp:gmock',
124 '<(DEPTH)/testing/gtest.gyp:gtest', 175 '<(DEPTH)/testing/gtest.gyp:gtest',
125 # The rest are to satisfy the unittests' include chain. 176 # The rest are to satisfy the unittests' include chain.
126 # This would be unnecessary if we used qualified includes. 177 # This would be unnecessary if we used qualified includes.
127 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', 178 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
128 '<(webrtc_root)/modules/modules.gyp:audio_device', 179 '<(webrtc_root)/modules/modules.gyp:audio_device',
129 '<(webrtc_root)/modules/modules.gyp:audio_processing', 180 '<(webrtc_root)/modules/modules.gyp:audio_processing',
130 '<(webrtc_root)/modules/modules.gyp:audio_coding_module', 181 '<(webrtc_root)/modules/modules.gyp:audio_coding_module',
131 '<(webrtc_root)/modules/modules.gyp:audio_conference_mixer', 182 '<(webrtc_root)/modules/modules.gyp:audio_conference_mixer',
132 '<(webrtc_root)/modules/modules.gyp:media_file', 183 '<(webrtc_root)/modules/modules.gyp:media_file',
133 '<(webrtc_root)/modules/modules.gyp:rtp_rtcp', 184 '<(webrtc_root)/modules/modules.gyp:rtp_rtcp',
134 '<(webrtc_root)/modules/modules.gyp:webrtc_utility', 185 '<(webrtc_root)/modules/modules.gyp:webrtc_utility',
135 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers' , 186 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers' ,
136 '<(webrtc_root)/test/test.gyp:test_support_main', 187 '<(webrtc_root)/test/test.gyp:test_support_main',
137 ], 188 ],
138 'sources': [ 189 'sources': [
139 'channel_unittest.cc', 190 'channel_unittest.cc',
140 'network_predictor_unittest.cc', 191 'network_predictor_unittest.cc',
192 'test/channel_transport/udp_transport_unittest.cc',
193 'test/channel_transport/udp_socket_manager_unittest.cc',
194 'test/channel_transport/udp_socket_wrapper_unittest.cc',
141 'transmit_mixer_unittest.cc', 195 'transmit_mixer_unittest.cc',
142 'utility_unittest.cc', 196 'utility_unittest.cc',
143 'voe_audio_processing_unittest.cc', 197 'voe_audio_processing_unittest.cc',
144 'voe_base_unittest.cc', 198 'voe_base_unittest.cc',
145 'voe_codec_unittest.cc', 199 'voe_codec_unittest.cc',
146 'voe_network_unittest.cc', 200 'voe_network_unittest.cc',
147 'voice_engine_fixture.cc', 201 'voice_engine_fixture.cc',
148 'voice_engine_fixture.h', 202 'voice_engine_fixture.h',
149 ], 203 ],
150 'conditions': [ 204 'conditions': [
151 ['OS=="android"', { 205 ['OS=="android"', {
152 'dependencies': [ 206 'dependencies': [
153 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_cod e', 207 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_cod e',
154 ], 208 ],
155 }], 209 }],
156 ], 210 ],
157 }, 211 },
158 { 212 {
159 # command line test that should work on linux/mac/win 213 # command line test that should work on linux/mac/win
160 'target_name': 'voe_cmd_test', 214 'target_name': 'voe_cmd_test',
161 'type': 'executable', 215 'type': 'executable',
162 'dependencies': [ 216 'dependencies': [
217 'channel_transport',
163 'voice_engine', 218 'voice_engine',
164 '<(DEPTH)/testing/gtest.gyp:gtest', 219 '<(DEPTH)/testing/gtest.gyp:gtest',
165 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', 220 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
166 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers' , 221 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers' ,
167 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_ default', 222 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_ default',
168 '<(webrtc_root)/test/test.gyp:channel_transport',
169 '<(webrtc_root)/test/test.gyp:test_support', 223 '<(webrtc_root)/test/test.gyp:test_support',
170 '<(webrtc_root)/webrtc.gyp:rtc_event_log', 224 '<(webrtc_root)/webrtc.gyp:rtc_event_log',
171 ], 225 ],
172 'sources': [ 226 'sources': [
173 'test/cmd_test/voe_cmd_test.cc', 227 'test/cmd_test/voe_cmd_test.cc',
174 ], 228 ],
175 }, 229 },
176 ], # targets 230 ], # targets
177 'conditions': [ 231 'conditions': [
178 ['OS!="ios"', { 232 ['OS!="ios"', {
179 'targets': [ 233 'targets': [
180 { 234 {
181 'target_name': 'voe_auto_test', 235 'target_name': 'voe_auto_test',
182 'type': 'executable', 236 'type': 'executable',
183 'dependencies': [ 237 'dependencies': [
238 'channel_transport',
184 'voice_engine', 239 'voice_engine',
185 '<(DEPTH)/testing/gmock.gyp:gmock', 240 '<(DEPTH)/testing/gmock.gyp:gmock',
186 '<(DEPTH)/testing/gtest.gyp:gtest', 241 '<(DEPTH)/testing/gtest.gyp:gtest',
187 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', 242 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
188 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrapp ers', 243 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrapp ers',
189 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrapp ers_default', 244 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrapp ers_default',
190 '<(webrtc_root)/test/test.gyp:channel_transport',
191 '<(webrtc_root)/test/test.gyp:test_common', 245 '<(webrtc_root)/test/test.gyp:test_common',
192 '<(webrtc_root)/test/test.gyp:test_support', 246 '<(webrtc_root)/test/test.gyp:test_support',
193 '<(webrtc_root)/webrtc.gyp:rtc_event_log', 247 '<(webrtc_root)/webrtc.gyp:rtc_event_log',
194 ], 248 ],
195 'sources': [ 249 'sources': [
196 'test/auto_test/automated_mode.cc', 250 'test/auto_test/automated_mode.cc',
197 'test/auto_test/extended/agc_config_test.cc', 251 'test/auto_test/extended/agc_config_test.cc',
198 'test/auto_test/extended/ec_metrics_test.cc', 252 'test/auto_test/extended/ec_metrics_test.cc',
199 'test/auto_test/fakes/conference_transport.cc', 253 'test/auto_test/fakes/conference_transport.cc',
200 'test/auto_test/fakes/conference_transport.h', 254 'test/auto_test/fakes/conference_transport.h',
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 'sources': [ 371 'sources': [
318 'voe_auto_test.isolate', 372 'voe_auto_test.isolate',
319 ], 373 ],
320 }, 374 },
321 ], 375 ],
322 }], 376 }],
323 ], # conditions 377 ], # conditions
324 }], # include_tests==1 378 }], # include_tests==1
325 ], # conditions 379 ], # conditions
326 } 380 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698