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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 } | 205 } |
206 | 206 |
207 rtc_static_library("webrtc_vp8") { | 207 rtc_static_library("webrtc_vp8") { |
208 sources = [ | 208 sources = [ |
209 "codecs/vp8/default_temporal_layers.cc", | 209 "codecs/vp8/default_temporal_layers.cc", |
210 "codecs/vp8/default_temporal_layers.h", | 210 "codecs/vp8/default_temporal_layers.h", |
211 "codecs/vp8/include/vp8.h", | 211 "codecs/vp8/include/vp8.h", |
212 "codecs/vp8/include/vp8_common_types.h", | 212 "codecs/vp8/include/vp8_common_types.h", |
213 "codecs/vp8/screenshare_layers.cc", | 213 "codecs/vp8/screenshare_layers.cc", |
214 "codecs/vp8/screenshare_layers.h", | 214 "codecs/vp8/screenshare_layers.h", |
215 "codecs/vp8/simulcast_encoder_adapter.cc", | |
216 "codecs/vp8/simulcast_encoder_adapter.h", | |
217 "codecs/vp8/simulcast_rate_allocator.cc", | 215 "codecs/vp8/simulcast_rate_allocator.cc", |
218 "codecs/vp8/simulcast_rate_allocator.h", | 216 "codecs/vp8/simulcast_rate_allocator.h", |
219 "codecs/vp8/temporal_layers.h", | 217 "codecs/vp8/temporal_layers.h", |
220 "codecs/vp8/vp8_impl.cc", | 218 "codecs/vp8/vp8_impl.cc", |
221 "codecs/vp8/vp8_impl.h", | 219 "codecs/vp8/vp8_impl.h", |
222 ] | 220 ] |
223 | 221 |
224 # TODO(jschuh): Bug 1348: fix this warning. | 222 # TODO(jschuh): Bug 1348: fix this warning. |
225 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 223 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
226 | 224 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 "../../base:rtc_base_approved", | 270 "../../base:rtc_base_approved", |
273 "../../common_video", | 271 "../../common_video", |
274 "../../system_wrappers", | 272 "../../system_wrappers", |
275 ] | 273 ] |
276 if (rtc_build_libvpx) { | 274 if (rtc_build_libvpx) { |
277 deps += [ rtc_libvpx_dir ] | 275 deps += [ rtc_libvpx_dir ] |
278 } | 276 } |
279 } | 277 } |
280 | 278 |
281 if (rtc_include_tests) { | 279 if (rtc_include_tests) { |
| 280 rtc_source_set("simulcast_test_utility") { |
| 281 testonly = true |
| 282 sources = [ |
| 283 "codecs/vp8/simulcast_test_utility.h", |
| 284 ] |
| 285 |
| 286 if (!build_with_chromium && is_clang) { |
| 287 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 288 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 289 } |
| 290 |
| 291 deps = [ |
| 292 ":video_coding", |
| 293 ":webrtc_vp8", |
| 294 "../../api:video_frame_api", |
| 295 "../../base:rtc_base_approved", |
| 296 "../../common_video:common_video", |
| 297 "../../test:test_support", |
| 298 ] |
| 299 } |
| 300 |
282 rtc_executable("video_quality_measurement") { | 301 rtc_executable("video_quality_measurement") { |
283 testonly = true | 302 testonly = true |
284 | 303 |
285 sources = [ | 304 sources = [ |
286 "codecs/tools/video_quality_measurement.cc", | 305 "codecs/tools/video_quality_measurement.cc", |
287 ] | 306 ] |
288 | 307 |
289 if (!build_with_chromium && is_clang) { | 308 if (!build_with_chromium && is_clang) { |
290 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 309 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
291 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 310 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 # cover (which would be confusing to read and hard to maintain). | 520 # cover (which would be confusing to read and hard to maintain). |
502 if (!is_android && !is_ios) { | 521 if (!is_android && !is_ios) { |
503 visibility = [ "//webrtc/modules:modules_unittests" ] | 522 visibility = [ "//webrtc/modules:modules_unittests" ] |
504 } | 523 } |
505 sources = [ | 524 sources = [ |
506 "codecs/test/packet_manipulator_unittest.cc", | 525 "codecs/test/packet_manipulator_unittest.cc", |
507 "codecs/test/stats_unittest.cc", | 526 "codecs/test/stats_unittest.cc", |
508 "codecs/test/videoprocessor_unittest.cc", | 527 "codecs/test/videoprocessor_unittest.cc", |
509 "codecs/vp8/default_temporal_layers_unittest.cc", | 528 "codecs/vp8/default_temporal_layers_unittest.cc", |
510 "codecs/vp8/screenshare_layers_unittest.cc", | 529 "codecs/vp8/screenshare_layers_unittest.cc", |
511 "codecs/vp8/simulcast_encoder_adapter_unittest.cc", | |
512 "codecs/vp8/simulcast_unittest.cc", | 530 "codecs/vp8/simulcast_unittest.cc", |
513 "codecs/vp8/simulcast_unittest.h", | |
514 "decoding_state_unittest.cc", | 531 "decoding_state_unittest.cc", |
515 "frame_buffer2_unittest.cc", | 532 "frame_buffer2_unittest.cc", |
516 "generic_encoder_unittest.cc", | 533 "generic_encoder_unittest.cc", |
517 "h264_sprop_parameter_sets_unittest.cc", | 534 "h264_sprop_parameter_sets_unittest.cc", |
518 "h264_sps_pps_tracker_unittest.cc", | 535 "h264_sps_pps_tracker_unittest.cc", |
519 "histogram_unittest.cc", | 536 "histogram_unittest.cc", |
520 "include/mock/mock_vcm_callbacks.h", | 537 "include/mock/mock_vcm_callbacks.h", |
521 "jitter_buffer_unittest.cc", | 538 "jitter_buffer_unittest.cc", |
522 "jitter_estimator_tests.cc", | 539 "jitter_estimator_tests.cc", |
523 "nack_module_unittest.cc", | 540 "nack_module_unittest.cc", |
(...skipping 16 matching lines...) Expand all Loading... |
540 "video_receiver_unittest.cc", | 557 "video_receiver_unittest.cc", |
541 "video_sender_unittest.cc", | 558 "video_sender_unittest.cc", |
542 ] | 559 ] |
543 if (rtc_libvpx_build_vp9) { | 560 if (rtc_libvpx_build_vp9) { |
544 sources += [ "codecs/vp9/vp9_screenshare_layers_unittest.cc" ] | 561 sources += [ "codecs/vp9/vp9_screenshare_layers_unittest.cc" ] |
545 } | 562 } |
546 if (rtc_use_h264) { | 563 if (rtc_use_h264) { |
547 sources += [ "codecs/h264/h264_encoder_impl_unittest.cc" ] | 564 sources += [ "codecs/h264/h264_encoder_impl_unittest.cc" ] |
548 } | 565 } |
549 deps = [ | 566 deps = [ |
| 567 ":simulcast_test_utility", |
550 ":video_codecs_test_framework", | 568 ":video_codecs_test_framework", |
551 ":video_coding", | 569 ":video_coding", |
552 ":video_coding_utility", | 570 ":video_coding_utility", |
553 ":webrtc_h264", | 571 ":webrtc_h264", |
554 ":webrtc_vp8", | 572 ":webrtc_vp8", |
555 ":webrtc_vp9", | 573 ":webrtc_vp9", |
556 "..:module_api", | 574 "..:module_api", |
557 "../..:webrtc_common", | 575 "../..:webrtc_common", |
558 "../../api:video_frame_api", | 576 "../../api:video_frame_api", |
559 "../../api/video_codecs:video_codecs_api", | 577 "../../api/video_codecs:video_codecs_api", |
(...skipping 21 matching lines...) Expand all Loading... |
581 } | 599 } |
582 | 600 |
583 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. | 601 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. |
584 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 602 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
585 if (!build_with_chromium && is_clang) { | 603 if (!build_with_chromium && is_clang) { |
586 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 604 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
587 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 605 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
588 } | 606 } |
589 } | 607 } |
590 } | 608 } |
OLD | NEW |