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:
@@ -2080,3 +2080,7 @@ func (c *config) Bp2buildMode() bool {
|
|||||||
func (c *deviceConfig) CheckVendorSeappViolations() bool {
|
func (c *deviceConfig) CheckVendorSeappViolations() bool {
|
||||||
return Bool(c.config.productVariables.CheckVendorSeappViolations)
|
return Bool(c.config.productVariables.CheckVendorSeappViolations)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (c *deviceConfig) NextReleaseHideFlaggedApi() bool {
|
||||||
|
return Bool(c.config.productVariables.NextReleaseHideFlaggedApi)
|
||||||
|
}
|
||||||
|
@@ -488,6 +488,8 @@ type ProductVariables struct {
|
|||||||
// PartitionVarsForBazelMigrationOnlyDoNotUse are extra variables that are used to define the
|
// PartitionVarsForBazelMigrationOnlyDoNotUse are extra variables that are used to define the
|
||||||
// partition images. They should not be read from soong modules.
|
// partition images. They should not be read from soong modules.
|
||||||
PartitionVarsForBazelMigrationOnlyDoNotUse PartitionVariables `json:",omitempty"`
|
PartitionVarsForBazelMigrationOnlyDoNotUse PartitionVariables `json:",omitempty"`
|
||||||
|
|
||||||
|
NextReleaseHideFlaggedApi *bool `json:",omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type PartitionVariables struct {
|
type PartitionVariables struct {
|
||||||
|
Reference in New Issue
Block a user