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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 "../../rtc_base:rtc_numerics", | 104 "../../rtc_base:rtc_numerics", |
105 "../../rtc_base:rtc_task_queue", | 105 "../../rtc_base:rtc_task_queue", |
106 "../../rtc_base:sequenced_task_checker", | 106 "../../rtc_base:sequenced_task_checker", |
107 "../../system_wrappers", | 107 "../../system_wrappers", |
108 "../pacing", | 108 "../pacing", |
109 "../rtp_rtcp:rtp_rtcp", | 109 "../rtp_rtcp:rtp_rtcp", |
110 "../utility:utility", | 110 "../utility:utility", |
111 ] | 111 ] |
112 } | 112 } |
113 | 113 |
114 rtc_static_library("video_coding_utility") { | 114 rtc_source_set("mock_headers") { |
| 115 testonly = true |
115 sources = [ | 116 sources = [ |
| 117 "codecs/interface/mock/mock_video_codec_interface.h", |
| 118 "include/mock/mock_video_codec_interface.h", |
| 119 ] |
| 120 deps = [ |
| 121 ":video_coding_utility", |
| 122 "../..:webrtc_common", |
| 123 "../../test:test_support", |
| 124 ] |
| 125 } |
| 126 |
| 127 rtc_source_set("codec_globals_headers") { |
| 128 sources = [ |
| 129 "codecs/h264/include/h264_globals.h", |
| 130 "codecs/interface/common_constants.h", |
| 131 "codecs/vp8/include/vp8_globals.h", |
| 132 "codecs/vp9/include/vp9_globals.h", |
| 133 ] |
| 134 } |
| 135 |
| 136 rtc_source_set("video_coding_utility") { |
| 137 sources = [ |
| 138 "codecs/interface/video_codec_interface.h", |
| 139 "codecs/interface/video_error_codes.h", |
| 140 "sequence_number_util.h", |
116 "utility/default_video_bitrate_allocator.cc", | 141 "utility/default_video_bitrate_allocator.cc", |
117 "utility/default_video_bitrate_allocator.h", | 142 "utility/default_video_bitrate_allocator.h", |
118 "utility/frame_dropper.cc", | 143 "utility/frame_dropper.cc", |
119 "utility/frame_dropper.h", | 144 "utility/frame_dropper.h", |
120 "utility/ivf_file_writer.cc", | 145 "utility/ivf_file_writer.cc", |
121 "utility/ivf_file_writer.h", | 146 "utility/ivf_file_writer.h", |
122 "utility/moving_average.cc", | 147 "utility/moving_average.cc", |
123 "utility/moving_average.h", | 148 "utility/moving_average.h", |
124 "utility/quality_scaler.cc", | 149 "utility/quality_scaler.cc", |
125 "utility/quality_scaler.h", | 150 "utility/quality_scaler.h", |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 "codecs/i420/i420.cc", | 218 "codecs/i420/i420.cc", |
194 "codecs/i420/include/i420.h", | 219 "codecs/i420/include/i420.h", |
195 ] | 220 ] |
196 | 221 |
197 if (!build_with_chromium && is_clang) { | 222 if (!build_with_chromium && is_clang) { |
198 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 223 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
199 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 224 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
200 } | 225 } |
201 | 226 |
202 deps = [ | 227 deps = [ |
| 228 ":video_coding_utility", |
203 "../..:webrtc_common", | 229 "../..:webrtc_common", |
204 "../../common_video:common_video", | 230 "../../common_video:common_video", |
205 "../../rtc_base:rtc_base_approved", | 231 "../../rtc_base:rtc_base_approved", |
206 "../../system_wrappers", | 232 "../../system_wrappers", |
207 ] | 233 ] |
208 } | 234 } |
209 | 235 |
210 rtc_static_library("webrtc_vp8") { | 236 rtc_static_library("webrtc_vp8") { |
211 sources = [ | 237 sources = [ |
212 "codecs/vp8/default_temporal_layers.cc", | 238 "codecs/vp8/default_temporal_layers.cc", |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 sources = [ | 338 sources = [ |
313 "codecs/vp8/simulcast_test_utility.h", | 339 "codecs/vp8/simulcast_test_utility.h", |
314 ] | 340 ] |
315 | 341 |
316 if (!build_with_chromium && is_clang) { | 342 if (!build_with_chromium && is_clang) { |
317 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 343 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
318 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 344 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
319 } | 345 } |
320 | 346 |
321 deps = [ | 347 deps = [ |
| 348 ":mock_headers", |
322 ":video_coding", | 349 ":video_coding", |
323 ":webrtc_vp8", | 350 ":webrtc_vp8", |
324 "../../api:video_frame_api", | 351 "../../api:video_frame_api", |
325 "../../common_video:common_video", | 352 "../../common_video:common_video", |
326 "../../rtc_base:rtc_base_approved", | 353 "../../rtc_base:rtc_base_approved", |
327 "../../test:test_support", | 354 "../../test:test_support", |
328 ] | 355 ] |
329 } | 356 } |
330 | 357 |
331 rtc_source_set("video_codecs_test_framework") { | 358 rtc_source_set("video_codecs_test_framework") { |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 "jitter_buffer_unittest.cc", | 511 "jitter_buffer_unittest.cc", |
485 "jitter_estimator_tests.cc", | 512 "jitter_estimator_tests.cc", |
486 "nack_module_unittest.cc", | 513 "nack_module_unittest.cc", |
487 "protection_bitrate_calculator_unittest.cc", | 514 "protection_bitrate_calculator_unittest.cc", |
488 "receiver_unittest.cc", | 515 "receiver_unittest.cc", |
489 "rtp_frame_reference_finder_unittest.cc", | 516 "rtp_frame_reference_finder_unittest.cc", |
490 "sequence_number_util_unittest.cc", | 517 "sequence_number_util_unittest.cc", |
491 "session_info_unittest.cc", | 518 "session_info_unittest.cc", |
492 "test/stream_generator.cc", | 519 "test/stream_generator.cc", |
493 "test/stream_generator.h", | 520 "test/stream_generator.h", |
| 521 "test/test_util.h", |
494 "timing_unittest.cc", | 522 "timing_unittest.cc", |
495 "utility/default_video_bitrate_allocator_unittest.cc", | 523 "utility/default_video_bitrate_allocator_unittest.cc", |
496 "utility/frame_dropper_unittest.cc", | 524 "utility/frame_dropper_unittest.cc", |
497 "utility/ivf_file_writer_unittest.cc", | 525 "utility/ivf_file_writer_unittest.cc", |
| 526 "utility/mock/mock_frame_dropper.h", |
498 "utility/moving_average_unittest.cc", | 527 "utility/moving_average_unittest.cc", |
499 "utility/quality_scaler_unittest.cc", | 528 "utility/quality_scaler_unittest.cc", |
500 "utility/simulcast_rate_allocator_unittest.cc", | 529 "utility/simulcast_rate_allocator_unittest.cc", |
501 "video_codec_initializer_unittest.cc", | 530 "video_codec_initializer_unittest.cc", |
502 "video_packet_buffer_unittest.cc", | 531 "video_packet_buffer_unittest.cc", |
503 "video_receiver_unittest.cc", | 532 "video_receiver_unittest.cc", |
504 "video_sender_unittest.cc", | 533 "video_sender_unittest.cc", |
505 ] | 534 ] |
506 if (rtc_libvpx_build_vp9) { | 535 if (rtc_libvpx_build_vp9) { |
507 sources += [ "codecs/vp9/vp9_screenshare_layers_unittest.cc" ] | 536 sources += [ "codecs/vp9/vp9_screenshare_layers_unittest.cc" ] |
508 } | 537 } |
509 if (rtc_use_h264) { | 538 if (rtc_use_h264) { |
510 sources += [ "codecs/h264/h264_encoder_impl_unittest.cc" ] | 539 sources += [ "codecs/h264/h264_encoder_impl_unittest.cc" ] |
511 } | 540 } |
512 deps = [ | 541 deps = [ |
| 542 ":mock_headers", |
513 ":simulcast_test_utility", | 543 ":simulcast_test_utility", |
514 ":video_codecs_test_framework", | 544 ":video_codecs_test_framework", |
515 ":video_coding", | 545 ":video_coding", |
516 ":video_coding_utility", | 546 ":video_coding_utility", |
517 ":webrtc_h264", | 547 ":webrtc_h264", |
518 ":webrtc_vp8", | 548 ":webrtc_vp8", |
519 ":webrtc_vp9", | 549 ":webrtc_vp9", |
520 "..:module_api", | 550 "..:module_api", |
521 "../..:webrtc_common", | 551 "../..:webrtc_common", |
522 "../../api:video_frame_api", | 552 "../../api:video_frame_api", |
(...skipping 22 matching lines...) Expand all Loading... |
545 } | 575 } |
546 | 576 |
547 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. | 577 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. |
548 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 578 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
549 if (!build_with_chromium && is_clang) { | 579 if (!build_with_chromium && is_clang) { |
550 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 580 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
551 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 581 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
552 } | 582 } |
553 } | 583 } |
554 } | 584 } |
OLD | NEW |