Introduce product variable PRODUCT_HIDDEN_API_EXPORTABLE_STUBS am: b36fc547c0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2973434 Change-Id: I8a7ccf940ea8ce15ca3440488c2f7146bf0d58bb Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -222,7 +222,8 @@ func (c Config) ReleaseNdkAbiMonitored() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c Config) ReleaseHiddenApiExportableStubs() bool {
|
func (c Config) ReleaseHiddenApiExportableStubs() bool {
|
||||||
return c.config.productVariables.GetBuildFlagBool("RELEASE_HIDDEN_API_EXPORTABLE_STUBS")
|
return c.config.productVariables.GetBuildFlagBool("RELEASE_HIDDEN_API_EXPORTABLE_STUBS") ||
|
||||||
|
Bool(c.config.productVariables.HiddenapiExportableStubs)
|
||||||
}
|
}
|
||||||
|
|
||||||
// A DeviceConfig object represents the configuration for a particular device
|
// A DeviceConfig object represents the configuration for a particular device
|
||||||
|
@@ -496,6 +496,8 @@ type ProductVariables struct {
|
|||||||
BuildFromSourceStub *bool `json:",omitempty"`
|
BuildFromSourceStub *bool `json:",omitempty"`
|
||||||
|
|
||||||
BuildIgnoreApexContributionContents []string `json:",omitempty"`
|
BuildIgnoreApexContributionContents []string `json:",omitempty"`
|
||||||
|
|
||||||
|
HiddenapiExportableStubs *bool `json:",omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type PartitionQualifiedVariablesType struct {
|
type PartitionQualifiedVariablesType struct {
|
||||||
|
Reference in New Issue
Block a user