diff options
Diffstat (limited to 'cc/library.go')
| -rw-r--r-- | cc/library.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/library.go b/cc/library.go index b7688f716..1807bbf33 100644 --- a/cc/library.go +++ b/cc/library.go @@ -2195,7 +2195,7 @@ func (library *libraryDecorator) install(ctx ModuleContext, file android.Path) { // do not install vndk libs // vndk libs are packaged into VNDK APEX - if ctx.isVndk() && !ctx.IsVndkExt() && !ctx.Config().IsVndkDeprecated() { + if ctx.isVndk() && !ctx.IsVndkExt() && !ctx.Config().IsVndkDeprecated() && !ctx.inProduct() { return } } else if library.hasStubsVariants() && !ctx.Host() && ctx.directlyInAnyApex() { |