blob: af13ac3de3b5e9c1c3eab192594268ebbd046d04 [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" ]
Mirko Bonadei9d9c2d52022-10-07 21:47:49 +000018 deps = [ "..:audio_codecs_api" ]
kwibergb8727ae2017-06-17 17:41:59 -070019}
20
Mirko Bonadei86d053c2019-10-17 21:32:04 +020021rtc_library("audio_encoder_g722") {
Per Kjellandera7f2d842018-01-10 15:54:53 +000022 visibility = [ "*" ]
Karl Wibergbb23c832018-04-22 19:55:00 +020023 poisonous = [ "audio_codecs" ]
kwibergb8727ae2017-06-17 17:41:59 -070024 sources = [
25 "audio_encoder_g722.cc",
26 "audio_encoder_g722.h",
27 ]
28 deps = [
29 ":audio_encoder_g722_config",
30 "..:audio_codecs_api",
Jonas Orelande62c2f22022-03-29 11:04:48 +020031 "../../../api:field_trials_view",
kwibergb8727ae2017-06-17 17:41:59 -070032 "../../../modules/audio_coding:g722",
Florent Castellie10a9f62022-04-04 17:04:37 +020033 "../../../rtc_base:safe_conversions",
Karl Wiberg12edf4c2018-03-07 14:18:56 +010034 "../../../rtc_base:safe_minmax",
Florent Castelli57aa81b2022-04-04 17:14:02 +020035 "../../../rtc_base:stringutils",
Mirko Bonadei3d255302018-10-11 10:50:45 +020036 "../../../rtc_base/system:rtc_export",
Mirko Bonadei2dcf3482020-06-05 14:30:41 +020037 ]
38 absl_deps = [
Niels Möller2edab4c2018-10-22 09:48:08 +020039 "//third_party/abseil-cpp/absl/strings",
Danil Chapovalov0bc58cf2018-06-21 13:32:56 +020040 "//third_party/abseil-cpp/absl/types:optional",
kwibergb8727ae2017-06-17 17:41:59 -070041 ]
42}
43
Mirko Bonadei86d053c2019-10-17 21:32:04 +020044rtc_library("audio_decoder_g722") {
Per Kjellandera7f2d842018-01-10 15:54:53 +000045 visibility = [ "*" ]
Karl Wibergbb23c832018-04-22 19:55:00 +020046 poisonous = [ "audio_codecs" ]
kwibergb1ed7f02017-06-17 17:30:09 -070047 sources = [
48 "audio_decoder_g722.cc",
49 "audio_decoder_g722.h",
50 ]
51 deps = [
52 "..:audio_codecs_api",
Jonas Orelande62c2f22022-03-29 11:04:48 +020053 "../../../api:field_trials_view",
kwibergb1ed7f02017-06-17 17:30:09 -070054 "../../../modules/audio_coding:g722",
Florent Castellie10a9f62022-04-04 17:04:37 +020055 "../../../rtc_base:safe_conversions",
Mirko Bonadei3b56ee72018-10-15 17:15:12 +020056 "../../../rtc_base/system:rtc_export",
Mirko Bonadei2dcf3482020-06-05 14:30:41 +020057 ]
58 absl_deps = [
Niels Möller2edab4c2018-10-22 09:48:08 +020059 "//third_party/abseil-cpp/absl/strings",
Danil Chapovalov0bc58cf2018-06-21 13:32:56 +020060 "//third_party/abseil-cpp/absl/types:optional",
kwibergb1ed7f02017-06-17 17:30:09 -070061 ]
62}