1# Copyright (c) 2017 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") 10if (is_android) { 11 import("//build/config/android/config.gni") 12 import("//build/config/android/rules.gni") 13} 14 15rtc_source_set("audio_encoder_ilbc_config") { 16 visibility = [ "*" ] 17 sources = [ "audio_encoder_ilbc_config.h" ] 18} 19 20rtc_library("audio_encoder_ilbc") { 21 visibility = [ "*" ] 22 poisonous = [ "audio_codecs" ] 23 sources = [ 24 "audio_encoder_ilbc.cc", 25 "audio_encoder_ilbc.h", 26 ] 27 deps = [ 28 ":audio_encoder_ilbc_config", 29 "..:audio_codecs_api", 30 "../../../api:field_trials_view", 31 "../../../modules/audio_coding:ilbc", 32 "../../../rtc_base:safe_conversions", 33 "../../../rtc_base:safe_minmax", 34 "../../../rtc_base:stringutils", 35 ] 36 absl_deps = [ 37 "//third_party/abseil-cpp/absl/strings", 38 "//third_party/abseil-cpp/absl/types:optional", 39 ] 40} 41 42rtc_library("audio_decoder_ilbc") { 43 visibility = [ "*" ] 44 poisonous = [ "audio_codecs" ] 45 sources = [ 46 "audio_decoder_ilbc.cc", 47 "audio_decoder_ilbc.h", 48 ] 49 deps = [ 50 "..:audio_codecs_api", 51 "../../../api:field_trials_view", 52 "../../../modules/audio_coding:ilbc", 53 ] 54 absl_deps = [ 55 "//third_party/abseil-cpp/absl/strings", 56 "//third_party/abseil-cpp/absl/types:optional", 57 ] 58} 59