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

Unified Diff: build/config/chromecast_build.gni

Issue 2288283002: [Chromecast] Rename disable_display flag to is_cast_audio_only. (Closed)
Patch Set: cast_audio_only => is_cast_audio_only 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 | « no previous file | chromecast/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/chromecast_build.gni
diff --git a/build/config/chromecast_build.gni b/build/config/chromecast_build.gni
index b2259704983060e0b24006efedeceb12b60e947f..6c61dbc084303c73c4b4cacd3010123f5b27bcee 100644
--- a/build/config/chromecast_build.gni
+++ b/build/config/chromecast_build.gni
@@ -11,7 +11,7 @@ declare_args() {
is_chromecast = false
# Set this true for an audio-only Chromecast build.
- disable_display = false
+ is_cast_audio_only = false
}
# Note(slan): This arg depends on the value of is_chromecast, and thus must be
@@ -31,6 +31,6 @@ declare_args() {
assert(is_linux || is_android || !is_chromecast,
"Chromecast builds are not supported on $target_os")
-# Assert that disable_display and is_cast_desktop_build are both false on a
+# Assert that is_cast_audio_only and is_cast_desktop_build are both false on a
# non-Chromecast build.
-assert(is_chromecast || !(disable_display || is_cast_desktop_build))
+assert(is_chromecast || (!is_cast_audio_only && !is_cast_desktop_build))
« no previous file with comments | « no previous file | chromecast/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698