Check ABI stability of all NDK libs

am: f4b79c684a

Change-Id: I04b790128b034373625ec47ecf1b51a929a7063a
This commit is contained in:
Logan Chien
2018-08-30 22:49:58 -07:00
committed by android-build-merger
2 changed files with 4 additions and 1 deletions

View File

@@ -585,6 +585,9 @@ func (ctx *moduleContextImpl) shouldCreateVndkSourceAbiDump() bool {
if inList(ctx.baseModuleName(), llndkLibraries) {
return true
}
if inList(ctx.baseModuleName(), ndkMigratedLibs) {
return true
}
if ctx.useVndk() && ctx.isVndk() {
// Return true if this is VNDK-core, VNDK-SP, or VNDK-Ext and this is not
// VNDK-private.

View File

@@ -604,7 +604,7 @@ func (library *libraryDecorator) linkShared(ctx ModuleContext,
}
func getRefAbiDumpFile(ctx ModuleContext, vndkVersion, fileName string) android.Path {
isLlndk := inList(ctx.baseModuleName(), llndkLibraries)
isLlndk := inList(ctx.baseModuleName(), llndkLibraries) || inList(ctx.baseModuleName(), ndkMigratedLibs)
refAbiDumpTextFile := android.PathForVndkRefAbiDump(ctx, vndkVersion, fileName, isLlndk, false)
refAbiDumpGzipFile := android.PathForVndkRefAbiDump(ctx, vndkVersion, fileName, isLlndk, true)