File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -181,6 +181,7 @@ $(INSTALLED_BUILD_PROP_TARGET): $(BUILDINFO_SH) $(INTERNAL_BUILD_ID_MAKEFILE) $(
181
181
BUILD_DISPLAY_ID=" $( BUILD_DISPLAY_ID) " \
182
182
BUILD_NUMBER=" $( BUILD_NUMBER) " \
183
183
PLATFORM_VERSION=" $( PLATFORM_VERSION) " \
184
+ PLATFORM_SECURITY_PATCH=" $( PLATFORM_SECURITY_PATCH) " \
184
185
PLATFORM_SDK_VERSION=" $( PLATFORM_SDK_VERSION) " \
185
186
PLATFORM_VERSION_CODENAME=" $( PLATFORM_VERSION_CODENAME) " \
186
187
BUILD_VERSION_TAGS=" $( BUILD_VERSION_TAGS) " \
Original file line number Diff line number Diff line change 24
24
# DEFAULT_APP_TARGET_SDK
25
25
# BUILD_ID
26
26
# BUILD_NUMBER
27
+ # SECURITY_PATCH
27
28
#
28
29
29
30
# Look for an optional file containing overrides of the defaults,
@@ -75,6 +76,14 @@ ifeq "" "$(DEFAULT_APP_TARGET_SDK)"
75
76
endif
76
77
endif
77
78
79
+ ifeq "" "$(PLATFORM_SECURITY_PATCH ) "
80
+ # Used to indicate the security patch that has been applied to the device.
81
+ # Can be an arbitrary string, but must be a single word.
82
+ #
83
+ # If there is no $PLATFORM_SECURITY_PATCH set, keep it empty.
84
+ PLATFORM_SECURITY_PATCH := 2015-11-01
85
+ endif
86
+
78
87
ifeq "" "$(BUILD_ID ) "
79
88
# Used to signify special builds. E.g., branches and/or releases,
80
89
# like "M5-RC7". Can be an arbitrary string, but must be a single
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ echo "ro.build.version.incremental=$BUILD_NUMBER"
9
9
echo " ro.build.version.sdk=$PLATFORM_SDK_VERSION "
10
10
echo " ro.build.version.codename=$PLATFORM_VERSION_CODENAME "
11
11
echo " ro.build.version.release=$PLATFORM_VERSION "
12
+ echo " ro.build.version.security_patch=$PLATFORM_SECURITY_PATCH "
12
13
echo " ro.build.date=` date` "
13
14
echo " ro.build.date.utc=` date +%s` "
14
15
echo " ro.build.type=$TARGET_BUILD_TYPE "
You can’t perform that action at this time.
0 commit comments