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

Commit d2451683 authored by Hsin-Yi Chen's avatar Hsin-Yi Chen
Browse files

Do not create ABI dumps for NDK stub libraries

Some NDK stub libraries are tagged with "LLNDK" in lsdump_paths.txt
because they are not in NDK, and their base module names are in LLNDK.
This commit excludes those NDK stub libraries from lsdump path list.

Test: make findlsdumps
Bug: 147409497
Change-Id: I7a72758ba40d5f5bda8c436dd0b22e5efda03a32
parent d66b2fd3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1113,7 +1113,7 @@ func (ctx *moduleContextImpl) shouldCreateSourceAbiDump() bool {
		// Host modules do not need ABI dumps.
		return false
	}
	if ctx.isStubs() {
	if ctx.isStubs() || ctx.isNDKStubLibrary() {
		// Stubs do not need ABI dumps.
		return false
	}