kwiberg | 087bd34 | 2017-02-10 08:15:44 -0800 | [diff] [blame] | 1 | # 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 | |
| 9 | import("../../webrtc.gni") |
| 10 | if (is_android) { |
| 11 | import("//build/config/android/config.gni") |
| 12 | import("//build/config/android/rules.gni") |
| 13 | } |
| 14 | |
| 15 | rtc_source_set("audio_codecs_api") { |
| 16 | sources = [ |
| 17 | "audio_decoder.cc", |
| 18 | "audio_decoder.h", |
| 19 | "audio_decoder_factory.h", |
kwiberg | 0eacd88 | 2017-06-17 15:45:28 -0700 | [diff] [blame] | 20 | "audio_decoder_factory_template.h", |
ossu | eb1fde4 | 2017-05-02 06:46:30 -0700 | [diff] [blame] | 21 | "audio_encoder.cc", |
| 22 | "audio_encoder.h", |
| 23 | "audio_encoder_factory.h", |
kwiberg | 6531583 | 2017-06-16 10:42:05 -0700 | [diff] [blame] | 24 | "audio_encoder_factory_template.h", |
kwiberg | 087bd34 | 2017-02-10 08:15:44 -0800 | [diff] [blame] | 25 | "audio_format.cc", |
| 26 | "audio_format.h", |
| 27 | ] |
| 28 | deps = [ |
| 29 | "../..:webrtc_common", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 30 | "../../rtc_base:rtc_base_approved", |
kwiberg | 087bd34 | 2017-02-10 08:15:44 -0800 | [diff] [blame] | 31 | ] |
| 32 | } |
| 33 | |
| 34 | rtc_static_library("builtin_audio_decoder_factory") { |
| 35 | sources = [ |
| 36 | "builtin_audio_decoder_factory.cc", |
| 37 | "builtin_audio_decoder_factory.h", |
| 38 | ] |
| 39 | deps = [ |
| 40 | ":audio_codecs_api", |
sakal | bcc655c | 2017-08-22 08:13:37 -0700 | [diff] [blame] | 41 | "../../modules/audio_coding:builtin_audio_decoder_factory_internal", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 42 | "../../rtc_base:rtc_base_approved", |
kwiberg | 087bd34 | 2017-02-10 08:15:44 -0800 | [diff] [blame] | 43 | ] |
| 44 | } |
ossu | eb1fde4 | 2017-05-02 06:46:30 -0700 | [diff] [blame] | 45 | |
| 46 | rtc_static_library("builtin_audio_encoder_factory") { |
| 47 | sources = [ |
| 48 | "builtin_audio_encoder_factory.cc", |
| 49 | "builtin_audio_encoder_factory.h", |
| 50 | ] |
| 51 | deps = [ |
| 52 | ":audio_codecs_api", |
sakal | bcc655c | 2017-08-22 08:13:37 -0700 | [diff] [blame] | 53 | "../../modules/audio_coding:builtin_audio_encoder_factory_internal", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 54 | "../../rtc_base:rtc_base_approved", |
ossu | eb1fde4 | 2017-05-02 06:46:30 -0700 | [diff] [blame] | 55 | ] |
| 56 | } |