Index: webrtc/api/audio_codecs/g722/BUILD.gn |
diff --git a/webrtc/api/audio_codecs/test/BUILD.gn b/webrtc/api/audio_codecs/g722/BUILD.gn |
similarity index 56% |
copy from webrtc/api/audio_codecs/test/BUILD.gn |
copy to webrtc/api/audio_codecs/g722/BUILD.gn |
index 22b3f4e8e9d8831dbcdfd0b28bb33b34454d72f9..78708f519413bd66f1e5b8d2a716d50f75bf1b90 100644 |
--- a/webrtc/api/audio_codecs/test/BUILD.gn |
+++ b/webrtc/api/audio_codecs/g722/BUILD.gn |
@@ -12,19 +12,15 @@ if (is_android) { |
import("//build/config/android/rules.gni") |
} |
-if (rtc_include_tests) { |
- rtc_source_set("audio_codecs_api_unittests") { |
- testonly = true |
- sources = [ |
- "audio_decoder_factory_template_unittest.cc", |
- "audio_encoder_factory_template_unittest.cc", |
- ] |
- deps = [ |
- "..:audio_codecs_api", |
- "../../../base:rtc_base_approved", |
- "../../../test:audio_codec_mocks", |
- "../../../test:test_support", |
- "//testing/gmock", |
- ] |
- } |
+rtc_static_library("audio_decoder_g722") { |
+ sources = [ |
+ "audio_decoder_g722.cc", |
+ "audio_decoder_g722.h", |
+ ] |
+ deps = [ |
+ "..:audio_codecs_api", |
+ "../../..:webrtc_common", |
+ "../../../base:rtc_base_approved", |
+ "../../../modules/audio_coding:g722", |
+ ] |
} |