1*8975f5c5SAndroid Build Coastguard Worker# Copyright 2019 The Chromium Authors 2*8975f5c5SAndroid Build Coastguard Worker# Use of this source code is governed by a BSD-style license that can be 3*8975f5c5SAndroid Build Coastguard Worker# found in the LICENSE file. 4*8975f5c5SAndroid Build Coastguard Worker 5*8975f5c5SAndroid Build Coastguard Workerdeclare_args() { 6*8975f5c5SAndroid Build Coastguard Worker # This is used only by Simple Chrome to bind its value to test-runner scripts 7*8975f5c5SAndroid Build Coastguard Worker # generated at build-time. 8*8975f5c5SAndroid Build Coastguard Worker cros_board = "" 9*8975f5c5SAndroid Build Coastguard Worker 10*8975f5c5SAndroid Build Coastguard Worker # Similar to cros_board above, this used only by test-runner scripts in 11*8975f5c5SAndroid Build Coastguard Worker # Simple Chrome. 12*8975f5c5SAndroid Build Coastguard Worker cros_sdk_version = "" 13*8975f5c5SAndroid Build Coastguard Worker} 14*8975f5c5SAndroid Build Coastguard Worker 15*8975f5c5SAndroid Build Coastguard Worker# Ensure that if one is set, the other is as well. 16*8975f5c5SAndroid Build Coastguard Workerassert(cros_board == "" == (cros_sdk_version == "")) 17*8975f5c5SAndroid Build Coastguard Worker 18*8975f5c5SAndroid Build Coastguard Workerdeclare_args() { 19*8975f5c5SAndroid Build Coastguard Worker # Determines if we're building for a Chrome OS device (or VM) and not just 20*8975f5c5SAndroid Build Coastguard Worker # linux-chromeos. NOTE: Most test targets in Chrome expect to run under 21*8975f5c5SAndroid Build Coastguard Worker # linux-chromeos, so some have compile-time asserts that intentionally fail 22*8975f5c5SAndroid Build Coastguard Worker # when this build flag is set. Build and run the tests for linux-chromeos 23*8975f5c5SAndroid Build Coastguard Worker # instead. 24*8975f5c5SAndroid Build Coastguard Worker # https://chromium.googlesource.com/chromium/src/+/main/docs/chromeos_build_instructions.md 25*8975f5c5SAndroid Build Coastguard Worker # https://chromium.googlesource.com/chromiumos/docs/+/main/simple_chrome_workflow.md 26*8975f5c5SAndroid Build Coastguard Worker is_chromeos_device = false 27*8975f5c5SAndroid Build Coastguard Worker 28*8975f5c5SAndroid Build Coastguard Worker # Determines if we run the test in skylab, aka the CrOS labs. 29*8975f5c5SAndroid Build Coastguard Worker is_skylab = false 30*8975f5c5SAndroid Build Coastguard Worker 31*8975f5c5SAndroid Build Coastguard Worker # Determines if we collect hardware information in chrome://system and 32*8975f5c5SAndroid Build Coastguard Worker # feedback logs. A similar build flag "hw_details" is defined in Chrome OS 33*8975f5c5SAndroid Build Coastguard Worker # (see https://crrev.com/c/3123455). 34*8975f5c5SAndroid Build Coastguard Worker is_chromeos_with_hw_details = false 35*8975f5c5SAndroid Build Coastguard Worker 36*8975f5c5SAndroid Build Coastguard Worker # Determines if we're willing to link against libinput 37*8975f5c5SAndroid Build Coastguard Worker use_libinput = false 38*8975f5c5SAndroid Build Coastguard Worker 39*8975f5c5SAndroid Build Coastguard Worker # Refers to the separate branding required for the reven build. 40*8975f5c5SAndroid Build Coastguard Worker is_reven = false 41*8975f5c5SAndroid Build Coastguard Worker 42*8975f5c5SAndroid Build Coastguard Worker # Build Mojo Proxy binary, to be used as a IPCZ <=> Mojo Core translation layer. 43*8975f5c5SAndroid Build Coastguard Worker build_mojo_proxy = false 44*8975f5c5SAndroid Build Coastguard Worker} 45