Chromium Code Reviews| 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 19 matching lines...) Expand all Loading... | |
| 30 ] | 30 ] |
| 31 } | 31 } |
| 32 | 32 |
| 33 rtc_source_set("video_test_common") { | 33 rtc_source_set("video_test_common") { |
| 34 testonly = true | 34 testonly = true |
| 35 sources = [ | 35 sources = [ |
| 36 "fake_texture_frame.cc", | 36 "fake_texture_frame.cc", |
| 37 "fake_texture_frame.h", | 37 "fake_texture_frame.h", |
| 38 "frame_generator.cc", | 38 "frame_generator.cc", |
| 39 "frame_generator.h", | 39 "frame_generator.h", |
| 40 "frame_generator_capturer.cc", | |
| 41 "frame_generator_capturer.h", | |
| 40 "frame_utils.cc", | 42 "frame_utils.cc", |
| 41 "frame_utils.h", | 43 "frame_utils.h", |
| 44 "video_capturer.h", | |
| 42 ] | 45 ] |
| 43 | 46 |
| 44 if (!build_with_chromium && is_clang) { | 47 if (!build_with_chromium && is_clang) { |
| 45 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 48 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 46 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 49 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 47 } | 50 } |
| 48 | 51 |
| 49 deps = [ | 52 deps = [ |
| 50 "../common_video", | 53 "../common_video", |
| 51 ] | 54 ] |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 285 "encoder_settings.h", | 288 "encoder_settings.h", |
| 286 "fake_audio_device.cc", | 289 "fake_audio_device.cc", |
| 287 "fake_audio_device.h", | 290 "fake_audio_device.h", |
| 288 "fake_decoder.cc", | 291 "fake_decoder.cc", |
| 289 "fake_decoder.h", | 292 "fake_decoder.h", |
| 290 "fake_encoder.cc", | 293 "fake_encoder.cc", |
| 291 "fake_encoder.h", | 294 "fake_encoder.h", |
| 292 "fake_network_pipe.cc", | 295 "fake_network_pipe.cc", |
| 293 "fake_network_pipe.h", | 296 "fake_network_pipe.h", |
| 294 "fake_videorenderer.h", | 297 "fake_videorenderer.h", |
| 295 "frame_generator_capturer.cc", | |
| 296 "frame_generator_capturer.h", | |
| 297 "layer_filtering_transport.cc", | 298 "layer_filtering_transport.cc", |
| 298 "layer_filtering_transport.h", | 299 "layer_filtering_transport.h", |
| 299 "mock_transport.h", | 300 "mock_transport.h", |
| 300 "mock_voe_channel_proxy.h", | 301 "mock_voe_channel_proxy.h", |
| 301 "mock_voice_engine.h", | 302 "mock_voice_engine.h", |
| 302 "null_transport.cc", | 303 "null_transport.cc", |
| 303 "null_transport.h", | 304 "null_transport.h", |
| 304 "rtp_rtcp_observer.h", | 305 "rtp_rtcp_observer.h", |
| 305 "statistics.cc", | 306 "statistics.cc", |
| 306 "statistics.h", | 307 "statistics.h", |
| 307 "vcm_capturer.cc", | 308 "vcm_capturer.cc", |
| 308 "vcm_capturer.h", | 309 "vcm_capturer.h", |
| 309 "video_capturer.h", | |
| 310 "win/run_loop_win.cc", | 310 "win/run_loop_win.cc", |
| 311 ] | 311 ] |
| 312 if (!is_win) { | 312 if (!is_win) { |
| 313 sources += [ | 313 sources += [ |
| 314 "run_loop.cc", | 314 "run_loop.cc", |
| 315 "run_loop.h", | 315 "run_loop.h", |
| 316 ] | 316 ] |
| 317 } | 317 } |
| 318 | 318 |
| 319 if (!build_with_chromium && is_clang) { | 319 if (!build_with_chromium && is_clang) { |
| 320 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 320 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 321 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 321 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 322 } | 322 } |
| 323 | 323 |
| 324 deps = [ | 324 deps = [ |
| 325 ":rtp_test_utils", | 325 ":rtp_test_utils", |
| 326 ":test_support", | 326 ":test_support", |
| 327 "..:webrtc_common", | 327 "..:webrtc_common", |
| 328 "../api:transport_api", | 328 "../api:transport_api", |
| 329 "../audio", | 329 "../audio", |
| 330 "../base:rtc_base_approved", | 330 "../base:rtc_base_approved", |
| 331 "../call", | 331 "../call", |
| 332 "../modules/audio_device:mock_audio_device", | 332 "../modules/audio_device:mock_audio_device", |
| 333 "../modules/audio_mixer:audio_mixer_impl", | 333 "../modules/audio_mixer:audio_mixer_impl", |
| 334 "../modules/audio_processing", | 334 "../modules/audio_processing", |
| 335 "../modules/video_capture:video_capture", | |
| 336 "../modules/video_capture:video_capture_module", | 335 "../modules/video_capture:video_capture_module", |
|
perkj_webrtc
2017/02/03 06:51:32
Can you remove video_capture_module dependency as
ehmaldonado_webrtc
2017/02/03 08:13:07
vcm_capturer.{cc, h} needs it, should I move it to
| |
| 337 "../video", | 336 "../video", |
| 338 "//testing/gmock", | 337 "//testing/gmock", |
| 339 "//testing/gtest", | 338 "//testing/gtest", |
| 340 ] | 339 ] |
| 341 } | 340 } |
| 342 | 341 |
| 343 config("test_renderer_exported_config") { | 342 config("test_renderer_exported_config") { |
| 344 if (is_win && is_clang) { | 343 if (is_win && is_clang) { |
| 345 # GN orders flags on a target before flags from configs. The default config | 344 # GN orders flags on a target before flags from configs. The default config |
| 346 # adds -Wall, and this flag have to be after -Wall -- so they need to | 345 # adds -Wall, and this flag have to be after -Wall -- so they need to |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 405 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 404 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 406 } | 405 } |
| 407 | 406 |
| 408 deps = [ | 407 deps = [ |
| 409 ":test_support", | 408 ":test_support", |
| 410 ":video_test_common", | 409 ":video_test_common", |
| 411 "../modules/media_file", | 410 "../modules/media_file", |
| 412 "//testing/gtest", | 411 "//testing/gtest", |
| 413 ] | 412 ] |
| 414 } | 413 } |
| OLD | NEW |