blob: c37da87cd551eb4fe0ba9d0c44a64395a7a71bfe [file] [log] [blame]
Ivo Creusen3ce44a32019-10-31 14:38:11 +01001# 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
9import("../../webrtc.gni")
10
11rtc_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 Castelli57aa81b2022-04-04 17:14:02 +020024 "../../rtc_base:stringutils",
Ivo Creusen3ce44a32019-10-31 14:38:11 +010025 "../../system_wrappers:system_wrappers",
26 "../audio_codecs:audio_codecs_api",
Ivo Creusen3ce44a32019-10-31 14:38:11 +010027 ]
Mirko Bonadei2dcf3482020-06-05 14:30:41 +020028 absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
Ivo Creusen3ce44a32019-10-31 14:38:11 +010029}
30
31rtc_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
48rtc_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 Creusen88636c62020-01-24 11:04:56 +010059 "../../system_wrappers:system_wrappers",
Ivo Creusen3ce44a32019-10-31 14:38:11 +010060 ]
Mirko Bonadei2dcf3482020-06-05 14:30:41 +020061 absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
Ivo Creusen3ce44a32019-10-31 14:38:11 +010062}
63
64rtc_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
77rtc_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
89rtc_source_set("tick_timer_unittest") {
90 visibility = [ "*" ]
91 testonly = true
Mirko Bonadeiccbe95f2020-01-21 12:10:10 +010092 sources = [ "tick_timer_unittest.cc" ]
Ivo Creusen3ce44a32019-10-31 14:38:11 +010093 deps = [
94 ":tick_timer",
95 "../../test:test_support",
96 "//testing/gtest",
97 ]
98}