diff options
| author | 2019-08-05 22:02:46 +0000 | |
|---|---|---|
| committer | 2019-08-05 22:02:46 +0000 | |
| commit | 52644cb29aee191b633cef0c34eceaa11b1d6ee6 (patch) | |
| tree | 72f6f7184144acb41878ff36df5e367f12f797df | |
| parent | df7d2cc9f83e15f69ef1e8ccc08628517d223758 (diff) | |
| parent | d06ecc8af1bd41440982faecc0517823df6298a9 (diff) | |
Merge "Fix recovery-variant VNDK libs miss-installed to recovery img"
| -rw-r--r-- | cc/cc.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1898,7 +1898,7 @@ func (c *Module) depsToPaths(ctx android.ModuleContext) PathDeps { isVendorPublicLib := inList(libName, *vendorPublicLibraries) bothVendorAndCoreVariantsExist := ccDep.hasVendorVariant() || isLLndk - if ctx.DeviceConfig().VndkUseCoreVariant() && ccDep.isVndk() && !ccDep.mustUseVendorVariant() { + if ctx.DeviceConfig().VndkUseCoreVariant() && ccDep.isVndk() && !ccDep.mustUseVendorVariant() && !c.inRecovery() { // The vendor module is a no-vendor-variant VNDK library. Depend on the // core module instead. return libName |