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_library("audio_encoder_g711") { 16 visibility = [ "*" ] 17 poisonous = [ "audio_codecs" ] 18 sources = [ 19 "audio_encoder_g711.cc", 20 "audio_encoder_g711.h", 21 ] 22 deps = [ 23 "..:audio_codecs_api", 24 "../../../api:field_trials_view", 25 "../../../modules/audio_coding:g711", 26 "../../../rtc_base:safe_conversions", 27 "../../../rtc_base:safe_minmax", 28 "../../../rtc_base:stringutils", 29 "../../../rtc_base/system:rtc_export", 30 ] 31 absl_deps = [ 32 "//third_party/abseil-cpp/absl/strings", 33 "//third_party/abseil-cpp/absl/types:optional", 34 ] 35} 36 37rtc_library("audio_decoder_g711") { 38 visibility = [ "*" ] 39 poisonous = [ "audio_codecs" ] 40 sources = [ 41 "audio_decoder_g711.cc", 42 "audio_decoder_g711.h", 43 ] 44 deps = [ 45 "..:audio_codecs_api", 46 "../../../api:field_trials_view", 47 "../../../modules/audio_coding:g711", 48 "../../../rtc_base:safe_conversions", 49 "../../../rtc_base/system:rtc_export", 50 ] 51 absl_deps = [ 52 "//third_party/abseil-cpp/absl/strings", 53 "//third_party/abseil-cpp/absl/types:optional", 54 ] 55} 56