BUILD.gn (2892B)
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_library("neteq_api") { 12 visibility = [ "*" ] 13 sources = [ 14 "neteq.cc", 15 "neteq.h", 16 "neteq_factory.h", 17 ] 18 19 deps = [ 20 "..:array_view", 21 "..:rtp_headers", 22 "..:rtp_packet_info", 23 "..:scoped_refptr", 24 "../../rtc_base:stringutils", 25 "../audio_codecs:audio_codecs_api", 26 "../environment", 27 "../units:timestamp", 28 ] 29 } 30 31 rtc_library("default_neteq_factory") { 32 visibility = [ "*" ] 33 sources = [ 34 "default_neteq_factory.cc", 35 "default_neteq_factory.h", 36 ] 37 deps = [ 38 ":default_neteq_controller_factory", 39 ":neteq_api", 40 "..:scoped_refptr", 41 "../../modules/audio_coding:neteq", 42 "../audio_codecs:audio_codecs_api", 43 "../environment", 44 ] 45 } 46 47 rtc_library("custom_neteq_factory") { 48 visibility = [ "*" ] 49 sources = [ 50 "custom_neteq_factory.cc", 51 "custom_neteq_factory.h", 52 ] 53 54 deps = [ 55 ":neteq_api", 56 ":neteq_controller_api", 57 "..:scoped_refptr", 58 "../../modules/audio_coding:neteq", 59 "../audio_codecs:audio_codecs_api", 60 "../environment", 61 ] 62 } 63 64 rtc_source_set("neteq_controller_api") { 65 visibility = [ "*" ] 66 sources = [ 67 "neteq_controller.h", 68 "neteq_controller_factory.h", 69 ] 70 71 deps = [ 72 ":neteq_api", 73 ":tick_timer", 74 "../environment", 75 ] 76 } 77 78 rtc_library("default_neteq_controller_factory") { 79 visibility = [ "*" ] 80 sources = [ 81 "default_neteq_controller_factory.cc", 82 "default_neteq_controller_factory.h", 83 ] 84 85 deps = [ 86 ":neteq_controller_api", 87 "../../modules/audio_coding:neteq", 88 "../environment", 89 ] 90 } 91 92 rtc_library("custom_neteq_controller_factory") { 93 visibility = [ "*" ] 94 sources = [ 95 "custom_neteq_controller_factory.cc", 96 "custom_neteq_controller_factory.h", 97 ] 98 deps = [ 99 ":delay_manager_api", 100 ":neteq_controller_api", 101 "../../modules/audio_coding:neteq", 102 "../../rtc_base:checks", 103 "../environment", 104 ] 105 } 106 107 rtc_library("delay_manager_api") { 108 visibility = [ "*" ] 109 sources = [ 110 "delay_manager_factory.h", 111 "delay_manager_interface.h", 112 ] 113 deps = [ 114 ":neteq_controller_api", 115 ":tick_timer", 116 "..:field_trials_view", 117 ] 118 } 119 120 rtc_library("tick_timer") { 121 visibility = [ "*" ] 122 sources = [ 123 "tick_timer.cc", 124 "tick_timer.h", 125 ] 126 deps = [ "../../rtc_base:checks" ] 127 } 128 129 rtc_library("tick_timer_unittest") { 130 visibility = [ "*" ] 131 testonly = true 132 sources = [ "tick_timer_unittest.cc" ] 133 deps = [ 134 ":tick_timer", 135 "../../test:test_support", 136 "//testing/gtest", 137 ] 138 }