Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1d6e69cd authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Export build flags to soong." into main am: 2ab031f4

parents 9865ce41 2ab031f4
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2124,3 +2124,8 @@ func (c *deviceConfig) ReleaseExposeFlaggedApi() bool {
func (c *deviceConfig) HideFlaggedApis() bool {
	return c.NextReleaseHideFlaggedApi() && !c.ReleaseExposeFlaggedApi()
}

func (c *config) GetBuildFlag(name string) (string, bool) {
	val, ok := c.productVariables.BuildFlags[name]
	return val, ok
}
+2 −0
Original line number Diff line number Diff line
@@ -492,6 +492,8 @@ type ProductVariables struct {
	NextReleaseHideFlaggedApi *bool `json:",omitempty"`

	Release_expose_flagged_api *bool `json:",omitempty"`

	BuildFlags map[string]string `json:",omitempty"`
}

type PartitionQualifiedVariablesType struct {