blob: d1ad189c3cdffdd90b75e64bc164cb21cee9b3ec [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
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 Hansson2feb3f12020-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 Hansson2feb3f12020-11-13 11:44:32 +000055 arg_files: ["core/res/AndroidManifest.xml"],
Ytai Ben-Tsvida7c21e2020-09-16 13:04:31 -070056 // TODO(b/147699819, b/169090544): remove below aidl includes.
Chen Xu546ce5e2020-01-10 08:38:31 -080057 aidl: {
Ytai Ben-Tsvida7c21e2020-09-16 13:04:31 -070058 local_include_dirs: [
Anton Hansson2feb3f12020-11-13 11:44:32 +000059 "apex/media/aidl/stable",
Ytai Ben-Tsvida7c21e2020-09-16 13:04:31 -070060 "media/aidl",
Anton Hansson2feb3f12020-11-13 11:44:32 +000061 "telephony/java",
Ytai Ben-Tsvida7c21e2020-09-16 13:04:31 -070062 ],
Ytai Ben-Tsvic3cd3cd2020-10-30 12:34:51 -070063 include_dirs: ["frameworks/av/aidl"],
Chen Xu546ce5e2020-01-10 08:38:31 -080064 },
Jiyong Parkc0f8a282020-09-29 13:43:00 +090065 // These are libs from framework-internal-utils that are required (i.e. being referenced)
66 // from framework-non-updatable-sources. Add more here when there's a need.
67 // DO NOT add the entire framework-internal-utils. It might cause unnecessary circular
68 // dependencies gets bigger.
69 libs: [
70 "android.hardware.cas-V1.2-java",
71 "android.hardware.health-V1.0-java-constants",
72 "android.hardware.radio-V1.5-java",
Jayachandran Cc4faf842020-08-10 10:58:23 -070073 "android.hardware.radio-V1.6-java",
Jiyong Parkc0f8a282020-09-29 13:43:00 +090074 "android.hardware.thermal-V1.0-java-constants",
75 "android.hardware.thermal-V2.0-java",
76 "android.hardware.tv.input-V1.0-java-constants",
77 "android.hardware.tv.tuner-V1.0-java-constants",
Amy Zhang782aa902020-10-12 13:55:52 -070078 "android.hardware.tv.tuner-V1.1-java-constants",
Jiyong Parkc0f8a282020-09-29 13:43:00 +090079 "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 Hansson2feb3f12020-11-13 11:44:32 +000085 // There are a few classes from modules used as type arguments that
86 // need to be resolved by metalava. For now, we can use a previously
87 // finalized stub library to resolve them. If a new class gets added,
88 // this may be need to be revisited to use a manually maintained stub
89 // library with empty classes in order to resolve those references.
90 "sdk_system_30_android",
Jiyong Parkc0f8a282020-09-29 13:43:00 +090091 ],
Anton Hansson35146892020-10-26 10:27:57 +000092 high_mem: true, // Lots of sources => high memory use, see b/170701554
Jiyong Park7fb4b182019-12-20 14:35:43 +090093 installable: false,
94 annotations_enabled: true,
Anton Hansson48ee95e2020-05-02 17:49:26 +010095 previous_api: ":android.api.public.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +090096 merge_annotations_dirs: [
97 "metalava-manual",
98 ],
Aurimas Liutikas94bac9c2020-03-12 17:06:12 -070099 api_levels_annotations_enabled: false,
Jiyong Park7fb4b182019-12-20 14:35:43 +0900100 filter_packages: packages_to_document,
101}
102
103/////////////////////////////////////////////////////////////////////
Anton Hansson51861e72020-11-13 09:55:29 +0000104// These modules provide source files for the stub libraries
Jiyong Park7fb4b182019-12-20 14:35:43 +0900105/////////////////////////////////////////////////////////////////////
106
Anton Hansson76d3db42020-04-09 14:16:37 +0100107droidstubs {
108 name: "api-stubs-docs-non-updatable",
109 defaults: ["metalava-non-updatable-api-stubs-default"],
Anton Hansson76d3db42020-04-09 14:16:37 +0100110 args: metalava_framework_docs_args,
111 check_api: {
112 current: {
Anton Hansson6cbaff22020-10-29 15:28:19 +0000113 api_file: "core/api/current.txt",
114 removed_api_file: "core/api/removed.txt",
Anton Hansson76d3db42020-04-09 14:16:37 +0100115 },
Anton Hansson37e102e2020-10-05 16:42:40 +0100116 last_released: {
117 api_file: ":android-non-updatable.api.public.latest",
118 removed_api_file: ":android-non-updatable-removed.api.public.latest",
119 baseline_file: ":public-api-incompatibilities-with-last-released",
120 },
Anton Hansson76d3db42020-04-09 14:16:37 +0100121 api_lint: {
122 enabled: true,
123 new_since: ":android-non-updatable.api.public.latest",
124 },
125 },
Anton Hansson85785fe2021-01-20 20:23:34 +0000126 dists: [
127 {
128 targets: ["sdk", "win_sdk"],
129 dir: "apistubs/android/public/api",
130 dest: "android-non-updatable.txt",
131 tag: ".api.txt",
132 },
133 {
134 targets: ["sdk", "win_sdk"],
135 dir: "apistubs/android/public/api",
136 dest: "android-non-updatable-removed.txt",
137 tag: ".removed-api.txt",
138 },
139 ],
Anton Hansson76d3db42020-04-09 14:16:37 +0100140}
141
Anton Hansson2feb3f12020-11-13 11:44:32 +0000142priv_apps =
Anton Hansson81969c22020-02-03 20:45:56 +0000143 " --show-annotation android.annotation.SystemApi\\(" +
Anton Hansson2feb3f12020-11-13 11:44:32 +0000144 "client=android.annotation.SystemApi.Client.PRIVILEGED_APPS" +
145 "\\)"
146
147priv_apps_in_stubs =
Makoto Onuki41ccbfb2020-07-10 12:05:21 -0700148 " --show-for-stub-purposes-annotation android.annotation.SystemApi\\(" +
149 "client=android.annotation.SystemApi.Client.PRIVILEGED_APPS" +
Anton Hansson2feb3f12020-11-13 11:44:32 +0000150 "\\)"
151
152test = " --show-annotation android.annotation.TestApi"
153
154module_libs =
155 " --show-annotation android.annotation.SystemApi\\(" +
156 "client=android.annotation.SystemApi.Client.MODULE_LIBRARIES" +
157 "\\)"
Anton Hansson81969c22020-02-03 20:45:56 +0000158
Jiyong Park7fb4b182019-12-20 14:35:43 +0900159droidstubs {
Anton Hansson76d3db42020-04-09 14:16:37 +0100160 name: "system-api-stubs-docs-non-updatable",
161 defaults: ["metalava-non-updatable-api-stubs-default"],
Anton Hansson76d3db42020-04-09 14:16:37 +0100162 args: metalava_framework_docs_args + priv_apps,
163 check_api: {
164 current: {
Anton Hansson6cbaff22020-10-29 15:28:19 +0000165 api_file: "core/api/system-current.txt",
166 removed_api_file: "core/api/system-removed.txt",
Anton Hansson76d3db42020-04-09 14:16:37 +0100167 },
Anton Hansson37e102e2020-10-05 16:42:40 +0100168 last_released: {
169 api_file: ":android-non-updatable.api.system.latest",
170 removed_api_file: ":android-non-updatable-removed.api.system.latest",
171 baseline_file: ":system-api-incompatibilities-with-last-released"
172 },
Anton Hansson76d3db42020-04-09 14:16:37 +0100173 api_lint: {
174 enabled: true,
175 new_since: ":android-non-updatable.api.system.latest",
Anton Hansson6cbaff22020-10-29 15:28:19 +0000176 baseline_file: "core/api/system-lint-baseline.txt",
Anton Hansson76d3db42020-04-09 14:16:37 +0100177 },
178 },
Anton Hansson85785fe2021-01-20 20:23:34 +0000179 dists: [
180 {
181 targets: ["sdk", "win_sdk"],
182 dir: "apistubs/android/system/api",
183 dest: "android-non-updatable.txt",
184 tag: ".api.txt",
185 },
186 {
187 targets: ["sdk", "win_sdk"],
188 dir: "apistubs/android/system/api",
189 dest: "android-non-updatable-removed.txt",
190 tag: ".removed-api.txt",
191 },
192 ],
Anton Hansson76d3db42020-04-09 14:16:37 +0100193}
194
195droidstubs {
Anton Hansson022aac52020-11-05 10:45:13 +0000196 name: "test-api-stubs-docs-non-updatable",
Anton Hansson7ce31c12020-10-15 18:38:49 +0100197 defaults: ["metalava-non-updatable-api-stubs-default"],
Anton Hansson2feb3f12020-11-13 11:44:32 +0000198 args: metalava_framework_docs_args + test + priv_apps_in_stubs,
Jiyong Park7fb4b182019-12-20 14:35:43 +0900199 check_api: {
200 current: {
Anton Hansson022aac52020-11-05 10:45:13 +0000201 api_file: "core/api/test-current.txt",
202 removed_api_file: "core/api/test-removed.txt",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900203 },
204 api_lint: {
205 enabled: true,
Anton Hansson022aac52020-11-05 10:45:13 +0000206 baseline_file: "core/api/test-lint-baseline.txt",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900207 },
208 },
Anton Hansson85785fe2021-01-20 20:23:34 +0000209 dists: [
210 {
211 targets: ["sdk", "win_sdk"],
212 dir: "apistubs/android/test/api",
213 dest: "android.txt",
214 tag: ".api.txt",
215 },
216 {
217 targets: ["sdk", "win_sdk"],
218 dir: "apistubs/android/test/api",
219 dest: "removed.txt",
220 tag: ".removed-api.txt",
221 },
222 {
223 targets: ["sdk", "win_sdk"],
224 dir: "apistubs/android/test/api",
225 dest: "android-non-updatable.txt",
226 tag: ".api.txt",
227 },
228 {
229 targets: ["sdk", "win_sdk"],
230 dir: "apistubs/android/test/api",
231 dest: "android-non-updatable-removed.txt",
232 tag: ".removed-api.txt",
233 },
234 ],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900235}
236
Jiyong Parke3095162019-12-20 15:30:28 +0900237droidstubs {
Anton Hansson76d3db42020-04-09 14:16:37 +0100238 name: "module-lib-api-stubs-docs-non-updatable",
239 defaults: ["metalava-non-updatable-api-stubs-default"],
Anton Hansson2feb3f12020-11-13 11:44:32 +0000240 args: metalava_framework_docs_args + priv_apps_in_stubs + module_libs,
Anton Hansson76d3db42020-04-09 14:16:37 +0100241 check_api: {
242 current: {
Anton Hansson6cbaff22020-10-29 15:28:19 +0000243 api_file: "core/api/module-lib-current.txt",
244 removed_api_file: "core/api/module-lib-removed.txt",
Anton Hansson76d3db42020-04-09 14:16:37 +0100245 },
Anton Hanssonc3ef1f562020-10-07 14:55:36 +0100246 last_released: {
247 api_file: ":android-non-updatable.api.module-lib.latest",
248 removed_api_file: ":android-non-updatable-removed.api.module-lib.latest",
249 },
Anton Hansson76d3db42020-04-09 14:16:37 +0100250 api_lint: {
251 enabled: true,
252 new_since: ":android-non-updatable.api.module-lib.latest",
253 },
254 },
Anton Hansson85785fe2021-01-20 20:23:34 +0000255 dists: [
256 {
257 targets: ["sdk", "win_sdk"],
258 dir: "apistubs/android/module-lib/api",
259 dest: "android-non-updatable.txt",
260 tag: ".api.txt",
261 },
262 {
263 targets: ["sdk", "win_sdk"],
264 dir: "apistubs/android/module-lib/api",
265 dest: "android-non-updatable-removed.txt",
266 tag: ".removed-api.txt",
267 },
268 ],
Anton Hansson76d3db42020-04-09 14:16:37 +0100269}
Anton Hansson81969c22020-02-03 20:45:56 +0000270
Jiyong Parke3095162019-12-20 15:30:28 +0900271/////////////////////////////////////////////////////////////////////
Jiyong Park7fb4b182019-12-20 14:35:43 +0900272// android_*_stubs_current modules are the stubs libraries compiled
Anton Hansson2feb3f12020-11-13 11:44:32 +0000273// from stub sources
Jiyong Park7fb4b182019-12-20 14:35:43 +0900274/////////////////////////////////////////////////////////////////////
275
276java_defaults {
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100277 name: "android_defaults_stubs_current",
Anton Hansson08b48bb2020-02-08 20:43:19 +0000278 libs: [ "stub-annotations" ],
Paul Duffina281e922020-03-25 10:13:33 +0000279 static_libs: [
Paul Duffina281e922020-03-25 10:13:33 +0000280 // License notices from art module
281 "art-notices-for-framework-stubs-jar",
Anton Hanssoncf42e982020-08-13 19:40:13 +0100282 "framework-res-package-jar", // Export package of framework-res
Paul Duffina281e922020-03-25 10:13:33 +0000283 ],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900284 errorprone: {
285 javacflags: [
286 "-XepDisableAllChecks",
287 ],
288 },
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100289 sdk_version: "none",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900290 system_modules: "none",
291 java_version: "1.8",
292 compile_dex: true,
293}
294
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000295java_defaults {
296 name: "android_stubs_dists_default",
297 dist: {
298 targets: ["sdk", "win_sdk"],
299 tag: ".jar",
300 dest: "android.jar",
301 },
302}
303
Jiyong Park7fb4b182019-12-20 14:35:43 +0900304java_library_static {
Anton Hansson65aa6ea2020-11-03 19:35:56 +0000305 name: "android_stubs_current",
Anton Hansson76d3db42020-04-09 14:16:37 +0100306 srcs: [ ":api-stubs-docs-non-updatable" ],
307 static_libs: [
Anton Hanssonfc948d862020-12-17 16:57:35 +0000308 "art.module.public.api.stubs",
Anton Hansson76d3db42020-04-09 14:16:37 +0100309 "conscrypt.module.public.api.stubs",
Anton Hanssond74139e2020-10-08 14:59:17 +0100310 "framework-appsearch.stubs",
Paul Duffin4e006622020-05-31 16:55:13 +0100311 "framework-graphics.stubs",
Paul Duffin8b864fb2020-05-31 11:35:50 +0100312 "framework-media.stubs",
313 "framework-mediaprovider.stubs",
314 "framework-permission.stubs",
Hai Zhang591e1212021-01-21 12:48:43 -0800315 "framework-permission-s.stubs",
Paul Duffin8b864fb2020-05-31 11:35:50 +0100316 "framework-sdkextensions.stubs",
317 "framework-statsd.stubs",
318 "framework-tethering.stubs",
319 "framework-wifi.stubs",
Paul Duffin5a4e8f22020-11-25 15:45:43 +0000320 "i18n.module.public.api.stubs",
Anton Hanssonbf63f942020-05-20 12:06:23 +0100321 "private-stub-annotations-jar",
Anton Hansson76d3db42020-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 Hansson65aa6ea2020-11-03 19:35:56 +0000327 name: "android_system_stubs_current",
Anton Hansson76d3db42020-04-09 14:16:37 +0100328 srcs: [ ":system-api-stubs-docs-non-updatable" ],
329 static_libs: [
Anton Hanssonfc948d862020-12-17 16:57:35 +0000330 "art.module.public.api.stubs",
Anton Hansson76d3db42020-04-09 14:16:37 +0100331 "conscrypt.module.public.api.stubs",
Anton Hansson25a0a2b2020-10-08 13:43:48 +0100332 "framework-appsearch.stubs.system",
Paul Duffin4e006622020-05-31 16:55:13 +0100333 "framework-graphics.stubs.system",
Paul Duffin8b864fb2020-05-31 11:35:50 +0100334 "framework-media.stubs.system",
335 "framework-mediaprovider.stubs.system",
336 "framework-permission.stubs.system",
Hai Zhang591e1212021-01-21 12:48:43 -0800337 "framework-permission-s.stubs.system",
Paul Duffin8b864fb2020-05-31 11:35:50 +0100338 "framework-sdkextensions.stubs.system",
339 "framework-statsd.stubs.system",
340 "framework-tethering.stubs.system",
341 "framework-wifi.stubs.system",
Paul Duffin5a4e8f22020-11-25 15:45:43 +0000342 "i18n.module.public.api.stubs",
Anton Hanssonbf63f942020-05-20 12:06:23 +0100343 "private-stub-annotations-jar",
Anton Hansson76d3db42020-04-09 14:16:37 +0100344 ],
Anton Hanssonc3002e52020-11-18 18:23:55 +0000345 defaults: [
346 "android_defaults_stubs_current",
347 "android_stubs_dists_default",
348 ],
349 dist: {
350 dir: "apistubs/android/system",
351 },
352 dists: [
353 {
354 // Legacy dist path
355 targets: ["sdk", "win_sdk"],
356 tag: ".jar",
357 dest: "android_system.jar",
358 },
359 ],
Anton Hansson76d3db42020-04-09 14:16:37 +0100360}
361
362java_library_static {
Jiyong Park7fb4b182019-12-20 14:35:43 +0900363 name: "android_test_stubs_current",
Anton Hansson022aac52020-11-05 10:45:13 +0000364 srcs: [ ":test-api-stubs-docs-non-updatable" ],
Anton Hansson7ce31c12020-10-15 18:38:49 +0100365 static_libs: [
366 // Modules do not have test APIs, but we want to include their SystemApis, like we include
367 // the SystemApi of framework-non-updatable-sources.
Anton Hanssonfc948d862020-12-17 16:57:35 +0000368 "art.module.public.api.stubs",
Anton Hansson7ce31c12020-10-15 18:38:49 +0100369 "conscrypt.module.public.api.stubs",
370 "framework-appsearch.stubs.system",
371 "framework-graphics.stubs.system",
372 "framework-media.stubs.system",
373 "framework-mediaprovider.stubs.system",
374 "framework-permission.stubs.system",
Hai Zhang591e1212021-01-21 12:48:43 -0800375 "framework-permission-s.stubs.system",
Anton Hansson7ce31c12020-10-15 18:38:49 +0100376 "framework-sdkextensions.stubs.system",
377 "framework-statsd.stubs.system",
378 "framework-tethering.stubs.system",
379 "framework-wifi.stubs.system",
Paul Duffin5a4e8f22020-11-25 15:45:43 +0000380 "i18n.module.public.api.stubs",
Anton Hansson7ce31c12020-10-15 18:38:49 +0100381 "private-stub-annotations-jar",
382 ],
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000383 defaults: [
384 "android_defaults_stubs_current",
385 "android_stubs_dists_default",
386 ],
387 dist: {
388 dir: "apistubs/android/test",
389 },
390 dists: [
391 {
392 // Legacy dist path
393 targets: ["sdk", "win_sdk"],
394 tag: ".jar",
395 dest: "android_test.jar",
396 },
397 ],
Jiyong Parke3095162019-12-20 15:30:28 +0900398}
399
400java_library_static {
Anton Hansson1b9cf092020-01-30 12:09:02 +0000401 name: "android_module_lib_stubs_current",
Makoto Onukif4a486e2020-07-15 10:38:04 -0700402 srcs: [ ":module-lib-api-stubs-docs-non-updatable" ],
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000403 defaults: [
404 "android_defaults_stubs_current",
405 "android_stubs_dists_default",
406 ],
Anton Hansson394febc2020-04-14 16:35:36 +0100407 libs: ["sdk_system_29_android"],
Anton Hanssonfc948d862020-12-17 16:57:35 +0000408 static_libs: ["art.module.public.api.stubs"],
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000409 dist: {
410 dir: "apistubs/android/module-lib",
411 },
Jiyong Park7fb4b182019-12-20 14:35:43 +0900412}
413
Jiyong Park7fb4b182019-12-20 14:35:43 +0900414/////////////////////////////////////////////////////////////////////
415// hwbinder.stubs provides APIs required for building HIDL Java
416// libraries.
417/////////////////////////////////////////////////////////////////////
418
419droidstubs {
420 name: "hwbinder-stubs-docs",
421 srcs: [
422 "core/java/android/os/HidlSupport.java",
423 "core/java/android/annotation/IntDef.java",
424 "core/java/android/annotation/IntRange.java",
425 "core/java/android/annotation/NonNull.java",
426 "core/java/android/annotation/SystemApi.java",
427 "core/java/android/os/HidlMemory.java",
428 "core/java/android/os/HwBinder.java",
429 "core/java/android/os/HwBlob.java",
430 "core/java/android/os/HwParcel.java",
431 "core/java/android/os/IHwBinder.java",
432 "core/java/android/os/IHwInterface.java",
433 "core/java/android/os/DeadObjectException.java",
434 "core/java/android/os/DeadSystemException.java",
435 "core/java/android/os/NativeHandle.java",
436 "core/java/android/os/RemoteException.java",
437 "core/java/android/util/AndroidException.java",
438 ],
439 installable: false,
440 sdk_version: "core_platform",
441 annotations_enabled: true,
Anton Hansson48ee95e2020-05-02 17:49:26 +0100442 previous_api: ":android.api.public.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900443 merge_annotations_dirs: [
444 "metalava-manual",
445 ],
Anton Hansson81969c22020-02-03 20:45:56 +0000446 args: priv_apps,
Jiyong Park7fb4b182019-12-20 14:35:43 +0900447}
448
449java_library_static {
450 name: "hwbinder.stubs",
451 sdk_version: "core_current",
452 srcs: [
453 ":hwbinder-stubs-docs",
454 ],
455}