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

Unified Diff: webrtc/voice_engine/BUILD.gn

Issue 2221103004: Broke out 'level_indicator' of the voice_engine GN target. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added GN check, Gyp target, correct dependencies. Created 4 years, 4 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 | « .gn ('k') | webrtc/voice_engine/level_indicator.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 b587d04073fb778585174cb4a694a45bd0440da5..808d980c6f475685a9b4c10948cbf6f64d6ad301 100644
--- a/webrtc/voice_engine/BUILD.gn
+++ b/webrtc/voice_engine/BUILD.gn
@@ -29,8 +29,6 @@ source_set("voice_engine") {
"include/voe_rtp_rtcp.h",
"include/voe_video_sync.h",
"include/voe_volume_control.h",
- "level_indicator.cc",
- "level_indicator.h",
"monitor_module.cc",
"monitor_module.h",
"network_predictor.cc",
@@ -91,6 +89,7 @@ source_set("voice_engine") {
}
deps = [
+ ":level_indicator",
"..:rtc_event_log",
"..:webrtc_common",
"../base:rtc_base_approved",
@@ -108,6 +107,22 @@ source_set("voice_engine") {
]
}
+source_set("level_indicator") {
+ sources = [
+ "level_indicator.cc",
+ "level_indicator.h",
+ ]
+
+ configs += [ "..:common_config" ]
+ public_configs = [ "..:common_inherited_config" ]
+
+ deps = [
+ "..:webrtc_common",
+ "../base:rtc_base_approved",
+ "../common_audio",
+ ]
+}
+
if (rtc_include_tests) {
test("voice_engine_unittests") {
deps = [
« no previous file with comments | « .gn ('k') | webrtc/voice_engine/level_indicator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698