ilnik | d60d06a | 2017-04-05 03:02:20 -0700 | [diff] [blame] | 1 | # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. |
| 2 | # |
| 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 |
| 5 | # tree. An additional intellectual property rights grant can be found |
| 6 | # in the file PATENTS. All contributing project authors may |
| 7 | # be found in the AUTHORS file in the root of the source tree. |
| 8 | |
| 9 | import("../../webrtc.gni") |
| 10 | if (is_android) { |
| 11 | import("//build/config/android/config.gni") |
| 12 | import("//build/config/android/rules.gni") |
| 13 | } |
| 14 | |
| 15 | rtc_source_set("video_codecs_api") { |
Per Kjellander | a7f2d84 | 2018-01-10 15:54:53 +0000 | [diff] [blame] | 16 | visibility = [ "*" ] |
ilnik | d60d06a | 2017-04-05 03:02:20 -0700 | [diff] [blame] | 17 | sources = [ |
Niels Möller | be682d4 | 2018-03-27 08:31:45 +0200 | [diff] [blame] | 18 | "sdp_video_format.cc", |
andersc | 063f0c0 | 2017-09-11 11:50:51 -0700 | [diff] [blame] | 19 | "sdp_video_format.h", |
Niels Möller | be682d4 | 2018-03-27 08:31:45 +0200 | [diff] [blame] | 20 | "video_decoder.cc", |
ilnik | d60d06a | 2017-04-05 03:02:20 -0700 | [diff] [blame] | 21 | "video_decoder.h", |
Magnus Jedvert | d4b0c05 | 2017-09-14 10:24:54 +0200 | [diff] [blame] | 22 | "video_decoder_factory.h", |
mflodman | 351424e | 2017-08-10 02:43:14 -0700 | [diff] [blame] | 23 | "video_encoder.cc", |
ilnik | d60d06a | 2017-04-05 03:02:20 -0700 | [diff] [blame] | 24 | "video_encoder.h", |
Magnus Jedvert | d4b0c05 | 2017-09-14 10:24:54 +0200 | [diff] [blame] | 25 | "video_encoder_factory.h", |
ilnik | d60d06a | 2017-04-05 03:02:20 -0700 | [diff] [blame] | 26 | ] |
| 27 | |
| 28 | deps = [ |
kwiberg | 84f6a3f | 2017-09-05 08:43:13 -0700 | [diff] [blame] | 29 | "..:optional", |
ilnik | d60d06a | 2017-04-05 03:02:20 -0700 | [diff] [blame] | 30 | "../..:webrtc_common", |
Patrik Höglund | 3e11343 | 2017-12-15 14:40:10 +0100 | [diff] [blame] | 31 | "../../:typedefs", |
nisse | ea3a798 | 2017-05-15 02:42:11 -0700 | [diff] [blame] | 32 | "../../common_video", |
Patrik Höglund | a8005cf | 2017-12-13 16:05:42 +0100 | [diff] [blame] | 33 | "../../rtc_base:checks", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 34 | "../../rtc_base:rtc_base_approved", |
Niels Möller | c6ce9c5 | 2018-05-11 11:15:30 +0200 | [diff] [blame^] | 35 | "../video:video_frame", |
ilnik | d60d06a | 2017-04-05 03:02:20 -0700 | [diff] [blame] | 36 | ] |
| 37 | } |
Anders Carlsson | 6753795 | 2018-05-03 11:28:29 +0200 | [diff] [blame] | 38 | |
| 39 | rtc_static_library("builtin_video_decoder_factory") { |
| 40 | visibility = [ "*" ] |
| 41 | allow_poison = [ |
| 42 | "audio_codecs", # TODO(bugs.webrtc.org/8396): Remove. |
| 43 | "software_video_codecs", |
| 44 | ] |
| 45 | sources = [ |
| 46 | "builtin_video_decoder_factory.cc", |
| 47 | "builtin_video_decoder_factory.h", |
| 48 | ] |
| 49 | |
| 50 | deps = [ |
| 51 | ":video_codecs_api", |
| 52 | "../../media:rtc_internal_video_codecs", |
| 53 | "../../rtc_base:ptr_util", |
| 54 | ] |
| 55 | } |
| 56 | |
| 57 | rtc_static_library("builtin_video_encoder_factory") { |
| 58 | visibility = [ "*" ] |
| 59 | allow_poison = [ |
| 60 | "audio_codecs", # TODO(bugs.webrtc.org/8396): Remove. |
| 61 | "software_video_codecs", |
| 62 | ] |
| 63 | sources = [ |
| 64 | "builtin_video_encoder_factory.cc", |
| 65 | "builtin_video_encoder_factory.h", |
| 66 | ] |
| 67 | |
| 68 | deps = [ |
| 69 | ":video_codecs_api", |
| 70 | "../../media:rtc_internal_video_codecs", |
| 71 | "../../media:rtc_media_base", |
| 72 | "../../rtc_base:ptr_util", |
| 73 | ] |
| 74 | } |