blob: 291574abced1d3e2bf730ab1429964189f861eeb [file] [log] [blame]
kwiberg7ea6e592017-08-16 06:12: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_L16") {
Per Kjellandera7f2d842018-01-10 15:54:53 +000016 visibility = [ "*" ]
Karl Wibergbb23c832018-04-22 19:55:00 +020017 poisonous = [ "audio_codecs" ]
kwiberg7ea6e592017-08-16 06:12:57 -070018 sources = [
19 "audio_encoder_L16.cc",
20 "audio_encoder_L16.h",
21 ]
22 deps = [
23 "..:audio_codecs_api",
Jonas Orelande62c2f22022-03-29 11:04:48 +020024 "../../../api:field_trials_view",
kwiberg7ea6e592017-08-16 06:12:57 -070025 "../../../modules/audio_coding:pcm16b",
26 "../../../rtc_base:rtc_base_approved",
Florent Castellie10a9f62022-04-04 17:04:37 +020027 "../../../rtc_base:safe_conversions",
Karl Wiberg133cff02018-07-06 15:40:14 +020028 "../../../rtc_base:safe_minmax",
Florent Castelli57aa81b2022-04-04 17:14:02 +020029 "../../../rtc_base:stringutils",
Mirko Bonadei3d255302018-10-11 10:50:45 +020030 "../../../rtc_base/system:rtc_export",
Mirko Bonadei2dcf3482020-06-05 14:30:41 +020031 ]
32 absl_deps = [
Niels Möller2edab4c2018-10-22 09:48:08 +020033 "//third_party/abseil-cpp/absl/strings",
Danil Chapovalov0bc58cf2018-06-21 13:32:56 +020034 "//third_party/abseil-cpp/absl/types:optional",
kwiberg7ea6e592017-08-16 06:12:57 -070035 ]
36}
37
Mirko Bonadei86d053c2019-10-17 21:32:04 +020038rtc_library("audio_decoder_L16") {
Per Kjellandera7f2d842018-01-10 15:54:53 +000039 visibility = [ "*" ]
Karl Wibergbb23c832018-04-22 19:55:00 +020040 poisonous = [ "audio_codecs" ]
kwiberg7ea6e592017-08-16 06:12:57 -070041 sources = [
42 "audio_decoder_L16.cc",
43 "audio_decoder_L16.h",
44 ]
45 deps = [
46 "..:audio_codecs_api",
Jonas Orelande62c2f22022-03-29 11:04:48 +020047 "../../../api:field_trials_view",
kwiberg7ea6e592017-08-16 06:12:57 -070048 "../../../modules/audio_coding:pcm16b",
49 "../../../rtc_base:rtc_base_approved",
Florent Castellie10a9f62022-04-04 17:04:37 +020050 "../../../rtc_base:safe_conversions",
Mirko Bonadei3b56ee72018-10-15 17:15:12 +020051 "../../../rtc_base/system:rtc_export",
Mirko Bonadei2dcf3482020-06-05 14:30:41 +020052 ]
53 absl_deps = [
Niels Möller2edab4c2018-10-22 09:48:08 +020054 "//third_party/abseil-cpp/absl/strings",
Danil Chapovalov0bc58cf2018-06-21 13:32:56 +020055 "//third_party/abseil-cpp/absl/types:optional",
kwiberg7ea6e592017-08-16 06:12:57 -070056 ]
57}