Merge "Fix recovery-variant VNDK libs miss-installed to recovery img"
am: 52644cb29a
Change-Id: I05db8d67248c11dce6a04d90ae53705ddc3f9228
This commit is contained in:
commit
263802ebda
1 changed files with 1 additions and 1 deletions
2
cc/cc.go
2
cc/cc.go
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue