Index: chromecast/chromecast.gni |
diff --git a/chromecast/chromecast.gni b/chromecast/chromecast.gni |
index 9de3efeae89948911e7c059c31a65fccb3f46be3..64d3f74bc14ea7e6337a939d4cd2f3354154b655 100644 |
--- a/chromecast/chromecast.gni |
+++ b/chromecast/chromecast.gni |
@@ -24,6 +24,11 @@ declare_args() { |
# doing engineering builds. |
cast_is_debug = is_debug |
+ if (is_android) { |
+ # If true, run receiver apps in an Android service instead of an activity. |
+ display_web_contents_in_service = is_cast_audio_only |
+ } |
+ |
# If true, Chromecast WebUI resources are included in a build. |
# TODO(antz): default to false for audio-only builds, might need further |
# clean up (b/27119303) |