Do not build lsdump for APEX variants

am: fa478c0234

Change-Id: I05e604c67099562282fddd9cfc5a2f8672ad584b
This commit is contained in:
Logan Chien
2019-01-04 00:35:18 -08:00
committed by android-build-merger

View File

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