blob: e26ebab9a6fe86975edaa1736510b781326996bf [file] [log] [blame] [edit]
# Copyright 2021 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("fuchsia_package.gni")
# Defines a Fuchsia package that contains binaries or resources to be
# part of the Fuchsia system image (i.e. copied to /system/...).
#
# Parameters:
#
# package_name (optional)
# The name of the package.
# Type: string
# Default: target_name
#
# data_deps
# deps
# testonly
# visibility
template("fuchsia_system_package") {
fuchsia_package(target_name) {
forward_variables_from(invoker,
"*",
[
"allowed_in_extra_deps",
"disable_elf_binaries_check",
"testonly",
"visibility",
])
forward_variables_from(invoker,
[
"testonly",
"visibility",
])
}
}