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

Side by Side Diff: chromecast/chromecast.gni

Issue 2922003002: [Chromecast] Enable MultizoneBackendTest on Earth. (Closed)
Patch Set: Default supports_multizone to false for desktop builds. Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | chromecast/media/cma/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/chromecast_build.gni") 5 import("//build/config/chromecast_build.gni")
6 import("//build/config/locales.gni") 6 import("//build/config/locales.gni")
7 7
8 # This args block should contain arguments used within the //chromecast 8 # This args block should contain arguments used within the //chromecast
9 # directory. Arguments which are used in other Chrome components should 9 # directory. Arguments which are used in other Chrome components should
10 # be instead declared in //build/config/chromecast_build.gni. 10 # be instead declared in //build/config/chromecast_build.gni.
(...skipping 18 matching lines...) Expand all
29 display_web_contents_in_service = is_cast_audio_only 29 display_web_contents_in_service = is_cast_audio_only
30 } 30 }
31 31
32 # If true, Chromecast WebUI resources are included in a build. 32 # If true, Chromecast WebUI resources are included in a build.
33 # TODO(antz): default to false for audio-only builds, might need further 33 # TODO(antz): default to false for audio-only builds, might need further
34 # clean up (b/27119303) 34 # clean up (b/27119303)
35 enable_chromecast_webui = !is_cast_audio_only && !is_android 35 enable_chromecast_webui = !is_cast_audio_only && !is_android
36 36
37 # Set true to enable assistant features. 37 # Set true to enable assistant features.
38 enable_assistant = false 38 enable_assistant = false
39
40 # Set to true on devices that support multizone. Only indicates that the
41 # device supports multizone. The command line flag --enable-multizone must
42 # still be used to enable multizone.
43 supports_multizone = is_cast_audio_only && !is_cast_desktop_build
39 } 44 }
40 45
41 declare_args() { 46 declare_args() {
42 # Use Playready CDMs for internal non-desktop builds. 47 # Use Playready CDMs for internal non-desktop builds.
43 use_playready = !is_cast_desktop_build && chromecast_branding != "public" 48 use_playready = !is_cast_desktop_build && chromecast_branding != "public"
44 } 49 }
45 50
46 # This is the release version, which takes the form <major>.<minor>. Internal 51 # This is the release version, which takes the form <major>.<minor>. Internal
47 # builds will read the value from an internal file containing this value as a 52 # builds will read the value from an internal file containing this value as a
48 # string. Public builds, lacking this file, will set a dummy value. 53 # string. Public builds, lacking this file, will set a dummy value.
49 if (chromecast_branding == "public") { 54 if (chromecast_branding == "public") {
50 cast_build_release = "eng." + getenv("USER") 55 cast_build_release = "eng." + getenv("USER")
51 } else { 56 } else {
52 cast_build_release = 57 cast_build_release =
53 read_file("//chromecast/internal/build/cast_build_release", "trim string") 58 read_file("//chromecast/internal/build/cast_build_release", "trim string")
54 } 59 }
55 60
56 # All locales supported by Cast builds. This provides a single point of 61 # All locales supported by Cast builds. This provides a single point of
57 # reference for all GN files referencing a locales list. |locales| is declared 62 # reference for all GN files referencing a locales list. |locales| is declared
58 # in //build/config/locales.gni. 63 # in //build/config/locales.gni.
59 cast_locales = locales 64 cast_locales = locales
OLDNEW
« no previous file with comments | « no previous file | chromecast/media/cma/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698