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 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 sources = test_support_unittests_resources | 248 sources = test_support_unittests_resources |
249 outputs = [ | 249 outputs = [ |
250 "{{bundle_resources_dir}}/{{source_file_part}}", | 250 "{{bundle_resources_dir}}/{{source_file_part}}", |
251 ] | 251 ] |
252 } | 252 } |
253 } | 253 } |
254 | 254 |
255 rtc_test("test_support_unittests") { | 255 rtc_test("test_support_unittests") { |
256 deps = [] | 256 deps = [] |
257 sources = [ | 257 sources = [ |
| 258 "fake_audio_device_unittest.cc", |
258 "fake_network_pipe_unittest.cc", | 259 "fake_network_pipe_unittest.cc", |
259 "frame_generator_unittest.cc", | 260 "frame_generator_unittest.cc", |
260 "rtp_file_reader_unittest.cc", | 261 "rtp_file_reader_unittest.cc", |
261 "rtp_file_writer_unittest.cc", | 262 "rtp_file_writer_unittest.cc", |
262 "testsupport/always_passing_unittest.cc", | 263 "testsupport/always_passing_unittest.cc", |
263 "testsupport/isolated_output_unittest.cc", | 264 "testsupport/isolated_output_unittest.cc", |
264 "testsupport/metrics/video_metrics_unittest.cc", | 265 "testsupport/metrics/video_metrics_unittest.cc", |
265 "testsupport/packet_reader_unittest.cc", | 266 "testsupport/packet_reader_unittest.cc", |
266 "testsupport/perf_test_unittest.cc", | 267 "testsupport/perf_test_unittest.cc", |
267 "testsupport/y4m_frame_writer_unittest.cc", | 268 "testsupport/y4m_frame_writer_unittest.cc", |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 "..:webrtc_common", | 403 "..:webrtc_common", |
403 "../audio", | 404 "../audio", |
404 "../base:rtc_base_approved", | 405 "../base:rtc_base_approved", |
405 "../call", | 406 "../call", |
406 "../modules/audio_mixer:audio_mixer_impl", | 407 "../modules/audio_mixer:audio_mixer_impl", |
407 "../modules/audio_processing", | 408 "../modules/audio_processing", |
408 "../video", | 409 "../video", |
409 "//testing/gmock", | 410 "//testing/gmock", |
410 "//testing/gtest", | 411 "//testing/gtest", |
411 ] | 412 ] |
| 413 if (!is_android) { |
| 414 deps += [ "../modules/video_capture:video_capture_internal_impl" ] |
| 415 } |
412 } | 416 } |
413 | 417 |
414 config("test_renderer_exported_config") { | 418 config("test_renderer_exported_config") { |
415 if (is_win && is_clang) { | 419 if (is_win && is_clang) { |
416 # GN orders flags on a target before flags from configs. The default config | 420 # GN orders flags on a target before flags from configs. The default config |
417 # adds -Wall, and this flag have to be after -Wall -- so they need to | 421 # adds -Wall, and this flag have to be after -Wall -- so they need to |
418 # come from a config and cannot be on the target directly. | 422 # come from a config and cannot be on the target directly. |
419 cflags = [ | 423 cflags = [ |
420 "-Wno-bool-conversion", | 424 "-Wno-bool-conversion", |
421 "-Wno-comment", | 425 "-Wno-comment", |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
475 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 479 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
476 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 480 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
477 } | 481 } |
478 | 482 |
479 deps = [ | 483 deps = [ |
480 ":test_support", | 484 ":test_support", |
481 "../modules/media_file", | 485 "../modules/media_file", |
482 "//testing/gtest", | 486 "//testing/gtest", |
483 ] | 487 ] |
484 } | 488 } |
OLD | NEW |