Export more config variables
am: 092c9da922
Change-Id: I76076e031301dc4980a380edecc65fa600c907e3
This commit is contained in:
@@ -501,6 +501,22 @@ func (c *config) PlatformSdkCodename() string {
|
|||||||
return String(c.productVariables.Platform_sdk_codename)
|
return String(c.productVariables.Platform_sdk_codename)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (c *config) PlatformSecurityPatch() string {
|
||||||
|
return String(c.productVariables.Platform_security_patch)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (c *config) PlatformPreviewSdkVersion() string {
|
||||||
|
return String(c.productVariables.Platform_preview_sdk_version)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (c *config) PlatformMinSupportedTargetSdkVersion() string {
|
||||||
|
return String(c.productVariables.Platform_min_supported_target_sdk_version)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (c *config) PlatformBaseOS() string {
|
||||||
|
return String(c.productVariables.Platform_base_os)
|
||||||
|
}
|
||||||
|
|
||||||
func (c *config) MinSupportedSdkVersion() int {
|
func (c *config) MinSupportedSdkVersion() int {
|
||||||
return 16
|
return 16
|
||||||
}
|
}
|
||||||
|
@@ -137,14 +137,18 @@ type productVariables struct {
|
|||||||
BuildNumberFromFile *string `json:",omitempty"`
|
BuildNumberFromFile *string `json:",omitempty"`
|
||||||
DateFromFile *string `json:",omitempty"`
|
DateFromFile *string `json:",omitempty"`
|
||||||
|
|
||||||
Platform_version_name *string `json:",omitempty"`
|
Platform_version_name *string `json:",omitempty"`
|
||||||
Platform_sdk_version *int `json:",omitempty"`
|
Platform_sdk_version *int `json:",omitempty"`
|
||||||
Platform_sdk_codename *string `json:",omitempty"`
|
Platform_sdk_codename *string `json:",omitempty"`
|
||||||
Platform_sdk_final *bool `json:",omitempty"`
|
Platform_sdk_final *bool `json:",omitempty"`
|
||||||
Platform_version_active_codenames []string `json:",omitempty"`
|
Platform_version_active_codenames []string `json:",omitempty"`
|
||||||
Platform_version_future_codenames []string `json:",omitempty"`
|
Platform_version_future_codenames []string `json:",omitempty"`
|
||||||
Platform_vndk_version *string `json:",omitempty"`
|
Platform_vndk_version *string `json:",omitempty"`
|
||||||
Platform_systemsdk_versions []string `json:",omitempty"`
|
Platform_systemsdk_versions []string `json:",omitempty"`
|
||||||
|
Platform_security_patch *string `json:",omitempty"`
|
||||||
|
Platform_preview_sdk_version *string `json:",omitempty"`
|
||||||
|
Platform_min_supported_target_sdk_version *string `json:",omitempty"`
|
||||||
|
Platform_base_os *string `json:",omitempty"`
|
||||||
|
|
||||||
DeviceName *string `json:",omitempty"`
|
DeviceName *string `json:",omitempty"`
|
||||||
DeviceArch *string `json:",omitempty"`
|
DeviceArch *string `json:",omitempty"`
|
||||||
|
Reference in New Issue
Block a user