blob: d78ee75984bdeb0f12db294d0dcbc96136dc45e9 [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 = [ "*" ]
Mirko Bonadeiccbe95f2020-01-21 12:10:10 +010017 sources = [ "audio_encoder_g722_config.h" ]
kwibergb8727ae2017-06-17 17:41:59 -070018}
19
Mirko Bonadei86d053c2019-10-17 21:32:04 +020020rtc_library("audio_encoder_g722") {
Per Kjellandera7f2d842018-01-10 15:54:53 +000021 visibility = [ "*" ]
Karl Wibergbb23c832018-04-22 19:55:00 +020022 poisonous = [ "audio_codecs" ]
kwibergb8727ae2017-06-17 17:41:59 -070023 sources = [
24 "audio_encoder_g722.cc",
25 "audio_encoder_g722.h",
26 ]
27 deps = [
28 ":audio_encoder_g722_config",
29 "..:audio_codecs_api",
Jonas Orelande62c2f22022-03-29 11:04:48 +020030 "../../../api:field_trials_view",
kwibergb8727ae2017-06-17 17:41:59 -070031 "../../../modules/audio_coding:g722",
Florent Castellie10a9f62022-04-04 17:04:37 +020032 "../../../rtc_base:safe_conversions",
Karl Wiberg12edf4c2018-03-07 14:18:56 +010033 "../../../rtc_base:safe_minmax",
Florent Castelli57aa81b2022-04-04 17:14:02 +020034 "../../../rtc_base:stringutils",
Mirko Bonadei3d255302018-10-11 10:50:45 +020035 "../../../rtc_base/system:rtc_export",
Mirko Bonadei2dcf3482020-06-05 14:30:41 +020036 ]
37 absl_deps = [
Niels Möller2edab4c2018-10-22 09:48:08 +020038 "//third_party/abseil-cpp/absl/strings",
Danil Chapovalov0bc58cf2018-06-21 13:32:56 +020039 "//third_party/abseil-cpp/absl/types:optional",
kwibergb8727ae2017-06-17 17:41:59 -070040 ]
41}
42
Mirko Bonadei86d053c2019-10-17 21:32:04 +020043rtc_library("audio_decoder_g722") {
Per Kjellandera7f2d842018-01-10 15:54:53 +000044 visibility = [ "*" ]
Karl Wibergbb23c832018-04-22 19:55:00 +020045 poisonous = [ "audio_codecs" ]
kwibergb1ed7f02017-06-17 17:30:09 -070046 sources = [
47 "audio_decoder_g722.cc",
48 "audio_decoder_g722.h",
49 ]
50 deps = [
51 "..:audio_codecs_api",
Jonas Orelande62c2f22022-03-29 11:04:48 +020052 "../../../api:field_trials_view",
kwibergb1ed7f02017-06-17 17:30:09 -070053 "../../../modules/audio_coding:g722",
Florent Castellie10a9f62022-04-04 17:04:37 +020054 "../../../rtc_base:safe_conversions",
Mirko Bonadei3b56ee72018-10-15 17:15:12 +020055 "../../../rtc_base/system:rtc_export",
Mirko Bonadei2dcf3482020-06-05 14:30:41 +020056 ]
57 absl_deps = [
Niels Möller2edab4c2018-10-22 09:48:08 +020058 "//third_party/abseil-cpp/absl/strings",
Danil Chapovalov0bc58cf2018-06-21 13:32:56 +020059 "//third_party/abseil-cpp/absl/types:optional",
kwibergb1ed7f02017-06-17 17:30:09 -070060 ]
61}