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