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