blob: 581f82d82ede8de81efc83a4af0b487cad70a075 [file] [log] [blame]
# Copyright 2020 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/config/fuchsia/zircon_images.gni")
# Used to include a kernel in zbi's.
group("kernel") {
metadata = {
migrated_zbi_input_args = [
"--type=container",
rebase_path(zircon_kernel_zbi, root_build_dir),
]
}
}
# Targets in this group are added to the list of tests automatically run.
group("tests") {
testonly = true
deps = [
"//zircon/system/core/bootsvc/test:bootsvc-integration-tests",
"//zircon/system/core/bootsvc/test:bootsvc-root-job-test",
"//zircon/system/utest/core:core-tests",
"//zircon/system/utest/mexec:zbi-child-image",
"//zircon/system/utest/mexec:zbi-parent-image",
]
if (current_cpu == "x64") {
deps += [ "//zircon/system/utest/core:core-tests-hpet" ]
}
}
# Targets in this group are always built.
# This is mostly to ensure tests that haven't yet been migrated are in sync with
# their ZN counterparts.
group("zbi") {
testonly = true
deps = [ ":tests" ]
}