| Index: webrtc/modules/video_coding/BUILD.gn
|
| diff --git a/webrtc/modules/video_coding/BUILD.gn b/webrtc/modules/video_coding/BUILD.gn
|
| index 8ff2bcbe63ce0d6b9fe1d23928501fe9e9a80033..33c89ed935fafb38fd9bbfaf51f4bffc6fbdfe68 100644
|
| --- a/webrtc/modules/video_coding/BUILD.gn
|
| +++ b/webrtc/modules/video_coding/BUILD.gn
|
| @@ -90,6 +90,7 @@ rtc_static_library("video_coding") {
|
|
|
| deps = [
|
| ":video_coding_utility",
|
| + ":webrtc_stereo",
|
| ":webrtc_h264",
|
| ":webrtc_i420",
|
| ":webrtc_vp8",
|
| @@ -146,6 +147,29 @@ rtc_static_library("video_coding_utility") {
|
| ]
|
| }
|
|
|
| +rtc_static_library("webrtc_stereo") {
|
| + sources = [
|
| + "codecs/stereo/stereo_decoder_adapter.cc",
|
| + "codecs/stereo/stereo_encoder_adapter.cc",
|
| + "codecs/stereo/include/stereo_decoder_adapter.h",
|
| + "codecs/stereo/include/stereo_encoder_adapter.h",
|
| + ]
|
| +
|
| + if (!build_with_chromium && is_clang) {
|
| + # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
| + suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
| + }
|
| +
|
| + deps = [
|
| + "..:module_api",
|
| + "../..:webrtc_common",
|
| + "../../api/video_codecs:video_codecs_api",
|
| + "../../base:rtc_base_approved",
|
| + "../../common_video:common_video",
|
| + "../../system_wrappers",
|
| + ]
|
| +}
|
| +
|
| rtc_static_library("webrtc_h264") {
|
| sources = [
|
| "codecs/h264/h264.cc",
|
| @@ -415,6 +439,7 @@ if (rtc_include_tests) {
|
| visibility = [ "..:modules_tests" ]
|
| }
|
| sources = [
|
| + "codecs/stereo/stereo_adapter_unittest.cc",
|
| "codecs/h264/test/h264_impl_unittest.cc",
|
| "codecs/test/videoprocessor_integrationtest.cc",
|
| "codecs/vp8/test/vp8_impl_unittest.cc",
|
| @@ -424,6 +449,7 @@ if (rtc_include_tests) {
|
| deps = [
|
| ":video_codecs_test_framework",
|
| ":video_coding_videoprocessor_integration_test",
|
| + ":webrtc_stereo",
|
| ":webrtc_h264",
|
| ":webrtc_vp8",
|
| ":webrtc_vp9",
|
|
|