blob: b3d1bc23bafc99561f27f5239a2782a845757421 [file] [log] [blame]
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This block should only contain Chromecast-specific build arguments used by
# by components outside of //chromecast.
declare_args() {
# Set this true for a Chromecast build. Chromecast builds are supported on
# Linux and Android.
is_chromecast = false
# Set this true for an audio-only Chromecast build.
disable_display = false
}
# Assert that Chromecast is being built for a supported platform.
assert(is_linux || is_android || !is_chromecast,
"Chromecast builds are not supported on $target_os")
# Assert that disable_display is not true on a non-Chromecast build.
assert(!disable_display || is_chromecast)