diff options
author | Paul Duffin <paulduffin@google.com> | 2020-11-20 21:26:20 +0000 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2020-11-20 22:43:21 +0000 |
commit | 3131025d613b795aebaec5a40adb1d6f9f39ec1b (patch) | |
tree | 36fa79aaa290a9ad68384cc3284e8301b1b82a01 /python/python.go | |
parent | b893f8766c4fe8b494f92b4c9c9097224bb307fc (diff) |
java_sdk_library: Allow dist artifacts to be named
Unless no_dist: true is specified the java_sdk_library will
automatically copy the stubs jar and the API specification file (but
not the removed API specification file) for each scope to the apistubs/
directory in the dist from which the sub-directories in prebuilts/sdk
are populated. Previously, the name of those artifacts was based on the
name of the module. This change adds the dist_stem property to allow
the name of those artifacts to be specified separately to the module.
The purpose of this is to allow the art.module.public.api,
conscrypt.module.public.api and i18n.module.public.api java_sdk_library
modules to use a different name when copying to the dist,
e.g. conscrypt.module.public.api should use conscrypt.
Additionally, as the artifacts in the dist end up being copied verbatim
to prebuilts/sdk and the prebuilt_apis module uses those names to
create a filegroup referencing the latest released version of the API
and removed API specification files the dist_stem property is also
used in constructing the name of those filegroups.
Bug: 173715943
Test: lunch sdk-eng && m dist sdk
Compare the results of the above before and after the change to
ensure that this change does not affect the contents of the dist.
See the topic's other change in external/conscrypt for testing
the behavior of this new property.
Change-Id: Ie81345021991ff91ca55fec15b02627135293308
Diffstat (limited to 'python/python.go')
0 files changed, 0 insertions, 0 deletions