blob: 92d77bed9f8c3b139c64c8eca9cd2aeb3b714fd1 [file] [log] [blame]
kwiberge985b902017-07-31 11:34:57 -07001# 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
Mirko Bonadei86d053c2019-10-17 21:32:04 +020015rtc_library("audio_encoder_g711") {
Per Kjellandera7f2d842018-01-10 15:54:53 +000016 visibility = [ "*" ]
Karl Wibergbb23c832018-04-22 19:55:00 +020017 poisonous = [ "audio_codecs" ]
kwiberge985b902017-07-31 11:34:57 -070018 sources = [
19 "audio_encoder_g711.cc",
20 "audio_encoder_g711.h",
21 ]
22 deps = [
23 "..:audio_codecs_api",
kwiberge985b902017-07-31 11:34:57 -070024 "../../../modules/audio_coding:g711",
25 "../../../rtc_base:rtc_base_approved",
Karl Wiberg12edf4c2018-03-07 14:18:56 +010026 "../../../rtc_base:safe_minmax",
Mirko Bonadei3d255302018-10-11 10:50:45 +020027 "../../../rtc_base/system:rtc_export",
Mirko Bonadei2dcf3482020-06-05 14:30:41 +020028 ]
29 absl_deps = [
Niels Möller2edab4c2018-10-22 09:48:08 +020030 "//third_party/abseil-cpp/absl/strings",
Danil Chapovalov0bc58cf2018-06-21 13:32:56 +020031 "//third_party/abseil-cpp/absl/types:optional",
kwiberge985b902017-07-31 11:34:57 -070032 ]
33}
34
Mirko Bonadei86d053c2019-10-17 21:32:04 +020035rtc_library("audio_decoder_g711") {
Per Kjellandera7f2d842018-01-10 15:54:53 +000036 visibility = [ "*" ]
Karl Wibergbb23c832018-04-22 19:55:00 +020037 poisonous = [ "audio_codecs" ]
kwiberge985b902017-07-31 11:34:57 -070038 sources = [
39 "audio_decoder_g711.cc",
40 "audio_decoder_g711.h",
41 ]
42 deps = [
43 "..:audio_codecs_api",
kwiberge985b902017-07-31 11:34:57 -070044 "../../../modules/audio_coding:g711",
45 "../../../rtc_base:rtc_base_approved",
Mirko Bonadei3b56ee72018-10-15 17:15:12 +020046 "../../../rtc_base/system:rtc_export",
Mirko Bonadei2dcf3482020-06-05 14:30:41 +020047 ]
48 absl_deps = [
Niels Möller2edab4c2018-10-22 09:48:08 +020049 "//third_party/abseil-cpp/absl/strings",
Danil Chapovalov0bc58cf2018-06-21 13:32:56 +020050 "//third_party/abseil-cpp/absl/types:optional",
kwiberge985b902017-07-31 11:34:57 -070051 ]
52}