blob: a0a426e9b766095c9f7bf11e3fe0f16717852145 [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
Neha Pattan403eb572021-12-14 02:58:57 +000026// TODO(b/21090328): Remove filter after we are ready to.
27soong_config_module_type_import {
28 from: "frameworks/base/Android.bp",
29 module_types: [
30 "java_library_with_nonpublic_deps",
31 ],
32}
33
Jiyong Park7fb4b182019-12-20 14:35:43 +090034/////////////////////////////////////////////////////////////////////
Anton Hansson51861e72020-11-13 09:55:29 +000035// These modules provide source files for the stub libraries
Jiyong Park7fb4b182019-12-20 14:35:43 +090036/////////////////////////////////////////////////////////////////////
37
Anton Hansson76d3db42020-04-09 14:16:37 +010038droidstubs {
39 name: "api-stubs-docs-non-updatable",
Anton Hansson9dce8322022-01-24 14:14:33 +000040 defaults: [
41 "android-non-updatable-stubs-defaults",
42 "module-classpath-stubs-defaults",
43 ],
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 Hanssondd8ef672022-01-04 08:53:19 +000062 targets: ["sdk"],
Anton Hansson85785fe2021-01-20 20:23:34 +000063 dir: "apistubs/android/public/api",
64 dest: "android-non-updatable.txt",
65 tag: ".api.txt",
66 },
67 {
Anton Hanssondd8ef672022-01-04 08:53:19 +000068 targets: ["sdk"],
Anton Hansson85785fe2021-01-20 20:23:34 +000069 dir: "apistubs/android/public/api",
70 dest: "android-non-updatable-removed.txt",
71 tag: ".removed-api.txt",
72 },
73 ],
Anton Hansson76d3db42020-04-09 14:16:37 +010074}
75
Anton Hansson240ee482021-04-14 12:52:00 +010076priv_apps = " --show-annotation android.annotation.SystemApi\\(" +
77 "client=android.annotation.SystemApi.Client.PRIVILEGED_APPS" +
Anton Hansson2feb3f12020-11-13 11:44:32 +000078 "\\)"
79
Anton Hansson240ee482021-04-14 12:52:00 +010080priv_apps_in_stubs = " --show-for-stub-purposes-annotation android.annotation.SystemApi\\(" +
81 "client=android.annotation.SystemApi.Client.PRIVILEGED_APPS" +
Anton Hansson2feb3f12020-11-13 11:44:32 +000082 "\\)"
83
84test = " --show-annotation android.annotation.TestApi"
85
Anton Hansson240ee482021-04-14 12:52:00 +010086module_libs = " --show-annotation android.annotation.SystemApi\\(" +
87 "client=android.annotation.SystemApi.Client.MODULE_LIBRARIES" +
Anton Hansson2feb3f12020-11-13 11:44:32 +000088 "\\)"
Anton Hansson81969c22020-02-03 20:45:56 +000089
Jiyong Park7fb4b182019-12-20 14:35:43 +090090droidstubs {
Anton Hansson76d3db42020-04-09 14:16:37 +010091 name: "system-api-stubs-docs-non-updatable",
Anton Hansson9dce8322022-01-24 14:14:33 +000092 defaults: [
93 "android-non-updatable-stubs-defaults",
94 "module-classpath-stubs-defaults",
95 ],
Anton Hansson76d3db42020-04-09 14:16:37 +010096 args: metalava_framework_docs_args + priv_apps,
97 check_api: {
98 current: {
Anton Hansson6cbaff22020-10-29 15:28:19 +000099 api_file: "core/api/system-current.txt",
100 removed_api_file: "core/api/system-removed.txt",
Anton Hansson76d3db42020-04-09 14:16:37 +0100101 },
Anton Hansson37e102e2020-10-05 16:42:40 +0100102 last_released: {
103 api_file: ":android-non-updatable.api.system.latest",
104 removed_api_file: ":android-non-updatable-removed.api.system.latest",
Anton Hansson240ee482021-04-14 12:52:00 +0100105 baseline_file: ":android-non-updatable-incompatibilities.api.system.latest",
Anton Hansson37e102e2020-10-05 16:42:40 +0100106 },
Anton Hansson76d3db42020-04-09 14:16:37 +0100107 api_lint: {
108 enabled: true,
Anton Hansson4f90aa52021-06-04 22:23:59 +0100109 new_since: ":android.api.system.latest",
Anton Hansson6cbaff22020-10-29 15:28:19 +0000110 baseline_file: "core/api/system-lint-baseline.txt",
Anton Hansson76d3db42020-04-09 14:16:37 +0100111 },
112 },
Anton Hansson85785fe2021-01-20 20:23:34 +0000113 dists: [
114 {
Anton Hanssondd8ef672022-01-04 08:53:19 +0000115 targets: ["sdk"],
Anton Hansson85785fe2021-01-20 20:23:34 +0000116 dir: "apistubs/android/system/api",
117 dest: "android-non-updatable.txt",
118 tag: ".api.txt",
119 },
120 {
Anton Hanssondd8ef672022-01-04 08:53:19 +0000121 targets: ["sdk"],
Anton Hansson85785fe2021-01-20 20:23:34 +0000122 dir: "apistubs/android/system/api",
123 dest: "android-non-updatable-removed.txt",
124 tag: ".removed-api.txt",
125 },
126 ],
Anton Hansson76d3db42020-04-09 14:16:37 +0100127}
128
129droidstubs {
Anton Hansson022aac52020-11-05 10:45:13 +0000130 name: "test-api-stubs-docs-non-updatable",
Anton Hansson9dce8322022-01-24 14:14:33 +0000131 defaults: [
132 "android-non-updatable-stubs-defaults",
133 "module-classpath-stubs-defaults",
134 ],
Anton Hansson2feb3f12020-11-13 11:44:32 +0000135 args: metalava_framework_docs_args + test + priv_apps_in_stubs,
Jiyong Park7fb4b182019-12-20 14:35:43 +0900136 check_api: {
137 current: {
Anton Hansson022aac52020-11-05 10:45:13 +0000138 api_file: "core/api/test-current.txt",
139 removed_api_file: "core/api/test-removed.txt",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900140 },
141 api_lint: {
142 enabled: true,
Anton Hansson022aac52020-11-05 10:45:13 +0000143 baseline_file: "core/api/test-lint-baseline.txt",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900144 },
145 },
Anton Hansson85785fe2021-01-20 20:23:34 +0000146 dists: [
147 {
Anton Hanssondd8ef672022-01-04 08:53:19 +0000148 targets: ["sdk"],
Anton Hansson85785fe2021-01-20 20:23:34 +0000149 dir: "apistubs/android/test/api",
150 dest: "android.txt",
151 tag: ".api.txt",
152 },
153 {
Anton Hanssondd8ef672022-01-04 08:53:19 +0000154 targets: ["sdk"],
Anton Hansson85785fe2021-01-20 20:23:34 +0000155 dir: "apistubs/android/test/api",
156 dest: "removed.txt",
157 tag: ".removed-api.txt",
158 },
159 {
Anton Hanssondd8ef672022-01-04 08:53:19 +0000160 targets: ["sdk"],
Anton Hansson85785fe2021-01-20 20:23:34 +0000161 dir: "apistubs/android/test/api",
162 dest: "android-non-updatable.txt",
163 tag: ".api.txt",
164 },
165 {
Anton Hanssondd8ef672022-01-04 08:53:19 +0000166 targets: ["sdk"],
Anton Hansson85785fe2021-01-20 20:23:34 +0000167 dir: "apistubs/android/test/api",
168 dest: "android-non-updatable-removed.txt",
169 tag: ".removed-api.txt",
170 },
171 ],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900172}
173
Jiyong Parke3095162019-12-20 15:30:28 +0900174droidstubs {
Anton Hansson76d3db42020-04-09 14:16:37 +0100175 name: "module-lib-api-stubs-docs-non-updatable",
Anton Hansson9dce8322022-01-24 14:14:33 +0000176 defaults: [
177 "android-non-updatable-stubs-defaults",
178 "module-classpath-stubs-defaults",
179 ],
Anton Hansson2feb3f12020-11-13 11:44:32 +0000180 args: metalava_framework_docs_args + priv_apps_in_stubs + module_libs,
Anton Hansson76d3db42020-04-09 14:16:37 +0100181 check_api: {
182 current: {
Anton Hansson6cbaff22020-10-29 15:28:19 +0000183 api_file: "core/api/module-lib-current.txt",
184 removed_api_file: "core/api/module-lib-removed.txt",
Anton Hansson76d3db42020-04-09 14:16:37 +0100185 },
Anton Hanssonc3ef1f562020-10-07 14:55:36 +0100186 last_released: {
187 api_file: ":android-non-updatable.api.module-lib.latest",
188 removed_api_file: ":android-non-updatable-removed.api.module-lib.latest",
Junyu Lai2dbb1772022-01-12 17:38:02 +0000189 baseline_file: ":android-non-updatable-incompatibilities.api.module-lib.latest",
Anton Hanssonc3ef1f562020-10-07 14:55:36 +0100190 },
Anton Hansson76d3db42020-04-09 14:16:37 +0100191 api_lint: {
192 enabled: true,
Anton Hansson4f90aa52021-06-04 22:23:59 +0100193 new_since: ":android.api.module-lib.latest",
Anton Hansson1f449412021-06-04 22:30:52 +0100194 baseline_file: "core/api/module-lib-lint-baseline.txt",
Anton Hansson76d3db42020-04-09 14:16:37 +0100195 },
196 },
Anton Hansson85785fe2021-01-20 20:23:34 +0000197 dists: [
198 {
Anton Hanssondd8ef672022-01-04 08:53:19 +0000199 targets: ["sdk"],
Anton Hansson85785fe2021-01-20 20:23:34 +0000200 dir: "apistubs/android/module-lib/api",
201 dest: "android-non-updatable.txt",
202 tag: ".api.txt",
203 },
204 {
Anton Hanssondd8ef672022-01-04 08:53:19 +0000205 targets: ["sdk"],
Anton Hansson85785fe2021-01-20 20:23:34 +0000206 dir: "apistubs/android/module-lib/api",
207 dest: "android-non-updatable-removed.txt",
208 tag: ".removed-api.txt",
209 },
210 ],
Anton Hansson76d3db42020-04-09 14:16:37 +0100211}
Anton Hansson81969c22020-02-03 20:45:56 +0000212
Jiyong Parke3095162019-12-20 15:30:28 +0900213/////////////////////////////////////////////////////////////////////
Jiyong Park7fb4b182019-12-20 14:35:43 +0900214// android_*_stubs_current modules are the stubs libraries compiled
Anton Hansson2feb3f12020-11-13 11:44:32 +0000215// from stub sources
Jiyong Park7fb4b182019-12-20 14:35:43 +0900216/////////////////////////////////////////////////////////////////////
217
218java_defaults {
Anton Hanssona4748cd2021-04-09 10:16:19 +0100219 name: "android-non-updatable_defaults_stubs_current",
220 libs: ["stub-annotations"],
221 static_libs: ["framework-res-package-jar"], // Export package of framework-res
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100222 sdk_version: "none",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900223 system_modules: "none",
224 java_version: "1.8",
225 compile_dex: true,
Anton Hanssona4108912021-04-09 13:40:11 +0100226 dist: {
Anton Hanssondd8ef672022-01-04 08:53:19 +0000227 targets: ["sdk"],
Anton Hanssona4108912021-04-09 13:40:11 +0100228 tag: ".jar",
229 dest: "android-non-updatable.jar",
Anton Hansson240ee482021-04-14 12:52:00 +0100230 },
Anton Hansson86925682021-04-14 14:54:43 +0100231 defaults_visibility: ["//visibility:private"],
232 visibility: ["//visibility:private"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900233}
234
Neha Pattan403eb572021-12-14 02:58:57 +0000235java_library_with_nonpublic_deps {
Anton Hanssona4748cd2021-04-09 10:16:19 +0100236 name: "android-non-updatable.stubs",
237 defaults: ["android-non-updatable_defaults_stubs_current"],
238 srcs: [":api-stubs-docs-non-updatable"],
Anton Hansson04ab8c62022-01-25 15:53:43 +0000239 libs: ["all-modules-public-stubs"],
Anton Hanssona4108912021-04-09 13:40:11 +0100240 dist: {
241 dir: "apistubs/android/public",
242 },
Anton Hanssona4748cd2021-04-09 10:16:19 +0100243}
244
Neha Pattan403eb572021-12-14 02:58:57 +0000245java_library_with_nonpublic_deps {
Anton Hanssona4748cd2021-04-09 10:16:19 +0100246 name: "android-non-updatable.stubs.system",
247 defaults: ["android-non-updatable_defaults_stubs_current"],
Anton Hansson240ee482021-04-14 12:52:00 +0100248 srcs: [":system-api-stubs-docs-non-updatable"],
Anton Hansson04ab8c62022-01-25 15:53:43 +0000249 libs: ["all-modules-system-stubs"],
Anton Hanssona4108912021-04-09 13:40:11 +0100250 dist: {
251 dir: "apistubs/android/system",
252 },
Anton Hanssona4748cd2021-04-09 10:16:19 +0100253}
254
Anton Hanssonbbdd64b2021-04-26 18:47:39 +0100255java_library {
Anton Hanssona4748cd2021-04-09 10:16:19 +0100256 name: "android-non-updatable.stubs.module_lib",
257 defaults: ["android-non-updatable_defaults_stubs_current"],
258 srcs: [":module-lib-api-stubs-docs-non-updatable"],
259 libs: [
markchiencd813a32021-11-11 00:42:55 +0800260 "sdk_module-lib_current_framework-tethering",
Roopa Sattiraju8e305772022-01-20 10:05:19 -0800261 "sdk_public_current_framework-bluetooth",
262 // NOTE: The below can be removed once the prebuilt stub contains bluetooth.
Anton Hanssona4748cd2021-04-09 10:16:19 +0100263 "sdk_system_current_android",
264 // NOTE: The below can be removed once the prebuilt stub contains IKE.
265 "sdk_system_current_android.net.ipsec.ike",
266 ],
Anton Hanssona4108912021-04-09 13:40:11 +0100267 dist: {
268 dir: "apistubs/android/module-lib",
269 },
Anton Hanssona4748cd2021-04-09 10:16:19 +0100270}
271
Neha Pattan403eb572021-12-14 02:58:57 +0000272java_library_with_nonpublic_deps {
Anton Hanssona4748cd2021-04-09 10:16:19 +0100273 name: "android-non-updatable.stubs.test",
274 defaults: ["android-non-updatable_defaults_stubs_current"],
275 srcs: [":test-api-stubs-docs-non-updatable"],
Anton Hansson04ab8c62022-01-25 15:53:43 +0000276 libs: ["all-modules-system-stubs"],
Anton Hanssona4108912021-04-09 13:40:11 +0100277 dist: {
278 dir: "apistubs/android/test",
279 },
Anton Hanssona4748cd2021-04-09 10:16:19 +0100280}
281
282java_defaults {
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000283 name: "android_stubs_dists_default",
284 dist: {
Anton Hanssondd8ef672022-01-04 08:53:19 +0000285 targets: ["sdk"],
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000286 tag: ".jar",
287 dest: "android.jar",
288 },
Anton Hansson86925682021-04-14 14:54:43 +0100289 defaults_visibility: ["//frameworks/base/services"],
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000290}
291
Neha Pattan403eb572021-12-14 02:58:57 +0000292java_library_with_nonpublic_deps {
Anton Hansson65aa6ea2020-11-03 19:35:56 +0000293 name: "android_stubs_current",
Anton Hansson04ab8c62022-01-25 15:53:43 +0000294 static_libs: [
295 "all-modules-public-stubs",
Anton Hanssona4748cd2021-04-09 10:16:19 +0100296 "android-non-updatable.stubs",
Anton Hanssonbf63f942020-05-20 12:06:23 +0100297 "private-stub-annotations-jar",
Anton Hansson76d3db42020-04-09 14:16:37 +0100298 ],
Anton Hansson65057af2021-04-14 18:52:08 +0100299 defaults: ["android.jar_defaults"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900300}
301
Neha Pattan403eb572021-12-14 02:58:57 +0000302java_library_with_nonpublic_deps {
Anton Hansson65aa6ea2020-11-03 19:35:56 +0000303 name: "android_system_stubs_current",
Anton Hansson04ab8c62022-01-25 15:53:43 +0000304 static_libs: [
305 "all-modules-system-stubs",
Anton Hanssona4748cd2021-04-09 10:16:19 +0100306 "android-non-updatable.stubs.system",
Anton Hanssonbf63f942020-05-20 12:06:23 +0100307 "private-stub-annotations-jar",
Anton Hansson76d3db42020-04-09 14:16:37 +0100308 ],
Anton Hanssonc3002e52020-11-18 18:23:55 +0000309 defaults: [
Anton Hansson65057af2021-04-14 18:52:08 +0100310 "android.jar_defaults",
Anton Hanssonc3002e52020-11-18 18:23:55 +0000311 "android_stubs_dists_default",
312 ],
313 dist: {
314 dir: "apistubs/android/system",
315 },
316 dists: [
317 {
318 // Legacy dist path
Anton Hanssondd8ef672022-01-04 08:53:19 +0000319 targets: ["sdk"],
Anton Hanssonc3002e52020-11-18 18:23:55 +0000320 tag: ".jar",
321 dest: "android_system.jar",
322 },
323 ],
Anton Hansson76d3db42020-04-09 14:16:37 +0100324}
325
Neha Pattan403eb572021-12-14 02:58:57 +0000326java_library_with_nonpublic_deps {
Jiyong Park7fb4b182019-12-20 14:35:43 +0900327 name: "android_test_stubs_current",
Anton Hansson33b9b852021-04-09 10:12:45 +0100328 // Modules do not have test APIs, but we want to include their SystemApis, like we include
329 // the SystemApi of framework-non-updatable-sources.
Anton Hansson04ab8c62022-01-25 15:53:43 +0000330 static_libs: [
331 "all-modules-system-stubs",
Anton Hanssona4748cd2021-04-09 10:16:19 +0100332 "android-non-updatable.stubs.test",
Anton Hansson7ce31c12020-10-15 18:38:49 +0100333 "private-stub-annotations-jar",
334 ],
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000335 defaults: [
Anton Hansson65057af2021-04-14 18:52:08 +0100336 "android.jar_defaults",
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000337 "android_stubs_dists_default",
338 ],
339 dist: {
340 dir: "apistubs/android/test",
341 },
Jiyong Parke3095162019-12-20 15:30:28 +0900342}
343
Anton Hanssonbbdd64b2021-04-26 18:47:39 +0100344java_library {
Anton Hansson1b9cf092020-01-30 12:09:02 +0000345 name: "android_module_lib_stubs_current",
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000346 defaults: [
Anton Hansson65057af2021-04-14 18:52:08 +0100347 "android.jar_defaults",
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000348 "android_stubs_dists_default",
349 ],
Anton Hanssona4748cd2021-04-09 10:16:19 +0100350 static_libs: [
351 "android-non-updatable.stubs.module_lib",
Victor Chang6b107a92021-06-17 23:49:42 +0100352 "art.module.public.api.stubs.module_lib",
Giulio Fiscella68a04112021-11-30 16:32:44 +0000353 "i18n.module.public.api.stubs",
Anton Hanssonb7d532e2021-02-05 11:40:25 +0000354 ],
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000355 dist: {
356 dir: "apistubs/android/module-lib",
357 },
Jiyong Park7fb4b182019-12-20 14:35:43 +0900358}
359
Andrei Oneafaa271a2021-03-17 13:32:51 +0000360java_library {
361 name: "android_system_server_stubs_current",
362 defaults: ["android_stubs_dists_default"],
363 srcs: [":services-non-updatable-stubs"],
364 installable: false,
365 static_libs: [
366 "android_module_lib_stubs_current",
367 ],
368 sdk_version: "none",
369 system_modules: "none",
370 java_version: "1.8",
371 dist: {
372 dir: "apistubs/android/system-server",
373 },
374}
375
Jiyong Park7fb4b182019-12-20 14:35:43 +0900376/////////////////////////////////////////////////////////////////////
377// hwbinder.stubs provides APIs required for building HIDL Java
378// libraries.
379/////////////////////////////////////////////////////////////////////
380
381droidstubs {
382 name: "hwbinder-stubs-docs",
383 srcs: [
384 "core/java/android/os/HidlSupport.java",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900385 "core/java/android/os/HidlMemory.java",
386 "core/java/android/os/HwBinder.java",
387 "core/java/android/os/HwBlob.java",
388 "core/java/android/os/HwParcel.java",
389 "core/java/android/os/IHwBinder.java",
390 "core/java/android/os/IHwInterface.java",
391 "core/java/android/os/DeadObjectException.java",
392 "core/java/android/os/DeadSystemException.java",
393 "core/java/android/os/NativeHandle.java",
394 "core/java/android/os/RemoteException.java",
395 "core/java/android/util/AndroidException.java",
396 ],
Colin Cross037d7fb2021-03-25 17:01:55 -0700397 libs: ["framework-annotations-lib"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900398 installable: false,
399 sdk_version: "core_platform",
400 annotations_enabled: true,
Anton Hansson48ee95e2020-05-02 17:49:26 +0100401 previous_api: ":android.api.public.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900402 merge_annotations_dirs: [
403 "metalava-manual",
404 ],
Anton Hansson81969c22020-02-03 20:45:56 +0000405 args: priv_apps,
Anton Hansson86925682021-04-14 14:54:43 +0100406 visibility: ["//visibility:private"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900407}
408
Anton Hanssonbbdd64b2021-04-26 18:47:39 +0100409java_library {
Jiyong Park7fb4b182019-12-20 14:35:43 +0900410 name: "hwbinder.stubs",
411 sdk_version: "core_current",
Colin Cross037d7fb2021-03-25 17:01:55 -0700412 libs: ["framework-annotations-lib"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900413 srcs: [
414 ":hwbinder-stubs-docs",
415 ],
Anton Hansson86925682021-04-14 14:54:43 +0100416 visibility: ["//visibility:public"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900417}