blob: 6316c4a6f19fb1b36501a4881edf5133b367bd3a [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 Hansson1c58ffc2020-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 Hansson1c58ffc2020-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
30packages_to_document = [
31 "android",
32 "dalvik",
33 "java",
34 "javax",
35 "junit",
36 "org.apache.http",
37 "org.json",
38 "org.w3c.dom",
39 "org.xml.sax",
40 "org.xmlpull",
41]
42
43stubs_defaults {
Anton Hansson1c58ffc2020-11-13 11:44:32 +000044 name: "metalava-non-updatable-api-stubs-default",
Jiyong Park7fb4b182019-12-20 14:35:43 +090045 srcs: [
46 ":framework-non-updatable-sources",
Jiyong Park7fb4b182019-12-20 14:35:43 +090047 "core/java/**/*.logtags",
48 ":opt-telephony-srcs",
49 ":opt-net-voip-srcs",
Ramy Medhataaa83862020-05-04 05:54:30 -040050 "**/package.html",
Jiyong Park7fb4b182019-12-20 14:35:43 +090051 ],
Anton Hansson121ccbc2020-12-17 14:56:06 +000052 sdk_version: "none",
53 system_modules: "none",
54 java_version: "1.8",
Anton Hansson1c58ffc2020-11-13 11:44:32 +000055 arg_files: ["core/res/AndroidManifest.xml"],
Chen Xu546ce5e2020-01-10 08:38:31 -080056 // TODO(b/147699819): remove below aidl includes.
57 aidl: {
Anton Hansson1c58ffc2020-11-13 11:44:32 +000058 local_include_dirs: [
59 "apex/media/aidl/stable",
Remi NGUYEN VANc15d99e2021-01-28 13:37:03 +090060 // TODO: move to include-dirs for packages/modules/Connectivity when this moves out of
61 // frameworks/base
62 "packages/Connectivity/framework/aidl-export",
Anton Hansson1c58ffc2020-11-13 11:44:32 +000063 "telephony/java",
64 ],
Chen Xu546ce5e2020-01-10 08:38:31 -080065 },
Jiyong Parkc0f8a282020-09-29 13:43:00 +090066 // These are libs from framework-internal-utils that are required (i.e. being referenced)
67 // from framework-non-updatable-sources. Add more here when there's a need.
68 // DO NOT add the entire framework-internal-utils. It might cause unnecessary circular
69 // dependencies gets bigger.
70 libs: [
71 "android.hardware.cas-V1.2-java",
72 "android.hardware.health-V1.0-java-constants",
73 "android.hardware.radio-V1.5-java",
Jayachandran C0f14f812020-08-10 10:58:23 -070074 "android.hardware.radio-V1.6-java",
Jiyong Parkc0f8a282020-09-29 13:43:00 +090075 "android.hardware.thermal-V1.0-java-constants",
76 "android.hardware.thermal-V2.0-java",
77 "android.hardware.tv.input-V1.0-java-constants",
78 "android.hardware.tv.tuner-V1.0-java-constants",
79 "android.hardware.usb-V1.0-java-constants",
80 "android.hardware.usb-V1.1-java-constants",
81 "android.hardware.usb.gadget-V1.0-java",
82 "android.hardware.vibrator-V1.3-java",
83 "framework-protos",
Anton Hansson121ccbc2020-12-17 14:56:06 +000084 "stable.core.platform.api.stubs",
Anton Hanssonce21e282021-02-05 11:38:30 +000085 // There are a few classes from modules used by the core that
86 // need to be resolved by metalava. We use a prebuilt stub of the
87 // full sdk to ensure we can resolve them. If a new class gets added,
88 // the prebuilts/sdk/current needs to be updated.
89 "sdk_system_current_android",
Anton Hanssonb7d532e2021-02-05 11:40:25 +000090 // NOTE: The below can be removed once the prebuilt stub contains IKE.
91 "sdk_system_current_android.net.ipsec.ike",
Jiyong Parkc0f8a282020-09-29 13:43:00 +090092 ],
Anton Hansson35146892020-10-26 10:27:57 +000093 high_mem: true, // Lots of sources => high memory use, see b/170701554
Jiyong Park7fb4b182019-12-20 14:35:43 +090094 installable: false,
95 annotations_enabled: true,
Anton Hanssonf68ddea2020-05-02 17:49:26 +010096 previous_api: ":android.api.public.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +090097 merge_annotations_dirs: [
98 "metalava-manual",
99 ],
Aurimas Liutikas94bac9c2020-03-12 17:06:12 -0700100 api_levels_annotations_enabled: false,
Jiyong Park7fb4b182019-12-20 14:35:43 +0900101 filter_packages: packages_to_document,
102}
103
104/////////////////////////////////////////////////////////////////////
Anton Hansson51861e72020-11-13 09:55:29 +0000105// These modules provide source files for the stub libraries
Jiyong Park7fb4b182019-12-20 14:35:43 +0900106/////////////////////////////////////////////////////////////////////
107
Anton Hansson7f6823e2020-06-04 15:09:36 +0100108droidstubs {
109 name: "api-stubs-docs-non-updatable",
110 defaults: ["metalava-non-updatable-api-stubs-default"],
Anton Hansson7f6823e2020-06-04 15:09:36 +0100111 args: metalava_framework_docs_args,
112 check_api: {
113 current: {
Anton Hansson7bfceb82020-10-29 18:59:10 +0000114 api_file: "core/api/current.txt",
115 removed_api_file: "core/api/removed.txt",
Anton Hansson7f6823e2020-06-04 15:09:36 +0100116 },
Anton Hansson3258a472020-10-05 16:23:27 +0100117 last_released: {
118 api_file: ":android-non-updatable.api.public.latest",
119 removed_api_file: ":android-non-updatable-removed.api.public.latest",
Anton Hanssonce556232021-01-22 16:40:06 +0000120 baseline_file: ":android-incompatibilities.api.public.latest",
Anton Hansson3258a472020-10-05 16:23:27 +0100121 },
Anton Hansson33ea9992020-04-09 14:16:37 +0100122 api_lint: {
123 enabled: true,
124 new_since: ":android-non-updatable.api.public.latest",
125 },
Anton Hansson7f6823e2020-06-04 15:09:36 +0100126 },
Anton Hansson85785fe2021-01-20 20:23:34 +0000127 dists: [
128 {
129 targets: ["sdk", "win_sdk"],
130 dir: "apistubs/android/public/api",
131 dest: "android-non-updatable.txt",
132 tag: ".api.txt",
133 },
134 {
135 targets: ["sdk", "win_sdk"],
136 dir: "apistubs/android/public/api",
137 dest: "android-non-updatable-removed.txt",
138 tag: ".removed-api.txt",
139 },
140 ],
Anton Hansson7f6823e2020-06-04 15:09:36 +0100141}
142
Anton Hansson1c58ffc2020-11-13 11:44:32 +0000143priv_apps =
Anton Hansson81969c22020-02-03 20:45:56 +0000144 " --show-annotation android.annotation.SystemApi\\(" +
Anton Hansson1c58ffc2020-11-13 11:44:32 +0000145 "client=android.annotation.SystemApi.Client.PRIVILEGED_APPS" +
146 "\\)"
147
148priv_apps_in_stubs =
Makoto Onukia13287f2020-07-10 12:05:21 -0700149 " --show-for-stub-purposes-annotation android.annotation.SystemApi\\(" +
150 "client=android.annotation.SystemApi.Client.PRIVILEGED_APPS" +
Anton Hansson1c58ffc2020-11-13 11:44:32 +0000151 "\\)"
152
153test = " --show-annotation android.annotation.TestApi"
154
155module_libs =
156 " --show-annotation android.annotation.SystemApi\\(" +
157 "client=android.annotation.SystemApi.Client.MODULE_LIBRARIES" +
158 "\\)"
Anton Hansson81969c22020-02-03 20:45:56 +0000159
Jiyong Park7fb4b182019-12-20 14:35:43 +0900160droidstubs {
Anton Hansson7f6823e2020-06-04 15:09:36 +0100161 name: "system-api-stubs-docs-non-updatable",
162 defaults: ["metalava-non-updatable-api-stubs-default"],
Anton Hansson7f6823e2020-06-04 15:09:36 +0100163 args: metalava_framework_docs_args + priv_apps,
164 check_api: {
165 current: {
Anton Hansson7bfceb82020-10-29 18:59:10 +0000166 api_file: "core/api/system-current.txt",
167 removed_api_file: "core/api/system-removed.txt",
Anton Hansson7f6823e2020-06-04 15:09:36 +0100168 },
Anton Hansson3258a472020-10-05 16:23:27 +0100169 last_released: {
170 api_file: ":android-non-updatable.api.system.latest",
171 removed_api_file: ":android-non-updatable-removed.api.system.latest",
Anton Hanssonce556232021-01-22 16:40:06 +0000172 baseline_file: ":android-incompatibilities.api.system.latest"
Anton Hansson3258a472020-10-05 16:23:27 +0100173 },
Anton Hansson33ea9992020-04-09 14:16:37 +0100174 api_lint: {
175 enabled: true,
176 new_since: ":android-non-updatable.api.system.latest",
Anton Hansson7bfceb82020-10-29 18:59:10 +0000177 baseline_file: "core/api/system-lint-baseline.txt",
Anton Hansson33ea9992020-04-09 14:16:37 +0100178 },
Anton Hansson7f6823e2020-06-04 15:09:36 +0100179 },
Anton Hansson85785fe2021-01-20 20:23:34 +0000180 dists: [
181 {
182 targets: ["sdk", "win_sdk"],
183 dir: "apistubs/android/system/api",
184 dest: "android-non-updatable.txt",
185 tag: ".api.txt",
186 },
187 {
188 targets: ["sdk", "win_sdk"],
189 dir: "apistubs/android/system/api",
190 dest: "android-non-updatable-removed.txt",
191 tag: ".removed-api.txt",
192 },
193 ],
Anton Hansson7f6823e2020-06-04 15:09:36 +0100194}
195
196droidstubs {
Anton Hansson552ba2c2020-11-05 10:45:13 +0000197 name: "test-api-stubs-docs-non-updatable",
Anton Hansson7110ae72020-10-15 17:23:35 +0100198 defaults: ["metalava-non-updatable-api-stubs-default"],
Anton Hansson1c58ffc2020-11-13 11:44:32 +0000199 args: metalava_framework_docs_args + test + priv_apps_in_stubs,
Jiyong Park7fb4b182019-12-20 14:35:43 +0900200 check_api: {
201 current: {
Anton Hansson552ba2c2020-11-05 10:45:13 +0000202 api_file: "core/api/test-current.txt",
203 removed_api_file: "core/api/test-removed.txt",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900204 },
205 api_lint: {
206 enabled: true,
Anton Hansson552ba2c2020-11-05 10:45:13 +0000207 baseline_file: "core/api/test-lint-baseline.txt",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900208 },
209 },
Anton Hansson85785fe2021-01-20 20:23:34 +0000210 dists: [
211 {
212 targets: ["sdk", "win_sdk"],
213 dir: "apistubs/android/test/api",
214 dest: "android.txt",
215 tag: ".api.txt",
216 },
217 {
218 targets: ["sdk", "win_sdk"],
219 dir: "apistubs/android/test/api",
220 dest: "removed.txt",
221 tag: ".removed-api.txt",
222 },
223 {
224 targets: ["sdk", "win_sdk"],
225 dir: "apistubs/android/test/api",
226 dest: "android-non-updatable.txt",
227 tag: ".api.txt",
228 },
229 {
230 targets: ["sdk", "win_sdk"],
231 dir: "apistubs/android/test/api",
232 dest: "android-non-updatable-removed.txt",
233 tag: ".removed-api.txt",
234 },
235 ],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900236}
237
Jiyong Park2e6cdcc2019-12-20 15:30:28 +0900238droidstubs {
Anton Hansson7f6823e2020-06-04 15:09:36 +0100239 name: "module-lib-api-stubs-docs-non-updatable",
240 defaults: ["metalava-non-updatable-api-stubs-default"],
Anton Hansson1c58ffc2020-11-13 11:44:32 +0000241 args: metalava_framework_docs_args + priv_apps_in_stubs + module_libs,
Anton Hansson7f6823e2020-06-04 15:09:36 +0100242 check_api: {
243 current: {
Anton Hansson7bfceb82020-10-29 18:59:10 +0000244 api_file: "core/api/module-lib-current.txt",
245 removed_api_file: "core/api/module-lib-removed.txt",
Anton Hansson7f6823e2020-06-04 15:09:36 +0100246 },
Anton Hanssonc3ef1f562020-10-07 14:55:36 +0100247 last_released: {
248 api_file: ":android-non-updatable.api.module-lib.latest",
249 removed_api_file: ":android-non-updatable-removed.api.module-lib.latest",
250 },
Anton Hansson33ea9992020-04-09 14:16:37 +0100251 api_lint: {
252 enabled: true,
253 new_since: ":android-non-updatable.api.module-lib.latest",
254 },
Anton Hansson7f6823e2020-06-04 15:09:36 +0100255 },
Anton Hansson85785fe2021-01-20 20:23:34 +0000256 dists: [
257 {
258 targets: ["sdk", "win_sdk"],
259 dir: "apistubs/android/module-lib/api",
260 dest: "android-non-updatable.txt",
261 tag: ".api.txt",
262 },
263 {
264 targets: ["sdk", "win_sdk"],
265 dir: "apistubs/android/module-lib/api",
266 dest: "android-non-updatable-removed.txt",
267 tag: ".removed-api.txt",
268 },
269 ],
Anton Hansson7f6823e2020-06-04 15:09:36 +0100270}
Anton Hansson81969c22020-02-03 20:45:56 +0000271
Jiyong Park2e6cdcc2019-12-20 15:30:28 +0900272/////////////////////////////////////////////////////////////////////
Jiyong Park7fb4b182019-12-20 14:35:43 +0900273// android_*_stubs_current modules are the stubs libraries compiled
Anton Hansson1c58ffc2020-11-13 11:44:32 +0000274// from stub sources
Jiyong Park7fb4b182019-12-20 14:35:43 +0900275/////////////////////////////////////////////////////////////////////
276
277java_defaults {
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100278 name: "android_defaults_stubs_current",
Anton Hansson42afd612020-02-08 20:43:19 +0000279 libs: [ "stub-annotations" ],
Paul Duffina281e922020-03-25 10:13:33 +0000280 static_libs: [
Paul Duffina281e922020-03-25 10:13:33 +0000281 // License notices from art module
282 "art-notices-for-framework-stubs-jar",
Anton Hanssoncf42e982020-08-13 19:40:13 +0100283 "framework-res-package-jar", // Export package of framework-res
Paul Duffina281e922020-03-25 10:13:33 +0000284 ],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900285 errorprone: {
286 javacflags: [
287 "-XepDisableAllChecks",
288 ],
289 },
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100290 sdk_version: "none",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900291 system_modules: "none",
292 java_version: "1.8",
293 compile_dex: true,
294}
295
Anton Hanssona9205502020-07-15 13:36:34 +0100296java_defaults {
297 name: "android_stubs_dists_default",
298 dist: {
299 targets: ["sdk", "win_sdk"],
300 tag: ".jar",
301 dest: "android.jar",
302 },
303}
304
Jiyong Park7fb4b182019-12-20 14:35:43 +0900305java_library_static {
Anton Hansson3a8e0362020-11-03 19:35:56 +0000306 name: "android_stubs_current",
Anton Hansson912622f2020-04-09 14:16:37 +0100307 srcs: [ ":api-stubs-docs-non-updatable" ],
308 static_libs: [
Yan Yanf8b973c2021-02-03 16:07:30 -0800309 "android.net.ipsec.ike.stubs",
Anton Hanssonfc948d862020-12-17 16:57:35 +0000310 "art.module.public.api.stubs",
Anton Hansson912622f2020-04-09 14:16:37 +0100311 "conscrypt.module.public.api.stubs",
Remi NGUYEN VANc15d99e2021-01-28 13:37:03 +0900312 "framework-connectivity.stubs",
Paul Duffinabebc6a2020-05-31 11:35:50 +0100313 "framework-media.stubs",
314 "framework-mediaprovider.stubs",
315 "framework-permission.stubs",
Anton Hansson912622f2020-04-09 14:16:37 +0100316 "framework-sdkextensions.stubs",
Paul Duffinabebc6a2020-05-31 11:35:50 +0100317 "framework-statsd.stubs",
Anton Hansson912622f2020-04-09 14:16:37 +0100318 "framework-tethering.stubs",
Paul Duffinabebc6a2020-05-31 11:35:50 +0100319 "framework-wifi.stubs",
Paul Duffin5a4e8f22020-11-25 15:45:43 +0000320 "i18n.module.public.api.stubs",
Anton Hansson33ea9992020-04-09 14:16:37 +0100321 "private-stub-annotations-jar",
Anton Hansson912622f2020-04-09 14:16:37 +0100322 ],
Anton Hanssonc3002e52020-11-18 18:23:55 +0000323 defaults: ["android_defaults_stubs_current"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900324}
325
326java_library_static {
Anton Hansson3a8e0362020-11-03 19:35:56 +0000327 name: "android_system_stubs_current",
Anton Hansson912622f2020-04-09 14:16:37 +0100328 srcs: [ ":system-api-stubs-docs-non-updatable" ],
329 static_libs: [
Yan Yanf8b973c2021-02-03 16:07:30 -0800330 "android.net.ipsec.ike.stubs.system",
Anton Hanssonfc948d862020-12-17 16:57:35 +0000331 "art.module.public.api.stubs",
Anton Hansson912622f2020-04-09 14:16:37 +0100332 "conscrypt.module.public.api.stubs",
Remi NGUYEN VANc15d99e2021-01-28 13:37:03 +0900333 "framework-connectivity.stubs.system",
Paul Duffinabebc6a2020-05-31 11:35:50 +0100334 "framework-media.stubs.system",
335 "framework-mediaprovider.stubs.system",
336 "framework-permission.stubs.system",
Anton Hansson912622f2020-04-09 14:16:37 +0100337 "framework-sdkextensions.stubs.system",
Paul Duffinabebc6a2020-05-31 11:35:50 +0100338 "framework-statsd.stubs.system",
Anton Hansson912622f2020-04-09 14:16:37 +0100339 "framework-tethering.stubs.system",
Paul Duffinabebc6a2020-05-31 11:35:50 +0100340 "framework-wifi.stubs.system",
Paul Duffin5a4e8f22020-11-25 15:45:43 +0000341 "i18n.module.public.api.stubs",
Anton Hansson33ea9992020-04-09 14:16:37 +0100342 "private-stub-annotations-jar",
Anton Hansson912622f2020-04-09 14:16:37 +0100343 ],
Anton Hanssonc3002e52020-11-18 18:23:55 +0000344 defaults: [
345 "android_defaults_stubs_current",
346 "android_stubs_dists_default",
347 ],
348 dist: {
349 dir: "apistubs/android/system",
350 },
351 dists: [
352 {
353 // Legacy dist path
354 targets: ["sdk", "win_sdk"],
355 tag: ".jar",
356 dest: "android_system.jar",
357 },
358 ],
Anton Hansson912622f2020-04-09 14:16:37 +0100359}
360
361java_library_static {
Jiyong Park7fb4b182019-12-20 14:35:43 +0900362 name: "android_test_stubs_current",
Anton Hansson552ba2c2020-11-05 10:45:13 +0000363 srcs: [ ":test-api-stubs-docs-non-updatable" ],
Anton Hansson7110ae72020-10-15 17:23:35 +0100364 static_libs: [
365 // Modules do not have test APIs, but we want to include their SystemApis, like we include
366 // the SystemApi of framework-non-updatable-sources.
Yan Yanf8b973c2021-02-03 16:07:30 -0800367 "android.net.ipsec.ike.stubs.system",
Anton Hanssonfc948d862020-12-17 16:57:35 +0000368 "art.module.public.api.stubs",
Anton Hansson7110ae72020-10-15 17:23:35 +0100369 "conscrypt.module.public.api.stubs",
Remi NGUYEN VANc15d99e2021-01-28 13:37:03 +0900370 "framework-connectivity.stubs.system",
Anton Hansson7110ae72020-10-15 17:23:35 +0100371 "framework-media.stubs.system",
372 "framework-mediaprovider.stubs.system",
373 "framework-permission.stubs.system",
374 "framework-sdkextensions.stubs.system",
375 "framework-statsd.stubs.system",
376 "framework-tethering.stubs.system",
377 "framework-wifi.stubs.system",
Paul Duffin5a4e8f22020-11-25 15:45:43 +0000378 "i18n.module.public.api.stubs",
Anton Hansson7110ae72020-10-15 17:23:35 +0100379 "private-stub-annotations-jar",
380 ],
Anton Hanssona9205502020-07-15 13:36:34 +0100381 defaults: [
382 "android_defaults_stubs_current",
383 "android_stubs_dists_default",
384 ],
385 dist: {
386 dir: "apistubs/android/test",
387 },
388 dists: [
389 {
390 // Legacy dist path
391 targets: ["sdk", "win_sdk"],
392 tag: ".jar",
393 dest: "android_test.jar",
394 },
395 ],
Jiyong Park2e6cdcc2019-12-20 15:30:28 +0900396}
397
398java_library_static {
Anton Hansson9c4bbe92020-01-30 12:09:02 +0000399 name: "android_module_lib_stubs_current",
Makoto Onuki8c61de62020-07-15 10:38:04 -0700400 srcs: [ ":module-lib-api-stubs-docs-non-updatable" ],
Anton Hanssona9205502020-07-15 13:36:34 +0100401 defaults: [
402 "android_defaults_stubs_current",
403 "android_stubs_dists_default",
404 ],
Anton Hanssonb7d532e2021-02-05 11:40:25 +0000405 libs: [
406 "sdk_system_current_android",
407 // NOTE: The below can be removed once the prebuilt stub contains IKE.
408 "sdk_system_current_android.net.ipsec.ike",
409 ],
Anton Hanssonfc948d862020-12-17 16:57:35 +0000410 static_libs: ["art.module.public.api.stubs"],
Anton Hanssona9205502020-07-15 13:36:34 +0100411 dist: {
412 dir: "apistubs/android/module-lib",
413 },
Jiyong Park7fb4b182019-12-20 14:35:43 +0900414}
415
Jiyong Park7fb4b182019-12-20 14:35:43 +0900416/////////////////////////////////////////////////////////////////////
417// hwbinder.stubs provides APIs required for building HIDL Java
418// libraries.
419/////////////////////////////////////////////////////////////////////
420
421droidstubs {
422 name: "hwbinder-stubs-docs",
423 srcs: [
424 "core/java/android/os/HidlSupport.java",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900425 "core/java/android/os/HidlMemory.java",
426 "core/java/android/os/HwBinder.java",
427 "core/java/android/os/HwBlob.java",
428 "core/java/android/os/HwParcel.java",
429 "core/java/android/os/IHwBinder.java",
430 "core/java/android/os/IHwInterface.java",
431 "core/java/android/os/DeadObjectException.java",
432 "core/java/android/os/DeadSystemException.java",
433 "core/java/android/os/NativeHandle.java",
434 "core/java/android/os/RemoteException.java",
435 "core/java/android/util/AndroidException.java",
436 ],
Colin Cross037d7fb2021-03-25 17:01:55 -0700437 libs: ["framework-annotations-lib"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900438 installable: false,
439 sdk_version: "core_platform",
440 annotations_enabled: true,
Anton Hanssonf68ddea2020-05-02 17:49:26 +0100441 previous_api: ":android.api.public.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900442 merge_annotations_dirs: [
443 "metalava-manual",
444 ],
Anton Hansson81969c22020-02-03 20:45:56 +0000445 args: priv_apps,
Jiyong Park7fb4b182019-12-20 14:35:43 +0900446}
447
448java_library_static {
449 name: "hwbinder.stubs",
450 sdk_version: "core_current",
Colin Cross037d7fb2021-03-25 17:01:55 -0700451 libs: ["framework-annotations-lib"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900452 srcs: [
453 ":hwbinder-stubs-docs",
454 ],
455}