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_encoder_g722_config") { | 15 rtc_source_set("audio_encoder_g722_config") { |
16 sources = [ | 16 sources = [ |
17 "audio_encoder_g722_config.h", | 17 "audio_encoder_g722_config.h", |
18 ] | 18 ] |
19 } | 19 } |
20 | 20 |
21 rtc_static_library("audio_encoder_g722") { | 21 rtc_static_library("audio_encoder_g722") { |
22 sources = [ | 22 sources = [ |
23 "audio_encoder_g722.cc", | 23 "audio_encoder_g722.cc", |
24 "audio_encoder_g722.h", | 24 "audio_encoder_g722.h", |
25 ] | 25 ] |
26 deps = [ | 26 deps = [ |
27 ":audio_encoder_g722_config", | 27 ":audio_encoder_g722_config", |
28 "..:audio_codecs_api", | 28 "..:audio_codecs_api", |
| 29 "../..:optional", |
29 "../../..:webrtc_common", | 30 "../../..:webrtc_common", |
30 "../../../modules/audio_coding:g722", | 31 "../../../modules/audio_coding:g722", |
31 "../../../rtc_base:rtc_base_approved", | 32 "../../../rtc_base:rtc_base_approved", |
32 ] | 33 ] |
33 } | 34 } |
34 | 35 |
35 rtc_static_library("audio_decoder_g722") { | 36 rtc_static_library("audio_decoder_g722") { |
36 sources = [ | 37 sources = [ |
37 "audio_decoder_g722.cc", | 38 "audio_decoder_g722.cc", |
38 "audio_decoder_g722.h", | 39 "audio_decoder_g722.h", |
39 ] | 40 ] |
40 deps = [ | 41 deps = [ |
41 "..:audio_codecs_api", | 42 "..:audio_codecs_api", |
| 43 "../..:optional", |
42 "../../..:webrtc_common", | 44 "../../..:webrtc_common", |
43 "../../../modules/audio_coding:g722", | 45 "../../../modules/audio_coding:g722", |
44 "../../../rtc_base:rtc_base_approved", | 46 "../../../rtc_base:rtc_base_approved", |
45 ] | 47 ] |
46 } | 48 } |
OLD | NEW |