blob: 32edc689a30c37b7b9bf3127703cef86f76883e7 [file] [log] [blame]
# Copyright 2022 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.
import("//build/product.gni")
fastboot_targets = []
if (use_bringup_assembly) {
fastboot_targets += [
{
name = "fastboot-boot-script"
outputs = [ "$root_build_dir/boot.sh" ]
switch = "--fastboot_boot="
deps = [
"//build/images/bringup",
"//build/images/tools:fastboot($host_toolchain)",
]
metadata = {
images = [
{
label = get_label_info(":$name", "label_with_toolchain")
name = name
path = "boot.sh"
type = "script"
},
]
}
},
]
}