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

Unified Diff: chromecast/chromecast.gni

Issue 2738873002: [Chromecast] Implement new volume control API (Closed)
Patch Set: slan comments Created 3 years, 9 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 | « chromecast/base/chromecast_switches.cc ('k') | chromecast/media/cma/backend/alsa/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/chromecast.gni
diff --git a/chromecast/chromecast.gni b/chromecast/chromecast.gni
index 6f717052c180504eca4fa7faca70e0e78f66fb91..dc4ac9a8236dd83fab8af22a1a53b8ffd39090ea 100644
--- a/chromecast/chromecast.gni
+++ b/chromecast/chromecast.gni
@@ -27,6 +27,9 @@ declare_args() {
# TODO(antz): default to false for audio-only builds, might need further
# clean up (b/27119303)
enable_chromecast_webui = !is_cast_audio_only && !is_android
+
+ # Set true to enable assistant features.
+ enable_assistant = false
}
declare_args() {
@@ -43,3 +46,7 @@ if (chromecast_branding == "public") {
cast_build_release =
read_file("//chromecast/internal/build/cast_build_release", "trim string")
}
+
+# Assistant shall only be enabled on audio-only builds.
+assert(!enable_assistant || is_cast_audio_only,
+ "Assistant is only available on audio devices.")
« no previous file with comments | « chromecast/base/chromecast_switches.cc ('k') | chromecast/media/cma/backend/alsa/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698