1# Copyright 2019 The Chromium Authors 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/+/main/docs/chromeos_build_instructions.md 25 # https://chromium.googlesource.com/chromiumos/docs/+/main/simple_chrome_workflow.md 26 is_chromeos_device = false 27 28 # Determines if we run the test in skylab, aka the CrOS labs. 29 is_skylab = false 30 31 # Determines if we collect hardware information in chrome://system and 32 # feedback logs. A similar build flag "hw_details" is defined in Chrome OS 33 # (see https://crrev.com/c/3123455). 34 is_chromeos_with_hw_details = false 35 36 # Determines if we're willing to link against libinput 37 use_libinput = false 38 39 # Refers to the separate branding required for the reven build. 40 is_reven = false 41} 42