OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 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 import("../webrtc.gni") | 9 import("../webrtc.gni") |
10 | 10 |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 # TODO(kjellander): Bug 261: fix this warning. | 233 # TODO(kjellander): Bug 261: fix this warning. |
234 "/wd4373", # Virtual function override. | 234 "/wd4373", # Virtual function override. |
235 ] | 235 ] |
236 } | 236 } |
237 | 237 |
238 if (!build_with_chromium && is_clang) { | 238 if (!build_with_chromium && is_clang) { |
239 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 239 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
240 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 240 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
241 } | 241 } |
242 } | 242 } |
243 | |
244 if (!is_ios) { | |
245 rtc_executable("voe_auto_test") { | |
246 testonly = true | |
247 | |
248 deps = [ | |
249 ":voice_engine", | |
250 "..:webrtc_common", | |
251 "../logging:rtc_event_log_api", | |
252 "../modules:module_api", | |
253 "../modules/audio_device:audio_device", | |
254 "../modules/audio_processing:audio_processing", | |
255 "../modules/rtp_rtcp:rtp_rtcp", | |
256 "../modules/video_capture", | |
257 "../rtc_base:rtc_base_approved", | |
258 "../system_wrappers", | |
259 "../system_wrappers/:system_wrappers_default", | |
260 "../test/:test_common", | |
261 "../test/:test_support", | |
262 "../test/:video_test_common", | |
263 "//testing/gmock", | |
264 "//testing/gtest", | |
265 ] | |
266 | |
267 sources = [ | |
268 "test/auto_test/automated_mode.cc", | |
269 "test/auto_test/fixtures/after_initialization_fixture.cc", | |
270 "test/auto_test/fixtures/after_initialization_fixture.h", | |
271 "test/auto_test/fixtures/after_streaming_fixture.cc", | |
272 "test/auto_test/fixtures/after_streaming_fixture.h", | |
273 "test/auto_test/fixtures/before_initialization_fixture.cc", | |
274 "test/auto_test/fixtures/before_initialization_fixture.h", | |
275 "test/auto_test/fixtures/before_streaming_fixture.cc", | |
276 "test/auto_test/fixtures/before_streaming_fixture.h", | |
277 "test/auto_test/standard/codec_before_streaming_test.cc", | |
278 "test/auto_test/standard/codec_test.cc", | |
279 "test/auto_test/standard/dtmf_test.cc", | |
280 "test/auto_test/standard/rtp_rtcp_before_streaming_test.cc", | |
281 "test/auto_test/standard/rtp_rtcp_extensions.cc", | |
282 "test/auto_test/standard/rtp_rtcp_test.cc", | |
283 "test/auto_test/voe_standard_test.cc", | |
284 "test/auto_test/voe_standard_test.h", | |
285 "test/auto_test/voe_test_defines.h", | |
286 ] | |
287 | |
288 defines = [] | |
289 | |
290 if (rtc_enable_protobuf) { | |
291 defines = [ "ENABLE_RTC_EVENT_LOG" ] | |
292 } | |
293 | |
294 if (is_win) { | |
295 defines += [ "WEBRTC_DRIFT_COMPENSATION_SUPPORTED" ] | |
296 | |
297 cflags = [ | |
298 "/wd4267", # size_t to int truncation. | |
299 "/wd4373", # Virtual function override. | |
300 # TODO(kjellander): Bug 261: fix this warning. | |
301 ] | |
302 } | |
303 | |
304 if (!build_with_chromium && is_clang) { | |
305 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. | |
306 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | |
307 } | |
308 } | |
309 } | |
310 } | 243 } |
OLD | NEW |