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 "../../../modules/audio_coding:ilbc", 31 "../../../rtc_base:rtc_base_approved", 32 "../../../rtc_base:safe_minmax", 33 ] 34 absl_deps = [ 35 "//third_party/abseil-cpp/absl/strings", 36 "//third_party/abseil-cpp/absl/types:optional", 37 ] 38} 39 40rtc_library("audio_decoder_ilbc") { 41 visibility = [ "*" ] 42 poisonous = [ "audio_codecs" ] 43 sources = [ 44 "audio_decoder_ilbc.cc", 45 "audio_decoder_ilbc.h", 46 ] 47 deps = [ 48 "..:audio_codecs_api", 49 "../../../modules/audio_coding:ilbc", 50 "../../../rtc_base:rtc_base_approved", 51 ] 52 absl_deps = [ 53 "//third_party/abseil-cpp/absl/strings", 54 "//third_party/abseil-cpp/absl/types:optional", 55 ] 56} 57