blob: fc42633461e5f59d4661fc7c4d27535c61bf3cfe [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//
19// The metalava conversion is done by droidstub modules *-api-stubs-docs.
20// The javac compilation is done by java_library modules android_*_stubs_current.
21// The metalava conversion is also responsible for creating API signature files
22// and comparing them against the last API signature in api/*-current.txt files
23// and also against the latest frozen API signature in prebuilts/sdk/*/*/api/android.txt
24// files.
25
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 Hansson537564e2020-03-06 17:16:06 +000044 name: "metalava-base-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",
Paul Duffin404b26a2020-09-16 14:26:47 +010050 ":art.module.public.api{.public.stubs.source}",
Paul Duffin5c89e702020-03-26 15:33:48 +000051 ":android_icu4j_public_api_files",
Ramy Medhataaa83862020-05-04 05:54:30 -040052 "**/package.html",
Jiyong Park7fb4b182019-12-20 14:35:43 +090053 ],
Chen Xu546ce5e2020-01-10 08:38:31 -080054 // TODO(b/147699819): remove below aidl includes.
55 aidl: {
56 local_include_dirs: ["telephony/java"],
57 },
Jiyong Park7fb4b182019-12-20 14:35:43 +090058 libs: ["framework-internal-utils"],
59 installable: false,
60 annotations_enabled: true,
Anton Hanssonf68ddea2020-05-02 17:49:26 +010061 previous_api: ":android.api.public.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +090062 merge_annotations_dirs: [
63 "metalava-manual",
64 ],
Aurimas Liutikas94bac9c2020-03-12 17:06:12 -070065 api_levels_annotations_enabled: false,
Jiyong Park7fb4b182019-12-20 14:35:43 +090066 filter_packages: packages_to_document,
67}
68
Jiyong Park2e6cdcc2019-12-20 15:30:28 +090069stubs_defaults {
Anton Hansson537564e2020-03-06 17:16:06 +000070 name: "metalava-full-api-stubs-default",
71 defaults: ["metalava-base-api-stubs-default"],
Anton Hanssone01390c2020-05-07 12:06:00 +010072 srcs: [
Paul Duffine55d4e32020-05-14 17:55:46 +010073 ":conscrypt.module.public.api{.public.stubs.source}",
Anton Hanssone01390c2020-05-07 12:06:00 +010074 ":framework-updatable-sources",
75 ],
Jiyong Park2e6cdcc2019-12-20 15:30:28 +090076 sdk_version: "core_platform",
77}
78
Anton Hansson537564e2020-03-06 17:16:06 +000079stubs_defaults {
80 name: "metalava-non-updatable-api-stubs-default",
81 defaults: ["metalava-base-api-stubs-default"],
Anton Hanssone53bec02020-03-20 09:12:52 +000082 sdk_version: "core_platform",
Anton Hanssonebb26a32020-04-14 16:35:36 +010083 // There are a few classes from modules used as type arguments that
84 // need to be resolved by metalava. For now, we can use a previously
85 // finalized stub library to resolve them. If a new class gets added,
86 // this may be need to be revisited to use a manually maintained stub
87 // library with empty classes in order to resolve those references.
Anton Hansson33ea9992020-04-09 14:16:37 +010088 libs: ["sdk_system_30_android"],
Anton Hanssonebb26a32020-04-14 16:35:36 +010089 aidl: {
Anton Hansson394febc2020-04-14 16:35:36 +010090 local_include_dirs: ["apex/media/aidl/stable"],
Anton Hanssonebb26a32020-04-14 16:35:36 +010091 },
Anton Hansson537564e2020-03-06 17:16:06 +000092}
93
Jiyong Park7fb4b182019-12-20 14:35:43 +090094/////////////////////////////////////////////////////////////////////
95// *-api-stubs-docs modules providing source files for the stub libraries
96/////////////////////////////////////////////////////////////////////
97
Jiyong Park2e6cdcc2019-12-20 15:30:28 +090098// api-stubs-docs, system-api-stubs-docs, and test-api-stubs-docs have APIs
99// from the non-updatable part of the platform as well as from the updatable
100// modules
Jiyong Park7fb4b182019-12-20 14:35:43 +0900101droidstubs {
102 name: "api-stubs-docs",
Anton Hansson537564e2020-03-06 17:16:06 +0000103 defaults: ["metalava-full-api-stubs-default"],
Artur Satayev0a97d5e2020-03-25 16:45:56 +0000104 removed_dex_api_filename: "removed-dex.txt",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900105 arg_files: [
106 "core/res/AndroidManifest.xml",
107 ],
108 args: metalava_framework_docs_args,
109 check_api: {
110 current: {
111 api_file: "api/current.txt",
112 removed_api_file: "api/removed.txt",
113 },
114 last_released: {
Anton Hanssonf68ddea2020-05-02 17:49:26 +0100115 api_file: ":android.api.public.latest",
Anton Hansson960c6752020-05-02 18:00:30 +0100116 removed_api_file: ":removed.api.public.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900117 baseline_file: ":public-api-incompatibilities-with-last-released",
118 },
119 api_lint: {
120 enabled: true,
Anton Hanssonf68ddea2020-05-02 17:49:26 +0100121 new_since: ":android.api.public.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900122 baseline_file: "api/lint-baseline.txt",
123 },
124 },
Anton Hanssonba367d32020-03-23 18:08:55 +0000125 dist: {
126 targets: ["sdk", "win_sdk"],
127 dir: "apistubs/android/public/api",
128 dest: "android.txt",
129 },
Jiyong Park7fb4b182019-12-20 14:35:43 +0900130 jdiff_enabled: true,
131}
132
Anton Hansson7f6823e2020-06-04 15:09:36 +0100133droidstubs {
134 name: "api-stubs-docs-non-updatable",
135 defaults: ["metalava-non-updatable-api-stubs-default"],
136 arg_files: ["core/res/AndroidManifest.xml"],
137 args: metalava_framework_docs_args,
138 check_api: {
139 current: {
140 api_file: "non-updatable-api/current.txt",
141 removed_api_file: "non-updatable-api/removed.txt",
142 },
Anton Hansson3258a472020-10-05 16:23:27 +0100143 last_released: {
144 api_file: ":android-non-updatable.api.public.latest",
145 removed_api_file: ":android-non-updatable-removed.api.public.latest",
146 baseline_file: ":public-api-incompatibilities-with-last-released",
147 },
Anton Hansson33ea9992020-04-09 14:16:37 +0100148 api_lint: {
149 enabled: true,
150 new_since: ":android-non-updatable.api.public.latest",
151 },
Anton Hansson7f6823e2020-06-04 15:09:36 +0100152 },
153}
154
Anton Hansson81969c22020-02-03 20:45:56 +0000155priv_apps = " " +
156 "--show-annotation android.annotation.SystemApi\\(" +
157 "client=android.annotation.SystemApi.Client.PRIVILEGED_APPS" +
158 "\\) "
159
160module_libs = " " +
161 " --show-annotation android.annotation.SystemApi\\(" +
162 "client=android.annotation.SystemApi.Client.MODULE_LIBRARIES" +
Makoto Onukia13287f2020-07-10 12:05:21 -0700163 "\\)" +
164 " --show-for-stub-purposes-annotation android.annotation.SystemApi\\(" +
165 "client=android.annotation.SystemApi.Client.PRIVILEGED_APPS" +
Anton Hansson81969c22020-02-03 20:45:56 +0000166 "\\) "
167
Jiyong Park7fb4b182019-12-20 14:35:43 +0900168droidstubs {
169 name: "system-api-stubs-docs",
Anton Hansson537564e2020-03-06 17:16:06 +0000170 defaults: ["metalava-full-api-stubs-default"],
Artur Satayev0a97d5e2020-03-25 16:45:56 +0000171 removed_dex_api_filename: "system-removed-dex.txt",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900172 arg_files: [
173 "core/res/AndroidManifest.xml",
174 ],
Anton Hansson81969c22020-02-03 20:45:56 +0000175 args: metalava_framework_docs_args + priv_apps,
Jiyong Park7fb4b182019-12-20 14:35:43 +0900176 check_api: {
177 current: {
178 api_file: "api/system-current.txt",
179 removed_api_file: "api/system-removed.txt",
180 },
181 last_released: {
Anton Hanssonf68ddea2020-05-02 17:49:26 +0100182 api_file: ":android.api.system.latest",
Anton Hansson960c6752020-05-02 18:00:30 +0100183 removed_api_file: ":removed.api.system.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900184 baseline_file: ":system-api-incompatibilities-with-last-released"
185 },
186 api_lint: {
187 enabled: true,
Anton Hanssonf68ddea2020-05-02 17:49:26 +0100188 new_since: ":android.api.system.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900189 baseline_file: "api/system-lint-baseline.txt",
190 },
191 },
Anton Hanssonba367d32020-03-23 18:08:55 +0000192 dist: {
193 targets: ["sdk", "win_sdk"],
194 dir: "apistubs/android/system/api",
195 dest: "android.txt",
196 },
Jiyong Park7fb4b182019-12-20 14:35:43 +0900197 jdiff_enabled: true,
198}
199
200droidstubs {
Anton Hansson7f6823e2020-06-04 15:09:36 +0100201 name: "system-api-stubs-docs-non-updatable",
202 defaults: ["metalava-non-updatable-api-stubs-default"],
203 arg_files: ["core/res/AndroidManifest.xml"],
204 args: metalava_framework_docs_args + priv_apps,
205 check_api: {
206 current: {
207 api_file: "non-updatable-api/system-current.txt",
208 removed_api_file: "non-updatable-api/system-removed.txt",
209 },
Anton Hansson3258a472020-10-05 16:23:27 +0100210 last_released: {
211 api_file: ":android-non-updatable.api.system.latest",
212 removed_api_file: ":android-non-updatable-removed.api.system.latest",
213 baseline_file: ":system-api-incompatibilities-with-last-released"
214 },
Anton Hansson33ea9992020-04-09 14:16:37 +0100215 api_lint: {
216 enabled: true,
217 new_since: ":android-non-updatable.api.system.latest",
218 baseline_file: "non-updatable-api/system-lint-baseline.txt",
219 },
Anton Hansson7f6823e2020-06-04 15:09:36 +0100220 },
221}
222
223droidstubs {
Jiyong Park7fb4b182019-12-20 14:35:43 +0900224 name: "test-api-stubs-docs",
Anton Hansson537564e2020-03-06 17:16:06 +0000225 defaults: ["metalava-full-api-stubs-default"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900226 arg_files: [
227 "core/res/AndroidManifest.xml",
228 ],
229 args: metalava_framework_docs_args + " --show-annotation android.annotation.TestApi",
230 check_api: {
231 current: {
232 api_file: "api/test-current.txt",
233 removed_api_file: "api/test-removed.txt",
234 },
235 api_lint: {
236 enabled: true,
237 baseline_file: "api/test-lint-baseline.txt",
238 },
239 },
Anton Hanssonba367d32020-03-23 18:08:55 +0000240 dist: {
241 targets: ["sdk", "win_sdk"],
242 dir: "apistubs/android/test/api",
243 dest: "android.txt",
244 },
Jiyong Park7fb4b182019-12-20 14:35:43 +0900245}
246
247/////////////////////////////////////////////////////////////////////
Makoto Onukia13287f2020-07-10 12:05:21 -0700248// Following droidstubs modules are for extra APIs for modules,
249// namely @SystemApi(client=MODULE_LIBRARIES) APIs.
Jiyong Park2e6cdcc2019-12-20 15:30:28 +0900250/////////////////////////////////////////////////////////////////////
251
Jiyong Park2e6cdcc2019-12-20 15:30:28 +0900252droidstubs {
253 name: "module-lib-api",
Anton Hansson537564e2020-03-06 17:16:06 +0000254 defaults: ["metalava-full-api-stubs-default"],
Jiyong Park2e6cdcc2019-12-20 15:30:28 +0900255 arg_files: ["core/res/AndroidManifest.xml"],
Anton Hansson81969c22020-02-03 20:45:56 +0000256 args: metalava_framework_docs_args + module_libs,
Paul Duffin4c5dc182020-04-08 18:28:15 +0100257
258 // Do not generate stubs as they are not needed
259 generate_stubs: false,
260
Jiyong Park2e6cdcc2019-12-20 15:30:28 +0900261 check_api: {
262 current: {
263 api_file: "api/module-lib-current.txt",
264 removed_api_file: "api/module-lib-removed.txt",
265 },
Anton Hansson626afea2020-02-11 14:36:40 +0000266 last_released: {
Anton Hanssonf68ddea2020-05-02 17:49:26 +0100267 api_file: ":android.api.module-lib.latest",
Anton Hansson960c6752020-05-02 18:00:30 +0100268 removed_api_file: ":removed.api.module-lib.latest",
Anton Hansson626afea2020-02-11 14:36:40 +0000269 baseline_file: ":module-lib-api-incompatibilities-with-last-released"
270 },
271 api_lint: {
272 enabled: true,
Anton Hanssonf68ddea2020-05-02 17:49:26 +0100273 new_since: ":android.api.module-lib.latest",
Anton Hansson626afea2020-02-11 14:36:40 +0000274 baseline_file: "api/module-lib-lint-baseline.txt",
275 },
Jiyong Park2e6cdcc2019-12-20 15:30:28 +0900276 },
Anton Hanssonba367d32020-03-23 18:08:55 +0000277 dist: {
278 targets: ["sdk", "win_sdk"],
279 dir: "apistubs/android/module-lib/api",
280 dest: "android.txt",
281 },
Jiyong Park2e6cdcc2019-12-20 15:30:28 +0900282}
283
Anton Hansson7f6823e2020-06-04 15:09:36 +0100284droidstubs {
285 name: "module-lib-api-stubs-docs-non-updatable",
286 defaults: ["metalava-non-updatable-api-stubs-default"],
287 arg_files: ["core/res/AndroidManifest.xml"],
Makoto Onuki8c61de62020-07-15 10:38:04 -0700288 args: metalava_framework_docs_args + priv_apps + module_libs,
Anton Hansson7f6823e2020-06-04 15:09:36 +0100289 check_api: {
290 current: {
291 api_file: "non-updatable-api/module-lib-current.txt",
292 removed_api_file: "non-updatable-api/module-lib-removed.txt",
293 },
Anton Hansson33ea9992020-04-09 14:16:37 +0100294 api_lint: {
295 enabled: true,
296 new_since: ":android-non-updatable.api.module-lib.latest",
297 },
Anton Hansson7f6823e2020-06-04 15:09:36 +0100298 },
299}
Anton Hansson81969c22020-02-03 20:45:56 +0000300
Jiyong Park2e6cdcc2019-12-20 15:30:28 +0900301/////////////////////////////////////////////////////////////////////
Jiyong Park7fb4b182019-12-20 14:35:43 +0900302// android_*_stubs_current modules are the stubs libraries compiled
303// from *-api-stubs-docs
304/////////////////////////////////////////////////////////////////////
305
306java_defaults {
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100307 name: "android_defaults_stubs_current",
Anton Hansson42afd612020-02-08 20:43:19 +0000308 libs: [ "stub-annotations" ],
Paul Duffina281e922020-03-25 10:13:33 +0000309 static_libs: [
Paul Duffina281e922020-03-25 10:13:33 +0000310 // License notices from art module
311 "art-notices-for-framework-stubs-jar",
Anton Hanssoncf42e982020-08-13 19:40:13 +0100312 "framework-res-package-jar", // Export package of framework-res
Paul Duffina281e922020-03-25 10:13:33 +0000313 ],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900314 errorprone: {
315 javacflags: [
316 "-XepDisableAllChecks",
317 ],
318 },
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100319 sdk_version: "none",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900320 system_modules: "none",
321 java_version: "1.8",
322 compile_dex: true,
323}
324
Anton Hanssona9205502020-07-15 13:36:34 +0100325java_defaults {
326 name: "android_stubs_dists_default",
327 dist: {
328 targets: ["sdk", "win_sdk"],
329 tag: ".jar",
330 dest: "android.jar",
331 },
332}
333
Jiyong Park7fb4b182019-12-20 14:35:43 +0900334java_library_static {
Anton Hansson912622f2020-04-09 14:16:37 +0100335 name: "android_monolith_stubs_current",
Anton Hansson42afd612020-02-08 20:43:19 +0000336 srcs: [ ":api-stubs-docs" ],
Anton Hanssonf330f3a2020-05-20 12:06:23 +0100337 static_libs: [ "private-stub-annotations-jar" ],
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100338 defaults: ["android_defaults_stubs_current"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900339}
340
341java_library_static {
Anton Hansson912622f2020-04-09 14:16:37 +0100342 name: "android_merged_stubs_current",
343 srcs: [ ":api-stubs-docs-non-updatable" ],
344 static_libs: [
345 "conscrypt.module.public.api.stubs",
Paul Duffinabebc6a2020-05-31 11:35:50 +0100346 "framework-media.stubs",
347 "framework-mediaprovider.stubs",
348 "framework-permission.stubs",
Anton Hansson912622f2020-04-09 14:16:37 +0100349 "framework-sdkextensions.stubs",
Paul Duffinabebc6a2020-05-31 11:35:50 +0100350 "framework-statsd.stubs",
Anton Hansson912622f2020-04-09 14:16:37 +0100351 "framework-tethering.stubs",
Paul Duffinabebc6a2020-05-31 11:35:50 +0100352 "framework-wifi.stubs",
Anton Hansson33ea9992020-04-09 14:16:37 +0100353 "private-stub-annotations-jar",
Anton Hansson912622f2020-04-09 14:16:37 +0100354 ],
355 defaults: ["android_defaults_stubs_current"],
356}
357
358java_library_static {
359 name: "android_stubs_current",
360 static_libs: ["android_merged_stubs_current"],
361 defaults: ["android_defaults_stubs_current"],
362}
363
364java_library_static {
365 name: "android_system_monolith_stubs_current",
Anton Hansson42afd612020-02-08 20:43:19 +0000366 srcs: [ ":system-api-stubs-docs" ],
Anton Hanssonf330f3a2020-05-20 12:06:23 +0100367 static_libs: [ "private-stub-annotations-jar" ],
Anton Hanssona9205502020-07-15 13:36:34 +0100368 defaults: [
369 "android_defaults_stubs_current",
370 "android_stubs_dists_default",
371 ],
372 dist: {
373 dir: "apistubs/android/system",
374 },
375 dists: [
376 {
377 // Legacy dist path
378 targets: ["sdk", "win_sdk"],
379 tag: ".jar",
380 dest: "android_system.jar",
381 },
382 ],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900383}
384
385java_library_static {
Anton Hansson912622f2020-04-09 14:16:37 +0100386 name: "android_system_merged_stubs_current",
387 srcs: [ ":system-api-stubs-docs-non-updatable" ],
388 static_libs: [
389 "conscrypt.module.public.api.stubs",
Paul Duffinabebc6a2020-05-31 11:35:50 +0100390 "framework-media.stubs.system",
391 "framework-mediaprovider.stubs.system",
392 "framework-permission.stubs.system",
Anton Hansson912622f2020-04-09 14:16:37 +0100393 "framework-sdkextensions.stubs.system",
Paul Duffinabebc6a2020-05-31 11:35:50 +0100394 "framework-statsd.stubs.system",
Anton Hansson912622f2020-04-09 14:16:37 +0100395 "framework-tethering.stubs.system",
Paul Duffinabebc6a2020-05-31 11:35:50 +0100396 "framework-wifi.stubs.system",
Anton Hansson33ea9992020-04-09 14:16:37 +0100397 "private-stub-annotations-jar",
Anton Hansson912622f2020-04-09 14:16:37 +0100398 ],
399 defaults: ["android_defaults_stubs_current"],
400}
401
402java_library_static {
403 name: "android_system_stubs_current",
404 static_libs: ["android_system_merged_stubs_current"],
405 defaults: ["android_defaults_stubs_current"],
406}
407
408java_library_static {
Jiyong Park7fb4b182019-12-20 14:35:43 +0900409 name: "android_test_stubs_current",
Anton Hansson42afd612020-02-08 20:43:19 +0000410 srcs: [ ":test-api-stubs-docs" ],
Anton Hanssonf330f3a2020-05-20 12:06:23 +0100411 static_libs: [ "private-stub-annotations-jar" ],
Anton Hanssona9205502020-07-15 13:36:34 +0100412 defaults: [
413 "android_defaults_stubs_current",
414 "android_stubs_dists_default",
415 ],
416 dist: {
417 dir: "apistubs/android/test",
418 },
419 dists: [
420 {
421 // Legacy dist path
422 targets: ["sdk", "win_sdk"],
423 tag: ".jar",
424 dest: "android_test.jar",
425 },
426 ],
Jiyong Park2e6cdcc2019-12-20 15:30:28 +0900427}
428
429java_library_static {
Anton Hansson9c4bbe92020-01-30 12:09:02 +0000430 name: "android_module_lib_stubs_current",
Makoto Onuki8c61de62020-07-15 10:38:04 -0700431 srcs: [ ":module-lib-api-stubs-docs-non-updatable" ],
Anton Hanssona9205502020-07-15 13:36:34 +0100432 defaults: [
433 "android_defaults_stubs_current",
434 "android_stubs_dists_default",
435 ],
Anton Hanssonebb26a32020-04-14 16:35:36 +0100436 libs: ["sdk_system_29_android"],
Anton Hanssona9205502020-07-15 13:36:34 +0100437 dist: {
438 dir: "apistubs/android/module-lib",
439 },
Jiyong Park7fb4b182019-12-20 14:35:43 +0900440}
441
Anton Hansson7f6823e2020-06-04 15:09:36 +0100442java_library_static {
443 name: "android_non_updatable_stubs_current",
444 srcs: [":api-stubs-docs-non-updatable"],
445 defaults: ["android_defaults_stubs_current"],
446 libs: ["sdk_system_29_android"],
447}
448
449java_library_static {
450 name: "android_system_non_updatable_stubs_current",
451 srcs: [":system-api-stubs-docs-non-updatable"],
452 defaults: ["android_defaults_stubs_current"],
453 libs: ["sdk_system_29_android"],
454}
455
Jiyong Park7fb4b182019-12-20 14:35:43 +0900456/////////////////////////////////////////////////////////////////////
457// hwbinder.stubs provides APIs required for building HIDL Java
458// libraries.
459/////////////////////////////////////////////////////////////////////
460
461droidstubs {
462 name: "hwbinder-stubs-docs",
463 srcs: [
464 "core/java/android/os/HidlSupport.java",
465 "core/java/android/annotation/IntDef.java",
466 "core/java/android/annotation/IntRange.java",
467 "core/java/android/annotation/NonNull.java",
468 "core/java/android/annotation/SystemApi.java",
469 "core/java/android/os/HidlMemory.java",
470 "core/java/android/os/HwBinder.java",
471 "core/java/android/os/HwBlob.java",
472 "core/java/android/os/HwParcel.java",
473 "core/java/android/os/IHwBinder.java",
474 "core/java/android/os/IHwInterface.java",
475 "core/java/android/os/DeadObjectException.java",
476 "core/java/android/os/DeadSystemException.java",
477 "core/java/android/os/NativeHandle.java",
478 "core/java/android/os/RemoteException.java",
479 "core/java/android/util/AndroidException.java",
480 ],
481 installable: false,
482 sdk_version: "core_platform",
483 annotations_enabled: true,
Anton Hanssonf68ddea2020-05-02 17:49:26 +0100484 previous_api: ":android.api.public.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900485 merge_annotations_dirs: [
486 "metalava-manual",
487 ],
Anton Hansson81969c22020-02-03 20:45:56 +0000488 args: priv_apps,
Jiyong Park7fb4b182019-12-20 14:35:43 +0900489}
490
491java_library_static {
492 name: "hwbinder.stubs",
493 sdk_version: "core_current",
494 srcs: [
495 ":hwbinder-stubs-docs",
496 ],
497}