Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(749)

Unified Diff: webrtc/api/audio_codecs/g722/BUILD.gn

Issue 2934833002: G722 implementation of the AudioEncoderFactoryTemplate API (Closed)
Patch Set: remove, rename, nit Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 57%
copy from webrtc/api/audio_codecs/test/BUILD.gn
copy to webrtc/api/audio_codecs/g722/BUILD.gn
index 3d93ff5b44aeccd99d43b22b0309d7399288e240..c1246c2d0a3088360e58b3ebfdcecbc3f7472074 100644
--- a/webrtc/api/audio_codecs/test/BUILD.gn
+++ b/webrtc/api/audio_codecs/g722/BUILD.gn
@@ -12,19 +12,21 @@ if (is_android) {
import("//build/config/android/rules.gni")
}
-if (rtc_include_tests) {
- rtc_source_set("audio_codecs_api_unittests") {
- testonly = true
- sources = [
- "audio_encoder_factory_template_unittest.cc",
- ]
- deps = [
- "..:audio_codecs_api",
- "../../../base:rtc_base_approved",
- "../../../test:audio_codec_mocks",
- "../../../test:test_support",
- "../opus:audio_encoder_opus",
- "//testing/gmock",
- ]
- }
+rtc_source_set("audio_encoder_g722_config") {
+ sources = [
+ "audio_encoder_g722_config.h",
+ ]
+}
+
+rtc_static_library("audio_encoder_g722") {
+ sources = [
+ "audio_encoder_g722.cc",
+ "audio_encoder_g722.h",
+ ]
+ deps = [
+ ":audio_encoder_g722_config",
+ "..:audio_codecs_api",
+ "../../../base:rtc_base_approved",
+ "../../../modules/audio_coding:g722",
+ ]
}

Powered by Google App Engine
This is Rietveld 408576698