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