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

Side by Side Diff: chromecast/chromecast.gni

Issue 2770903002: [Chromecast] Remove redundant build assert. (Closed)
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | 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 6
7 # This args block should contain arguments used within the //chromecast 7 # This args block should contain arguments used within the //chromecast
8 # directory. Arguments which are used in other Chrome components should 8 # directory. Arguments which are used in other Chrome components should
9 # be instead declared in //build/config/chromecast_build.gni. 9 # be instead declared in //build/config/chromecast_build.gni.
10 declare_args() { 10 declare_args() {
(...skipping 28 matching lines...) Expand all
39 39
40 # This is the release version, which takes the form <major>.<minor>. Internal 40 # This is the release version, which takes the form <major>.<minor>. Internal
41 # builds will read the value from an internal file containing this value as a 41 # builds will read the value from an internal file containing this value as a
42 # string. Public builds, lacking this file, will set a dummy value. 42 # string. Public builds, lacking this file, will set a dummy value.
43 if (chromecast_branding == "public") { 43 if (chromecast_branding == "public") {
44 cast_build_release = "eng." + getenv("USER") 44 cast_build_release = "eng." + getenv("USER")
45 } else { 45 } else {
46 cast_build_release = 46 cast_build_release =
47 read_file("//chromecast/internal/build/cast_build_release", "trim string") 47 read_file("//chromecast/internal/build/cast_build_release", "trim string")
48 } 48 }
49
50 # Assistant shall only be enabled on audio-only builds.
51 assert(!enable_assistant || is_cast_audio_only,
52 "Assistant is only available on audio devices.")
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698