diff options
Diffstat (limited to 'apex/apex.go')
-rw-r--r-- | apex/apex.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apex/apex.go b/apex/apex.go index 42a7d73e7..b7ba5b6d1 100644 --- a/apex/apex.go +++ b/apex/apex.go @@ -2146,7 +2146,7 @@ func (a *apexBundle) depVisitor(vctx *visitorContext, ctx android.ModuleContext, } //TODO: b/296491928 Vendor APEX should use libbinder.ndk instead of libbinder once VNDK is fully deprecated. - if ch.UseVndk() && ctx.Config().IsVndkDeprecated() && child.Name() == "libbinder" { + if ch.InVendorOrProduct() && ctx.Config().IsVndkDeprecated() && child.Name() == "libbinder" { return false } af := apexFileForNativeLibrary(ctx, ch, vctx.handleSpecialLibs) |