Merge "Prohibit dependencies outside of uses_sdks"

This commit is contained in:
Treehugger Robot
2019-10-18 00:30:18 +00:00
committed by Gerrit Code Review
8 changed files with 148 additions and 0 deletions

View File

@@ -786,6 +786,11 @@ func (a *apexBundle) DepsMutator(ctx android.BottomUpMutatorContext) {
}
}
func (a *apexBundle) DepIsInSameApex(ctx android.BaseModuleContext, dep android.Module) bool {
// direct deps of an APEX bundle are all part of the APEX bundle
return true
}
func (a *apexBundle) getCertString(ctx android.BaseModuleContext) string {
certificate, overridden := ctx.DeviceConfig().OverrideCertificateFor(ctx.ModuleName())
if overridden {