Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7acf94b2 authored by Hsin-Yi Chen's avatar Hsin-Yi Chen Committed by Gerrit Code Review
Browse files

Merge "Find LLNDK dumps in prebuilts/abi-dumps/vndk" into main

parents 2d08b2ab 704c12d0
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1350,10 +1350,12 @@ func getRefAbiDumpFile(ctx android.ModuleInstallPathContext,
		fileName+".lsdump")
}

func getRefAbiDumpDir(isNdk bool) string {
func getRefAbiDumpDir(isNdk, isLlndk bool) string {
	var dirName string
	if isNdk {
		dirName = "ndk"
	} else if isLlndk {
		dirName = "vndk"
	} else {
		dirName = "platform"
	}
@@ -1476,7 +1478,7 @@ func (library *libraryDecorator) linkSAbiDumpFiles(ctx ModuleContext, objs Objec

		addLsdumpPath(classifySourceAbiDump(ctx) + ":" + library.sAbiOutputFile.String())

		dumpDir := getRefAbiDumpDir(isNdk)
		dumpDir := getRefAbiDumpDir(isNdk, isLlndk)
		binderBitness := ctx.DeviceConfig().BinderBitness()
		// Check against the previous version.
		prevVersionInt := prevRefAbiDumpVersion(ctx, dumpDir)