Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(362)

Side by Side Diff: modules/video_coding/BUILD.gn

Issue 2951033003: [EXPERIMENTAL] Generic stereo codec with index header sending single frames
Patch Set: Rebase and add external codec support. Created 3 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « modules/rtp_rtcp/source/rtp_sender_video.cc ('k') | modules/video_coding/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_h264", 93 ":webrtc_h264",
94 ":webrtc_i420", 94 ":webrtc_i420",
95 ":webrtc_stereo",
95 ":webrtc_vp8", 96 ":webrtc_vp8",
96 ":webrtc_vp9", 97 ":webrtc_vp9",
97 "..:module_api", 98 "..:module_api",
98 "../..:webrtc_common", 99 "../..:webrtc_common",
99 "../../api:optional", 100 "../../api:optional",
100 "../../call:video_stream_api", 101 "../../call:video_stream_api",
101 "../../common_video", 102 "../../common_video",
102 "../../rtc_base:rtc_base", 103 "../../rtc_base:rtc_base",
103 "../../rtc_base:rtc_base_approved", 104 "../../rtc_base:rtc_base_approved",
104 "../../rtc_base:rtc_numerics", 105 "../../rtc_base:rtc_numerics",
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 "../../common_video", 168 "../../common_video",
168 "../../modules/rtp_rtcp:rtp_rtcp", 169 "../../modules/rtp_rtcp:rtp_rtcp",
169 "../../rtc_base:rtc_base_approved", 170 "../../rtc_base:rtc_base_approved",
170 "../../rtc_base:rtc_numerics", 171 "../../rtc_base:rtc_numerics",
171 "../../rtc_base:rtc_task_queue", 172 "../../rtc_base:rtc_task_queue",
172 "../../rtc_base:sequenced_task_checker", 173 "../../rtc_base:sequenced_task_checker",
173 "../../system_wrappers", 174 "../../system_wrappers",
174 ] 175 ]
175 } 176 }
176 177
178 rtc_static_library("webrtc_stereo") {
179 sources = [
180 "codecs/stereo/include/stereo_decoder_adapter.h",
181 "codecs/stereo/include/stereo_encoder_adapter.h",
182 "codecs/stereo/stereo_decoder_adapter.cc",
183 "codecs/stereo/stereo_encoder_adapter.cc",
184 ]
185
186 if (!build_with_chromium && is_clang) {
187 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
188 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
189 }
190
191 deps = [
192 "..:module_api",
193 "../..:webrtc_common",
194 "../../api/video_codecs:video_codecs_api",
195 "../../common_video:common_video",
196 "../../rtc_base:rtc_base_approved",
197 "../../system_wrappers",
198 ]
199 }
200
177 rtc_static_library("webrtc_h264") { 201 rtc_static_library("webrtc_h264") {
178 sources = [ 202 sources = [
179 "codecs/h264/h264.cc", 203 "codecs/h264/h264.cc",
180 "codecs/h264/include/h264.h", 204 "codecs/h264/include/h264.h",
181 ] 205 ]
182 206
183 if (!build_with_chromium && is_clang) { 207 if (!build_with_chromium && is_clang) {
184 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 208 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
185 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 209 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
186 } 210 }
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 testonly = true 438 testonly = true
415 439
416 # Skip restricting visibility on mobile platforms since the tests on those 440 # Skip restricting visibility on mobile platforms since the tests on those
417 # gets additional generated targets which would require many lines here to 441 # gets additional generated targets which would require many lines here to
418 # cover (which would be confusing to read and hard to maintain). 442 # cover (which would be confusing to read and hard to maintain).
419 if (!is_android && !is_ios) { 443 if (!is_android && !is_ios) {
420 visibility = [ "..:modules_tests" ] 444 visibility = [ "..:modules_tests" ]
421 } 445 }
422 sources = [ 446 sources = [
423 "codecs/h264/test/h264_impl_unittest.cc", 447 "codecs/h264/test/h264_impl_unittest.cc",
448 "codecs/stereo/stereo_adapter_unittest.cc",
424 "codecs/test/videoprocessor_integrationtest.cc", 449 "codecs/test/videoprocessor_integrationtest.cc",
425 "codecs/test/videoprocessor_integrationtest.h", 450 "codecs/test/videoprocessor_integrationtest.h",
426 "codecs/test/videoprocessor_integrationtest_libvpx.cc", 451 "codecs/test/videoprocessor_integrationtest_libvpx.cc",
427 "codecs/test/videoprocessor_integrationtest_openh264.cc", 452 "codecs/test/videoprocessor_integrationtest_openh264.cc",
428 "codecs/test/videoprocessor_integrationtest_parameterized.cc", 453 "codecs/test/videoprocessor_integrationtest_parameterized.cc",
429 "codecs/vp8/test/vp8_impl_unittest.cc", 454 "codecs/vp8/test/vp8_impl_unittest.cc",
430 "codecs/vp9/test/vp9_impl_unittest.cc", 455 "codecs/vp9/test/vp9_impl_unittest.cc",
431 ] 456 ]
432 457
433 deps = [ 458 deps = [
434 ":video_codecs_test_framework", 459 ":video_codecs_test_framework",
435 ":video_coding", 460 ":video_coding",
436 ":video_coding_utility", 461 ":video_coding_utility",
437 ":webrtc_h264", 462 ":webrtc_h264",
463 ":webrtc_stereo",
438 ":webrtc_vp8", 464 ":webrtc_vp8",
439 ":webrtc_vp9", 465 ":webrtc_vp9",
440 "../..:webrtc_common", 466 "../..:webrtc_common",
441 "../../api:optional", 467 "../../api:optional",
442 "../../api:video_frame_api", 468 "../../api:video_frame_api",
443 "../../common_video", 469 "../../common_video",
444 "../../media:rtc_audio_video", 470 "../../media:rtc_audio_video",
445 "../../rtc_base:rtc_base_approved", 471 "../../rtc_base:rtc_base_approved",
446 "../../system_wrappers", 472 "../../system_wrappers",
447 "../../test:field_trial", 473 "../../test:field_trial",
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 } 601 }
576 602
577 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. 603 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning.
578 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 604 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
579 if (!build_with_chromium && is_clang) { 605 if (!build_with_chromium && is_clang) {
580 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 606 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
581 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 607 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
582 } 608 }
583 } 609 }
584 } 610 }
OLDNEW
« no previous file with comments | « modules/rtp_rtcp/source/rtp_sender_video.cc ('k') | modules/video_coding/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698