Import make variable NextReleaseHideFlaggedApi to Soong

This change imports NextReleaseHideFlaggedApi exported from soong_config

Test: m nothing
Bug: 299570421
Change-Id: I410596a39d2ba9ad353c5cf48bd38b1e843633b2
This commit is contained in:
Jihoon Kang
2023-09-20 01:02:18 +00:00
parent b95a8b33be
commit cfbc4077b3
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 {