blob: 4c818a369058e966c971271976a2b91f5abf86c0 [file] [log] [blame]
Andrew Sculla158e912018-07-16 11:32:13 +01001import("//build/image/hypervisor.gni")
2
3group("host_tools") {
4 deps = [
5 ":hafnium($arch_toolchain)",
6 ]
7}
8
9executable("test") {
10 sources = [
11 "test.cpp",
12 ]
13}
14
15# Only build the image for the arch
16if (current_toolchain == arch_toolchain) {
17 hypervisor("hafnium") {
18 deps = [
19 "//src",
20 "//src/arch/${arch}",
21 ]
22 }
23}