Merge "Import make variable NextReleaseHideFlaggedApi to Soong" into main

This commit is contained in:
Jihoon Kang
2023-09-26 17:49:25 +00:00
committed by Gerrit Code Review
2 changed files with 6 additions and 0 deletions

View File

@@ -2080,3 +2080,7 @@ func (c *config) Bp2buildMode() bool {
func (c *deviceConfig) CheckVendorSeappViolations() bool {
return Bool(c.config.productVariables.CheckVendorSeappViolations)
}
func (c *deviceConfig) NextReleaseHideFlaggedApi() bool {
return Bool(c.config.productVariables.NextReleaseHideFlaggedApi)
}

View File

@@ -488,6 +488,8 @@ type ProductVariables struct {
// PartitionVarsForBazelMigrationOnlyDoNotUse are extra variables that are used to define the
// partition images. They should not be read from soong modules.
PartitionVarsForBazelMigrationOnlyDoNotUse PartitionVariables `json:",omitempty"`
NextReleaseHideFlaggedApi *bool `json:",omitempty"`
}
type PartitionVariables struct {