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

Unified Diff: webrtc/voice_engine/BUILD.gn

Issue 2321473004: Move coder, file_player, and file_recorder to webrtc/voice_engine (Closed)
Patch Set: Update .gyp files Created 4 years, 3 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
« no previous file with comments | « webrtc/modules/utility/utility.gypi ('k') | webrtc/voice_engine/channel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/voice_engine/BUILD.gn
diff --git a/webrtc/voice_engine/BUILD.gn b/webrtc/voice_engine/BUILD.gn
index e773ebd0497a64d98a79f017accc5824c3970fd0..1926cc2356edbaf5df570c6aa1f7ce3c7e37d65f 100644
--- a/webrtc/voice_engine/BUILD.gn
+++ b/webrtc/voice_engine/BUILD.gn
@@ -88,6 +88,8 @@ rtc_source_set("voice_engine") {
"../modules/audio_coding",
]
deps = [
+ ":file_player",
+ ":file_recorder",
":level_indicator",
"..:rtc_event_log",
"..:webrtc_common",
@@ -119,12 +121,70 @@ rtc_source_set("level_indicator") {
]
}
+rtc_source_set("audio_coder") {
+ sources = [
+ "coder.cc",
+ "coder.h",
+ ]
+ deps = [
+ "//webrtc:webrtc_common",
+ "//webrtc/modules/audio_coding:audio_coding",
+ "//webrtc/modules/audio_coding:builtin_audio_decoder_factory",
+ "//webrtc/modules/audio_coding:rent_a_codec",
+ ]
+ if (is_clang) {
+ # Suppress warnings from Chrome's Clang plugins.
+ # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
+ suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
+ }
+}
+
+rtc_source_set("file_player") {
+ sources = [
+ "file_player.cc",
+ "file_player.h",
+ ]
+ deps = [
+ ":audio_coder",
+ "//webrtc:webrtc_common",
+ "//webrtc/common_audio:common_audio",
+ "//webrtc/modules/media_file:media_file",
+ "//webrtc/system_wrappers:system_wrappers",
+ ]
+ if (is_clang) {
+ # Suppress warnings from Chrome's Clang plugins.
+ # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
+ suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
+ }
+}
+
+rtc_source_set("file_recorder") {
+ sources = [
+ "file_recorder.cc",
+ "file_recorder.h",
+ ]
+ deps = [
+ ":audio_coder",
+ "//webrtc:webrtc_common",
+ "//webrtc/base:rtc_base_approved",
+ "//webrtc/common_audio:common_audio",
+ "//webrtc/modules/media_file:media_file",
+ "//webrtc/system_wrappers:system_wrappers",
+ ]
+ if (is_clang) {
+ # Suppress warnings from Chrome's Clang plugins.
+ # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
+ suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
+ }
+}
+
if (rtc_include_tests) {
rtc_test("voice_engine_unittests") {
deps = [
":voice_engine",
"//testing/gmock",
"//testing/gtest",
+ "//third_party/gflags",
"//webrtc/common_audio",
"//webrtc/modules/audio_coding",
"//webrtc/modules/audio_conference_mixer",
@@ -144,6 +204,7 @@ if (rtc_include_tests) {
sources = [
"channel_unittest.cc",
+ "file_player_unittests.cc",
"network_predictor_unittest.cc",
"transmit_mixer_unittest.cc",
"utility_unittest.cc",
« no previous file with comments | « webrtc/modules/utility/utility.gypi ('k') | webrtc/voice_engine/channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698