summaryrefslogtreecommitdiff
path: root/java/droidstubs_test.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2025-01-15 18:03:57 +0000
committer Paul Duffin <paulduffin@google.com> 2025-01-16 14:57:35 +0000
commitc9e6d51d5e533366d86f3bc15e8f2c8a1bc8d2eb (patch)
tree5c680232cd511f164c195a03affec2e896ff070e /java/droidstubs_test.go
parentee5e093f66dfb224790d130135527518b29cc438 (diff)
Remove support for Metalava --android-jar-pattern fallbacks
Previously, Metalava would automatically add the following patterns to the list of patterns provided by `--android-jar-pattern` options: ``` prebuilts/tools/common/api-versions/android-{version:level}/android.jar prebuilts/sdk/{version:level}/public/android.jar ``` That meant that even when generating `api-versions.xml` for say Wear (which specified `api_levels_jar_filename: "wear-sdk.jar"`) it would also include definitions of the public Android Api. However, the `api-versions.xml` file is only generated by Android as while Wear did have a `droidstubs` that would generate it the relevant section has been commented out because it does not work properly for it, e.g. only handles public APIs, not system APIs, does not handle `major.minor` versions. This change removes the broken part and at such time when Wear wants to generate the `api-versions.xml` file itself we can add a working implementation. Bug: 390113278 Test: # Before applying this change run: tools/metalava/scripts/gather-android-metalava-artifacts.py before # After applying this change run: tools/metalava/scripts/gather-android-metalava-artifacts.py after # Make sure that there are no differences. meld before after Change-Id: I18f4bbfd66b906b67ccca4e457b222402013b6ad
Diffstat (limited to 'java/droidstubs_test.go')
0 files changed, 0 insertions, 0 deletions