blob: 6d5dae026128c77e3f67f8fc679b5ccb549cf491 [file] [log] [blame]
import("//build/image/image.gni")
group("arch_images") {
testonly = true
deps = [
":hypervisor",
"//test/vm:test_vm($arch_toolchain)",
]
}
group("hypervisor") {
deps = [
":hafnium($arch_toolchain)",
]
}
executable("test") {
testonly = true
sources = [
"test.cpp",
]
}
# Only build the image for the arch
if (current_toolchain == arch_toolchain) {
hypervisor("hafnium") {
deps = [
"//src",
"//src/arch/${arch}",
]
}
}