blob: c4796913135590346436611a94756fc3e3a9e5c7 [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: [
51 "//apex_available:platform",
52 ],
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 {
Inseob Kim1b95f2e2021-08-19 13:17:40 +090089 name: "android.system.virtualmachineservice",
90 srcs: ["android/system/virtualmachineservice/**/*.aidl"],
Shikha Panwar5d6a6752023-12-14 22:08:26 +000091 imports: [
92 "android.hardware.security.secretkeeper-V1",
93 "android.system.virtualizationcommon",
94 ],
Inseob Kim1b95f2e2021-08-19 13:17:40 +090095 unstable: true,
96 backend: {
Nikita Ioffe30b50e62022-11-15 11:27:45 +000097 java: {
Shikha Panwarc63581a2023-12-13 14:43:32 +000098 enabled: false,
Nikita Ioffe30b50e62022-11-15 11:27:45 +000099 },
Inseob Kim1b95f2e2021-08-19 13:17:40 +0900100 rust: {
101 enabled: true,
Alan Stokesb5c60b42021-09-09 14:44:13 +0100102 apex_available: [
103 "com.android.virt",
104 "com.android.compos",
105 ],
Inseob Kim1b95f2e2021-08-19 13:17:40 +0900106 },
107 },
108}
Alan Stokes2bead0d2022-09-05 16:58:34 +0100109
110aidl_interface {
111 name: "android.system.virtualizationcommon",
112 srcs: ["android/system/virtualizationcommon/**/*.aidl"],
113 unstable: true,
114 backend: {
115 java: {
Nikita Ioffe30b50e62022-11-15 11:27:45 +0000116 sdk_version: "module_current",
Jeongik Cha7add2a42024-04-02 14:52:39 +0900117 apex_available: [
118 "com.android.virt",
119 "//apex_available:platform",
120 ],
Alan Stokes2bead0d2022-09-05 16:58:34 +0100121 },
122 ndk: {
123 apex_available: [
124 "com.android.virt",
125 "com.android.compos",
126 ],
127 },
128 rust: {
129 enabled: true,
130 apex_available: [
131 "com.android.virt",
132 "com.android.compos",
133 ],
134 },
135 },
136}