Merge "Add PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION"
This commit is contained in:
commit
6686e51b75
3 changed files with 9 additions and 0 deletions
|
@ -341,6 +341,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)") \
|
||||
|
|
|
@ -251,3 +251,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