diff options
author | 2020-08-06 17:38:25 -0700 | |
---|---|---|
committer | 2020-08-06 18:46:06 -0700 | |
commit | 094faa5b26bd4d181c48c25b84d786d2a0f0e743 (patch) | |
tree | 87ab479b7ada8ad1a8f5b64c93e05fdf2910c6f8 /java/hiddenapi_singleton.go | |
parent | 2eddd06879051b23c4698fabe1a4b89601da25c4 (diff) |
Use local variations for versionsMutator
Use local variations and an alias for the "" variation for
versionMutator. Local variations are used here because the variation
of one module doesn't affect the variation it should depend on - a
module with variation version:29 will manually link against dependencies
with the correct version variation, and don't need it to be automatically
resolved. The alias allows other modules to depend on a module
mutated by the version mutator without specifying the version: ""
variation. This allows removing the variation on genrule modules.
The motiviation here is to make sure versionMutator calls AliasVariation,
which will allow the previous linkageMutator to also use AliasVariation.
Bug: 162437057
Test: no change to build.ninja, make_vars-aosp_crosshatch.mk, Android-aosp_crosshatch.mk or late-aosp_crosshatch.mk
Change-Id: Ibb030cc4334e47511b8ab5bc3eb8a5ae39ad0023
Diffstat (limited to 'java/hiddenapi_singleton.go')
0 files changed, 0 insertions, 0 deletions