Add native_bridge target to Android.bp
This allows us to build guest libraries for the native bridge for arm/arm64 architectures. Bug: http://b/77159578 Test: make Change-Id: I35520ca456105ddadd456c78a4eb1e6de39147c5
This commit is contained in:
2
cc/cc.go
2
cc/cc.go
@@ -1804,6 +1804,8 @@ func (c *Module) depsToPaths(ctx android.ModuleContext) PathDeps {
|
||||
return libName + vendorPublicLibrarySuffix
|
||||
} else if ccDep.inRecovery() && !ccDep.onlyInRecovery() {
|
||||
return libName + recoverySuffix
|
||||
} else if ccDep.Target().NativeBridge == android.NativeBridgeEnabled {
|
||||
return libName + android.NativeBridgeSuffix
|
||||
} else {
|
||||
return libName
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user