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
This commit is contained in:
Hsin-Yi Chen
2020-01-10 16:47:50 +08:00
parent d66b2fd3cf
commit d2451683d9

View File

@@ -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
}