Merge "Filter ABI dumps by LLNDK headers and version scripts" into main

This commit is contained in:
Hsin-Yi Chen
2024-04-10 08:36:07 +00:00
committed by Gerrit Code Review
3 changed files with 102 additions and 15 deletions

View File

@@ -1409,6 +1409,11 @@ func (c *config) PrevVendorApiLevel() string {
return strconv.Itoa(vendorApiLevel - 100)
}
func IsTrunkStableVendorApiLevel(level string) bool {
levelInt, err := strconv.Atoi(level)
return err == nil && levelInt >= 202404
}
func (c *config) VendorApiLevelFrozen() bool {
return c.productVariables.GetBuildFlagBool("RELEASE_BOARD_API_LEVEL_FROZEN")
}