blob: c0aed3d31ee49092e4ca220a83c43060db0e6c15 [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("//build/assembly/assembly_input_bundle.gni")
import("//build/python/python_action.gni")
import("//build/security.gni")
if (is_fuchsia) {
group("assembly") {
deps = [ "scripts:assembly_input_bundle_tool_install($host_toolchain)" ]
}
python_action("validate_product_defs") {
binary_label = "//build/assembly/scripts:product_def_gn_arg_validator"
outputs = [ "$target_out_dir/$target_name.txt" ]
depfile = outputs[0] + ".d"
args = [
"--output",
rebase_path(outputs[0], root_build_dir),
"--depfile",
rebase_path(depfile, root_build_dir),
"--source-root",
rebase_path("//", root_build_dir),
]
}
}
if (is_host) {
group("host_tests") {
testonly = true
deps = [ "scripts:tests($host_toolchain)" ]
}
}