2017-04-05 03:02:20 -07:00
|
|
|
# Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
|
|
|
|
import("../../webrtc.gni")
|
|
|
|
|
if (is_android) {
|
|
|
|
|
import("//build/config/android/config.gni")
|
|
|
|
|
import("//build/config/android/rules.gni")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("video_codecs_api") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2017-04-05 03:02:20 -07:00
|
|
|
sources = [
|
2018-03-27 08:31:45 +02:00
|
|
|
"sdp_video_format.cc",
|
2017-09-11 11:50:51 -07:00
|
|
|
"sdp_video_format.h",
|
2018-03-27 08:31:45 +02:00
|
|
|
"video_decoder.cc",
|
2017-04-05 03:02:20 -07:00
|
|
|
"video_decoder.h",
|
2017-09-14 10:24:54 +02:00
|
|
|
"video_decoder_factory.h",
|
2017-08-10 02:43:14 -07:00
|
|
|
"video_encoder.cc",
|
2017-04-05 03:02:20 -07:00
|
|
|
"video_encoder.h",
|
2017-09-14 10:24:54 +02:00
|
|
|
"video_encoder_factory.h",
|
2017-04-05 03:02:20 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2017-09-05 08:43:13 -07:00
|
|
|
"..:optional",
|
2017-04-05 03:02:20 -07:00
|
|
|
"../..:webrtc_common",
|
2017-12-15 14:40:10 +01:00
|
|
|
"../../:typedefs",
|
2017-05-15 02:42:11 -07:00
|
|
|
"../../common_video",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../video:video_frame",
|
2017-04-05 03:02:20 -07:00
|
|
|
]
|
|
|
|
|
}
|
2018-05-03 11:28:29 +02:00
|
|
|
|
|
|
|
|
rtc_static_library("builtin_video_decoder_factory") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
allow_poison = [
|
|
|
|
|
"audio_codecs", # TODO(bugs.webrtc.org/8396): Remove.
|
|
|
|
|
"software_video_codecs",
|
|
|
|
|
]
|
|
|
|
|
sources = [
|
|
|
|
|
"builtin_video_decoder_factory.cc",
|
|
|
|
|
"builtin_video_decoder_factory.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":video_codecs_api",
|
|
|
|
|
"../../media:rtc_internal_video_codecs",
|
|
|
|
|
"../../rtc_base:ptr_util",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_static_library("builtin_video_encoder_factory") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
allow_poison = [
|
|
|
|
|
"audio_codecs", # TODO(bugs.webrtc.org/8396): Remove.
|
|
|
|
|
"software_video_codecs",
|
|
|
|
|
]
|
|
|
|
|
sources = [
|
|
|
|
|
"builtin_video_encoder_factory.cc",
|
|
|
|
|
"builtin_video_encoder_factory.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":video_codecs_api",
|
|
|
|
|
"../../media:rtc_internal_video_codecs",
|
|
|
|
|
"../../media:rtc_media_base",
|
|
|
|
|
"../../rtc_base:ptr_util",
|
|
|
|
|
]
|
|
|
|
|
}
|