blob: 7c9c4f7c30fada82d52d9c36fa0ff43bc84c5849 [file] [log] [blame]
Bob Badourbd1037f2021-02-12 15:54:17 -08001package {
Aditya Choudhary53696172024-02-05 15:46:19 +00002 default_team: "trendy_team_virtualization",
Bob Badourbd1037f2021-02-12 15:54:17 -08003 default_applicable_licenses: ["Android-Apache-2.0"],
4}
5
Andrew Walbranb12a43e2020-11-10 14:22:42 +00006aidl_interface {
Andrew Walbranf6bf6862021-05-21 12:41:13 +00007 name: "android.system.virtualizationservice",
Inseob Kim1b95f2e2021-08-19 13:17:40 +09008 srcs: ["android/system/virtualizationservice/**/*.aidl"],
Alan Stokes2bead0d2022-09-05 16:58:34 +01009 imports: ["android.system.virtualizationcommon"],
Jiyong Parka1267ad2021-07-01 12:55:14 +090010 // This is never accessed directly. Apps are expected to use this indirectly via the Java
11 // wrapper android.system.virtualmachine.
Andrew Walbranb12a43e2020-11-10 14:22:42 +000012 unstable: true,
13 backend: {
14 java: {
15 sdk_version: "module_current",
Jiyong Park9b8253b2021-06-28 18:37:26 +090016 apex_available: ["com.android.virt"],
Andrew Walbranb12a43e2020-11-10 14:22:42 +000017 },
18 cpp: {
19 enabled: true,
20 },
Alan Stokes222edd02021-07-21 09:13:36 +010021 ndk: {
22 apex_available: [
Inseob Kimaa41e0a2021-08-31 10:00:42 +090023 "com.android.virt",
Alan Stokes222edd02021-07-21 09:13:36 +010024 "com.android.compos",
25 ],
26 },
Andrew Walbranb12a43e2020-11-10 14:22:42 +000027 rust: {
28 enabled: true,
Alan Stokeseb97d4a2021-08-26 14:24:32 +010029 apex_available: [
30 "com.android.virt",
31 "com.android.compos",
32 ],
Andrew Walbranb12a43e2020-11-10 14:22:42 +000033 },
34 },
35}
Inseob Kim1b95f2e2021-08-19 13:17:40 +090036
37aidl_interface {
David Brazdil528e0472022-10-10 15:06:02 +010038 name: "android.system.virtualizationservice_internal",
39 srcs: ["android/system/virtualizationservice_internal/**/*.aidl"],
David Brazdild4f51a52023-01-11 14:09:27 +000040 imports: [
41 "android.system.virtualizationcommon",
42 "android.system.virtualizationservice",
43 ],
David Brazdil528e0472022-10-10 15:06:02 +010044 unstable: true,
45 backend: {
46 java: {
47 sdk_version: "module_current",
48 },
49 rust: {
50 enabled: true,
51 apex_available: [
52 "com.android.virt",
53 ],
54 },
55 },
56}
57
58aidl_interface {
Inseob Kim1b95f2e2021-08-19 13:17:40 +090059 name: "android.system.virtualmachineservice",
60 srcs: ["android/system/virtualmachineservice/**/*.aidl"],
Shikha Panwar5d6a6752023-12-14 22:08:26 +000061 imports: [
62 "android.hardware.security.secretkeeper-V1",
63 "android.system.virtualizationcommon",
64 ],
Inseob Kim1b95f2e2021-08-19 13:17:40 +090065 unstable: true,
66 backend: {
Nikita Ioffe30b50e62022-11-15 11:27:45 +000067 java: {
Shikha Panwarc63581a2023-12-13 14:43:32 +000068 enabled: false,
Nikita Ioffe30b50e62022-11-15 11:27:45 +000069 },
Inseob Kim1b95f2e2021-08-19 13:17:40 +090070 rust: {
71 enabled: true,
Alan Stokesb5c60b42021-09-09 14:44:13 +010072 apex_available: [
73 "com.android.virt",
74 "com.android.compos",
75 ],
Inseob Kim1b95f2e2021-08-19 13:17:40 +090076 },
77 },
78}
Alan Stokes2bead0d2022-09-05 16:58:34 +010079
80aidl_interface {
81 name: "android.system.virtualizationcommon",
82 srcs: ["android/system/virtualizationcommon/**/*.aidl"],
83 unstable: true,
84 backend: {
85 java: {
Nikita Ioffe30b50e62022-11-15 11:27:45 +000086 sdk_version: "module_current",
Alan Stokes2bead0d2022-09-05 16:58:34 +010087 apex_available: ["com.android.virt"],
88 },
89 ndk: {
90 apex_available: [
91 "com.android.virt",
92 "com.android.compos",
93 ],
94 },
95 rust: {
96 enabled: true,
97 apex_available: [
98 "com.android.virt",
99 "com.android.compos",
100 ],
101 },
102 },
103}