Merge "Use PlatformVndkVersion to find ABI dump by default"

This commit is contained in:
Treehugger Robot 2018-03-23 21:31:27 +00:00 committed by Gerrit Code Review
commit 8e10408ccf
1 changed files with 2 additions and 2 deletions

View File

@ -642,8 +642,8 @@ func (library *libraryDecorator) linkShared(ctx ModuleContext,
func (library *libraryDecorator) linkSAbiDumpFiles(ctx ModuleContext, objs Objects, fileName string, soFile android.Path) {
//Also take into account object re-use.
if len(objs.sAbiDumpFiles) > 0 && ctx.createVndkSourceAbiDump() {
vndkVersion := "current"
if ver := ctx.DeviceConfig().VndkVersion(); ver != "" {
vndkVersion := ctx.DeviceConfig().PlatformVndkVersion()
if ver := ctx.DeviceConfig().VndkVersion(); ver != "" && ver != "current" {
vndkVersion = ver
}