blob: bca45126249838f976ffa5f0ae7bbfb71110a366 [file] [log] [blame]
Bob Badourbd1037f2021-02-12 15:54:17 -08001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
Andrew Walbranb12a43e2020-11-10 14:22:42 +00005aidl_interface {
Andrew Walbranf6bf6862021-05-21 12:41:13 +00006 name: "android.system.virtualizationservice",
Inseob Kim1b95f2e2021-08-19 13:17:40 +09007 srcs: ["android/system/virtualizationservice/**/*.aidl"],
Alan Stokes2bead0d2022-09-05 16:58:34 +01008 imports: ["android.system.virtualizationcommon"],
Jiyong Parka1267ad2021-07-01 12:55:14 +09009 // This is never accessed directly. Apps are expected to use this indirectly via the Java
10 // wrapper android.system.virtualmachine.
Andrew Walbranb12a43e2020-11-10 14:22:42 +000011 unstable: true,
12 backend: {
13 java: {
14 sdk_version: "module_current",
Jeongik Cha7add2a42024-04-02 14:52:39 +090015 apex_available: [
16 "//apex_available:platform",
17 "com.android.virt",
18 ],
Andrew Walbranb12a43e2020-11-10 14:22:42 +000019 },
20 cpp: {
21 enabled: true,
22 },
Alan Stokes222edd02021-07-21 09:13:36 +010023 ndk: {
24 apex_available: [
Inseob Kimaa41e0a2021-08-31 10:00:42 +090025 "com.android.virt",
Alan Stokes222edd02021-07-21 09:13:36 +010026 "com.android.compos",
27 ],
28 },
Andrew Walbranb12a43e2020-11-10 14:22:42 +000029 rust: {
30 enabled: true,
Alan Stokeseb97d4a2021-08-26 14:24:32 +010031 apex_available: [
32 "com.android.virt",
33 "com.android.compos",
34 ],
Andrew Walbranb12a43e2020-11-10 14:22:42 +000035 },
36 },
37}
Inseob Kim1b95f2e2021-08-19 13:17:40 +090038
39aidl_interface {
David Brazdil528e0472022-10-10 15:06:02 +010040 name: "android.system.virtualizationservice_internal",
41 srcs: ["android/system/virtualizationservice_internal/**/*.aidl"],
David Brazdild4f51a52023-01-11 14:09:27 +000042 imports: [
43 "android.system.virtualizationcommon",
44 "android.system.virtualizationservice",
45 ],
David Brazdil528e0472022-10-10 15:06:02 +010046 unstable: true,
47 backend: {
48 java: {
49 sdk_version: "module_current",
Jeongik Cha7add2a42024-04-02 14:52:39 +090050 apex_available: [
Jeongik Chaca773022024-04-09 17:09:52 +090051 "com.android.virt",
Jeongik Cha7add2a42024-04-02 14:52:39 +090052 ],
David Brazdil528e0472022-10-10 15:06:02 +010053 },
54 rust: {
55 enabled: true,
56 apex_available: [
57 "com.android.virt",
58 ],
59 },
Jeongik Cha7add2a42024-04-02 14:52:39 +090060 ndk: {
61 apex_available: [
62 "com.android.virt",
63 ],
64 },
David Brazdil528e0472022-10-10 15:06:02 +010065 },
66}
67
68aidl_interface {
Alan Stokesea1f0462024-02-19 16:25:47 +000069 name: "android.system.virtualizationmaintenance",
70 srcs: ["android/system/virtualizationmaintenance/**/*.aidl"],
71 unstable: true,
72 backend: {
73 java: {
74 sdk_version: "module_current",
Alan Stokescf198052024-02-20 14:59:02 +000075 apex_available: [
76 "com.android.virt",
77 ],
Alan Stokesea1f0462024-02-19 16:25:47 +000078 },
79 rust: {
80 enabled: true,
81 apex_available: [
82 "com.android.virt",
83 ],
84 },
85 },
86}
87
88aidl_interface {
Seungjae Yoob6e4f1d2024-06-17 15:13:12 +090089 name: "android.system.vmtethering",
90 srcs: ["android/system/vmtethering/**/*.aidl"],
91 unstable: true,
92 backend: {
93 java: {
94 sdk_version: "module_current",
95 apex_available: [
96 "com.android.virt",
97 ],
98 },
99 rust: {
100 enabled: true,
101 apex_available: [
102 "com.android.virt",
103 ],
104 },
105 },
106}
107
108aidl_interface {
Inseob Kim1b95f2e2021-08-19 13:17:40 +0900109 name: "android.system.virtualmachineservice",
110 srcs: ["android/system/virtualmachineservice/**/*.aidl"],
Shikha Panwar5d6a6752023-12-14 22:08:26 +0000111 imports: [
112 "android.hardware.security.secretkeeper-V1",
113 "android.system.virtualizationcommon",
114 ],
Inseob Kim1b95f2e2021-08-19 13:17:40 +0900115 unstable: true,
116 backend: {
Nikita Ioffe30b50e62022-11-15 11:27:45 +0000117 java: {
Shikha Panwarc63581a2023-12-13 14:43:32 +0000118 enabled: false,
Nikita Ioffe30b50e62022-11-15 11:27:45 +0000119 },
Inseob Kim1b95f2e2021-08-19 13:17:40 +0900120 rust: {
121 enabled: true,
Alan Stokesb5c60b42021-09-09 14:44:13 +0100122 apex_available: [
123 "com.android.virt",
124 "com.android.compos",
125 ],
Inseob Kim1b95f2e2021-08-19 13:17:40 +0900126 },
127 },
128}
Alan Stokes2bead0d2022-09-05 16:58:34 +0100129
130aidl_interface {
131 name: "android.system.virtualizationcommon",
132 srcs: ["android/system/virtualizationcommon/**/*.aidl"],
133 unstable: true,
134 backend: {
135 java: {
Nikita Ioffe30b50e62022-11-15 11:27:45 +0000136 sdk_version: "module_current",
Jeongik Cha7add2a42024-04-02 14:52:39 +0900137 apex_available: [
138 "com.android.virt",
139 "//apex_available:platform",
140 ],
Alan Stokes2bead0d2022-09-05 16:58:34 +0100141 },
142 ndk: {
143 apex_available: [
144 "com.android.virt",
145 "com.android.compos",
146 ],
147 },
148 rust: {
149 enabled: true,
150 apex_available: [
151 "com.android.virt",
152 "com.android.compos",
153 ],
154 },
155 },
156}