Merge "Export build flags to soong." into main am: 2ab031f467
am: 1d6e69cda7
am: 5ef54931f0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2803674 Change-Id: I52af4213a59f60378f0c1679ae19f00a3dea4c34 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -2127,3 +2127,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
|
||||
}
|
||||
|
Reference in New Issue
Block a user