1# Copyright 2019 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5declare_args() {
6  # This is used only by Simple Chrome to bind its value to test-runner scripts
7  # generated at build-time.
8  cros_board = ""
9
10  # Similar to cros_board above, this used only by test-runner scripts in
11  # Simple Chrome.
12  cros_sdk_version = ""
13}
14
15# Ensure that if one is set, the other is as well.
16assert(cros_board == "" == (cros_sdk_version == ""))
17
18declare_args() {
19  # Determines if we're building for a Chrome OS device (or VM) and not just
20  # linux-chromeos. NOTE: Most test targets in Chrome expect to run under
21  # linux-chromeos, so some have compile-time asserts that intentionally fail
22  # when this build flag is set. Build and run the tests for linux-chromeos
23  # instead.
24  # https://chromium.googlesource.com/chromium/src/+/master/docs/chromeos_build_instructions.md
25  # https://chromium.googlesource.com/chromiumos/docs/+/master/simple_chrome_workflow.md
26  is_chromeos_device = false
27}
28