Merge "Avoid creating APEX variant for sdk member"

This commit is contained in:
Paul Duffin
2020-07-29 11:33:12 +00:00
committed by Gerrit Code Review
3 changed files with 32 additions and 15 deletions

View File

@@ -704,7 +704,7 @@ func apexDepsMutator(mctx android.TopDownMutatorContext) {
if !ok || !am.CanHaveApexVariants() {
return false
}
if !parent.(android.DepIsInSameApex).DepIsInSameApex(mctx, child) && !inAnySdk(child) {
if !parent.(android.DepIsInSameApex).DepIsInSameApex(mctx, child) {
return false
}
if excludeVndkLibs {