blob: 1ab02ec92b182678b608bc478fee68a9385cf767 [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",
24 "../../system_wrappers:system_wrappers",
25 "../audio_codecs:audio_codecs_api",
26 "//third_party/abseil-cpp/absl/types:optional",
27 ]
28}
29
30rtc_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
47rtc_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 Creusen88636c62020-01-24 11:04:56 +010058 "../../system_wrappers:system_wrappers",
Ivo Creusen3ce44a32019-10-31 14:38:11 +010059 "//third_party/abseil-cpp/absl/types:optional",
60 ]
61}
62
63rtc_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
76rtc_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
88rtc_source_set("tick_timer_unittest") {
89 visibility = [ "*" ]
90 testonly = true
Mirko Bonadeiccbe95f2020-01-21 12:10:10 +010091 sources = [ "tick_timer_unittest.cc" ]
Ivo Creusen3ce44a32019-10-31 14:38:11 +010092 deps = [
93 ":tick_timer",
94 "../../test:test_support",
95 "//testing/gtest",
96 ]
97}