blob: ffe062e784988ffd461453f31005c42b7d937b56 [file] [log] [blame]
# Copyright 2024 The Fuchsia 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 file is used to list the names of the GN declare_args() variables
# that need to be exported to Bazel. They will appear as constants in the
# args.bzl file generated by the fuchsia_build_info_repository() rule.
#
# The lint-related comments are important to ensure that the GN files
# where these variables are defined are updated in sync with this file,
# but *also* to generate the content of args.bzl.
#
# The format of each line is simpler: <varname>: <vartype>
# Where <varname> is the GN variable name, and <vartype> is one
# of the following values, describing its type and how the corresponding
# GN value will be mapped to Starlark.
#
# - bool: A boolean flag, mapped to True or False
# - string: A string, mapped to a Starlark string, must not include GN expansions.
# - string_or_false: Either the false boolean value, or a string. Always mapped
# to a Starlark string (false will be mapped to the empty string).
#
# LINT.IfChange
use_vbmeta: bool
# LINT.ThenChange(//build/images/vbmeta.gni)
# LINT.IfChange
authorized_ssh_keys_label: string_or_false
# LINT.ThenChange(//build/assembly/sshd_config.gni)
# LINT.IfChange
delegated_network_provisioning: bool
# LINT.ThenChange(//src/connectivity/policy/netcfg/delegated_network_provisioning.gni)
# LINT.IfChange
build_info_board: string
build_info_product: string
build_info_version: string
# LINT.ThenChange(//build/info/info.gni)
# LINT.IfChange
truncate_build_info_commit_date: bool
# LINT.ThenChange(//build/info/BUILD.gn)