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 if (rtc_include_tests) { | 15 if (rtc_include_tests) { |
16 rtc_source_set("audio_codecs_api_unittests") { | 16 rtc_source_set("audio_codecs_api_unittests") { |
17 testonly = true | 17 testonly = true |
18 sources = [ | 18 sources = [ |
19 "audio_decoder_factory_template_unittest.cc", | 19 "audio_decoder_factory_template_unittest.cc", |
20 "audio_encoder_factory_template_unittest.cc", | 20 "audio_encoder_factory_template_unittest.cc", |
21 ] | 21 ] |
22 deps = [ | 22 deps = [ |
23 "..:audio_codecs_api", | 23 "..:audio_codecs_api", |
24 "../../../rtc_base:protobuf_utils", # TODO(kwiberg): Why is this needed? | 24 "../../../rtc_base:protobuf_utils", # TODO(kwiberg): Why is this needed? |
25 "../../../rtc_base:rtc_base_approved", | 25 "../../../rtc_base:rtc_base_approved", |
26 "../../../test:audio_codec_mocks", | 26 "../../../test:audio_codec_mocks", |
27 "../../../test:test_support", | 27 "../../../test:test_support", |
28 "../L16:audio_decoder_L16", | |
29 "../L16:audio_encoder_L16", | |
30 "../g711:audio_decoder_g711", | 28 "../g711:audio_decoder_g711", |
31 "../g711:audio_encoder_g711", | 29 "../g711:audio_encoder_g711", |
32 "../g722:audio_decoder_g722", | 30 "../g722:audio_decoder_g722", |
33 "../g722:audio_encoder_g722", | 31 "../g722:audio_encoder_g722", |
34 "../ilbc:audio_decoder_ilbc", | 32 "../ilbc:audio_decoder_ilbc", |
35 "../ilbc:audio_encoder_ilbc", | 33 "../ilbc:audio_encoder_ilbc", |
36 "../opus:audio_decoder_opus", | 34 "../opus:audio_decoder_opus", |
37 "../opus:audio_encoder_opus", | 35 "../opus:audio_encoder_opus", |
38 "//testing/gmock", | 36 "//testing/gmock", |
39 ] | 37 ] |
40 } | 38 } |
41 } | 39 } |
OLD | NEW |