Merge "Use PlatformVndkVersion to find ABI dump by default" am: 8e10408ccf
am: 4ce86efb67
Change-Id: I365c12d947a1624e35cf9fb0480409870c315e85
This commit is contained in:
@@ -642,8 +642,8 @@ func (library *libraryDecorator) linkShared(ctx ModuleContext,
|
|||||||
func (library *libraryDecorator) linkSAbiDumpFiles(ctx ModuleContext, objs Objects, fileName string, soFile android.Path) {
|
func (library *libraryDecorator) linkSAbiDumpFiles(ctx ModuleContext, objs Objects, fileName string, soFile android.Path) {
|
||||||
//Also take into account object re-use.
|
//Also take into account object re-use.
|
||||||
if len(objs.sAbiDumpFiles) > 0 && ctx.createVndkSourceAbiDump() {
|
if len(objs.sAbiDumpFiles) > 0 && ctx.createVndkSourceAbiDump() {
|
||||||
vndkVersion := "current"
|
vndkVersion := ctx.DeviceConfig().PlatformVndkVersion()
|
||||||
if ver := ctx.DeviceConfig().VndkVersion(); ver != "" {
|
if ver := ctx.DeviceConfig().VndkVersion(); ver != "" && ver != "current" {
|
||||||
vndkVersion = ver
|
vndkVersion = ver
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user