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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 # TODO(jschuh): Bug 1348: fix this warning. | 83 # TODO(jschuh): Bug 1348: fix this warning. |
84 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 84 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
85 | 85 |
86 if (!build_with_chromium && is_clang) { | 86 if (!build_with_chromium && is_clang) { |
87 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 87 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
88 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 88 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
89 } | 89 } |
90 | 90 |
91 deps = [ | 91 deps = [ |
92 ":video_coding_utility", | 92 ":video_coding_utility", |
| 93 ":webrtc_stereo", |
93 ":webrtc_h264", | 94 ":webrtc_h264", |
94 ":webrtc_i420", | 95 ":webrtc_i420", |
95 ":webrtc_vp8", | 96 ":webrtc_vp8", |
96 ":webrtc_vp9", | 97 ":webrtc_vp9", |
97 "..:module_api", | 98 "..:module_api", |
98 "../..:video_stream_api", | 99 "../..:video_stream_api", |
99 "../..:webrtc_common", | 100 "../..:webrtc_common", |
100 "../../common_video", | 101 "../../common_video", |
101 "../../rtc_base:rtc_base", | 102 "../../rtc_base:rtc_base", |
102 "../../rtc_base:rtc_base_approved", | 103 "../../rtc_base:rtc_base_approved", |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 "../../common_video", | 140 "../../common_video", |
140 "../../modules/rtp_rtcp:rtp_rtcp", | 141 "../../modules/rtp_rtcp:rtp_rtcp", |
141 "../../rtc_base:rtc_base_approved", | 142 "../../rtc_base:rtc_base_approved", |
142 "../../rtc_base:rtc_numerics", | 143 "../../rtc_base:rtc_numerics", |
143 "../../rtc_base:rtc_task_queue", | 144 "../../rtc_base:rtc_task_queue", |
144 "../../rtc_base:sequenced_task_checker", | 145 "../../rtc_base:sequenced_task_checker", |
145 "../../system_wrappers", | 146 "../../system_wrappers", |
146 ] | 147 ] |
147 } | 148 } |
148 | 149 |
| 150 rtc_static_library("webrtc_stereo") { |
| 151 sources = [ |
| 152 "codecs/stereo/stereo_decoder_adapter.cc", |
| 153 "codecs/stereo/stereo_encoder_adapter.cc", |
| 154 "codecs/stereo/include/stereo_decoder_adapter.h", |
| 155 "codecs/stereo/include/stereo_encoder_adapter.h", |
| 156 ] |
| 157 |
| 158 if (!build_with_chromium && is_clang) { |
| 159 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 160 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 161 } |
| 162 |
| 163 deps = [ |
| 164 "..:module_api", |
| 165 "../..:webrtc_common", |
| 166 "../../api/video_codecs:video_codecs_api", |
| 167 "../../base:rtc_base_approved", |
| 168 "../../common_video:common_video", |
| 169 "../../system_wrappers", |
| 170 ] |
| 171 } |
| 172 |
149 rtc_static_library("webrtc_h264") { | 173 rtc_static_library("webrtc_h264") { |
150 sources = [ | 174 sources = [ |
151 "codecs/h264/h264.cc", | 175 "codecs/h264/h264.cc", |
152 "codecs/h264/include/h264.h", | 176 "codecs/h264/include/h264.h", |
153 ] | 177 ] |
154 | 178 |
155 if (!build_with_chromium && is_clang) { | 179 if (!build_with_chromium && is_clang) { |
156 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 180 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
157 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 181 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
158 } | 182 } |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 rtc_source_set("video_coding_modules_tests") { | 432 rtc_source_set("video_coding_modules_tests") { |
409 testonly = true | 433 testonly = true |
410 | 434 |
411 # Skip restricting visibility on mobile platforms since the tests on those | 435 # Skip restricting visibility on mobile platforms since the tests on those |
412 # gets additional generated targets which would require many lines here to | 436 # gets additional generated targets which would require many lines here to |
413 # cover (which would be confusing to read and hard to maintain). | 437 # cover (which would be confusing to read and hard to maintain). |
414 if (!is_android && !is_ios) { | 438 if (!is_android && !is_ios) { |
415 visibility = [ "..:modules_tests" ] | 439 visibility = [ "..:modules_tests" ] |
416 } | 440 } |
417 sources = [ | 441 sources = [ |
| 442 "codecs/stereo/stereo_adapter_unittest.cc", |
418 "codecs/h264/test/h264_impl_unittest.cc", | 443 "codecs/h264/test/h264_impl_unittest.cc", |
419 "codecs/test/videoprocessor_integrationtest.cc", | 444 "codecs/test/videoprocessor_integrationtest.cc", |
420 "codecs/vp8/test/vp8_impl_unittest.cc", | 445 "codecs/vp8/test/vp8_impl_unittest.cc", |
421 "codecs/vp9/test/vp9_impl_unittest.cc", | 446 "codecs/vp9/test/vp9_impl_unittest.cc", |
422 ] | 447 ] |
423 | 448 |
424 deps = [ | 449 deps = [ |
425 ":video_codecs_test_framework", | 450 ":video_codecs_test_framework", |
426 ":video_coding_videoprocessor_integration_test", | 451 ":video_coding_videoprocessor_integration_test", |
| 452 ":webrtc_stereo", |
427 ":webrtc_h264", | 453 ":webrtc_h264", |
428 ":webrtc_vp8", | 454 ":webrtc_vp8", |
429 ":webrtc_vp9", | 455 ":webrtc_vp9", |
430 "../../api:video_frame_api", | 456 "../../api:video_frame_api", |
431 "../../common_video:common_video", | 457 "../../common_video:common_video", |
432 "../../rtc_base:rtc_base_approved", | 458 "../../rtc_base:rtc_base_approved", |
433 "../../test:test_support", | 459 "../../test:test_support", |
434 "../../test:video_test_common", | 460 "../../test:video_test_common", |
435 "../video_capture", | 461 "../video_capture", |
436 ] | 462 ] |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
599 } | 625 } |
600 | 626 |
601 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. | 627 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. |
602 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 628 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
603 if (!build_with_chromium && is_clang) { | 629 if (!build_with_chromium && is_clang) { |
604 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 630 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
605 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 631 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
606 } | 632 } |
607 } | 633 } |
608 } | 634 } |
OLD | NEW |