blob: decbb85efb7c3f48dde758822c488489eda0353e [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" +
Makoto Onuki41ccbfb2020-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 Hansson76d3db42020-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 Onuki41ccbfb2020-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
Anton Hansson81969c22020-02-03 20:45:56 +0000242// TODO(b/146727827) remove the *-api module when we can teach metalava
Jiyong Parke3095162019-12-20 15:30:28 +0900243// about the relationship among the API surfaces. Currently, these modules are only to generate
244// the API signature files and ensure that the APIs evolve in a backwards compatible manner.
245// They however are NOT used for building the API stub.
Jiyong Parke3095162019-12-20 15:30:28 +0900246
247droidstubs {
248 name: "module-lib-api",
Anton Hansson822cdb32020-03-06 17:16:06 +0000249 defaults: ["metalava-full-api-stubs-default"],
Jiyong Parke3095162019-12-20 15:30:28 +0900250 arg_files: ["core/res/AndroidManifest.xml"],
Anton Hansson81969c22020-02-03 20:45:56 +0000251 args: metalava_framework_docs_args + module_libs,
Paul Duffin4c5dc182020-04-08 18:28:15 +0100252
253 // Do not generate stubs as they are not needed
254 generate_stubs: false,
255
Jiyong Parke3095162019-12-20 15:30:28 +0900256 check_api: {
257 current: {
258 api_file: "api/module-lib-current.txt",
259 removed_api_file: "api/module-lib-removed.txt",
260 },
Anton Hansson79e35c32020-02-11 14:36:40 +0000261 last_released: {
Anton Hansson48ee95e2020-05-02 17:49:26 +0100262 api_file: ":android.api.module-lib.latest",
Anton Hansson960c6752020-05-02 18:00:30 +0100263 removed_api_file: ":removed.api.module-lib.latest",
Anton Hansson79e35c32020-02-11 14:36:40 +0000264 baseline_file: ":module-lib-api-incompatibilities-with-last-released"
265 },
266 api_lint: {
267 enabled: true,
Anton Hansson48ee95e2020-05-02 17:49:26 +0100268 new_since: ":android.api.module-lib.latest",
Anton Hansson79e35c32020-02-11 14:36:40 +0000269 baseline_file: "api/module-lib-lint-baseline.txt",
270 },
Jiyong Parke3095162019-12-20 15:30:28 +0900271 },
Anton Hanssond9a3fee2020-03-23 18:08:55 +0000272 dist: {
273 targets: ["sdk", "win_sdk"],
274 dir: "apistubs/android/module-lib/api",
275 dest: "android.txt",
276 },
Jiyong Parke3095162019-12-20 15:30:28 +0900277}
278
Anton Hansson76d3db42020-04-09 14:16:37 +0100279droidstubs {
280 name: "module-lib-api-stubs-docs-non-updatable",
281 defaults: ["metalava-non-updatable-api-stubs-default"],
282 arg_files: ["core/res/AndroidManifest.xml"],
283 args: metalava_framework_docs_args + module_libs,
284 check_api: {
285 current: {
286 api_file: "non-updatable-api/module-lib-current.txt",
287 removed_api_file: "non-updatable-api/module-lib-removed.txt",
288 },
289 api_lint: {
290 enabled: true,
291 new_since: ":android-non-updatable.api.module-lib.latest",
292 },
293 },
294}
Anton Hansson81969c22020-02-03 20:45:56 +0000295
296// The following droidstub module generates source files for the API stub library for
297// modules. Note that it not only includes its own APIs but also other APIs that have
298// narrower scope (all @SystemApis, not just the ones with 'client=MODULE_LIBRARIES').
Jiyong Parke3095162019-12-20 15:30:28 +0900299
300droidstubs {
301 name: "module-lib-api-stubs-docs",
Anton Hansson822cdb32020-03-06 17:16:06 +0000302 defaults: ["metalava-non-updatable-api-stubs-default"],
Jiyong Parke3095162019-12-20 15:30:28 +0900303 arg_files: ["core/res/AndroidManifest.xml"],
Anton Hansson81969c22020-02-03 20:45:56 +0000304 args: metalava_framework_docs_args + priv_apps + module_libs,
Jiyong Parke3095162019-12-20 15:30:28 +0900305}
306
307/////////////////////////////////////////////////////////////////////
Jiyong Park7fb4b182019-12-20 14:35:43 +0900308// android_*_stubs_current modules are the stubs libraries compiled
309// from *-api-stubs-docs
310/////////////////////////////////////////////////////////////////////
311
312java_defaults {
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100313 name: "android_defaults_stubs_current",
Anton Hansson08b48bb2020-02-08 20:43:19 +0000314 libs: [ "stub-annotations" ],
Paul Duffina281e922020-03-25 10:13:33 +0000315 static_libs: [
Paul Duffina281e922020-03-25 10:13:33 +0000316 // License notices from art module
317 "art-notices-for-framework-stubs-jar",
318 ],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900319 errorprone: {
320 javacflags: [
321 "-XepDisableAllChecks",
322 ],
323 },
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100324 sdk_version: "none",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900325 system_modules: "none",
326 java_version: "1.8",
327 compile_dex: true,
328}
329
330java_library_static {
Anton Hansson76d3db42020-04-09 14:16:37 +0100331 name: "android_monolith_stubs_current",
Anton Hansson08b48bb2020-02-08 20:43:19 +0000332 srcs: [ ":api-stubs-docs" ],
Anton Hanssonbf63f942020-05-20 12:06:23 +0100333 static_libs: [ "private-stub-annotations-jar" ],
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100334 defaults: ["android_defaults_stubs_current"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900335}
336
337java_library_static {
Anton Hansson76d3db42020-04-09 14:16:37 +0100338 name: "android_merged_stubs_current",
339 srcs: [ ":api-stubs-docs-non-updatable" ],
340 static_libs: [
341 "conscrypt.module.public.api.stubs",
Paul Duffin4e006622020-05-31 16:55:13 +0100342 "framework-graphics.stubs",
Paul Duffin8b864fb2020-05-31 11:35:50 +0100343 "framework-media.stubs",
344 "framework-mediaprovider.stubs",
345 "framework-permission.stubs",
346 "framework-sdkextensions.stubs",
347 "framework-statsd.stubs",
348 "framework-tethering.stubs",
349 "framework-wifi.stubs",
Anton Hanssonbf63f942020-05-20 12:06:23 +0100350 "private-stub-annotations-jar",
Anton Hansson76d3db42020-04-09 14:16:37 +0100351 ],
352 defaults: ["android_defaults_stubs_current"],
353}
354
355java_library_static {
356 name: "android_stubs_current",
357 static_libs: ["android_merged_stubs_current"],
358 defaults: ["android_defaults_stubs_current"],
359}
360
361java_library_static {
362 name: "android_system_monolith_stubs_current",
Anton Hansson08b48bb2020-02-08 20:43:19 +0000363 srcs: [ ":system-api-stubs-docs" ],
Anton Hanssonbf63f942020-05-20 12:06:23 +0100364 static_libs: [ "private-stub-annotations-jar" ],
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100365 defaults: ["android_defaults_stubs_current"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900366}
367
368java_library_static {
Anton Hansson76d3db42020-04-09 14:16:37 +0100369 name: "android_system_merged_stubs_current",
370 srcs: [ ":system-api-stubs-docs-non-updatable" ],
371 static_libs: [
372 "conscrypt.module.public.api.stubs",
373 "framework-appsearch-stubs", // TODO: standardize appsearch stubs
Paul Duffin4e006622020-05-31 16:55:13 +0100374 "framework-graphics.stubs.system",
Paul Duffin8b864fb2020-05-31 11:35:50 +0100375 "framework-media.stubs.system",
376 "framework-mediaprovider.stubs.system",
377 "framework-permission.stubs.system",
378 "framework-sdkextensions.stubs.system",
379 "framework-statsd.stubs.system",
380 "framework-tethering.stubs.system",
381 "framework-wifi.stubs.system",
Anton Hanssonbf63f942020-05-20 12:06:23 +0100382 "private-stub-annotations-jar",
Anton Hansson76d3db42020-04-09 14:16:37 +0100383 ],
384 defaults: ["android_defaults_stubs_current"],
385}
386
387java_library_static {
388 name: "android_system_stubs_current",
389 static_libs: ["android_system_merged_stubs_current"],
390 defaults: ["android_defaults_stubs_current"],
391}
392
393java_library_static {
Jiyong Park7fb4b182019-12-20 14:35:43 +0900394 name: "android_test_stubs_current",
Anton Hansson08b48bb2020-02-08 20:43:19 +0000395 srcs: [ ":test-api-stubs-docs" ],
Anton Hanssonbf63f942020-05-20 12:06:23 +0100396 static_libs: [ "private-stub-annotations-jar" ],
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100397 defaults: ["android_defaults_stubs_current"],
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",
Anton Hansson08b48bb2020-02-08 20:43:19 +0000402 srcs: [ ":module-lib-api-stubs-docs" ],
Anton Hanssonfbd32f32020-04-09 14:16:37 +0100403 defaults: ["android_defaults_stubs_current"],
Anton Hansson394febc2020-04-14 16:35:36 +0100404 libs: ["sdk_system_29_android"],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900405}
406
Anton Hansson76d3db42020-04-09 14:16:37 +0100407java_library_static {
408 name: "android_non_updatable_stubs_current",
409 srcs: [":api-stubs-docs-non-updatable"],
410 defaults: ["android_defaults_stubs_current"],
411 libs: ["sdk_system_29_android"],
412}
413
414java_library_static {
415 name: "android_system_non_updatable_stubs_current",
416 srcs: [":system-api-stubs-docs-non-updatable"],
417 defaults: ["android_defaults_stubs_current"],
418 libs: ["sdk_system_29_android"],
419}
420
Jiyong Park7fb4b182019-12-20 14:35:43 +0900421/////////////////////////////////////////////////////////////////////
422// hwbinder.stubs provides APIs required for building HIDL Java
423// libraries.
424/////////////////////////////////////////////////////////////////////
425
426droidstubs {
427 name: "hwbinder-stubs-docs",
428 srcs: [
429 "core/java/android/os/HidlSupport.java",
430 "core/java/android/annotation/IntDef.java",
431 "core/java/android/annotation/IntRange.java",
432 "core/java/android/annotation/NonNull.java",
433 "core/java/android/annotation/SystemApi.java",
434 "core/java/android/os/HidlMemory.java",
435 "core/java/android/os/HwBinder.java",
436 "core/java/android/os/HwBlob.java",
437 "core/java/android/os/HwParcel.java",
438 "core/java/android/os/IHwBinder.java",
439 "core/java/android/os/IHwInterface.java",
440 "core/java/android/os/DeadObjectException.java",
441 "core/java/android/os/DeadSystemException.java",
442 "core/java/android/os/NativeHandle.java",
443 "core/java/android/os/RemoteException.java",
444 "core/java/android/util/AndroidException.java",
445 ],
446 installable: false,
447 sdk_version: "core_platform",
448 annotations_enabled: true,
Anton Hansson48ee95e2020-05-02 17:49:26 +0100449 previous_api: ":android.api.public.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900450 merge_annotations_dirs: [
451 "metalava-manual",
452 ],
Anton Hansson81969c22020-02-03 20:45:56 +0000453 args: priv_apps,
Jiyong Park7fb4b182019-12-20 14:35:43 +0900454}
455
456java_library_static {
457 name: "hwbinder.stubs",
458 sdk_version: "core_current",
459 srcs: [
460 ":hwbinder-stubs-docs",
461 ],
462}
463
464/////////////////////////////////////////////////////////////////////
Jiyong Park7fb4b182019-12-20 14:35:43 +0900465// api/*-current.txt files for use by modules in other directories
466// like the CTS test
467/////////////////////////////////////////////////////////////////////
468
469filegroup {
470 name: "frameworks-base-api-current.txt",
471 srcs: [
472 "api/current.txt",
473 ],
474}
475
476filegroup {
477 name: "frameworks-base-api-system-current.txt",
478 srcs: [
479 "api/system-current.txt",
480 ],
481}
482
483filegroup {
484 name: "frameworks-base-api-system-removed.txt",
485 srcs: [
486 "api/system-removed.txt",
487 ],
488}