blob: 952188a1972be378ac361ca072d518b4ef435168 [file] [log] [blame]
kwibergb1ed7f02017-06-17 17:30:09 -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
kwibergb8727ae2017-06-17 17:41:59 -070015rtc_source_set("audio_encoder_g722_config") {
Per Kjellandera7f2d842018-01-10 15:54:53 +000016 visibility = [ "*" ]
kwibergb8727ae2017-06-17 17:41:59 -070017 sources = [
18 "audio_encoder_g722_config.h",
19 ]
20}
21
Mirko Bonadei86d053c2019-10-17 21:32:04 +020022rtc_library("audio_encoder_g722") {
Per Kjellandera7f2d842018-01-10 15:54:53 +000023 visibility = [ "*" ]
Karl Wibergbb23c832018-04-22 19:55:00 +020024 poisonous = [ "audio_codecs" ]
kwibergb8727ae2017-06-17 17:41:59 -070025 sources = [
26 "audio_encoder_g722.cc",
27 "audio_encoder_g722.h",
28 ]
29 deps = [
30 ":audio_encoder_g722_config",
31 "..:audio_codecs_api",
kwibergb8727ae2017-06-17 17:41:59 -070032 "../../../modules/audio_coding:g722",
ehmaldonadof6a861a2017-07-19 10:40:47 -070033 "../../../rtc_base:rtc_base_approved",
Karl Wiberg12edf4c2018-03-07 14:18:56 +010034 "../../../rtc_base:safe_minmax",
Mirko Bonadei3d255302018-10-11 10:50:45 +020035 "../../../rtc_base/system:rtc_export",
Niels Möller2edab4c2018-10-22 09:48:08 +020036 "//third_party/abseil-cpp/absl/strings",
Danil Chapovalov0bc58cf2018-06-21 13:32:56 +020037 "//third_party/abseil-cpp/absl/types:optional",
kwibergb8727ae2017-06-17 17:41:59 -070038 ]
39}
40
Mirko Bonadei86d053c2019-10-17 21:32:04 +020041rtc_library("audio_decoder_g722") {
Per Kjellandera7f2d842018-01-10 15:54:53 +000042 visibility = [ "*" ]
Karl Wibergbb23c832018-04-22 19:55:00 +020043 poisonous = [ "audio_codecs" ]
kwibergb1ed7f02017-06-17 17:30:09 -070044 sources = [
45 "audio_decoder_g722.cc",
46 "audio_decoder_g722.h",
47 ]
48 deps = [
49 "..:audio_codecs_api",
kwibergb1ed7f02017-06-17 17:30:09 -070050 "../../../modules/audio_coding:g722",
ehmaldonadof6a861a2017-07-19 10:40:47 -070051 "../../../rtc_base:rtc_base_approved",
Mirko Bonadei3b56ee72018-10-15 17:15:12 +020052 "../../../rtc_base/system:rtc_export",
Niels Möller2edab4c2018-10-22 09:48:08 +020053 "//third_party/abseil-cpp/absl/strings",
Danil Chapovalov0bc58cf2018-06-21 13:32:56 +020054 "//third_party/abseil-cpp/absl/types:optional",
kwibergb1ed7f02017-06-17 17:30:09 -070055 ]
56}