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

Commit 2c3225a1 authored by Jayant Chowdhary's avatar Jayant Chowdhary Committed by android-build-merger
Browse files

Disable abi diffs for sanitized variants of modules. am: ea0a2e19

am: 1ce7bf12

Change-Id: I8f1bb1d97dca7dce25c3fa39a1ba97ff2c86015b
parents 3f6efacf 1ce7bf12
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -530,7 +530,12 @@ func (ctx *moduleContextImpl) isVndkExt() bool {

// Create source abi dumps if the module belongs to the list of VndkLibraries.
func (ctx *moduleContextImpl) createVndkSourceAbiDump() bool {
	return ctx.ctx.Device() && ((ctx.useVndk() && ctx.isVndk()) || inList(ctx.baseModuleName(), llndkLibraries))
	isUnsanitizedVariant := true
	sanitize := ctx.mod.sanitize
	if sanitize != nil {
		isUnsanitizedVariant = sanitize.isUnsanitizedVariant()
	}
	return isUnsanitizedVariant && ctx.ctx.Device() && ((ctx.useVndk() && ctx.isVndk()) || inList(ctx.baseModuleName(), llndkLibraries))
}

func (ctx *moduleContextImpl) selectedStl() string {