blob: 882ac033e74039196050fdf05ce09c16a6b78108 [file] [log] [blame]
kwiberg65315832017-06-16 10:42:05 -07001# Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
2#
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
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
9import("../../../webrtc.gni")
10if (is_android) {
11 import("//build/config/android/config.gni")
12 import("//build/config/android/rules.gni")
13}
14
15if (rtc_include_tests) {
16 rtc_source_set("audio_codecs_api_unittests") {
17 testonly = true
18 sources = [
kwiberg0eacd882017-06-17 15:45:28 -070019 "audio_decoder_factory_template_unittest.cc",
kwiberg65315832017-06-16 10:42:05 -070020 "audio_encoder_factory_template_unittest.cc",
21 ]
22 deps = [
23 "..:audio_codecs_api",
ehmaldonadof6a861a2017-07-19 10:40:47 -070024 "../../../rtc_base:protobuf_utils", # TODO(kwiberg): Why is this needed?
25 "../../../rtc_base:rtc_base_approved",
kwiberg65315832017-06-16 10:42:05 -070026 "../../../test:audio_codec_mocks",
27 "../../../test:test_support",
kwiberg7ea6e592017-08-16 06:12:57 -070028 "../L16:audio_decoder_L16",
29 "../L16:audio_encoder_L16",
kwiberge985b902017-07-31 11:34:57 -070030 "../g711:audio_decoder_g711",
31 "../g711:audio_encoder_g711",
kwibergb1ed7f02017-06-17 17:30:09 -070032 "../g722:audio_decoder_g722",
kwibergb8727ae2017-06-17 17:41:59 -070033 "../g722:audio_encoder_g722",
solenbergdb3c9b02017-06-28 02:05:04 -070034 "../ilbc:audio_decoder_ilbc",
35 "../ilbc:audio_encoder_ilbc",
kwiberg96d74bb2017-06-30 05:24:56 -070036 "../opus:audio_decoder_opus",
kwiberg96da0112017-06-30 04:23:22 -070037 "../opus:audio_encoder_opus",
kwiberg65315832017-06-16 10:42:05 -070038 "//testing/gmock",
39 ]
40 }
41}