OLD | NEW |
1 # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("../../webrtc.gni") | 9 import("../../webrtc.gni") |
10 if (is_android) { | 10 if (is_android) { |
11 import("//build/config/android/config.gni") | 11 import("//build/config/android/config.gni") |
12 import("//build/config/android/rules.gni") | 12 import("//build/config/android/rules.gni") |
13 } | 13 } |
14 | 14 |
15 rtc_source_set("audio_codecs_api") { | 15 rtc_source_set("audio_codecs_api") { |
16 sources = [ | 16 sources = [ |
17 "audio_decoder.cc", | 17 "audio_decoder.cc", |
18 "audio_decoder.h", | 18 "audio_decoder.h", |
19 "audio_decoder_factory.h", | 19 "audio_decoder_factory.h", |
| 20 "audio_encoder.cc", |
| 21 "audio_encoder.h", |
| 22 "audio_encoder_factory.h", |
20 "audio_format.cc", | 23 "audio_format.cc", |
21 "audio_format.h", | 24 "audio_format.h", |
22 ] | 25 ] |
23 deps = [ | 26 deps = [ |
24 "../..:webrtc_common", | 27 "../..:webrtc_common", |
25 "../../base:rtc_base_approved", | 28 "../../base:rtc_base_approved", |
26 ] | 29 ] |
27 } | 30 } |
28 | 31 |
29 rtc_static_library("builtin_audio_decoder_factory") { | 32 rtc_static_library("builtin_audio_decoder_factory") { |
30 sources = [ | 33 sources = [ |
31 "builtin_audio_decoder_factory.cc", | 34 "builtin_audio_decoder_factory.cc", |
32 "builtin_audio_decoder_factory.h", | 35 "builtin_audio_decoder_factory.h", |
33 ] | 36 ] |
34 deps = [ | 37 deps = [ |
35 ":audio_codecs_api", | 38 ":audio_codecs_api", |
36 "../../base:rtc_base_approved", | 39 "../../base:rtc_base_approved", |
37 "../../modules/audio_coding:builtin_audio_decoder_factory_internal", | 40 "../../modules/audio_coding:builtin_audio_decoder_factory_internal", |
38 ] | 41 ] |
39 } | 42 } |
| 43 |
| 44 rtc_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 } |
OLD | NEW |