kwiberg | 6531583 | 2017-06-16 10:42:05 -0700 | [diff] [blame] | 1 | # 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 | |
| 9 | import("../../../webrtc.gni") |
| 10 | if (is_android) { |
| 11 | import("//build/config/android/config.gni") |
| 12 | import("//build/config/android/rules.gni") |
| 13 | } |
| 14 | |
| 15 | if (rtc_include_tests) { |
| 16 | rtc_source_set("audio_codecs_api_unittests") { |
| 17 | testonly = true |
| 18 | sources = [ |
kwiberg | 0eacd88 | 2017-06-17 15:45:28 -0700 | [diff] [blame] | 19 | "audio_decoder_factory_template_unittest.cc", |
kwiberg | 6531583 | 2017-06-16 10:42:05 -0700 | [diff] [blame] | 20 | "audio_encoder_factory_template_unittest.cc", |
| 21 | ] |
| 22 | deps = [ |
| 23 | "..:audio_codecs_api", |
ehmaldonado | f6a861a | 2017-07-19 10:40:47 -0700 | [diff] [blame] | 24 | "../../../rtc_base:protobuf_utils", # TODO(kwiberg): Why is this needed? |
| 25 | "../../../rtc_base:rtc_base_approved", |
kwiberg | 6531583 | 2017-06-16 10:42:05 -0700 | [diff] [blame] | 26 | "../../../test:audio_codec_mocks", |
| 27 | "../../../test:test_support", |
kwiberg | 7ea6e59 | 2017-08-16 06:12:57 -0700 | [diff] [blame] | 28 | "../L16:audio_decoder_L16", |
| 29 | "../L16:audio_encoder_L16", |
kwiberg | e985b90 | 2017-07-31 11:34:57 -0700 | [diff] [blame] | 30 | "../g711:audio_decoder_g711", |
| 31 | "../g711:audio_encoder_g711", |
kwiberg | b1ed7f0 | 2017-06-17 17:30:09 -0700 | [diff] [blame] | 32 | "../g722:audio_decoder_g722", |
kwiberg | b8727ae | 2017-06-17 17:41:59 -0700 | [diff] [blame] | 33 | "../g722:audio_encoder_g722", |
solenberg | db3c9b0 | 2017-06-28 02:05:04 -0700 | [diff] [blame] | 34 | "../ilbc:audio_decoder_ilbc", |
| 35 | "../ilbc:audio_encoder_ilbc", |
kwiberg | 96d74bb | 2017-06-30 05:24:56 -0700 | [diff] [blame] | 36 | "../opus:audio_decoder_opus", |
kwiberg | 96da011 | 2017-06-30 04:23:22 -0700 | [diff] [blame] | 37 | "../opus:audio_encoder_opus", |
kwiberg | 6531583 | 2017-06-16 10:42:05 -0700 | [diff] [blame] | 38 | "//testing/gmock", |
| 39 | ] |
| 40 | } |
| 41 | } |