blob: e82a322c294eb43ecbd4d4a72c002758d177218b [file] [log] [blame]
Jiyong Park7fb4b182019-12-20 14:35:43 +09001// Copyright (C) 2019 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15// How stubs are generated:
16//
17// raw source files --(metalava)--> stub source files --(javac)--> stub jar files
18//
Anton Hansson2feb3f12020-11-13 11:44:32 +000019// - The metalava conversion is done by droidstub modules
20// - The javac compilation is done by java_library modules
21//
Jiyong Park7fb4b182019-12-20 14:35:43 +090022// The metalava conversion is also responsible for creating API signature files
Anton Hansson2feb3f12020-11-13 11:44:32 +000023// and comparing them against the checked in API signature, and also checking compatibility
24// with the latest frozen API signature.
Jiyong Park7fb4b182019-12-20 14:35:43 +090025
26/////////////////////////////////////////////////////////////////////
27// Common metalava configs
28/////////////////////////////////////////////////////////////////////
29
Jiyong Park7fb4b182019-12-20 14:35:43 +090030stubs_defaults {
Anton Hansson2feb3f12020-11-13 11:44:32 +000031 name: "metalava-non-updatable-api-stubs-default",
Anton Hansson867f94c2021-05-05 10:32:31 +010032 defaults: ["android-non-updatable-stubs-defaults"],
Aurimas Liutikas94bac9c2020-03-12 17:06:12 -070033 api_levels_annotations_enabled: false,
Anton Hansson86925682021-04-14 14:54:43 +010034 defaults_visibility: ["//visibility:private"],
Jiyong Park7fb4b182019-12-20 14:35:43 +090035}
36
37/////////////////////////////////////////////////////////////////////
Anton Hansson51861e72020-11-13 09:55:29 +000038// These modules provide source files for the stub libraries
Jiyong Park7fb4b182019-12-20 14:35:43 +090039/////////////////////////////////////////////////////////////////////
40
Anton Hansson76d3db42020-04-09 14:16:37 +010041droidstubs {
42 name: "api-stubs-docs-non-updatable",
43 defaults: ["metalava-non-updatable-api-stubs-default"],
Anton Hansson76d3db42020-04-09 14:16:37 +010044 args: metalava_framework_docs_args,
45 check_api: {
46 current: {
Anton Hansson6cbaff22020-10-29 15:28:19 +000047 api_file: "core/api/current.txt",
48 removed_api_file: "core/api/removed.txt",
Anton Hansson76d3db42020-04-09 14:16:37 +010049 },
Anton Hansson37e102e2020-10-05 16:42:40 +010050 last_released: {
51 api_file: ":android-non-updatable.api.public.latest",
52 removed_api_file: ":android-non-updatable-removed.api.public.latest",
Anton Hansson7f3393d2021-04-12 11:56:53 +010053 baseline_file: ":android-non-updatable-incompatibilities.api.public.latest",
Anton Hansson37e102e2020-10-05 16:42:40 +010054 },
Anton Hansson76d3db42020-04-09 14:16:37 +010055 api_lint: {
56 enabled: true,
Anton Hansson4f90aa52021-06-04 22:23:59 +010057 new_since: ":android.api.public.latest",
Anton Hansson76d3db42020-04-09 14:16:37 +010058 },
59 },
Anton Hansson85785fe2021-01-20 20:23:34 +000060 dists: [
61 {
Anton Hansson240ee482021-04-14 12:52:00 +010062 targets: [
63 "sdk",
64 "win_sdk",
65 ],
Anton Hansson85785fe2021-01-20 20:23:34 +000066 dir: "apistubs/android/public/api",
67 dest: "android-non-updatable.txt",
68 tag: ".api.txt",
69 },
70 {
Anton Hansson240ee482021-04-14 12:52:00 +010071 targets: [
72 "sdk",
73 "win_sdk",
74 ],
Anton Hansson85785fe2021-01-20 20:23:34 +000075 dir: "apistubs/android/public/api",
76 dest: "android-non-updatable-removed.txt",
77 tag: ".removed-api.txt",
78 },
79 ],
Anton Hansson76d3db42020-04-09 14:16:37 +010080}
81
Anton Hansson240ee482021-04-14 12:52:00 +010082priv_apps = " --show-annotation android.annotation.SystemApi\\(" +
83 "client=android.annotation.SystemApi.Client.PRIVILEGED_APPS" +
Anton Hansson2feb3f12020-11-13 11:44:32 +000084 "\\)"
85
Anton Hansson240ee482021-04-14 12:52:00 +010086priv_apps_in_stubs = " --show-for-stub-purposes-annotation android.annotation.SystemApi\\(" +
87 "client=android.annotation.SystemApi.Client.PRIVILEGED_APPS" +
Anton Hansson2feb3f12020-11-13 11:44:32 +000088 "\\)"
89
90test = " --show-annotation android.annotation.TestApi"
91
Anton Hansson240ee482021-04-14 12:52:00 +010092module_libs = " --show-annotation android.annotation.SystemApi\\(" +
93 "client=android.annotation.SystemApi.Client.MODULE_LIBRARIES" +
Anton Hansson2feb3f12020-11-13 11:44:32 +000094 "\\)"
Anton Hansson81969c22020-02-03 20:45:56 +000095
Jiyong Park7fb4b182019-12-20 14:35:43 +090096droidstubs {
Anton Hansson76d3db42020-04-09 14:16:37 +010097 name: "system-api-stubs-docs-non-updatable",
98 defaults: ["metalava-non-updatable-api-stubs-default"],
Anton Hansson76d3db42020-04-09 14:16:37 +010099 args: metalava_framework_docs_args + priv_apps,
100 check_api: {
101 current: {
Anton Hansson6cbaff22020-10-29 15:28:19 +0000102 api_file: "core/api/system-current.txt",
103 removed_api_file: "core/api/system-removed.txt",
Anton Hansson76d3db42020-04-09 14:16:37 +0100104 },
Anton Hansson37e102e2020-10-05 16:42:40 +0100105 last_released: {
106 api_file: ":android-non-updatable.api.system.latest",
107 removed_api_file: ":android-non-updatable-removed.api.system.latest",
Anton Hansson240ee482021-04-14 12:52:00 +0100108 baseline_file: ":android-non-updatable-incompatibilities.api.system.latest",
Anton Hansson37e102e2020-10-05 16:42:40 +0100109 },
Anton Hansson76d3db42020-04-09 14:16:37 +0100110 api_lint: {
111 enabled: true,
Anton Hansson4f90aa52021-06-04 22:23:59 +0100112 new_since: ":android.api.system.latest",
Anton Hansson6cbaff22020-10-29 15:28:19 +0000113 baseline_file: "core/api/system-lint-baseline.txt",
Anton Hansson76d3db42020-04-09 14:16:37 +0100114 },
115 },
Anton Hansson85785fe2021-01-20 20:23:34 +0000116 dists: [
117 {
Anton Hansson240ee482021-04-14 12:52:00 +0100118 targets: [
119 "sdk",
120 "win_sdk",
121 ],
Anton Hansson85785fe2021-01-20 20:23:34 +0000122 dir: "apistubs/android/system/api",
123 dest: "android-non-updatable.txt",
124 tag: ".api.txt",
125 },
126 {
Anton Hansson240ee482021-04-14 12:52:00 +0100127 targets: [
128 "sdk",
129 "win_sdk",
130 ],
Anton Hansson85785fe2021-01-20 20:23:34 +0000131 dir: "apistubs/android/system/api",
132 dest: "android-non-updatable-removed.txt",
133 tag: ".removed-api.txt",
134 },
135 ],
Anton Hansson76d3db42020-04-09 14:16:37 +0100136}
137
138droidstubs {
Anton Hansson022aac52020-11-05 10:45:13 +0000139 name: "test-api-stubs-docs-non-updatable",
Anton Hansson7ce31c12020-10-15 18:38:49 +0100140 defaults: ["metalava-non-updatable-api-stubs-default"],
Anton Hansson2feb3f12020-11-13 11:44:32 +0000141 args: metalava_framework_docs_args + test + priv_apps_in_stubs,
Jiyong Park7fb4b182019-12-20 14:35:43 +0900142 check_api: {
143 current: {
Anton Hansson022aac52020-11-05 10:45:13 +0000144 api_file: "core/api/test-current.txt",
145 removed_api_file: "core/api/test-removed.txt",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900146 },
147 api_lint: {
148 enabled: true,
Anton Hansson022aac52020-11-05 10:45:13 +0000149 baseline_file: "core/api/test-lint-baseline.txt",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900150 },
151 },
Anton Hansson85785fe2021-01-20 20:23:34 +0000152 dists: [
153 {
Anton Hansson240ee482021-04-14 12:52:00 +0100154 targets: [
155 "sdk",
156 "win_sdk",
157 ],
Anton Hansson85785fe2021-01-20 20:23:34 +0000158 dir: "apistubs/android/test/api",
159 dest: "android.txt",
160 tag: ".api.txt",
161 },
162 {
Anton Hansson240ee482021-04-14 12:52:00 +0100163 targets: [
164 "sdk",
165 "win_sdk",
166 ],
Anton Hansson85785fe2021-01-20 20:23:34 +0000167 dir: "apistubs/android/test/api",
168 dest: "removed.txt",
169 tag: ".removed-api.txt",
170 },
171 {
Anton Hansson240ee482021-04-14 12:52:00 +0100172 targets: [
173 "sdk",
174 "win_sdk",
175 ],
Anton Hansson85785fe2021-01-20 20:23:34 +0000176 dir: "apistubs/android/test/api",
177 dest: "android-non-updatable.txt",
178 tag: ".api.txt",
179 },
180 {
Anton Hansson240ee482021-04-14 12:52:00 +0100181 targets: [
182 "sdk",
183 "win_sdk",
184 ],
Anton Hansson85785fe2021-01-20 20:23:34 +0000185 dir: "apistubs/android/test/api",
186 dest: "android-non-updatable-removed.txt",
187 tag: ".removed-api.txt",
188 },
189 ],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900190}
191
Jiyong Parke3095162019-12-20 15:30:28 +0900192droidstubs {
Anton Hansson76d3db42020-04-09 14:16:37 +0100193 name: "module-lib-api-stubs-docs-non-updatable",
194 defaults: ["metalava-non-updatable-api-stubs-default"],
Anton Hansson2feb3f12020-11-13 11:44:32 +0000195 args: metalava_framework_docs_args + priv_apps_in_stubs + module_libs,
Anton Hansson76d3db42020-04-09 14:16:37 +0100196 check_api: {
197 current: {
Anton Hansson6cbaff22020-10-29 15:28:19 +0000198 api_file: "core/api/module-lib-current.txt",
199 removed_api_file: "core/api/module-lib-removed.txt",
Anton Hansson76d3db42020-04-09 14:16:37 +0100200 },
Anton Hanssonc3ef1f562020-10-07 14:55:36 +0100201 last_released: {
202 api_file: ":android-non-updatable.api.module-lib.latest",
203 removed_api_file: ":android-non-updatable-removed.api.module-lib.latest",
204 },
Anton Hansson76d3db42020-04-09 14:16:37 +0100205 api_lint: {
206 enabled: true,
Anton Hansson4f90aa52021-06-04 22:23:59 +0100207 new_since: ":android.api.module-lib.latest",
Anton Hansson76d3db42020-04-09 14:16:37 +0100208 },
209 },
Anton Hansson85785fe2021-01-20 20:23:34 +0000210 dists: [
211 {
Anton Hansson240ee482021-04-14 12:52:00 +0100212 targets: [
213 "sdk",
214 "win_sdk",
215 ],
Anton Hansson85785fe2021-01-20 20:23:34 +0000216 dir: "apistubs/android/module-lib/api",
217 dest: "android-non-updatable.txt",
218 tag: ".api.txt",
219 },
220 {
Anton Hansson240ee482021-04-14 12:52:00 +0100221 targets: [
222 "sdk",
223 "win_sdk",
224 ],
Anton Hansson85785fe2021-01-20 20:23:34 +0000225 dir: "apistubs/android/module-lib/api",
226 dest: "android-non-updatable-removed.txt",
227 tag: ".removed-api.txt",
228 },
229 ],
Anton Hansson76d3db42020-04-09 14:16:37 +0100230}
Anton Hansson81969c22020-02-03 20:45:56 +0000231
Jiyong Parke3095162019-12-20 15:30:28 +0900232/////////////////////////////////////////////////////////////////////
Jiyong Park7fb4b182019-12-20 14:35:43 +0900233// android_*_stubs_current modules are the stubs libraries compiled
Anton Hansson2feb3f12020-11-13 11:44:32 +0000234// from stub sources
Jiyong Park7fb4b182019-12-20 14:35:43 +0900235/////////////////////////////////////////////////////////////////////
236
Anton Hansson33b9b852021-04-09 10:12:45 +0100237modules_public_stubs = [
238 "android.net.ipsec.ike.stubs",
239 "art.module.public.api.stubs",
240 "conscrypt.module.public.api.stubs",
241 "framework-appsearch.stubs",
242 "framework-connectivity.stubs",
243 "framework-graphics.stubs",
244 "framework-media.stubs",
245 "framework-mediaprovider.stubs",
246 "framework-permission.stubs",
247 "framework-permission-s.stubs",
248 "framework-scheduling.stubs",
249 "framework-sdkextensions.stubs",
250 "framework-statsd.stubs",
251 "framework-tethering.stubs",
252 "framework-wifi.stubs",
253 "i18n.module.public.api.stubs",
254]
255
256modules_system_stubs = [
257 "android.net.ipsec.ike.stubs.system",
Victor Chang9f5cdff2021-05-12 10:47:16 +0100258 "art.module.public.api.stubs.system",
Anton Hansson33b9b852021-04-09 10:12:45 +0100259 "conscrypt.module.public.api.stubs", // Only has public stubs
260 "framework-appsearch.stubs.system",
261 "framework-connectivity.stubs.system",
262 "framework-graphics.stubs.system",
263 "framework-media.stubs.system",
264 "framework-mediaprovider.stubs.system",
265 "framework-permission.stubs.system",
266 "framework-permission-s.stubs.system",
267 "framework-scheduling.stubs.system",
268 "framework-sdkextensions.stubs.system",
269 "framework-statsd.stubs.system",
270 "framework-tethering.stubs.system",
271 "framework-wifi.stubs.system",
272 "i18n.module.public.api.stubs", // Only has public stubs
273]
274
Jiyong Park7fb4b182019-12-20 14:35:43 +0900275java_defaults {
Anton Hanssona4748cd2021-04-09 10:16:19 +0100276 name: "android-non-updatable_defaults_stubs_current",
277 libs: ["stub-annotations"],
278 static_libs: ["framework-res-package-jar"], // Export package of framework-res
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100279 sdk_version: "none",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900280 system_modules: "none",
281 java_version: "1.8",
282 compile_dex: true,
Anton Hanssona4108912021-04-09 13:40:11 +0100283 dist: {
Anton Hansson240ee482021-04-14 12:52:00 +0100284 targets: [
285 "sdk",
286 "win_sdk",
287 ],
Anton Hanssona4108912021-04-09 13:40:11 +0100288 tag: ".jar",
289 dest: "android-non-updatable.jar",
Anton Hansson240ee482021-04-14 12:52:00 +0100290 },
Anton Hansson86925682021-04-14 14:54:43 +0100291 defaults_visibility: ["//visibility:private"],
292 visibility: ["//visibility:private"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900293}
294
Anton Hanssonbbdd64b2021-04-26 18:47:39 +0100295java_library {
Anton Hanssona4748cd2021-04-09 10:16:19 +0100296 name: "android-non-updatable.stubs",
297 defaults: ["android-non-updatable_defaults_stubs_current"],
298 srcs: [":api-stubs-docs-non-updatable"],
299 libs: modules_public_stubs,
Anton Hanssona4108912021-04-09 13:40:11 +0100300 dist: {
301 dir: "apistubs/android/public",
302 },
Anton Hanssona4748cd2021-04-09 10:16:19 +0100303}
304
Anton Hanssonbbdd64b2021-04-26 18:47:39 +0100305java_library {
Anton Hanssona4748cd2021-04-09 10:16:19 +0100306 name: "android-non-updatable.stubs.system",
307 defaults: ["android-non-updatable_defaults_stubs_current"],
Anton Hansson240ee482021-04-14 12:52:00 +0100308 srcs: [":system-api-stubs-docs-non-updatable"],
Anton Hanssona4748cd2021-04-09 10:16:19 +0100309 libs: modules_system_stubs,
Anton Hanssona4108912021-04-09 13:40:11 +0100310 dist: {
311 dir: "apistubs/android/system",
312 },
Anton Hanssona4748cd2021-04-09 10:16:19 +0100313}
314
Anton Hanssonbbdd64b2021-04-26 18:47:39 +0100315java_library {
Anton Hanssona4748cd2021-04-09 10:16:19 +0100316 name: "android-non-updatable.stubs.module_lib",
317 defaults: ["android-non-updatable_defaults_stubs_current"],
318 srcs: [":module-lib-api-stubs-docs-non-updatable"],
319 libs: [
320 "sdk_system_current_android",
321 // NOTE: The below can be removed once the prebuilt stub contains IKE.
322 "sdk_system_current_android.net.ipsec.ike",
323 ],
Anton Hanssona4108912021-04-09 13:40:11 +0100324 dist: {
325 dir: "apistubs/android/module-lib",
326 },
Anton Hanssona4748cd2021-04-09 10:16:19 +0100327}
328
Anton Hanssonbbdd64b2021-04-26 18:47:39 +0100329java_library {
Anton Hanssona4748cd2021-04-09 10:16:19 +0100330 name: "android-non-updatable.stubs.test",
331 defaults: ["android-non-updatable_defaults_stubs_current"],
332 srcs: [":test-api-stubs-docs-non-updatable"],
333 libs: modules_system_stubs,
Anton Hanssona4108912021-04-09 13:40:11 +0100334 dist: {
335 dir: "apistubs/android/test",
336 },
Anton Hanssona4748cd2021-04-09 10:16:19 +0100337}
338
339java_defaults {
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000340 name: "android_stubs_dists_default",
341 dist: {
Anton Hansson240ee482021-04-14 12:52:00 +0100342 targets: [
343 "sdk",
344 "win_sdk",
345 ],
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000346 tag: ".jar",
347 dest: "android.jar",
348 },
Anton Hansson86925682021-04-14 14:54:43 +0100349 defaults_visibility: ["//frameworks/base/services"],
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000350}
351
Anton Hanssonbbdd64b2021-04-26 18:47:39 +0100352java_library {
Anton Hansson65aa6ea2020-11-03 19:35:56 +0000353 name: "android_stubs_current",
Anton Hansson33b9b852021-04-09 10:12:45 +0100354 static_libs: modules_public_stubs + [
Anton Hanssona4748cd2021-04-09 10:16:19 +0100355 "android-non-updatable.stubs",
Anton Hanssonbf63f942020-05-20 12:06:23 +0100356 "private-stub-annotations-jar",
Anton Hansson76d3db42020-04-09 14:16:37 +0100357 ],
Anton Hansson65057af2021-04-14 18:52:08 +0100358 defaults: ["android.jar_defaults"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900359}
360
Anton Hanssonbbdd64b2021-04-26 18:47:39 +0100361java_library {
Anton Hansson65aa6ea2020-11-03 19:35:56 +0000362 name: "android_system_stubs_current",
Anton Hansson33b9b852021-04-09 10:12:45 +0100363 static_libs: modules_system_stubs + [
Anton Hanssona4748cd2021-04-09 10:16:19 +0100364 "android-non-updatable.stubs.system",
Anton Hanssonbf63f942020-05-20 12:06:23 +0100365 "private-stub-annotations-jar",
Anton Hansson76d3db42020-04-09 14:16:37 +0100366 ],
Anton Hanssonc3002e52020-11-18 18:23:55 +0000367 defaults: [
Anton Hansson65057af2021-04-14 18:52:08 +0100368 "android.jar_defaults",
Anton Hanssonc3002e52020-11-18 18:23:55 +0000369 "android_stubs_dists_default",
370 ],
371 dist: {
372 dir: "apistubs/android/system",
373 },
374 dists: [
375 {
376 // Legacy dist path
Anton Hansson240ee482021-04-14 12:52:00 +0100377 targets: [
378 "sdk",
379 "win_sdk",
380 ],
Anton Hanssonc3002e52020-11-18 18:23:55 +0000381 tag: ".jar",
382 dest: "android_system.jar",
383 },
384 ],
Anton Hansson76d3db42020-04-09 14:16:37 +0100385}
386
Anton Hanssonbbdd64b2021-04-26 18:47:39 +0100387java_library {
Jiyong Park7fb4b182019-12-20 14:35:43 +0900388 name: "android_test_stubs_current",
Anton Hansson33b9b852021-04-09 10:12:45 +0100389 // Modules do not have test APIs, but we want to include their SystemApis, like we include
390 // the SystemApi of framework-non-updatable-sources.
391 static_libs: modules_system_stubs + [
Anton Hanssona4748cd2021-04-09 10:16:19 +0100392 "android-non-updatable.stubs.test",
Anton Hansson7ce31c12020-10-15 18:38:49 +0100393 "private-stub-annotations-jar",
394 ],
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000395 defaults: [
Anton Hansson65057af2021-04-14 18:52:08 +0100396 "android.jar_defaults",
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000397 "android_stubs_dists_default",
398 ],
399 dist: {
400 dir: "apistubs/android/test",
401 },
Jiyong Parke3095162019-12-20 15:30:28 +0900402}
403
Anton Hanssonbbdd64b2021-04-26 18:47:39 +0100404java_library {
Anton Hansson1b9cf092020-01-30 12:09:02 +0000405 name: "android_module_lib_stubs_current",
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000406 defaults: [
Anton Hansson65057af2021-04-14 18:52:08 +0100407 "android.jar_defaults",
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000408 "android_stubs_dists_default",
409 ],
Anton Hanssona4748cd2021-04-09 10:16:19 +0100410 static_libs: [
411 "android-non-updatable.stubs.module_lib",
412 "art.module.public.api.stubs",
Anton Hanssonb7d532e2021-02-05 11:40:25 +0000413 ],
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000414 dist: {
415 dir: "apistubs/android/module-lib",
416 },
Jiyong Park7fb4b182019-12-20 14:35:43 +0900417}
418
Andrei Oneafaa271a2021-03-17 13:32:51 +0000419java_library {
420 name: "android_system_server_stubs_current",
421 defaults: ["android_stubs_dists_default"],
422 srcs: [":services-non-updatable-stubs"],
423 installable: false,
424 static_libs: [
425 "android_module_lib_stubs_current",
426 ],
427 sdk_version: "none",
428 system_modules: "none",
429 java_version: "1.8",
430 dist: {
431 dir: "apistubs/android/system-server",
432 },
433}
434
Jiyong Park7fb4b182019-12-20 14:35:43 +0900435/////////////////////////////////////////////////////////////////////
436// hwbinder.stubs provides APIs required for building HIDL Java
437// libraries.
438/////////////////////////////////////////////////////////////////////
439
440droidstubs {
441 name: "hwbinder-stubs-docs",
442 srcs: [
443 "core/java/android/os/HidlSupport.java",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900444 "core/java/android/os/HidlMemory.java",
445 "core/java/android/os/HwBinder.java",
446 "core/java/android/os/HwBlob.java",
447 "core/java/android/os/HwParcel.java",
448 "core/java/android/os/IHwBinder.java",
449 "core/java/android/os/IHwInterface.java",
450 "core/java/android/os/DeadObjectException.java",
451 "core/java/android/os/DeadSystemException.java",
452 "core/java/android/os/NativeHandle.java",
453 "core/java/android/os/RemoteException.java",
454 "core/java/android/util/AndroidException.java",
455 ],
Colin Cross037d7fb2021-03-25 17:01:55 -0700456 libs: ["framework-annotations-lib"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900457 installable: false,
458 sdk_version: "core_platform",
459 annotations_enabled: true,
Anton Hansson48ee95e2020-05-02 17:49:26 +0100460 previous_api: ":android.api.public.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900461 merge_annotations_dirs: [
462 "metalava-manual",
463 ],
Anton Hansson81969c22020-02-03 20:45:56 +0000464 args: priv_apps,
Anton Hansson86925682021-04-14 14:54:43 +0100465 visibility: ["//visibility:private"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900466}
467
Anton Hanssonbbdd64b2021-04-26 18:47:39 +0100468java_library {
Jiyong Park7fb4b182019-12-20 14:35:43 +0900469 name: "hwbinder.stubs",
470 sdk_version: "core_current",
Colin Cross037d7fb2021-03-25 17:01:55 -0700471 libs: ["framework-annotations-lib"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900472 srcs: [
473 ":hwbinder-stubs-docs",
474 ],
Anton Hansson86925682021-04-14 14:54:43 +0100475 visibility: ["//visibility:public"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900476}