blob: 3bdd4ad909ef141d1e17be95f9ffacea36215d77 [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 Hansson822cdb32020-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 Duffin5c89e702020-03-26 15:33:48 +000050 ":art-module-public-api-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 Hansson48ee95e2020-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 Parke3095162019-12-20 15:30:28 +090069stubs_defaults {
Anton Hansson822cdb32020-03-06 17:16:06 +000070 name: "metalava-full-api-stubs-default",
71 defaults: ["metalava-base-api-stubs-default"],
Anton Hanssone89d37d2020-05-07 12:06:00 +010072 srcs: [
Paul Duffine55d4e32020-05-14 17:55:46 +010073 ":conscrypt.module.public.api{.public.stubs.source}",
Anton Hanssone89d37d2020-05-07 12:06:00 +010074 ":framework-updatable-sources",
75 ],
Jiyong Parke3095162019-12-20 15:30:28 +090076 sdk_version: "core_platform",
77}
78
Anton Hansson822cdb32020-03-06 17:16:06 +000079stubs_defaults {
80 name: "metalava-non-updatable-api-stubs-default",
81 defaults: ["metalava-base-api-stubs-default"],
Anton Hansson92d79fd2020-03-20 09:12:52 +000082 sdk_version: "core_platform",
Anton Hansson394febc2020-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 Hansson92d79fd2020-03-20 09:12:52 +000089 aidl: {
Anton Hansson394febc2020-04-14 16:35:36 +010090 local_include_dirs: ["apex/media/aidl/stable"],
Anton Hansson92d79fd2020-03-20 09:12:52 +000091 },
Anton Hansson822cdb32020-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 Parke3095162019-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 Hansson822cdb32020-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 Hansson48ee95e2020-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 Hansson48ee95e2020-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 Hanssond9a3fee2020-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 Hansson33ea9992020-04-09 14:16:37 +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 },
143 api_lint: {
144 enabled: true,
145 new_since: ":android-non-updatable.api.public.latest",
146 },
147 },
148}
149
Anton Hansson81969c22020-02-03 20:45:56 +0000150priv_apps = " " +
151 "--show-annotation android.annotation.SystemApi\\(" +
152 "client=android.annotation.SystemApi.Client.PRIVILEGED_APPS" +
153 "\\) "
154
155module_libs = " " +
156 " --show-annotation android.annotation.SystemApi\\(" +
157 "client=android.annotation.SystemApi.Client.MODULE_LIBRARIES" +
Makoto Onukia13287f2020-07-10 12:05:21 -0700158 "\\)" +
159 " --show-for-stub-purposes-annotation android.annotation.SystemApi\\(" +
160 "client=android.annotation.SystemApi.Client.PRIVILEGED_APPS" +
Anton Hansson81969c22020-02-03 20:45:56 +0000161 "\\) "
162
Jiyong Park7fb4b182019-12-20 14:35:43 +0900163droidstubs {
164 name: "system-api-stubs-docs",
Anton Hansson822cdb32020-03-06 17:16:06 +0000165 defaults: ["metalava-full-api-stubs-default"],
Artur Satayev0a97d5e2020-03-25 16:45:56 +0000166 removed_dex_api_filename: "system-removed-dex.txt",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900167 arg_files: [
168 "core/res/AndroidManifest.xml",
169 ],
Anton Hansson81969c22020-02-03 20:45:56 +0000170 args: metalava_framework_docs_args + priv_apps,
Jiyong Park7fb4b182019-12-20 14:35:43 +0900171 check_api: {
172 current: {
173 api_file: "api/system-current.txt",
174 removed_api_file: "api/system-removed.txt",
175 },
176 last_released: {
Anton Hansson48ee95e2020-05-02 17:49:26 +0100177 api_file: ":android.api.system.latest",
Anton Hansson960c6752020-05-02 18:00:30 +0100178 removed_api_file: ":removed.api.system.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900179 baseline_file: ":system-api-incompatibilities-with-last-released"
180 },
181 api_lint: {
182 enabled: true,
Anton Hansson48ee95e2020-05-02 17:49:26 +0100183 new_since: ":android.api.system.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900184 baseline_file: "api/system-lint-baseline.txt",
185 },
186 },
Anton Hanssond9a3fee2020-03-23 18:08:55 +0000187 dist: {
188 targets: ["sdk", "win_sdk"],
189 dir: "apistubs/android/system/api",
190 dest: "android.txt",
191 },
Jiyong Park7fb4b182019-12-20 14:35:43 +0900192 jdiff_enabled: true,
193}
194
195droidstubs {
Anton Hansson33ea9992020-04-09 14:16:37 +0100196 name: "system-api-stubs-docs-non-updatable",
197 defaults: ["metalava-non-updatable-api-stubs-default"],
198 arg_files: ["core/res/AndroidManifest.xml"],
199 args: metalava_framework_docs_args + priv_apps,
200 check_api: {
201 current: {
202 api_file: "non-updatable-api/system-current.txt",
203 removed_api_file: "non-updatable-api/system-removed.txt",
204 },
205 api_lint: {
206 enabled: true,
207 new_since: ":android-non-updatable.api.system.latest",
208 baseline_file: "non-updatable-api/system-lint-baseline.txt",
209 },
210 },
211}
212
213droidstubs {
Jiyong Park7fb4b182019-12-20 14:35:43 +0900214 name: "test-api-stubs-docs",
Anton Hansson822cdb32020-03-06 17:16:06 +0000215 defaults: ["metalava-full-api-stubs-default"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900216 arg_files: [
217 "core/res/AndroidManifest.xml",
218 ],
219 args: metalava_framework_docs_args + " --show-annotation android.annotation.TestApi",
220 check_api: {
221 current: {
222 api_file: "api/test-current.txt",
223 removed_api_file: "api/test-removed.txt",
224 },
225 api_lint: {
226 enabled: true,
227 baseline_file: "api/test-lint-baseline.txt",
228 },
229 },
Anton Hanssond9a3fee2020-03-23 18:08:55 +0000230 dist: {
231 targets: ["sdk", "win_sdk"],
232 dir: "apistubs/android/test/api",
233 dest: "android.txt",
234 },
Jiyong Park7fb4b182019-12-20 14:35:43 +0900235}
236
237/////////////////////////////////////////////////////////////////////
Makoto Onukia13287f2020-07-10 12:05:21 -0700238// Following droidstubs modules are for extra APIs for modules,
239// namely @SystemApi(client=MODULE_LIBRARIES) APIs.
Jiyong Parke3095162019-12-20 15:30:28 +0900240/////////////////////////////////////////////////////////////////////
241
Jiyong Parke3095162019-12-20 15:30:28 +0900242droidstubs {
243 name: "module-lib-api",
Anton Hansson822cdb32020-03-06 17:16:06 +0000244 defaults: ["metalava-full-api-stubs-default"],
Jiyong Parke3095162019-12-20 15:30:28 +0900245 arg_files: ["core/res/AndroidManifest.xml"],
Anton Hansson81969c22020-02-03 20:45:56 +0000246 args: metalava_framework_docs_args + module_libs,
Paul Duffin4c5dc182020-04-08 18:28:15 +0100247
248 // Do not generate stubs as they are not needed
249 generate_stubs: false,
250
Jiyong Parke3095162019-12-20 15:30:28 +0900251 check_api: {
252 current: {
253 api_file: "api/module-lib-current.txt",
254 removed_api_file: "api/module-lib-removed.txt",
255 },
Anton Hansson79e35c32020-02-11 14:36:40 +0000256 last_released: {
Anton Hansson48ee95e2020-05-02 17:49:26 +0100257 api_file: ":android.api.module-lib.latest",
Anton Hansson960c6752020-05-02 18:00:30 +0100258 removed_api_file: ":removed.api.module-lib.latest",
Anton Hansson79e35c32020-02-11 14:36:40 +0000259 baseline_file: ":module-lib-api-incompatibilities-with-last-released"
260 },
261 api_lint: {
262 enabled: true,
Anton Hansson48ee95e2020-05-02 17:49:26 +0100263 new_since: ":android.api.module-lib.latest",
Anton Hansson79e35c32020-02-11 14:36:40 +0000264 baseline_file: "api/module-lib-lint-baseline.txt",
265 },
Jiyong Parke3095162019-12-20 15:30:28 +0900266 },
Anton Hanssond9a3fee2020-03-23 18:08:55 +0000267 dist: {
268 targets: ["sdk", "win_sdk"],
269 dir: "apistubs/android/module-lib/api",
270 dest: "android.txt",
271 },
Jiyong Parke3095162019-12-20 15:30:28 +0900272}
273
Anton Hansson33ea9992020-04-09 14:16:37 +0100274droidstubs {
275 name: "module-lib-api-stubs-docs-non-updatable",
276 defaults: ["metalava-non-updatable-api-stubs-default"],
277 arg_files: ["core/res/AndroidManifest.xml"],
Makoto Onuki8c61de62020-07-15 10:38:04 -0700278 args: metalava_framework_docs_args + priv_apps + module_libs,
Anton Hansson33ea9992020-04-09 14:16:37 +0100279 check_api: {
280 current: {
281 api_file: "non-updatable-api/module-lib-current.txt",
282 removed_api_file: "non-updatable-api/module-lib-removed.txt",
283 },
284 api_lint: {
285 enabled: true,
286 new_since: ":android-non-updatable.api.module-lib.latest",
287 },
288 },
289}
Anton Hansson81969c22020-02-03 20:45:56 +0000290
Jiyong Parke3095162019-12-20 15:30:28 +0900291/////////////////////////////////////////////////////////////////////
Jiyong Park7fb4b182019-12-20 14:35:43 +0900292// android_*_stubs_current modules are the stubs libraries compiled
293// from *-api-stubs-docs
294/////////////////////////////////////////////////////////////////////
295
296java_defaults {
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100297 name: "android_defaults_stubs_current",
Anton Hansson08b48bb2020-02-08 20:43:19 +0000298 libs: [ "stub-annotations" ],
Paul Duffina281e922020-03-25 10:13:33 +0000299 static_libs: [
Paul Duffina281e922020-03-25 10:13:33 +0000300 // License notices from art module
301 "art-notices-for-framework-stubs-jar",
Anton Hanssoncf42e982020-08-13 19:40:13 +0100302 "framework-res-package-jar", // Export package of framework-res
Paul Duffina281e922020-03-25 10:13:33 +0000303 ],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900304 errorprone: {
305 javacflags: [
306 "-XepDisableAllChecks",
307 ],
308 },
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100309 sdk_version: "none",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900310 system_modules: "none",
311 java_version: "1.8",
312 compile_dex: true,
313}
314
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000315java_defaults {
316 name: "android_stubs_dists_default",
317 dist: {
318 targets: ["sdk", "win_sdk"],
319 tag: ".jar",
320 dest: "android.jar",
321 },
322}
323
Jiyong Park7fb4b182019-12-20 14:35:43 +0900324java_library_static {
Anton Hansson33ea9992020-04-09 14:16:37 +0100325 name: "android_monolith_stubs_current",
Anton Hansson08b48bb2020-02-08 20:43:19 +0000326 srcs: [ ":api-stubs-docs" ],
Anton Hanssonf330f3a2020-05-20 12:06:23 +0100327 static_libs: [ "private-stub-annotations-jar" ],
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100328 defaults: ["android_defaults_stubs_current"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900329}
330
331java_library_static {
Anton Hansson33ea9992020-04-09 14:16:37 +0100332 name: "android_merged_stubs_current",
333 srcs: [ ":api-stubs-docs-non-updatable" ],
334 static_libs: [
335 "conscrypt.module.public.api.stubs",
Paul Duffinabebc6a2020-05-31 11:35:50 +0100336 "framework-media.stubs",
337 "framework-mediaprovider.stubs",
338 "framework-permission.stubs",
339 "framework-sdkextensions.stubs",
340 "framework-statsd.stubs",
341 "framework-tethering.stubs",
342 "framework-wifi.stubs",
Anton Hansson33ea9992020-04-09 14:16:37 +0100343 "private-stub-annotations-jar",
344 ],
345 defaults: ["android_defaults_stubs_current"],
346}
347
348java_library_static {
349 name: "android_stubs_current",
350 static_libs: ["android_merged_stubs_current"],
351 defaults: ["android_defaults_stubs_current"],
352}
353
354java_library_static {
355 name: "android_system_monolith_stubs_current",
Anton Hansson08b48bb2020-02-08 20:43:19 +0000356 srcs: [ ":system-api-stubs-docs" ],
Anton Hanssonf330f3a2020-05-20 12:06:23 +0100357 static_libs: [ "private-stub-annotations-jar" ],
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000358 defaults: [
359 "android_defaults_stubs_current",
360 "android_stubs_dists_default",
361 ],
362 dist: {
363 dir: "apistubs/android/system",
364 },
365 dists: [
366 {
367 // Legacy dist path
368 targets: ["sdk", "win_sdk"],
369 tag: ".jar",
370 dest: "android_system.jar",
371 },
372 ],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900373}
374
375java_library_static {
Anton Hansson33ea9992020-04-09 14:16:37 +0100376 name: "android_system_merged_stubs_current",
377 srcs: [ ":system-api-stubs-docs-non-updatable" ],
378 static_libs: [
379 "conscrypt.module.public.api.stubs",
Paul Duffinabebc6a2020-05-31 11:35:50 +0100380 "framework-media.stubs.system",
381 "framework-mediaprovider.stubs.system",
382 "framework-permission.stubs.system",
383 "framework-sdkextensions.stubs.system",
384 "framework-statsd.stubs.system",
385 "framework-tethering.stubs.system",
386 "framework-wifi.stubs.system",
Anton Hansson33ea9992020-04-09 14:16:37 +0100387 "private-stub-annotations-jar",
388 ],
389 defaults: ["android_defaults_stubs_current"],
390}
391
392java_library_static {
393 name: "android_system_stubs_current",
394 static_libs: ["android_system_merged_stubs_current"],
395 defaults: ["android_defaults_stubs_current"],
396}
397
398java_library_static {
Jiyong Park7fb4b182019-12-20 14:35:43 +0900399 name: "android_test_stubs_current",
Anton Hansson08b48bb2020-02-08 20:43:19 +0000400 srcs: [ ":test-api-stubs-docs" ],
Anton Hanssonf330f3a2020-05-20 12:06:23 +0100401 static_libs: [ "private-stub-annotations-jar" ],
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000402 defaults: [
403 "android_defaults_stubs_current",
404 "android_stubs_dists_default",
405 ],
406 dist: {
407 dir: "apistubs/android/test",
408 },
409 dists: [
410 {
411 // Legacy dist path
412 targets: ["sdk", "win_sdk"],
413 tag: ".jar",
414 dest: "android_test.jar",
415 },
416 ],
Jiyong Parke3095162019-12-20 15:30:28 +0900417}
418
419java_library_static {
Anton Hansson1b9cf092020-01-30 12:09:02 +0000420 name: "android_module_lib_stubs_current",
Makoto Onuki8c61de62020-07-15 10:38:04 -0700421 srcs: [ ":module-lib-api-stubs-docs-non-updatable" ],
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000422 defaults: [
423 "android_defaults_stubs_current",
424 "android_stubs_dists_default",
425 ],
Anton Hansson394febc2020-04-14 16:35:36 +0100426 libs: ["sdk_system_29_android"],
Anton Hansson53cf0ba2020-08-18 12:35:31 +0000427 dist: {
428 dir: "apistubs/android/module-lib",
429 },
Jiyong Park7fb4b182019-12-20 14:35:43 +0900430}
431
Anton Hansson33ea9992020-04-09 14:16:37 +0100432java_library_static {
433 name: "android_non_updatable_stubs_current",
434 srcs: [":api-stubs-docs-non-updatable"],
435 defaults: ["android_defaults_stubs_current"],
436 libs: ["sdk_system_29_android"],
437}
438
439java_library_static {
440 name: "android_system_non_updatable_stubs_current",
441 srcs: [":system-api-stubs-docs-non-updatable"],
442 defaults: ["android_defaults_stubs_current"],
443 libs: ["sdk_system_29_android"],
444}
445
Jiyong Park7fb4b182019-12-20 14:35:43 +0900446/////////////////////////////////////////////////////////////////////
447// hwbinder.stubs provides APIs required for building HIDL Java
448// libraries.
449/////////////////////////////////////////////////////////////////////
450
451droidstubs {
452 name: "hwbinder-stubs-docs",
453 srcs: [
454 "core/java/android/os/HidlSupport.java",
455 "core/java/android/annotation/IntDef.java",
456 "core/java/android/annotation/IntRange.java",
457 "core/java/android/annotation/NonNull.java",
458 "core/java/android/annotation/SystemApi.java",
459 "core/java/android/os/HidlMemory.java",
460 "core/java/android/os/HwBinder.java",
461 "core/java/android/os/HwBlob.java",
462 "core/java/android/os/HwParcel.java",
463 "core/java/android/os/IHwBinder.java",
464 "core/java/android/os/IHwInterface.java",
465 "core/java/android/os/DeadObjectException.java",
466 "core/java/android/os/DeadSystemException.java",
467 "core/java/android/os/NativeHandle.java",
468 "core/java/android/os/RemoteException.java",
469 "core/java/android/util/AndroidException.java",
470 ],
471 installable: false,
472 sdk_version: "core_platform",
473 annotations_enabled: true,
Anton Hansson48ee95e2020-05-02 17:49:26 +0100474 previous_api: ":android.api.public.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900475 merge_annotations_dirs: [
476 "metalava-manual",
477 ],
Anton Hansson81969c22020-02-03 20:45:56 +0000478 args: priv_apps,
Jiyong Park7fb4b182019-12-20 14:35:43 +0900479}
480
481java_library_static {
482 name: "hwbinder.stubs",
483 sdk_version: "core_current",
484 srcs: [
485 ":hwbinder-stubs-docs",
486 ],
487}
488
489/////////////////////////////////////////////////////////////////////
Jiyong Park7fb4b182019-12-20 14:35:43 +0900490// api/*-current.txt files for use by modules in other directories
491// like the CTS test
492/////////////////////////////////////////////////////////////////////
493
494filegroup {
495 name: "frameworks-base-api-current.txt",
496 srcs: [
497 "api/current.txt",
498 ],
499}
500
501filegroup {
502 name: "frameworks-base-api-system-current.txt",
503 srcs: [
504 "api/system-current.txt",
505 ],
506}
507
508filegroup {
509 name: "frameworks-base-api-system-removed.txt",
510 srcs: [
511 "api/system-removed.txt",
512 ],
513}