forked from openkylin/platform_build
Add basic support ro.build.version.release_or_codename
Currently no different from "release". Will be updated to differ in a follow up change, once all related issues have been resolved. Bug: 143175463 Test: manual Change-Id: I2e7de023d49cb1dcb83637e2c9af5a3e48e46f7d
This commit is contained in:
parent
d176ccf946
commit
0023fa857c
|
@ -242,6 +242,7 @@ define generate-common-build-props-with-product-vars-set
|
|||
DATE="$(DATE_FROM_FILE)" \
|
||||
PLATFORM_SDK_VERSION="$(PLATFORM_SDK_VERSION)" \
|
||||
PLATFORM_VERSION="$(PLATFORM_VERSION)" \
|
||||
PLATFORM_VERSION_LAST_STABLE="$(PLATFORM_VERSION)" \
|
||||
TARGET_BUILD_TYPE="$(TARGET_BUILD_VARIANT)" \
|
||||
bash $(BUILDINFO_COMMON_SH) "$(1)" >> $(2)
|
||||
endef
|
||||
|
@ -446,6 +447,7 @@ endif
|
|||
BUILD_NUMBER="$(BUILD_NUMBER_FROM_FILE)" \
|
||||
BOARD_BUILD_SYSTEM_ROOT_IMAGE="$(BOARD_BUILD_SYSTEM_ROOT_IMAGE)" \
|
||||
PLATFORM_VERSION="$(PLATFORM_VERSION)" \
|
||||
PLATFORM_VERSION_LAST_STABLE="$(PLATFORM_VERSION)" \
|
||||
PLATFORM_SECURITY_PATCH="$(PLATFORM_SECURITY_PATCH)" \
|
||||
PLATFORM_BASE_OS="$(PLATFORM_BASE_OS)" \
|
||||
PLATFORM_SDK_VERSION="$(PLATFORM_SDK_VERSION)" \
|
||||
|
|
|
@ -12,6 +12,7 @@ echo "ro.build.version.preview_sdk_fingerprint=$PLATFORM_PREVIEW_SDK_FINGERPRINT
|
|||
echo "ro.build.version.codename=$PLATFORM_VERSION_CODENAME"
|
||||
echo "ro.build.version.all_codenames=$PLATFORM_VERSION_ALL_CODENAMES"
|
||||
echo "ro.build.version.release=$PLATFORM_VERSION"
|
||||
echo "ro.build.version.release_or_codename=$PLATFORM_VERSION_LAST_STABLE"
|
||||
echo "ro.build.version.security_patch=$PLATFORM_SECURITY_PATCH"
|
||||
echo "ro.build.version.base_os=$PLATFORM_BASE_OS"
|
||||
echo "ro.build.version.min_supported_target_sdk=$PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION"
|
||||
|
|
|
@ -18,6 +18,7 @@ echo "ro.${partition}.build.tags=$BUILD_VERSION_TAGS"
|
|||
echo "ro.${partition}.build.type=$TARGET_BUILD_TYPE"
|
||||
echo "ro.${partition}.build.version.incremental=$BUILD_NUMBER"
|
||||
echo "ro.${partition}.build.version.release=$PLATFORM_VERSION"
|
||||
echo "ro.${partition}.build.version.release_or_codename=$PLATFORM_VERSION_LAST_STABLE"
|
||||
echo "ro.${partition}.build.version.sdk=$PLATFORM_SDK_VERSION"
|
||||
|
||||
echo "ro.product.${partition}.brand=$PRODUCT_BRAND"
|
||||
|
|
Loading…
Reference in New Issue