diff options
Diffstat (limited to 'apex/prebuilt.go')
-rw-r--r-- | apex/prebuilt.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apex/prebuilt.go b/apex/prebuilt.go index f93eada8b..aaf2cb77d 100644 --- a/apex/prebuilt.go +++ b/apex/prebuilt.go @@ -274,12 +274,15 @@ func (p *prebuiltCommon) prebuiltApexContentsDeps(ctx android.BottomUpMutatorCon } // Implements android.DepInInSameApex -func (p *prebuiltCommon) DepIsInSameApex(ctx android.BaseModuleContext, dep android.Module) bool { - tag := ctx.OtherModuleDependencyTag(dep) +func (p *prebuiltCommon) OutgoingDepIsInSameApex(tag blueprint.DependencyTag) bool { _, ok := tag.(exportedDependencyTag) return ok } +func (p *prebuiltCommon) IncomingDepIsInSameApex(tag blueprint.DependencyTag) bool { + return true +} + // apexInfoMutator marks any modules for which this apex exports a file as requiring an apex // specific variant and checks that they are supported. // |