Henrik Boström | efbec9a | 2020-03-06 10:41:25 +0100 | [diff] [blame] | 1 | # Copyright (c) 2020 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 | |
| 11 | rtc_library("video_adaptation") { |
| 12 | sources = [ |
| 13 | "adaptation_counters.cc", |
| 14 | "adaptation_counters.h", |
| 15 | "video_stream_adapter.cc", |
| 16 | "video_stream_adapter.h", |
| 17 | ] |
| 18 | |
| 19 | deps = [ |
Henrik Boström | b0f2e0c | 2020-03-06 13:32:03 +0100 | [diff] [blame^] | 20 | "../../api:rtp_parameters", |
| 21 | "../../api/video:video_stream_encoder", |
| 22 | "../../api/video_codecs:video_codecs_api", |
Henrik Boström | efbec9a | 2020-03-06 10:41:25 +0100 | [diff] [blame] | 23 | "../../call/adaptation:resource_adaptation", |
Henrik Boström | b0f2e0c | 2020-03-06 13:32:03 +0100 | [diff] [blame^] | 24 | "../../modules/video_coding:video_coding_utility", |
Henrik Boström | efbec9a | 2020-03-06 10:41:25 +0100 | [diff] [blame] | 25 | "../../rtc_base:checks", |
| 26 | "../../rtc_base:logging", |
| 27 | "../../rtc_base:rtc_base_approved", |
| 28 | "../../rtc_base:rtc_event", |
| 29 | "../../rtc_base:rtc_numerics", |
Henrik Boström | b0f2e0c | 2020-03-06 13:32:03 +0100 | [diff] [blame^] | 30 | "../../rtc_base/experiments:balanced_degradation_settings", |
Henrik Boström | efbec9a | 2020-03-06 10:41:25 +0100 | [diff] [blame] | 31 | "//third_party/abseil-cpp/absl/types:optional", |
| 32 | ] |
| 33 | } |
| 34 | |
| 35 | if (rtc_include_tests) { |
| 36 | rtc_library("video_adaptation_tests") { |
| 37 | testonly = true |
| 38 | |
| 39 | defines = [] |
| 40 | sources = [ "adaptation_counters_unittest.cc" ] |
| 41 | deps = [ |
| 42 | ":video_adaptation", |
| 43 | "../../rtc_base:checks", |
| 44 | "../../rtc_base:logging", |
| 45 | "../../rtc_base:rtc_base_approved", |
| 46 | "../../rtc_base:rtc_event", |
| 47 | "../../rtc_base:rtc_numerics", |
| 48 | "//test:test_support", |
| 49 | "//testing/gtest", |
| 50 | "//third_party/abseil-cpp/absl/types:optional", |
| 51 | ] |
| 52 | } |
| 53 | } |