diff options
| author | 2021-09-14 15:45:13 +0100 | |
|---|---|---|
| committer | 2022-02-17 12:27:49 +0000 | |
| commit | 36bc27cb47338de8f9a4f61e221037de8a3b1683 (patch) | |
| tree | 714c9c3702a8823fb636481f10c46394950ca38b /api/api.go | |
| parent | 4ff7b1d7231f311436e8e471921b7d2d1f707e52 (diff) | |
Generate an api-versions.xml from stubs jar
The current api-versions.xml shipped in the SDK and used internally in
the android build system is generated by the framework-doc-stubs target.
This CL adds a new target that generates an (almost) equivalent database
in a different way. There are a few upshots of using this method to
generate them:
- using the framework-doc-stubs target is inefficient. It runs late in
the build but also takes a long time, extending the critical path of
the modules that depend on api-versions.xml
- the framework-doc-system-stubs target is using module sources as
input, which is desireable to avoid because we want to separate
module sources from the rest of the platform.
Bug: 187398174
Bug: 186197911
Test: m api_versions_{public,system} && diff with "originals"
Change-Id: I8adab94ee7ca0bee4fc0be8d99f1125360387d89
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions