Merge "Rename ApexName to ApexVariationName"

This commit is contained in:
Treehugger Robot
2020-08-15 06:43:52 +00:00
committed by Gerrit Code Review
9 changed files with 37 additions and 37 deletions

View File

@@ -686,9 +686,9 @@ func apexDepsMutator(mctx android.TopDownMutatorContext) {
return
}
apexInfo := android.ApexInfo{
ApexName: mctx.ModuleName(),
MinSdkVersion: a.minSdkVersion(mctx),
Updatable: a.Updatable(),
ApexVariationName: mctx.ModuleName(),
MinSdkVersion: a.minSdkVersion(mctx),
Updatable: a.Updatable(),
}
useVndk := a.SocSpecific() || a.DeviceSpecific() || (a.ProductSpecific() && mctx.Config().EnforceProductPartitionInterface())
@@ -1797,7 +1797,7 @@ func (a *apexBundle) WalkPayloadDeps(ctx android.ModuleContext, do android.Paylo
}
// Check for the indirect dependencies if it is considered as part of the APEX
if am.ApexName() != "" {
if am.ApexVariationName() != "" {
return do(ctx, parent, am, false /* externalDep */)
}