Skip to content

Commit

Permalink
Merge remote-tracking branch 'CyanogenMod/cm-12.1' into HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianomatos committed Nov 4, 2015
2 parents 5e2f52f + a306ef0 commit ebac009
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 22 deletions.
1 change: 1 addition & 0 deletions CleanSpec.mk
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*)

# Added new build props
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)

# ************************************************
Expand Down
2 changes: 1 addition & 1 deletion core/build_id.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
# (like "CRB01"). It must be a single word, and is
# capitalized by convention.

export BUILD_ID=LMY48W
export BUILD_ID=LMY48Y
28 changes: 14 additions & 14 deletions core/version_defaults.mk
Original file line number Diff line number Diff line change
Expand Up @@ -68,25 +68,12 @@ ifeq "" "$(PLATFORM_VERSION_CODENAME)"
PLATFORM_VERSION_ALL_CODENAMES := $(PLATFORM_VERSION_CODENAME)
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
# setting these in the .apk's AndroidManifest.xml. It is either the code
# name of the development build or, if this is a release build, the official
# SDK version of this release.
ifeq "REL" "$(PLATFORM_VERSION_CODENAME)"
DEFAULT_APP_TARGET_SDK := $(PLATFORM_SDK_VERSION)
else
DEFAULT_APP_TARGET_SDK := $(PLATFORM_VERSION_CODENAME)
endif
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-10-01
PLATFORM_SECURITY_PATCH := 2015-11-01
endif

ifeq "" "$(PLATFORM_BASE_OS)"
Expand All @@ -97,6 +84,19 @@ ifeq "" "$(PLATFORM_BASE_OS)"
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
# setting these in the .apk's AndroidManifest.xml. It is either the code
# name of the development build or, if this is a release build, the official
# SDK version of this release.
ifeq "REL" "$(PLATFORM_VERSION_CODENAME)"
DEFAULT_APP_TARGET_SDK := $(PLATFORM_SDK_VERSION)
else
DEFAULT_APP_TARGET_SDK := $(PLATFORM_VERSION_CODENAME)
endif
endif

ifeq "" "$(BUILD_ID)"
# Used to signify special builds. E.g., branches and/or releases,
# like "M5-RC7". Can be an arbitrary string, but must be a single
Expand Down
15 changes: 8 additions & 7 deletions tools/releasetools/ota_from_target_files
Original file line number Diff line number Diff line change
Expand Up @@ -602,13 +602,14 @@ else if get_stage("%(bcb_dev)s") == "3/3" then
if HasVendorPartition(input_zip):
system_progress -= 0.1

script.AppendExtra("if is_mounted(\"/data\") then")
script.ValidateSignatures("data")
script.AppendExtra("else")
script.Mount("/data")
script.ValidateSignatures("data")
script.Unmount("/data")
script.AppendExtra("endif;")
if not OPTIONS.wipe_user_data:
script.AppendExtra("if is_mounted(\"/data\") then")
script.ValidateSignatures("data")
script.AppendExtra("else")
script.Mount("/data")
script.ValidateSignatures("data")
script.Unmount("/data")
script.AppendExtra("endif;")

if "selinux_fc" in OPTIONS.info_dict:
WritePolicyConfig(OPTIONS.info_dict["selinux_fc"], output_zip)
Expand Down

0 comments on commit ebac009

Please sign in to comment.