blob: 0b51db8bcc2a62934952a20a18c4987b7409b585 [file] [log] [blame]
kwiberg087bd342017-02-10 08:15:44 -08001# 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
15rtc_source_set("audio_codecs_api") {
16 sources = [
17 "audio_decoder.cc",
18 "audio_decoder.h",
19 "audio_decoder_factory.h",
ossueb1fde42017-05-02 06:46:30 -070020 "audio_encoder.cc",
21 "audio_encoder.h",
22 "audio_encoder_factory.h",
kwiberg087bd342017-02-10 08:15:44 -080023 "audio_format.cc",
24 "audio_format.h",
25 ]
26 deps = [
27 "../..:webrtc_common",
28 "../../base:rtc_base_approved",
29 ]
30}
31
32rtc_static_library("builtin_audio_decoder_factory") {
33 sources = [
34 "builtin_audio_decoder_factory.cc",
35 "builtin_audio_decoder_factory.h",
36 ]
37 deps = [
38 ":audio_codecs_api",
39 "../../base:rtc_base_approved",
40 "../../modules/audio_coding:builtin_audio_decoder_factory_internal",
41 ]
42}
ossueb1fde42017-05-02 06:46:30 -070043
44rtc_static_library("builtin_audio_encoder_factory") {
45 sources = [
46 "builtin_audio_encoder_factory.cc",
47 "builtin_audio_encoder_factory.h",
48 ]
49 deps = [
50 ":audio_codecs_api",
51 "../../base:rtc_base_approved",
52 "../../modules/audio_coding:builtin_audio_encoder_factory_internal",
53 ]
54}