blob: dbc3c86252fc4531590121a32db66c56143e1eb8 [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",
Mirko Bonadei3d255302018-10-11 10:50:45 +020029 "../../../rtc_base/system:rtc_export",
Mirko Bonadei2dcf3482020-06-05 14:30:41 +020030 ]
31 absl_deps = [
Niels Möller2edab4c2018-10-22 09:48:08 +020032 "//third_party/abseil-cpp/absl/strings",
Danil Chapovalov0bc58cf2018-06-21 13:32:56 +020033 "//third_party/abseil-cpp/absl/types:optional",
kwiberg7ea6e592017-08-16 06:12:57 -070034 ]
35}
36
Mirko Bonadei86d053c2019-10-17 21:32:04 +020037rtc_library("audio_decoder_L16") {
Per Kjellandera7f2d842018-01-10 15:54:53 +000038 visibility = [ "*" ]
Karl Wibergbb23c832018-04-22 19:55:00 +020039 poisonous = [ "audio_codecs" ]
kwiberg7ea6e592017-08-16 06:12:57 -070040 sources = [
41 "audio_decoder_L16.cc",
42 "audio_decoder_L16.h",
43 ]
44 deps = [
45 "..:audio_codecs_api",
Jonas Orelande62c2f22022-03-29 11:04:48 +020046 "../../../api:field_trials_view",
kwiberg7ea6e592017-08-16 06:12:57 -070047 "../../../modules/audio_coding:pcm16b",
48 "../../../rtc_base:rtc_base_approved",
Florent Castellie10a9f62022-04-04 17:04:37 +020049 "../../../rtc_base:safe_conversions",
Mirko Bonadei3b56ee72018-10-15 17:15:12 +020050 "../../../rtc_base/system:rtc_export",
Mirko Bonadei2dcf3482020-06-05 14:30:41 +020051 ]
52 absl_deps = [
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",
kwiberg7ea6e592017-08-16 06:12:57 -070055 ]
56}