blob: ca0cf95b42bd3b3d8ea241bbb31d3ef967c3bff0 [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",
kwiberg65315832017-06-16 10:42:05 -070023 "audio_encoder_factory_template.h",
kwiberg087bd342017-02-10 08:15:44 -080024 "audio_format.cc",
25 "audio_format.h",
26 ]
27 deps = [
28 "../..:webrtc_common",
29 "../../base:rtc_base_approved",
30 ]
31}
32
33rtc_static_library("builtin_audio_decoder_factory") {
34 sources = [
35 "builtin_audio_decoder_factory.cc",
36 "builtin_audio_decoder_factory.h",
37 ]
38 deps = [
39 ":audio_codecs_api",
40 "../../base:rtc_base_approved",
41 "../../modules/audio_coding:builtin_audio_decoder_factory_internal",
42 ]
43}
ossueb1fde42017-05-02 06:46:30 -070044
45rtc_static_library("builtin_audio_encoder_factory") {
46 sources = [
47 "builtin_audio_encoder_factory.cc",
48 "builtin_audio_encoder_factory.h",
49 ]
50 deps = [
51 ":audio_codecs_api",
52 "../../base:rtc_base_approved",
53 "../../modules/audio_coding:builtin_audio_encoder_factory_internal",
54 ]
55}