Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 1 | // 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 | |
| 30 | packages_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 | |
| 43 | stubs_defaults { |
Anton Hansson | 822cdb3 | 2020-03-06 17:16:06 +0000 | [diff] [blame] | 44 | name: "metalava-base-api-stubs-default", |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 45 | srcs: [ |
| 46 | ":framework-non-updatable-sources", |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 47 | "core/java/**/*.logtags", |
| 48 | ":opt-telephony-srcs", |
| 49 | ":opt-net-voip-srcs", |
| 50 | ":core-current-stubs-source", |
| 51 | ":core_public_api_files", |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 52 | ], |
Chen Xu | 546ce5e | 2020-01-10 08:38:31 -0800 | [diff] [blame] | 53 | // TODO(b/147699819): remove below aidl includes. |
| 54 | aidl: { |
| 55 | local_include_dirs: ["telephony/java"], |
| 56 | }, |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 57 | libs: ["framework-internal-utils"], |
| 58 | installable: false, |
| 59 | annotations_enabled: true, |
| 60 | previous_api: ":last-released-public-api", |
| 61 | merge_annotations_dirs: [ |
| 62 | "metalava-manual", |
| 63 | ], |
| 64 | api_levels_annotations_enabled: true, |
| 65 | api_levels_annotations_dirs: [ |
| 66 | "sdk-dir", |
| 67 | "api-versions-jars-dir", |
| 68 | ], |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 69 | filter_packages: packages_to_document, |
| 70 | } |
| 71 | |
Jiyong Park | e309516 | 2019-12-20 15:30:28 +0900 | [diff] [blame] | 72 | stubs_defaults { |
Anton Hansson | 822cdb3 | 2020-03-06 17:16:06 +0000 | [diff] [blame] | 73 | name: "metalava-full-api-stubs-default", |
| 74 | defaults: ["metalava-base-api-stubs-default"], |
Jiyong Park | e309516 | 2019-12-20 15:30:28 +0900 | [diff] [blame] | 75 | srcs: [":framework-updatable-sources"], |
| 76 | sdk_version: "core_platform", |
| 77 | } |
| 78 | |
Anton Hansson | 822cdb3 | 2020-03-06 17:16:06 +0000 | [diff] [blame] | 79 | stubs_defaults { |
| 80 | name: "metalava-non-updatable-api-stubs-default", |
| 81 | defaults: ["metalava-base-api-stubs-default"], |
Anton Hansson | 92d79fd | 2020-03-20 09:12:52 +0000 | [diff] [blame] | 82 | sdk_version: "core_platform", |
| 83 | libs: ["framework-all"], |
| 84 | aidl: { |
| 85 | local_include_dirs: ["apex/media/framework/java"], |
| 86 | }, |
Anton Hansson | 822cdb3 | 2020-03-06 17:16:06 +0000 | [diff] [blame] | 87 | } |
| 88 | |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 89 | ///////////////////////////////////////////////////////////////////// |
| 90 | // *-api-stubs-docs modules providing source files for the stub libraries |
| 91 | ///////////////////////////////////////////////////////////////////// |
| 92 | |
Jiyong Park | e309516 | 2019-12-20 15:30:28 +0900 | [diff] [blame] | 93 | // api-stubs-docs, system-api-stubs-docs, and test-api-stubs-docs have APIs |
| 94 | // from the non-updatable part of the platform as well as from the updatable |
| 95 | // modules |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 96 | droidstubs { |
| 97 | name: "api-stubs-docs", |
Anton Hansson | 822cdb3 | 2020-03-06 17:16:06 +0000 | [diff] [blame] | 98 | defaults: ["metalava-full-api-stubs-default"], |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 99 | api_filename: "public_api.txt", |
| 100 | private_api_filename: "private.txt", |
| 101 | removed_api_filename: "removed.txt", |
| 102 | arg_files: [ |
| 103 | "core/res/AndroidManifest.xml", |
| 104 | ], |
| 105 | args: metalava_framework_docs_args, |
| 106 | check_api: { |
| 107 | current: { |
| 108 | api_file: "api/current.txt", |
| 109 | removed_api_file: "api/removed.txt", |
| 110 | }, |
| 111 | last_released: { |
| 112 | api_file: ":last-released-public-api", |
| 113 | removed_api_file: "api/removed.txt", |
| 114 | baseline_file: ":public-api-incompatibilities-with-last-released", |
| 115 | }, |
| 116 | api_lint: { |
| 117 | enabled: true, |
| 118 | new_since: ":last-released-public-api", |
| 119 | baseline_file: "api/lint-baseline.txt", |
| 120 | }, |
| 121 | }, |
Anton Hansson | d9a3fee | 2020-03-23 18:08:55 +0000 | [diff] [blame^] | 122 | dist: { |
| 123 | targets: ["sdk", "win_sdk"], |
| 124 | dir: "apistubs/android/public/api", |
| 125 | dest: "android.txt", |
| 126 | }, |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 127 | jdiff_enabled: true, |
| 128 | } |
| 129 | |
Anton Hansson | 81969c2 | 2020-02-03 20:45:56 +0000 | [diff] [blame] | 130 | priv_apps = " " + |
| 131 | "--show-annotation android.annotation.SystemApi\\(" + |
| 132 | "client=android.annotation.SystemApi.Client.PRIVILEGED_APPS" + |
| 133 | "\\) " |
| 134 | |
| 135 | module_libs = " " + |
| 136 | " --show-annotation android.annotation.SystemApi\\(" + |
| 137 | "client=android.annotation.SystemApi.Client.MODULE_LIBRARIES" + |
| 138 | "\\) " |
| 139 | |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 140 | droidstubs { |
| 141 | name: "system-api-stubs-docs", |
Anton Hansson | 822cdb3 | 2020-03-06 17:16:06 +0000 | [diff] [blame] | 142 | defaults: ["metalava-full-api-stubs-default"], |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 143 | api_tag_name: "SYSTEM", |
| 144 | api_filename: "system-api.txt", |
| 145 | private_api_filename: "system-private.txt", |
| 146 | private_dex_api_filename: "system-private-dex.txt", |
| 147 | removed_api_filename: "system-removed.txt", |
| 148 | arg_files: [ |
| 149 | "core/res/AndroidManifest.xml", |
| 150 | ], |
Anton Hansson | 81969c2 | 2020-02-03 20:45:56 +0000 | [diff] [blame] | 151 | args: metalava_framework_docs_args + priv_apps, |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 152 | check_api: { |
| 153 | current: { |
| 154 | api_file: "api/system-current.txt", |
| 155 | removed_api_file: "api/system-removed.txt", |
| 156 | }, |
| 157 | last_released: { |
| 158 | api_file: ":last-released-system-api", |
| 159 | removed_api_file: "api/system-removed.txt", |
| 160 | baseline_file: ":system-api-incompatibilities-with-last-released" |
| 161 | }, |
| 162 | api_lint: { |
| 163 | enabled: true, |
| 164 | new_since: ":last-released-system-api", |
| 165 | baseline_file: "api/system-lint-baseline.txt", |
| 166 | }, |
| 167 | }, |
Anton Hansson | d9a3fee | 2020-03-23 18:08:55 +0000 | [diff] [blame^] | 168 | dist: { |
| 169 | targets: ["sdk", "win_sdk"], |
| 170 | dir: "apistubs/android/system/api", |
| 171 | dest: "android.txt", |
| 172 | }, |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 173 | jdiff_enabled: true, |
| 174 | } |
| 175 | |
| 176 | droidstubs { |
| 177 | name: "test-api-stubs-docs", |
Anton Hansson | 822cdb3 | 2020-03-06 17:16:06 +0000 | [diff] [blame] | 178 | defaults: ["metalava-full-api-stubs-default"], |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 179 | api_tag_name: "TEST", |
| 180 | api_filename: "test-api.txt", |
| 181 | removed_api_filename: "test-removed.txt", |
| 182 | arg_files: [ |
| 183 | "core/res/AndroidManifest.xml", |
| 184 | ], |
| 185 | args: metalava_framework_docs_args + " --show-annotation android.annotation.TestApi", |
| 186 | check_api: { |
| 187 | current: { |
| 188 | api_file: "api/test-current.txt", |
| 189 | removed_api_file: "api/test-removed.txt", |
| 190 | }, |
| 191 | api_lint: { |
| 192 | enabled: true, |
| 193 | baseline_file: "api/test-lint-baseline.txt", |
| 194 | }, |
| 195 | }, |
Anton Hansson | d9a3fee | 2020-03-23 18:08:55 +0000 | [diff] [blame^] | 196 | dist: { |
| 197 | targets: ["sdk", "win_sdk"], |
| 198 | dir: "apistubs/android/test/api", |
| 199 | dest: "android.txt", |
| 200 | }, |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 201 | } |
| 202 | |
| 203 | ///////////////////////////////////////////////////////////////////// |
Jiyong Park | e309516 | 2019-12-20 15:30:28 +0900 | [diff] [blame] | 204 | // Following droidstubs modules are for extra APIs for modules. |
| 205 | // The framework currently have two more API surfaces for modules: |
| 206 | // @SystemApi(client=MODULE_APPS) and @SystemApi(client=MODULE_LIBRARIES) |
| 207 | ///////////////////////////////////////////////////////////////////// |
| 208 | |
Anton Hansson | 81969c2 | 2020-02-03 20:45:56 +0000 | [diff] [blame] | 209 | // TODO(b/146727827) remove the *-api module when we can teach metalava |
Jiyong Park | e309516 | 2019-12-20 15:30:28 +0900 | [diff] [blame] | 210 | // about the relationship among the API surfaces. Currently, these modules are only to generate |
| 211 | // the API signature files and ensure that the APIs evolve in a backwards compatible manner. |
| 212 | // They however are NOT used for building the API stub. |
Jiyong Park | e309516 | 2019-12-20 15:30:28 +0900 | [diff] [blame] | 213 | |
| 214 | droidstubs { |
| 215 | name: "module-lib-api", |
Anton Hansson | 822cdb3 | 2020-03-06 17:16:06 +0000 | [diff] [blame] | 216 | defaults: ["metalava-full-api-stubs-default"], |
Anton Hansson | 7b0414b | 2020-03-19 15:09:44 +0000 | [diff] [blame] | 217 | api_tag_name: "MODULE_LIB", |
Jiyong Park | e309516 | 2019-12-20 15:30:28 +0900 | [diff] [blame] | 218 | arg_files: ["core/res/AndroidManifest.xml"], |
Anton Hansson | 81969c2 | 2020-02-03 20:45:56 +0000 | [diff] [blame] | 219 | args: metalava_framework_docs_args + module_libs, |
Jiyong Park | e309516 | 2019-12-20 15:30:28 +0900 | [diff] [blame] | 220 | check_api: { |
| 221 | current: { |
| 222 | api_file: "api/module-lib-current.txt", |
| 223 | removed_api_file: "api/module-lib-removed.txt", |
| 224 | }, |
Anton Hansson | 79e35c3 | 2020-02-11 14:36:40 +0000 | [diff] [blame] | 225 | last_released: { |
| 226 | api_file: ":last-released-module-lib-api", |
| 227 | removed_api_file: "api/module-lib-removed.txt", |
| 228 | baseline_file: ":module-lib-api-incompatibilities-with-last-released" |
| 229 | }, |
| 230 | api_lint: { |
| 231 | enabled: true, |
| 232 | new_since: ":last-released-module-lib-api", |
| 233 | baseline_file: "api/module-lib-lint-baseline.txt", |
| 234 | }, |
Jiyong Park | e309516 | 2019-12-20 15:30:28 +0900 | [diff] [blame] | 235 | }, |
Anton Hansson | d9a3fee | 2020-03-23 18:08:55 +0000 | [diff] [blame^] | 236 | dist: { |
| 237 | targets: ["sdk", "win_sdk"], |
| 238 | dir: "apistubs/android/module-lib/api", |
| 239 | dest: "android.txt", |
| 240 | }, |
Jiyong Park | e309516 | 2019-12-20 15:30:28 +0900 | [diff] [blame] | 241 | } |
| 242 | |
Anton Hansson | 81969c2 | 2020-02-03 20:45:56 +0000 | [diff] [blame] | 243 | |
| 244 | // The following droidstub module generates source files for the API stub library for |
| 245 | // modules. Note that it not only includes its own APIs but also other APIs that have |
| 246 | // narrower scope (all @SystemApis, not just the ones with 'client=MODULE_LIBRARIES'). |
Jiyong Park | e309516 | 2019-12-20 15:30:28 +0900 | [diff] [blame] | 247 | |
| 248 | droidstubs { |
| 249 | name: "module-lib-api-stubs-docs", |
Anton Hansson | 822cdb3 | 2020-03-06 17:16:06 +0000 | [diff] [blame] | 250 | defaults: ["metalava-non-updatable-api-stubs-default"], |
Jiyong Park | e309516 | 2019-12-20 15:30:28 +0900 | [diff] [blame] | 251 | arg_files: ["core/res/AndroidManifest.xml"], |
Anton Hansson | 81969c2 | 2020-02-03 20:45:56 +0000 | [diff] [blame] | 252 | args: metalava_framework_docs_args + priv_apps + module_libs, |
Jiyong Park | e309516 | 2019-12-20 15:30:28 +0900 | [diff] [blame] | 253 | } |
| 254 | |
| 255 | ///////////////////////////////////////////////////////////////////// |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 256 | // android_*_stubs_current modules are the stubs libraries compiled |
| 257 | // from *-api-stubs-docs |
| 258 | ///////////////////////////////////////////////////////////////////// |
| 259 | |
| 260 | java_defaults { |
| 261 | name: "framework-stubs-default", |
Anton Hansson | 08b48bb | 2020-02-08 20:43:19 +0000 | [diff] [blame] | 262 | libs: [ "stub-annotations" ], |
| 263 | static_libs: [ "private-stub-annotations-jar" ], |
| 264 | sdk_version: "core_current", |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 265 | errorprone: { |
| 266 | javacflags: [ |
| 267 | "-XepDisableAllChecks", |
| 268 | ], |
| 269 | }, |
| 270 | java_resources: [ |
| 271 | ":notices-for-framework-stubs", |
| 272 | ], |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 273 | system_modules: "none", |
| 274 | java_version: "1.8", |
| 275 | compile_dex: true, |
| 276 | } |
| 277 | |
| 278 | java_library_static { |
| 279 | name: "android_stubs_current", |
Anton Hansson | 08b48bb | 2020-02-08 20:43:19 +0000 | [diff] [blame] | 280 | srcs: [ ":api-stubs-docs" ], |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 281 | defaults: ["framework-stubs-default"], |
| 282 | } |
| 283 | |
| 284 | java_library_static { |
| 285 | name: "android_system_stubs_current", |
Anton Hansson | 08b48bb | 2020-02-08 20:43:19 +0000 | [diff] [blame] | 286 | srcs: [ ":system-api-stubs-docs" ], |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 287 | defaults: ["framework-stubs-default"], |
| 288 | } |
| 289 | |
| 290 | java_library_static { |
| 291 | name: "android_test_stubs_current", |
Anton Hansson | 08b48bb | 2020-02-08 20:43:19 +0000 | [diff] [blame] | 292 | srcs: [ ":test-api-stubs-docs" ], |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 293 | defaults: ["framework-stubs-default"], |
Jiyong Park | e309516 | 2019-12-20 15:30:28 +0900 | [diff] [blame] | 294 | } |
| 295 | |
| 296 | java_library_static { |
Anton Hansson | 1b9cf09 | 2020-01-30 12:09:02 +0000 | [diff] [blame] | 297 | name: "android_module_lib_stubs_current", |
Anton Hansson | 08b48bb | 2020-02-08 20:43:19 +0000 | [diff] [blame] | 298 | srcs: [ ":module-lib-api-stubs-docs" ], |
Jiyong Park | e309516 | 2019-12-20 15:30:28 +0900 | [diff] [blame] | 299 | defaults: ["framework-stubs-default"], |
Anton Hansson | 822cdb3 | 2020-03-06 17:16:06 +0000 | [diff] [blame] | 300 | libs: ["android_system_stubs_current"], |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 301 | } |
| 302 | |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 303 | ///////////////////////////////////////////////////////////////////// |
| 304 | // hwbinder.stubs provides APIs required for building HIDL Java |
| 305 | // libraries. |
| 306 | ///////////////////////////////////////////////////////////////////// |
| 307 | |
| 308 | droidstubs { |
| 309 | name: "hwbinder-stubs-docs", |
| 310 | srcs: [ |
| 311 | "core/java/android/os/HidlSupport.java", |
| 312 | "core/java/android/annotation/IntDef.java", |
| 313 | "core/java/android/annotation/IntRange.java", |
| 314 | "core/java/android/annotation/NonNull.java", |
| 315 | "core/java/android/annotation/SystemApi.java", |
| 316 | "core/java/android/os/HidlMemory.java", |
| 317 | "core/java/android/os/HwBinder.java", |
| 318 | "core/java/android/os/HwBlob.java", |
| 319 | "core/java/android/os/HwParcel.java", |
| 320 | "core/java/android/os/IHwBinder.java", |
| 321 | "core/java/android/os/IHwInterface.java", |
| 322 | "core/java/android/os/DeadObjectException.java", |
| 323 | "core/java/android/os/DeadSystemException.java", |
| 324 | "core/java/android/os/NativeHandle.java", |
| 325 | "core/java/android/os/RemoteException.java", |
| 326 | "core/java/android/util/AndroidException.java", |
| 327 | ], |
| 328 | installable: false, |
| 329 | sdk_version: "core_platform", |
| 330 | annotations_enabled: true, |
| 331 | previous_api: ":last-released-public-api", |
| 332 | merge_annotations_dirs: [ |
| 333 | "metalava-manual", |
| 334 | ], |
Anton Hansson | 81969c2 | 2020-02-03 20:45:56 +0000 | [diff] [blame] | 335 | args: priv_apps, |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 336 | } |
| 337 | |
| 338 | java_library_static { |
| 339 | name: "hwbinder.stubs", |
| 340 | sdk_version: "core_current", |
| 341 | srcs: [ |
| 342 | ":hwbinder-stubs-docs", |
| 343 | ], |
| 344 | } |
| 345 | |
| 346 | ///////////////////////////////////////////////////////////////////// |
| 347 | // Stubs for hiddenapi processing. |
| 348 | ///////////////////////////////////////////////////////////////////// |
| 349 | |
| 350 | droidstubs { |
| 351 | name: "hiddenapi-lists-docs", |
Anton Hansson | 822cdb3 | 2020-03-06 17:16:06 +0000 | [diff] [blame] | 352 | defaults: ["metalava-full-api-stubs-default"], |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 353 | arg_files: [ |
| 354 | "core/res/AndroidManifest.xml", |
| 355 | ], |
| 356 | dex_api_filename: "public-dex.txt", |
| 357 | private_dex_api_filename: "private-dex.txt", |
| 358 | removed_dex_api_filename: "removed-dex.txt", |
| 359 | args: metalava_framework_docs_args + |
| 360 | " --show-unannotated " + |
Anton Hansson | 81969c2 | 2020-02-03 20:45:56 +0000 | [diff] [blame] | 361 | priv_apps + |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 362 | " --show-annotation android.annotation.TestApi ", |
| 363 | } |
| 364 | |
| 365 | droidstubs { |
| 366 | name: "hiddenapi-mappings", |
Anton Hansson | 822cdb3 | 2020-03-06 17:16:06 +0000 | [diff] [blame] | 367 | defaults: ["metalava-full-api-stubs-default"], |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 368 | srcs: [ |
| 369 | ":opt-telephony-common-srcs", |
| 370 | ], |
| 371 | |
| 372 | arg_files: [ |
| 373 | "core/res/AndroidManifest.xml", |
| 374 | ], |
| 375 | dex_mapping_filename: "dex-mapping.txt", |
| 376 | args: metalava_framework_docs_args + |
| 377 | " --hide ReferencesHidden " + |
| 378 | " --hide UnhiddenSystemApi " + |
| 379 | " --show-unannotated " + |
Anton Hansson | 81969c2 | 2020-02-03 20:45:56 +0000 | [diff] [blame] | 380 | priv_apps + |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 381 | " --show-annotation android.annotation.TestApi ", |
| 382 | } |
| 383 | |
| 384 | ///////////////////////////////////////////////////////////////////// |
| 385 | // api/*-current.txt files for use by modules in other directories |
| 386 | // like the CTS test |
| 387 | ///////////////////////////////////////////////////////////////////// |
| 388 | |
| 389 | filegroup { |
| 390 | name: "frameworks-base-api-current.txt", |
| 391 | srcs: [ |
| 392 | "api/current.txt", |
| 393 | ], |
| 394 | } |
| 395 | |
| 396 | filegroup { |
| 397 | name: "frameworks-base-api-system-current.txt", |
| 398 | srcs: [ |
| 399 | "api/system-current.txt", |
| 400 | ], |
| 401 | } |
| 402 | |
| 403 | filegroup { |
| 404 | name: "frameworks-base-api-system-removed.txt", |
| 405 | srcs: [ |
| 406 | "api/system-removed.txt", |
| 407 | ], |
| 408 | } |