blob: cef1259a3c405dd98bec91d50290472ae09f6534 [file] [log] [blame]
Andrew Scullaf5e53e2018-07-23 19:19:46 +01001import("//build/image/image.gni")
Andrew Sculla158e912018-07-16 11:32:13 +01002
Andrew Sculla5e91632018-07-30 15:21:34 +01003group("arch_images") {
Andrew Scullaf5e53e2018-07-23 19:19:46 +01004 testonly = true
5
6 deps = [
7 ":hypervisor",
Andrew Scullf35a5c92018-08-07 18:09:46 +01008 "//test/vm/primary_only:primary_only_test($arch_toolchain)",
9 "//test/vm/primary_with_secondary:primary_with_secondary_test($arch_toolchain)",
Andrew Scullaf5e53e2018-07-23 19:19:46 +010010 ]
11}
12
13group("hypervisor") {
Andrew Sculla158e912018-07-16 11:32:13 +010014 deps = [
15 ":hafnium($arch_toolchain)",
16 ]
17}
18
Andrew Sculla158e912018-07-16 11:32:13 +010019# Only build the image for the arch
20if (current_toolchain == arch_toolchain) {
21 hypervisor("hafnium") {
22 deps = [
23 "//src",
24 "//src/arch/${arch}",
25 ]
26 }
27}