Do not build lsdump for APEX variants

This commit stops building lsdump files for APEX variants since APEX
variants are local to APEX modules themselves.

Bug: 121986692
Test: make findlsdumps  # compare $ANDROID_PRODUCT_OUT/lsdump_paths.txt
Change-Id: I37fcd152d0d84d235a354ea53e53e808dd71464a
This commit is contained in:
Logan Chien
2018-12-28 16:25:39 +08:00
parent 3aeedc9592
commit fa478c0234

View File

@@ -634,6 +634,10 @@ func (ctx *moduleContextImpl) shouldCreateVndkSourceAbiDump() bool {
// Host modules do not need ABI dumps.
return false
}
if !ctx.mod.IsForPlatform() {
// APEX variants do not need ABI dumps.
return false
}
if inList(ctx.baseModuleName(), llndkLibraries) {
return true
}