Deprecate ABI reference dumps in gzip
ABI dumps in gzip are no longer supported because they cannot be reviewed or merged. Bug: 227282691 Test: make Change-Id: I9fdf943fb8ae30aeae884d4d361a65034ab6fa94
This commit is contained in:
@@ -292,12 +292,6 @@ var (
|
||||
},
|
||||
"extraFlags", "referenceDump", "libName", "arch", "errorMessage")
|
||||
|
||||
// Rule to unzip a reference abi dump.
|
||||
unzipRefSAbiDump = pctx.AndroidStaticRule("unzipRefSAbiDump",
|
||||
blueprint.RuleParams{
|
||||
Command: "gunzip -c $in > $out",
|
||||
})
|
||||
|
||||
// Rule to zip files.
|
||||
zip = pctx.AndroidStaticRule("zip",
|
||||
blueprint.RuleParams{
|
||||
@@ -911,18 +905,6 @@ func transformDumpToLinkedDump(ctx android.ModuleContext, sAbiDumps android.Path
|
||||
return android.OptionalPathForPath(outputFile)
|
||||
}
|
||||
|
||||
// unzipRefDump registers a build statement to unzip a reference abi dump.
|
||||
func unzipRefDump(ctx android.ModuleContext, zippedRefDump android.Path, baseName string) android.Path {
|
||||
outputFile := android.PathForModuleOut(ctx, baseName+"_ref.lsdump")
|
||||
ctx.Build(pctx, android.BuildParams{
|
||||
Rule: unzipRefSAbiDump,
|
||||
Description: "gunzip" + outputFile.Base(),
|
||||
Output: outputFile,
|
||||
Input: zippedRefDump,
|
||||
})
|
||||
return outputFile
|
||||
}
|
||||
|
||||
func transformAbiDumpToAbiDiff(ctx android.ModuleContext, inputDump, referenceDump android.Path,
|
||||
baseName, nameExt string, extraFlags []string, errorMessage string) android.Path {
|
||||
|
||||
|
Reference in New Issue
Block a user