diff options
author | Zach Jang <zachjang@google.com> | 2015-09-17 20:04:17 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-09-17 20:04:17 +0000 |
commit | 48e2b43e8cc030456b0f625f321c45d2e1775130 (patch) | |
tree | 7e7db26536272a1544125e1b30ff8fb2bb5876ea | |
parent | 1bd155692f2e7ddc4fb6b874fc586ba8ab86a363 (diff) | |
parent | 47ef4c3467e4f895b776fb0e8dbcba8f90a9398c (diff) | |
download | build-48e2b43e8cc030456b0f625f321c45d2e1775130.zip build-48e2b43e8cc030456b0f625f321c45d2e1775130.tar.gz build-48e2b43e8cc030456b0f625f321c45d2e1775130.tar.bz2 |
am 47ef4c34: DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings CL#2/3
* commit '47ef4c3467e4f895b776fb0e8dbcba8f90a9398c':
DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings CL#2/3
-rw-r--r-- | CleanSpec.mk | 3 | ||||
-rw-r--r-- | core/Makefile | 2 | ||||
-rw-r--r-- | core/version_defaults.mk | 17 | ||||
-rwxr-xr-x | tools/buildinfo.sh | 2 |
4 files changed, 24 insertions, 0 deletions
diff --git a/CleanSpec.mk b/CleanSpec.mk index a1dec2e..3724e37 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk @@ -305,6 +305,9 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop) # 5.0.2 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop) +# Added new build props +$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop) + # ************************************************ # NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST # ************************************************ diff --git a/core/Makefile b/core/Makefile index d8d3044..78ead17 100644 --- a/core/Makefile +++ b/core/Makefile @@ -213,6 +213,8 @@ endif BUILD_DISPLAY_ID="$(BUILD_DISPLAY_ID)" \ BUILD_NUMBER="$(BUILD_NUMBER)" \ PLATFORM_VERSION="$(PLATFORM_VERSION)" \ + PLATFORM_SECURITY_PATCH="$(PLATFORM_SECURITY_PATCH)" \ + PLATFORM_BASE_OS="$(PLATFORM_BASE_OS)" \ PLATFORM_SDK_VERSION="$(PLATFORM_SDK_VERSION)" \ PLATFORM_VERSION_CODENAME="$(PLATFORM_VERSION_CODENAME)" \ PLATFORM_VERSION_ALL_CODENAMES="$(PLATFORM_VERSION_ALL_CODENAMES)" \ diff --git a/core/version_defaults.mk b/core/version_defaults.mk index abfa072..924a07c 100644 --- a/core/version_defaults.mk +++ b/core/version_defaults.mk @@ -24,6 +24,7 @@ # DEFAULT_APP_TARGET_SDK # BUILD_ID # BUILD_NUMBER +# SECURITY_PATCH # # Look for an optional file containing overrides of the defaults, @@ -67,6 +68,22 @@ ifeq "" "$(PLATFORM_VERSION_CODENAME)" PLATFORM_VERSION_ALL_CODENAMES := $(PLATFORM_VERSION_CODENAME) endif +ifeq "" "$(PLATFORM_SECURITY_PATCH)" + # Used to indicate the security patch that has been applied to the device. + # Can be an arbitrary string, but must be a single word. + # + # If there is no $PLATFORM_SECURITY_PATCH set, keep it empty. + PLATFORM_SECURITY_PATCH := 2015-11-01 +endif + +ifeq "" "$(PLATFORM_BASE_OS)" + # Used to indicate the base os applied to the device. + # Can be an arbitrary string, but must be a single word. + # + # If there is no $PLATFORM_BASE_OS set, keep it empty. + PLATFORM_BASE_OS := +endif + ifeq "" "$(DEFAULT_APP_TARGET_SDK)" # This is the default minSdkVersion and targetSdkVersion to use for # all .apks created by the build system. It can be overridden by explicitly diff --git a/tools/buildinfo.sh b/tools/buildinfo.sh index ed6bd87..dd389de 100755 --- a/tools/buildinfo.sh +++ b/tools/buildinfo.sh @@ -10,6 +10,8 @@ echo "ro.build.version.sdk=$PLATFORM_SDK_VERSION" 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.security_patch=$PLATFORM_SECURITY_PATCH" +echo "ro.build.version.base_os=$PLATFORM_BASE_OS" echo "ro.build.date=`date`" echo "ro.build.date.utc=`date +%s`" echo "ro.build.type=$TARGET_BUILD_TYPE" |