Merge changes I0dcc9c7b,I9bc40642
* changes: Move cc.imageMutator into the android package Make CreateVariations return []android.Module
This commit is contained in:
@@ -716,12 +716,12 @@ func (a *apexBundle) installable() bool {
|
||||
|
||||
func (a *apexBundle) getImageVariation(config android.DeviceConfig) string {
|
||||
if a.vndkApex {
|
||||
return "vendor." + a.vndkVersion(config)
|
||||
return cc.VendorVariationPrefix + a.vndkVersion(config)
|
||||
}
|
||||
if config.VndkVersion() != "" && proptools.Bool(a.properties.Use_vendor) {
|
||||
return "vendor." + config.PlatformVndkVersion()
|
||||
return cc.VendorVariationPrefix + config.PlatformVndkVersion()
|
||||
} else {
|
||||
return "core"
|
||||
return android.CoreVariation
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -140,7 +140,7 @@ func testApexContext(t *testing.T, bp string, handlers ...testCustomizer) (*andr
|
||||
ctx.BottomUp("prebuilts", android.PrebuiltMutator).Parallel()
|
||||
})
|
||||
ctx.PreDepsMutators(func(ctx android.RegisterMutatorsContext) {
|
||||
ctx.BottomUp("image", cc.ImageMutator).Parallel()
|
||||
ctx.BottomUp("image", android.ImageMutator).Parallel()
|
||||
ctx.BottomUp("link", cc.LinkageMutator).Parallel()
|
||||
ctx.BottomUp("vndk", cc.VndkMutator).Parallel()
|
||||
ctx.BottomUp("test_per_src", cc.TestPerSrcMutator).Parallel()
|
||||
|
Reference in New Issue
Block a user