blob: 9047df5aba5c5c4e8a96484491ae82757cd2b1d1 [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 Parkc0f8a282020-09-29 13:43:00 +090058 // These are libs from framework-internal-utils that are required (i.e. being referenced)
59 // from framework-non-updatable-sources. Add more here when there's a need.
60 // DO NOT add the entire framework-internal-utils. It might cause unnecessary circular
61 // dependencies gets bigger.
62 libs: [
63 "android.hardware.cas-V1.2-java",
64 "android.hardware.health-V1.0-java-constants",
65 "android.hardware.radio-V1.5-java",
66 "android.hardware.thermal-V1.0-java-constants",
67 "android.hardware.thermal-V2.0-java",
68 "android.hardware.tv.input-V1.0-java-constants",
69 "android.hardware.tv.tuner-V1.0-java-constants",
70 "android.hardware.usb-V1.0-java-constants",
71 "android.hardware.usb-V1.1-java-constants",
72 "android.hardware.usb.gadget-V1.0-java",
73 "android.hardware.vibrator-V1.3-java",
74 "framework-protos",
75 ],
Anton Hansson35146892020-10-26 10:27:57 +000076 high_mem: true, // Lots of sources => high memory use, see b/170701554
Jiyong Park7fb4b182019-12-20 14:35:43 +090077 installable: false,
78 annotations_enabled: true,
Anton Hanssonf68ddea2020-05-02 17:49:26 +010079 previous_api: ":android.api.public.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +090080 merge_annotations_dirs: [
81 "metalava-manual",
82 ],
Aurimas Liutikas94bac9c2020-03-12 17:06:12 -070083 api_levels_annotations_enabled: false,
Jiyong Park7fb4b182019-12-20 14:35:43 +090084 filter_packages: packages_to_document,
85}
86
Jiyong Park2e6cdcc2019-12-20 15:30:28 +090087stubs_defaults {
Anton Hansson537564e2020-03-06 17:16:06 +000088 name: "metalava-full-api-stubs-default",
89 defaults: ["metalava-base-api-stubs-default"],
Anton Hanssone01390c2020-05-07 12:06:00 +010090 srcs: [
Paul Duffine55d4e32020-05-14 17:55:46 +010091 ":conscrypt.module.public.api{.public.stubs.source}",
Anton Hanssone01390c2020-05-07 12:06:00 +010092 ":framework-updatable-sources",
93 ],
Jiyong Park2e6cdcc2019-12-20 15:30:28 +090094 sdk_version: "core_platform",
95}
96
Anton Hansson537564e2020-03-06 17:16:06 +000097stubs_defaults {
98 name: "metalava-non-updatable-api-stubs-default",
99 defaults: ["metalava-base-api-stubs-default"],
Anton Hanssone53bec02020-03-20 09:12:52 +0000100 sdk_version: "core_platform",
Anton Hanssonebb26a32020-04-14 16:35:36 +0100101 // There are a few classes from modules used as type arguments that
102 // need to be resolved by metalava. For now, we can use a previously
103 // finalized stub library to resolve them. If a new class gets added,
104 // this may be need to be revisited to use a manually maintained stub
105 // library with empty classes in order to resolve those references.
Anton Hansson33ea9992020-04-09 14:16:37 +0100106 libs: ["sdk_system_30_android"],
Anton Hanssonebb26a32020-04-14 16:35:36 +0100107 aidl: {
Anton Hansson394febc2020-04-14 16:35:36 +0100108 local_include_dirs: ["apex/media/aidl/stable"],
Anton Hanssonebb26a32020-04-14 16:35:36 +0100109 },
Anton Hansson537564e2020-03-06 17:16:06 +0000110}
111
Jiyong Park7fb4b182019-12-20 14:35:43 +0900112/////////////////////////////////////////////////////////////////////
113// *-api-stubs-docs modules providing source files for the stub libraries
114/////////////////////////////////////////////////////////////////////
115
Jiyong Park2e6cdcc2019-12-20 15:30:28 +0900116// api-stubs-docs, system-api-stubs-docs, and test-api-stubs-docs have APIs
117// from the non-updatable part of the platform as well as from the updatable
118// modules
Jiyong Park7fb4b182019-12-20 14:35:43 +0900119droidstubs {
120 name: "api-stubs-docs",
Anton Hansson537564e2020-03-06 17:16:06 +0000121 defaults: ["metalava-full-api-stubs-default"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900122 arg_files: [
123 "core/res/AndroidManifest.xml",
124 ],
125 args: metalava_framework_docs_args,
126 check_api: {
127 current: {
128 api_file: "api/current.txt",
129 removed_api_file: "api/removed.txt",
130 },
131 last_released: {
Anton Hanssonf68ddea2020-05-02 17:49:26 +0100132 api_file: ":android.api.public.latest",
Anton Hansson960c6752020-05-02 18:00:30 +0100133 removed_api_file: ":removed.api.public.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900134 baseline_file: ":public-api-incompatibilities-with-last-released",
135 },
136 api_lint: {
137 enabled: true,
Anton Hanssonf68ddea2020-05-02 17:49:26 +0100138 new_since: ":android.api.public.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900139 baseline_file: "api/lint-baseline.txt",
140 },
141 },
Jiyong Park7fb4b182019-12-20 14:35:43 +0900142}
143
Anton Hansson7f6823e2020-06-04 15:09:36 +0100144droidstubs {
145 name: "api-stubs-docs-non-updatable",
146 defaults: ["metalava-non-updatable-api-stubs-default"],
147 arg_files: ["core/res/AndroidManifest.xml"],
148 args: metalava_framework_docs_args,
149 check_api: {
150 current: {
Anton Hansson7bfceb82020-10-29 18:59:10 +0000151 api_file: "core/api/current.txt",
152 removed_api_file: "core/api/removed.txt",
Anton Hansson7f6823e2020-06-04 15:09:36 +0100153 },
Anton Hansson3258a472020-10-05 16:23:27 +0100154 last_released: {
155 api_file: ":android-non-updatable.api.public.latest",
156 removed_api_file: ":android-non-updatable-removed.api.public.latest",
157 baseline_file: ":public-api-incompatibilities-with-last-released",
158 },
Anton Hansson33ea9992020-04-09 14:16:37 +0100159 api_lint: {
160 enabled: true,
161 new_since: ":android-non-updatable.api.public.latest",
162 },
Anton Hansson7f6823e2020-06-04 15:09:36 +0100163 },
164}
165
Anton Hansson81969c22020-02-03 20:45:56 +0000166priv_apps = " " +
167 "--show-annotation android.annotation.SystemApi\\(" +
168 "client=android.annotation.SystemApi.Client.PRIVILEGED_APPS" +
169 "\\) "
170
171module_libs = " " +
172 " --show-annotation android.annotation.SystemApi\\(" +
173 "client=android.annotation.SystemApi.Client.MODULE_LIBRARIES" +
Makoto Onukia13287f2020-07-10 12:05:21 -0700174 "\\)" +
175 " --show-for-stub-purposes-annotation android.annotation.SystemApi\\(" +
176 "client=android.annotation.SystemApi.Client.PRIVILEGED_APPS" +
Anton Hansson81969c22020-02-03 20:45:56 +0000177 "\\) "
178
Jiyong Park7fb4b182019-12-20 14:35:43 +0900179droidstubs {
180 name: "system-api-stubs-docs",
Anton Hansson537564e2020-03-06 17:16:06 +0000181 defaults: ["metalava-full-api-stubs-default"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900182 arg_files: [
183 "core/res/AndroidManifest.xml",
184 ],
Anton Hansson81969c22020-02-03 20:45:56 +0000185 args: metalava_framework_docs_args + priv_apps,
Jiyong Park7fb4b182019-12-20 14:35:43 +0900186 check_api: {
187 current: {
188 api_file: "api/system-current.txt",
189 removed_api_file: "api/system-removed.txt",
190 },
191 last_released: {
Anton Hanssonf68ddea2020-05-02 17:49:26 +0100192 api_file: ":android.api.system.latest",
Anton Hansson960c6752020-05-02 18:00:30 +0100193 removed_api_file: ":removed.api.system.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900194 baseline_file: ":system-api-incompatibilities-with-last-released"
195 },
196 api_lint: {
197 enabled: true,
Anton Hanssonf68ddea2020-05-02 17:49:26 +0100198 new_since: ":android.api.system.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900199 baseline_file: "api/system-lint-baseline.txt",
200 },
201 },
Jiyong Park7fb4b182019-12-20 14:35:43 +0900202}
203
204droidstubs {
Anton Hansson7f6823e2020-06-04 15:09:36 +0100205 name: "system-api-stubs-docs-non-updatable",
206 defaults: ["metalava-non-updatable-api-stubs-default"],
207 arg_files: ["core/res/AndroidManifest.xml"],
208 args: metalava_framework_docs_args + priv_apps,
209 check_api: {
210 current: {
Anton Hansson7bfceb82020-10-29 18:59:10 +0000211 api_file: "core/api/system-current.txt",
212 removed_api_file: "core/api/system-removed.txt",
Anton Hansson7f6823e2020-06-04 15:09:36 +0100213 },
Anton Hansson3258a472020-10-05 16:23:27 +0100214 last_released: {
215 api_file: ":android-non-updatable.api.system.latest",
216 removed_api_file: ":android-non-updatable-removed.api.system.latest",
217 baseline_file: ":system-api-incompatibilities-with-last-released"
218 },
Anton Hansson33ea9992020-04-09 14:16:37 +0100219 api_lint: {
220 enabled: true,
221 new_since: ":android-non-updatable.api.system.latest",
Anton Hansson7bfceb82020-10-29 18:59:10 +0000222 baseline_file: "core/api/system-lint-baseline.txt",
Anton Hansson33ea9992020-04-09 14:16:37 +0100223 },
Anton Hansson7f6823e2020-06-04 15:09:36 +0100224 },
225}
226
227droidstubs {
Jiyong Park7fb4b182019-12-20 14:35:43 +0900228 name: "test-api-stubs-docs",
Anton Hansson7110ae72020-10-15 17:23:35 +0100229 defaults: ["metalava-non-updatable-api-stubs-default"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900230 arg_files: [
231 "core/res/AndroidManifest.xml",
232 ],
Anton Hansson84ffba22020-10-09 10:13:51 +0100233 args: metalava_framework_docs_args
234 + " --show-annotation android.annotation.TestApi"
235 + " --show-for-stub-purposes-annotation android.annotation.SystemApi\\("
236 + "client=android.annotation.SystemApi.Client.PRIVILEGED_APPS"
237 + "\\)",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900238 check_api: {
239 current: {
240 api_file: "api/test-current.txt",
241 removed_api_file: "api/test-removed.txt",
242 },
243 api_lint: {
244 enabled: true,
245 baseline_file: "api/test-lint-baseline.txt",
246 },
247 },
Anton Hanssonba367d32020-03-23 18:08:55 +0000248 dist: {
249 targets: ["sdk", "win_sdk"],
250 dir: "apistubs/android/test/api",
251 dest: "android.txt",
252 },
Jiyong Park7fb4b182019-12-20 14:35:43 +0900253}
254
255/////////////////////////////////////////////////////////////////////
Anton Hansson43cc8bf2020-10-29 18:56:10 +0000256// Following droidstub module for extra APIs for modules,
Makoto Onukia13287f2020-07-10 12:05:21 -0700257// namely @SystemApi(client=MODULE_LIBRARIES) APIs.
Jiyong Park2e6cdcc2019-12-20 15:30:28 +0900258/////////////////////////////////////////////////////////////////////
259
Jiyong Park2e6cdcc2019-12-20 15:30:28 +0900260droidstubs {
Anton Hansson7f6823e2020-06-04 15:09:36 +0100261 name: "module-lib-api-stubs-docs-non-updatable",
262 defaults: ["metalava-non-updatable-api-stubs-default"],
263 arg_files: ["core/res/AndroidManifest.xml"],
Makoto Onuki8c61de62020-07-15 10:38:04 -0700264 args: metalava_framework_docs_args + priv_apps + module_libs,
Anton Hansson7f6823e2020-06-04 15:09:36 +0100265 check_api: {
266 current: {
Anton Hansson7bfceb82020-10-29 18:59:10 +0000267 api_file: "core/api/module-lib-current.txt",
268 removed_api_file: "core/api/module-lib-removed.txt",
Anton Hansson7f6823e2020-06-04 15:09:36 +0100269 },
Anton Hanssonc3ef1f562020-10-07 14:55:36 +0100270 last_released: {
271 api_file: ":android-non-updatable.api.module-lib.latest",
272 removed_api_file: ":android-non-updatable-removed.api.module-lib.latest",
273 },
Anton Hansson33ea9992020-04-09 14:16:37 +0100274 api_lint: {
275 enabled: true,
276 new_since: ":android-non-updatable.api.module-lib.latest",
277 },
Anton Hansson7f6823e2020-06-04 15:09:36 +0100278 },
279}
Anton Hansson81969c22020-02-03 20:45:56 +0000280
Jiyong Park2e6cdcc2019-12-20 15:30:28 +0900281/////////////////////////////////////////////////////////////////////
Jiyong Park7fb4b182019-12-20 14:35:43 +0900282// android_*_stubs_current modules are the stubs libraries compiled
283// from *-api-stubs-docs
284/////////////////////////////////////////////////////////////////////
285
286java_defaults {
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100287 name: "android_defaults_stubs_current",
Anton Hansson42afd612020-02-08 20:43:19 +0000288 libs: [ "stub-annotations" ],
Paul Duffina281e922020-03-25 10:13:33 +0000289 static_libs: [
Paul Duffina281e922020-03-25 10:13:33 +0000290 // License notices from art module
291 "art-notices-for-framework-stubs-jar",
Anton Hanssoncf42e982020-08-13 19:40:13 +0100292 "framework-res-package-jar", // Export package of framework-res
Paul Duffina281e922020-03-25 10:13:33 +0000293 ],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900294 errorprone: {
295 javacflags: [
296 "-XepDisableAllChecks",
297 ],
298 },
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100299 sdk_version: "none",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900300 system_modules: "none",
301 java_version: "1.8",
302 compile_dex: true,
303}
304
Anton Hanssona9205502020-07-15 13:36:34 +0100305java_defaults {
306 name: "android_stubs_dists_default",
307 dist: {
308 targets: ["sdk", "win_sdk"],
309 tag: ".jar",
310 dest: "android.jar",
311 },
312}
313
Jiyong Park7fb4b182019-12-20 14:35:43 +0900314java_library_static {
Anton Hansson912622f2020-04-09 14:16:37 +0100315 name: "android_monolith_stubs_current",
Anton Hansson42afd612020-02-08 20:43:19 +0000316 srcs: [ ":api-stubs-docs" ],
Anton Hanssonf330f3a2020-05-20 12:06:23 +0100317 static_libs: [ "private-stub-annotations-jar" ],
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100318 defaults: ["android_defaults_stubs_current"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900319}
320
321java_library_static {
Anton Hansson912622f2020-04-09 14:16:37 +0100322 name: "android_merged_stubs_current",
323 srcs: [ ":api-stubs-docs-non-updatable" ],
324 static_libs: [
325 "conscrypt.module.public.api.stubs",
Paul Duffinabebc6a2020-05-31 11:35:50 +0100326 "framework-media.stubs",
327 "framework-mediaprovider.stubs",
328 "framework-permission.stubs",
Anton Hansson912622f2020-04-09 14:16:37 +0100329 "framework-sdkextensions.stubs",
Paul Duffinabebc6a2020-05-31 11:35:50 +0100330 "framework-statsd.stubs",
Anton Hansson912622f2020-04-09 14:16:37 +0100331 "framework-tethering.stubs",
Paul Duffinabebc6a2020-05-31 11:35:50 +0100332 "framework-wifi.stubs",
Anton Hansson33ea9992020-04-09 14:16:37 +0100333 "private-stub-annotations-jar",
Anton Hansson912622f2020-04-09 14:16:37 +0100334 ],
335 defaults: ["android_defaults_stubs_current"],
336}
337
338java_library_static {
339 name: "android_stubs_current",
340 static_libs: ["android_merged_stubs_current"],
341 defaults: ["android_defaults_stubs_current"],
342}
343
344java_library_static {
345 name: "android_system_monolith_stubs_current",
Anton Hansson42afd612020-02-08 20:43:19 +0000346 srcs: [ ":system-api-stubs-docs" ],
Anton Hanssonf330f3a2020-05-20 12:06:23 +0100347 static_libs: [ "private-stub-annotations-jar" ],
Anton Hanssona9205502020-07-15 13:36:34 +0100348 defaults: [
349 "android_defaults_stubs_current",
350 "android_stubs_dists_default",
351 ],
352 dist: {
353 dir: "apistubs/android/system",
354 },
355 dists: [
356 {
357 // Legacy dist path
358 targets: ["sdk", "win_sdk"],
359 tag: ".jar",
360 dest: "android_system.jar",
361 },
362 ],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900363}
364
365java_library_static {
Anton Hansson912622f2020-04-09 14:16:37 +0100366 name: "android_system_merged_stubs_current",
367 srcs: [ ":system-api-stubs-docs-non-updatable" ],
368 static_libs: [
369 "conscrypt.module.public.api.stubs",
Paul Duffinabebc6a2020-05-31 11:35:50 +0100370 "framework-media.stubs.system",
371 "framework-mediaprovider.stubs.system",
372 "framework-permission.stubs.system",
Anton Hansson912622f2020-04-09 14:16:37 +0100373 "framework-sdkextensions.stubs.system",
Paul Duffinabebc6a2020-05-31 11:35:50 +0100374 "framework-statsd.stubs.system",
Anton Hansson912622f2020-04-09 14:16:37 +0100375 "framework-tethering.stubs.system",
Paul Duffinabebc6a2020-05-31 11:35:50 +0100376 "framework-wifi.stubs.system",
Anton Hansson33ea9992020-04-09 14:16:37 +0100377 "private-stub-annotations-jar",
Anton Hansson912622f2020-04-09 14:16:37 +0100378 ],
379 defaults: ["android_defaults_stubs_current"],
380}
381
382java_library_static {
383 name: "android_system_stubs_current",
384 static_libs: ["android_system_merged_stubs_current"],
385 defaults: ["android_defaults_stubs_current"],
386}
387
388java_library_static {
Jiyong Park7fb4b182019-12-20 14:35:43 +0900389 name: "android_test_stubs_current",
Anton Hansson42afd612020-02-08 20:43:19 +0000390 srcs: [ ":test-api-stubs-docs" ],
Anton Hansson7110ae72020-10-15 17:23:35 +0100391 static_libs: [
392 // Modules do not have test APIs, but we want to include their SystemApis, like we include
393 // the SystemApi of framework-non-updatable-sources.
394 "conscrypt.module.public.api.stubs",
395 "framework-media.stubs.system",
396 "framework-mediaprovider.stubs.system",
397 "framework-permission.stubs.system",
398 "framework-sdkextensions.stubs.system",
399 "framework-statsd.stubs.system",
400 "framework-tethering.stubs.system",
401 "framework-wifi.stubs.system",
402 "private-stub-annotations-jar",
403 ],
Anton Hanssona9205502020-07-15 13:36:34 +0100404 defaults: [
405 "android_defaults_stubs_current",
406 "android_stubs_dists_default",
407 ],
408 dist: {
409 dir: "apistubs/android/test",
410 },
411 dists: [
412 {
413 // Legacy dist path
414 targets: ["sdk", "win_sdk"],
415 tag: ".jar",
416 dest: "android_test.jar",
417 },
418 ],
Jiyong Park2e6cdcc2019-12-20 15:30:28 +0900419}
420
421java_library_static {
Anton Hansson9c4bbe92020-01-30 12:09:02 +0000422 name: "android_module_lib_stubs_current",
Makoto Onuki8c61de62020-07-15 10:38:04 -0700423 srcs: [ ":module-lib-api-stubs-docs-non-updatable" ],
Anton Hanssona9205502020-07-15 13:36:34 +0100424 defaults: [
425 "android_defaults_stubs_current",
426 "android_stubs_dists_default",
427 ],
Anton Hanssonebb26a32020-04-14 16:35:36 +0100428 libs: ["sdk_system_29_android"],
Anton Hanssona9205502020-07-15 13:36:34 +0100429 dist: {
430 dir: "apistubs/android/module-lib",
431 },
Jiyong Park7fb4b182019-12-20 14:35:43 +0900432}
433
Anton Hansson7f6823e2020-06-04 15:09:36 +0100434java_library_static {
435 name: "android_non_updatable_stubs_current",
436 srcs: [":api-stubs-docs-non-updatable"],
437 defaults: ["android_defaults_stubs_current"],
438 libs: ["sdk_system_29_android"],
439}
440
441java_library_static {
442 name: "android_system_non_updatable_stubs_current",
443 srcs: [":system-api-stubs-docs-non-updatable"],
444 defaults: ["android_defaults_stubs_current"],
445 libs: ["sdk_system_29_android"],
446}
447
Jiyong Park7fb4b182019-12-20 14:35:43 +0900448/////////////////////////////////////////////////////////////////////
449// hwbinder.stubs provides APIs required for building HIDL Java
450// libraries.
451/////////////////////////////////////////////////////////////////////
452
453droidstubs {
454 name: "hwbinder-stubs-docs",
455 srcs: [
456 "core/java/android/os/HidlSupport.java",
457 "core/java/android/annotation/IntDef.java",
458 "core/java/android/annotation/IntRange.java",
459 "core/java/android/annotation/NonNull.java",
460 "core/java/android/annotation/SystemApi.java",
461 "core/java/android/os/HidlMemory.java",
462 "core/java/android/os/HwBinder.java",
463 "core/java/android/os/HwBlob.java",
464 "core/java/android/os/HwParcel.java",
465 "core/java/android/os/IHwBinder.java",
466 "core/java/android/os/IHwInterface.java",
467 "core/java/android/os/DeadObjectException.java",
468 "core/java/android/os/DeadSystemException.java",
469 "core/java/android/os/NativeHandle.java",
470 "core/java/android/os/RemoteException.java",
471 "core/java/android/util/AndroidException.java",
472 ],
473 installable: false,
474 sdk_version: "core_platform",
475 annotations_enabled: true,
Anton Hanssonf68ddea2020-05-02 17:49:26 +0100476 previous_api: ":android.api.public.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900477 merge_annotations_dirs: [
478 "metalava-manual",
479 ],
Anton Hansson81969c22020-02-03 20:45:56 +0000480 args: priv_apps,
Jiyong Park7fb4b182019-12-20 14:35:43 +0900481}
482
483java_library_static {
484 name: "hwbinder.stubs",
485 sdk_version: "core_current",
486 srcs: [
487 ":hwbinder-stubs-docs",
488 ],
489}