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_static_library("audio_encoder_g711") { | 15 rtc_static_library("audio_encoder_g711") { |
16 sources = [ | 16 sources = [ |
17 "audio_encoder_g711.cc", | 17 "audio_encoder_g711.cc", |
18 "audio_encoder_g711.h", | 18 "audio_encoder_g711.h", |
19 ] | 19 ] |
20 deps = [ | 20 deps = [ |
21 "..:audio_codecs_api", | 21 "..:audio_codecs_api", |
| 22 "../..:optional", |
22 "../../..:webrtc_common", | 23 "../../..:webrtc_common", |
23 "../../../modules/audio_coding:g711", | 24 "../../../modules/audio_coding:g711", |
24 "../../../rtc_base:rtc_base_approved", | 25 "../../../rtc_base:rtc_base_approved", |
25 ] | 26 ] |
26 } | 27 } |
27 | 28 |
28 rtc_static_library("audio_decoder_g711") { | 29 rtc_static_library("audio_decoder_g711") { |
29 sources = [ | 30 sources = [ |
30 "audio_decoder_g711.cc", | 31 "audio_decoder_g711.cc", |
31 "audio_decoder_g711.h", | 32 "audio_decoder_g711.h", |
32 ] | 33 ] |
33 deps = [ | 34 deps = [ |
34 "..:audio_codecs_api", | 35 "..:audio_codecs_api", |
| 36 "../..:optional", |
35 "../../..:webrtc_common", | 37 "../../..:webrtc_common", |
36 "../../../modules/audio_coding:g711", | 38 "../../../modules/audio_coding:g711", |
37 "../../../rtc_base:rtc_base_approved", | 39 "../../../rtc_base:rtc_base_approved", |
38 ] | 40 ] |
39 } | 41 } |
OLD | NEW |