Add PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION
Exposed as ro.build.version.min_supported_target_sdk build_property Test: make Bug: 63926630 Change-Id: I8084fd4c54d9c2fb5e2683430e2b3aaf4c5f4a7a
This commit is contained in:
parent
533789f032
commit
e554015b3a
3 changed files with 9 additions and 0 deletions
|
@ -337,6 +337,7 @@ endif
|
|||
PLATFORM_PREVIEW_SDK_VERSION="$(PLATFORM_PREVIEW_SDK_VERSION)" \
|
||||
PLATFORM_VERSION_CODENAME="$(PLATFORM_VERSION_CODENAME)" \
|
||||
PLATFORM_VERSION_ALL_CODENAMES="$(PLATFORM_VERSION_ALL_CODENAMES)" \
|
||||
PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION="$(PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION)" \
|
||||
BUILD_VERSION_TAGS="$(BUILD_VERSION_TAGS)" \
|
||||
BUILD_FINGERPRINT="$(BUILD_FINGERPRINT_FROM_FILE)" \
|
||||
$(if $(OEM_THUMBPRINT_PROPERTIES),BUILD_THUMBPRINT="$(BUILD_THUMBPRINT)") \
|
||||
|
|
|
@ -233,3 +233,10 @@ ifndef BUILD_NUMBER
|
|||
# anyone trying to parse it as an integer will probably get "0".
|
||||
BUILD_NUMBER := eng.$(shell echo $${USER:0:6}).$(shell $(DATE) +%Y%m%d.%H%M%S)
|
||||
endif
|
||||
|
||||
ifndef PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION
|
||||
# Used to set minimum supported target sdk version. Apps targeting sdk
|
||||
# version lower than the set value will fail to install and run on android
|
||||
# device.
|
||||
PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION := 0
|
||||
endif
|
||||
|
|
|
@ -13,6 +13,7 @@ echo "ro.build.version.all_codenames=$PLATFORM_VERSION_ALL_CODENAMES"
|
|||
echo "ro.build.version.release=$PLATFORM_VERSION"
|
||||
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"
|
||||
echo "ro.build.date=`$DATE`"
|
||||
echo "ro.build.date.utc=`$DATE +%s`"
|
||||
echo "ro.build.type=$TARGET_BUILD_TYPE"
|
||||
|
|
Loading…
Reference in a new issue