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

Commit aaf1089e authored by Jihoon Kang's avatar Jihoon Kang Committed by Automerger Merge Worker
Browse files

Introduce product variable PRODUCT_HIDDEN_API_EXPORTABLE_STUBS am: b36fc547 am: 14c69449

parents cd63b7e7 14c69449
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -222,7 +222,8 @@ func (c Config) ReleaseNdkAbiMonitored() 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
+2 −0
Original line number Diff line number Diff line
@@ -496,6 +496,8 @@ type ProductVariables struct {
	BuildFromSourceStub *bool `json:",omitempty"`

	BuildIgnoreApexContributionContents []string `json:",omitempty"`

	HiddenapiExportableStubs *bool `json:",omitempty"`
}

type PartitionQualifiedVariablesType struct {