Ivo Creusen | 3ce44a3 | 2019-10-31 14:38:11 +0100 | [diff] [blame] | 1 | # Copyright (c) 2019 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_source_set("neteq_api") { |
| 12 | visibility = [ "*" ] |
| 13 | sources = [ |
| 14 | "neteq.cc", |
| 15 | "neteq.h", |
| 16 | "neteq_factory.h", |
| 17 | ] |
| 18 | |
| 19 | deps = [ |
| 20 | "..:rtp_headers", |
| 21 | "..:rtp_packet_info", |
| 22 | "..:scoped_refptr", |
| 23 | "../../rtc_base:rtc_base_approved", |
Florent Castelli | 57aa81b | 2022-04-04 17:14:02 +0200 | [diff] [blame^] | 24 | "../../rtc_base:stringutils", |
Ivo Creusen | 3ce44a3 | 2019-10-31 14:38:11 +0100 | [diff] [blame] | 25 | "../../system_wrappers:system_wrappers", |
| 26 | "../audio_codecs:audio_codecs_api", |
Ivo Creusen | 3ce44a3 | 2019-10-31 14:38:11 +0100 | [diff] [blame] | 27 | ] |
Mirko Bonadei | 2dcf348 | 2020-06-05 14:30:41 +0200 | [diff] [blame] | 28 | absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] |
Ivo Creusen | 3ce44a3 | 2019-10-31 14:38:11 +0100 | [diff] [blame] | 29 | } |
| 30 | |
| 31 | rtc_source_set("custom_neteq_factory") { |
| 32 | visibility = [ "*" ] |
| 33 | sources = [ |
| 34 | "custom_neteq_factory.cc", |
| 35 | "custom_neteq_factory.h", |
| 36 | ] |
| 37 | |
| 38 | deps = [ |
| 39 | ":neteq_api", |
| 40 | ":neteq_controller_api", |
| 41 | "..:scoped_refptr", |
| 42 | "../../modules/audio_coding:neteq", |
| 43 | "../../system_wrappers:system_wrappers", |
| 44 | "../audio_codecs:audio_codecs_api", |
| 45 | ] |
| 46 | } |
| 47 | |
| 48 | rtc_source_set("neteq_controller_api") { |
| 49 | visibility = [ "*" ] |
| 50 | sources = [ |
| 51 | "neteq_controller.h", |
| 52 | "neteq_controller_factory.h", |
| 53 | ] |
| 54 | |
| 55 | deps = [ |
| 56 | ":neteq_api", |
| 57 | ":tick_timer", |
| 58 | "../../rtc_base:rtc_base_approved", |
Ivo Creusen | 88636c6 | 2020-01-24 11:04:56 +0100 | [diff] [blame] | 59 | "../../system_wrappers:system_wrappers", |
Ivo Creusen | 3ce44a3 | 2019-10-31 14:38:11 +0100 | [diff] [blame] | 60 | ] |
Mirko Bonadei | 2dcf348 | 2020-06-05 14:30:41 +0200 | [diff] [blame] | 61 | absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] |
Ivo Creusen | 3ce44a3 | 2019-10-31 14:38:11 +0100 | [diff] [blame] | 62 | } |
| 63 | |
| 64 | rtc_source_set("default_neteq_controller_factory") { |
| 65 | visibility = [ "*" ] |
| 66 | sources = [ |
| 67 | "default_neteq_controller_factory.cc", |
| 68 | "default_neteq_controller_factory.h", |
| 69 | ] |
| 70 | |
| 71 | deps = [ |
| 72 | ":neteq_controller_api", |
| 73 | "../../modules/audio_coding:neteq", |
| 74 | ] |
| 75 | } |
| 76 | |
| 77 | rtc_source_set("tick_timer") { |
| 78 | visibility = [ "*" ] |
| 79 | sources = [ |
| 80 | "tick_timer.cc", |
| 81 | "tick_timer.h", |
| 82 | ] |
| 83 | deps = [ |
| 84 | "../../rtc_base:checks", |
| 85 | "../../rtc_base:rtc_base_approved", |
| 86 | ] |
| 87 | } |
| 88 | |
| 89 | rtc_source_set("tick_timer_unittest") { |
| 90 | visibility = [ "*" ] |
| 91 | testonly = true |
Mirko Bonadei | ccbe95f | 2020-01-21 12:10:10 +0100 | [diff] [blame] | 92 | sources = [ "tick_timer_unittest.cc" ] |
Ivo Creusen | 3ce44a3 | 2019-10-31 14:38:11 +0100 | [diff] [blame] | 93 | deps = [ |
| 94 | ":tick_timer", |
| 95 | "../../test:test_support", |
| 96 | "//testing/gtest", |
| 97 | ] |
| 98 | } |