blob: 56c568832ea9bb61d57ba1d167ceaad2f885213c [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 Hansson76d3db42020-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 Hansson76d3db42020-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" +
158 "\\) "
159
Jiyong Park7fb4b182019-12-20 14:35:43 +0900160droidstubs {
161 name: "system-api-stubs-docs",
Anton Hansson822cdb32020-03-06 17:16:06 +0000162 defaults: ["metalava-full-api-stubs-default"],
Artur Satayev0a97d5e2020-03-25 16:45:56 +0000163 removed_dex_api_filename: "system-removed-dex.txt",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900164 arg_files: [
165 "core/res/AndroidManifest.xml",
166 ],
Anton Hansson81969c22020-02-03 20:45:56 +0000167 args: metalava_framework_docs_args + priv_apps,
Jiyong Park7fb4b182019-12-20 14:35:43 +0900168 check_api: {
169 current: {
170 api_file: "api/system-current.txt",
171 removed_api_file: "api/system-removed.txt",
172 },
173 last_released: {
Anton Hansson48ee95e2020-05-02 17:49:26 +0100174 api_file: ":android.api.system.latest",
Anton Hansson960c6752020-05-02 18:00:30 +0100175 removed_api_file: ":removed.api.system.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900176 baseline_file: ":system-api-incompatibilities-with-last-released"
177 },
178 api_lint: {
179 enabled: true,
Anton Hansson48ee95e2020-05-02 17:49:26 +0100180 new_since: ":android.api.system.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900181 baseline_file: "api/system-lint-baseline.txt",
182 },
183 },
Anton Hanssond9a3fee2020-03-23 18:08:55 +0000184 dist: {
185 targets: ["sdk", "win_sdk"],
186 dir: "apistubs/android/system/api",
187 dest: "android.txt",
188 },
Jiyong Park7fb4b182019-12-20 14:35:43 +0900189 jdiff_enabled: true,
190}
191
192droidstubs {
Anton Hansson76d3db42020-04-09 14:16:37 +0100193 name: "system-api-stubs-docs-non-updatable",
194 defaults: ["metalava-non-updatable-api-stubs-default"],
195 arg_files: ["core/res/AndroidManifest.xml"],
196 args: metalava_framework_docs_args + priv_apps,
197 check_api: {
198 current: {
199 api_file: "non-updatable-api/system-current.txt",
200 removed_api_file: "non-updatable-api/system-removed.txt",
201 },
202 api_lint: {
203 enabled: true,
204 new_since: ":android-non-updatable.api.system.latest",
205 baseline_file: "non-updatable-api/system-lint-baseline.txt",
206 },
207 },
208}
209
210droidstubs {
Jiyong Park7fb4b182019-12-20 14:35:43 +0900211 name: "test-api-stubs-docs",
Anton Hansson822cdb32020-03-06 17:16:06 +0000212 defaults: ["metalava-full-api-stubs-default"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900213 arg_files: [
214 "core/res/AndroidManifest.xml",
215 ],
216 args: metalava_framework_docs_args + " --show-annotation android.annotation.TestApi",
217 check_api: {
218 current: {
219 api_file: "api/test-current.txt",
220 removed_api_file: "api/test-removed.txt",
221 },
222 api_lint: {
223 enabled: true,
224 baseline_file: "api/test-lint-baseline.txt",
225 },
226 },
Anton Hanssond9a3fee2020-03-23 18:08:55 +0000227 dist: {
228 targets: ["sdk", "win_sdk"],
229 dir: "apistubs/android/test/api",
230 dest: "android.txt",
231 },
Jiyong Park7fb4b182019-12-20 14:35:43 +0900232}
233
234/////////////////////////////////////////////////////////////////////
Jiyong Parke3095162019-12-20 15:30:28 +0900235// Following droidstubs modules are for extra APIs for modules.
236// The framework currently have two more API surfaces for modules:
237// @SystemApi(client=MODULE_APPS) and @SystemApi(client=MODULE_LIBRARIES)
238/////////////////////////////////////////////////////////////////////
239
Anton Hansson81969c22020-02-03 20:45:56 +0000240// TODO(b/146727827) remove the *-api module when we can teach metalava
Jiyong Parke3095162019-12-20 15:30:28 +0900241// about the relationship among the API surfaces. Currently, these modules are only to generate
242// the API signature files and ensure that the APIs evolve in a backwards compatible manner.
243// They however are NOT used for building the API stub.
Jiyong Parke3095162019-12-20 15:30:28 +0900244
245droidstubs {
246 name: "module-lib-api",
Anton Hansson822cdb32020-03-06 17:16:06 +0000247 defaults: ["metalava-full-api-stubs-default"],
Jiyong Parke3095162019-12-20 15:30:28 +0900248 arg_files: ["core/res/AndroidManifest.xml"],
Anton Hansson81969c22020-02-03 20:45:56 +0000249 args: metalava_framework_docs_args + module_libs,
Paul Duffin4c5dc182020-04-08 18:28:15 +0100250
251 // Do not generate stubs as they are not needed
252 generate_stubs: false,
253
Jiyong Parke3095162019-12-20 15:30:28 +0900254 check_api: {
255 current: {
256 api_file: "api/module-lib-current.txt",
257 removed_api_file: "api/module-lib-removed.txt",
258 },
Anton Hansson79e35c32020-02-11 14:36:40 +0000259 last_released: {
Anton Hansson48ee95e2020-05-02 17:49:26 +0100260 api_file: ":android.api.module-lib.latest",
Anton Hansson960c6752020-05-02 18:00:30 +0100261 removed_api_file: ":removed.api.module-lib.latest",
Anton Hansson79e35c32020-02-11 14:36:40 +0000262 baseline_file: ":module-lib-api-incompatibilities-with-last-released"
263 },
264 api_lint: {
265 enabled: true,
Anton Hansson48ee95e2020-05-02 17:49:26 +0100266 new_since: ":android.api.module-lib.latest",
Anton Hansson79e35c32020-02-11 14:36:40 +0000267 baseline_file: "api/module-lib-lint-baseline.txt",
268 },
Jiyong Parke3095162019-12-20 15:30:28 +0900269 },
Anton Hanssond9a3fee2020-03-23 18:08:55 +0000270 dist: {
271 targets: ["sdk", "win_sdk"],
272 dir: "apistubs/android/module-lib/api",
273 dest: "android.txt",
274 },
Jiyong Parke3095162019-12-20 15:30:28 +0900275}
276
Anton Hansson76d3db42020-04-09 14:16:37 +0100277droidstubs {
278 name: "module-lib-api-stubs-docs-non-updatable",
279 defaults: ["metalava-non-updatable-api-stubs-default"],
280 arg_files: ["core/res/AndroidManifest.xml"],
281 args: metalava_framework_docs_args + module_libs,
282 check_api: {
283 current: {
284 api_file: "non-updatable-api/module-lib-current.txt",
285 removed_api_file: "non-updatable-api/module-lib-removed.txt",
286 },
287 api_lint: {
288 enabled: true,
289 new_since: ":android-non-updatable.api.module-lib.latest",
290 },
291 },
292}
Anton Hansson81969c22020-02-03 20:45:56 +0000293
294// The following droidstub module generates source files for the API stub library for
295// modules. Note that it not only includes its own APIs but also other APIs that have
296// narrower scope (all @SystemApis, not just the ones with 'client=MODULE_LIBRARIES').
Jiyong Parke3095162019-12-20 15:30:28 +0900297
298droidstubs {
299 name: "module-lib-api-stubs-docs",
Anton Hansson822cdb32020-03-06 17:16:06 +0000300 defaults: ["metalava-non-updatable-api-stubs-default"],
Jiyong Parke3095162019-12-20 15:30:28 +0900301 arg_files: ["core/res/AndroidManifest.xml"],
Anton Hansson81969c22020-02-03 20:45:56 +0000302 args: metalava_framework_docs_args + priv_apps + module_libs,
Jiyong Parke3095162019-12-20 15:30:28 +0900303}
304
305/////////////////////////////////////////////////////////////////////
Jiyong Park7fb4b182019-12-20 14:35:43 +0900306// android_*_stubs_current modules are the stubs libraries compiled
307// from *-api-stubs-docs
308/////////////////////////////////////////////////////////////////////
309
310java_defaults {
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100311 name: "android_defaults_stubs_current",
Anton Hansson08b48bb2020-02-08 20:43:19 +0000312 libs: [ "stub-annotations" ],
Paul Duffina281e922020-03-25 10:13:33 +0000313 static_libs: [
Paul Duffina281e922020-03-25 10:13:33 +0000314 // License notices from art module
315 "art-notices-for-framework-stubs-jar",
316 ],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900317 errorprone: {
318 javacflags: [
319 "-XepDisableAllChecks",
320 ],
321 },
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100322 sdk_version: "none",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900323 system_modules: "none",
324 java_version: "1.8",
325 compile_dex: true,
326}
327
328java_library_static {
Anton Hansson76d3db42020-04-09 14:16:37 +0100329 name: "android_monolith_stubs_current",
Anton Hansson08b48bb2020-02-08 20:43:19 +0000330 srcs: [ ":api-stubs-docs" ],
Anton Hanssonbf63f942020-05-20 12:06:23 +0100331 static_libs: [ "private-stub-annotations-jar" ],
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100332 defaults: ["android_defaults_stubs_current"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900333}
334
335java_library_static {
Anton Hansson76d3db42020-04-09 14:16:37 +0100336 name: "android_merged_stubs_current",
337 srcs: [ ":api-stubs-docs-non-updatable" ],
338 static_libs: [
339 "conscrypt.module.public.api.stubs",
Paul Duffin4e006622020-05-31 16:55:13 +0100340 "framework-graphics.stubs",
Paul Duffin8b864fb2020-05-31 11:35:50 +0100341 "framework-media.stubs",
342 "framework-mediaprovider.stubs",
343 "framework-permission.stubs",
344 "framework-sdkextensions.stubs",
345 "framework-statsd.stubs",
346 "framework-tethering.stubs",
347 "framework-wifi.stubs",
Anton Hanssonbf63f942020-05-20 12:06:23 +0100348 "private-stub-annotations-jar",
Anton Hansson76d3db42020-04-09 14:16:37 +0100349 ],
350 defaults: ["android_defaults_stubs_current"],
351}
352
353java_library_static {
354 name: "android_stubs_current",
355 static_libs: ["android_merged_stubs_current"],
356 defaults: ["android_defaults_stubs_current"],
357}
358
359java_library_static {
360 name: "android_system_monolith_stubs_current",
Anton Hansson08b48bb2020-02-08 20:43:19 +0000361 srcs: [ ":system-api-stubs-docs" ],
Anton Hanssonbf63f942020-05-20 12:06:23 +0100362 static_libs: [ "private-stub-annotations-jar" ],
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100363 defaults: ["android_defaults_stubs_current"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900364}
365
366java_library_static {
Anton Hansson76d3db42020-04-09 14:16:37 +0100367 name: "android_system_merged_stubs_current",
368 srcs: [ ":system-api-stubs-docs-non-updatable" ],
369 static_libs: [
370 "conscrypt.module.public.api.stubs",
371 "framework-appsearch-stubs", // TODO: standardize appsearch stubs
Paul Duffin4e006622020-05-31 16:55:13 +0100372 "framework-graphics.stubs.system",
Paul Duffin8b864fb2020-05-31 11:35:50 +0100373 "framework-media.stubs.system",
374 "framework-mediaprovider.stubs.system",
375 "framework-permission.stubs.system",
376 "framework-sdkextensions.stubs.system",
377 "framework-statsd.stubs.system",
378 "framework-tethering.stubs.system",
379 "framework-wifi.stubs.system",
Anton Hanssonbf63f942020-05-20 12:06:23 +0100380 "private-stub-annotations-jar",
Anton Hansson76d3db42020-04-09 14:16:37 +0100381 ],
382 defaults: ["android_defaults_stubs_current"],
383}
384
385java_library_static {
386 name: "android_system_stubs_current",
387 static_libs: ["android_system_merged_stubs_current"],
388 defaults: ["android_defaults_stubs_current"],
389}
390
391java_library_static {
Jiyong Park7fb4b182019-12-20 14:35:43 +0900392 name: "android_test_stubs_current",
Anton Hansson08b48bb2020-02-08 20:43:19 +0000393 srcs: [ ":test-api-stubs-docs" ],
Anton Hanssonbf63f942020-05-20 12:06:23 +0100394 static_libs: [ "private-stub-annotations-jar" ],
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100395 defaults: ["android_defaults_stubs_current"],
Jiyong Parke3095162019-12-20 15:30:28 +0900396}
397
398java_library_static {
Anton Hansson1b9cf092020-01-30 12:09:02 +0000399 name: "android_module_lib_stubs_current",
Anton Hansson08b48bb2020-02-08 20:43:19 +0000400 srcs: [ ":module-lib-api-stubs-docs" ],
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100401 defaults: ["android_defaults_stubs_current"],
Anton Hansson394febc2020-04-14 16:35:36 +0100402 libs: ["sdk_system_29_android"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900403}
404
Anton Hansson76d3db42020-04-09 14:16:37 +0100405java_library_static {
406 name: "android_non_updatable_stubs_current",
407 srcs: [":api-stubs-docs-non-updatable"],
408 defaults: ["android_defaults_stubs_current"],
409 libs: ["sdk_system_29_android"],
410}
411
412java_library_static {
413 name: "android_system_non_updatable_stubs_current",
414 srcs: [":system-api-stubs-docs-non-updatable"],
415 defaults: ["android_defaults_stubs_current"],
416 libs: ["sdk_system_29_android"],
417}
418
Jiyong Park7fb4b182019-12-20 14:35:43 +0900419/////////////////////////////////////////////////////////////////////
420// hwbinder.stubs provides APIs required for building HIDL Java
421// libraries.
422/////////////////////////////////////////////////////////////////////
423
424droidstubs {
425 name: "hwbinder-stubs-docs",
426 srcs: [
427 "core/java/android/os/HidlSupport.java",
428 "core/java/android/annotation/IntDef.java",
429 "core/java/android/annotation/IntRange.java",
430 "core/java/android/annotation/NonNull.java",
431 "core/java/android/annotation/SystemApi.java",
432 "core/java/android/os/HidlMemory.java",
433 "core/java/android/os/HwBinder.java",
434 "core/java/android/os/HwBlob.java",
435 "core/java/android/os/HwParcel.java",
436 "core/java/android/os/IHwBinder.java",
437 "core/java/android/os/IHwInterface.java",
438 "core/java/android/os/DeadObjectException.java",
439 "core/java/android/os/DeadSystemException.java",
440 "core/java/android/os/NativeHandle.java",
441 "core/java/android/os/RemoteException.java",
442 "core/java/android/util/AndroidException.java",
443 ],
444 installable: false,
445 sdk_version: "core_platform",
446 annotations_enabled: true,
Anton Hansson48ee95e2020-05-02 17:49:26 +0100447 previous_api: ":android.api.public.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900448 merge_annotations_dirs: [
449 "metalava-manual",
450 ],
Anton Hansson81969c22020-02-03 20:45:56 +0000451 args: priv_apps,
Jiyong Park7fb4b182019-12-20 14:35:43 +0900452}
453
454java_library_static {
455 name: "hwbinder.stubs",
456 sdk_version: "core_current",
457 srcs: [
458 ":hwbinder-stubs-docs",
459 ],
460}
461
462/////////////////////////////////////////////////////////////////////
Jiyong Park7fb4b182019-12-20 14:35:43 +0900463// api/*-current.txt files for use by modules in other directories
464// like the CTS test
465/////////////////////////////////////////////////////////////////////
466
467filegroup {
468 name: "frameworks-base-api-current.txt",
469 srcs: [
470 "api/current.txt",
471 ],
472}
473
474filegroup {
475 name: "frameworks-base-api-system-current.txt",
476 srcs: [
477 "api/system-current.txt",
478 ],
479}
480
481filegroup {
482 name: "frameworks-base-api-system-removed.txt",
483 srcs: [
484 "api/system-removed.txt",
485 ],
486}