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_decoder_factory_template.h", | 20 "audio_decoder_factory_template.h", |
21 "audio_encoder.cc", | 21 "audio_encoder.cc", |
22 "audio_encoder.h", | 22 "audio_encoder.h", |
23 "audio_encoder_factory.h", | 23 "audio_encoder_factory.h", |
24 "audio_encoder_factory_template.h", | 24 "audio_encoder_factory_template.h", |
25 "audio_format.cc", | 25 "audio_format.cc", |
26 "audio_format.h", | 26 "audio_format.h", |
27 ] | 27 ] |
28 deps = [ | 28 deps = [ |
29 "..:array_view", | 29 "..:array_view", |
| 30 "..:optional", |
30 "../..:webrtc_common", | 31 "../..:webrtc_common", |
31 "../../rtc_base:rtc_base_approved", | 32 "../../rtc_base:rtc_base_approved", |
32 ] | 33 ] |
33 } | 34 } |
34 | 35 |
35 rtc_static_library("builtin_audio_decoder_factory") { | 36 rtc_static_library("builtin_audio_decoder_factory") { |
36 sources = [ | 37 sources = [ |
37 "builtin_audio_decoder_factory.cc", | 38 "builtin_audio_decoder_factory.cc", |
38 "builtin_audio_decoder_factory.h", | 39 "builtin_audio_decoder_factory.h", |
39 ] | 40 ] |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 deps += [ "isac:audio_encoder_isac_float" ] | 123 deps += [ "isac:audio_encoder_isac_float" ] |
123 defines += [ | 124 defines += [ |
124 "WEBRTC_USE_BUILTIN_ISAC_FIX=0", | 125 "WEBRTC_USE_BUILTIN_ISAC_FIX=0", |
125 "WEBRTC_USE_BUILTIN_ISAC_FLOAT=1", | 126 "WEBRTC_USE_BUILTIN_ISAC_FLOAT=1", |
126 ] | 127 ] |
127 } | 128 } |
128 deps += [ "g722:audio_encoder_g722" ] | 129 deps += [ "g722:audio_encoder_g722" ] |
129 defines += [ "WEBRTC_USE_BUILTIN_G722=1" ] | 130 defines += [ "WEBRTC_USE_BUILTIN_G722=1" ] |
130 } | 131 } |
131 } | 132 } |
OLD | NEW |