diff options
author | Adnan Begovic <adnan@cyngn.com> | 2015-07-16 17:11:06 -0700 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-07-18 15:12:53 -0700 |
commit | 4397d1d238e01c72e280625eccff9218e258cab5 (patch) | |
tree | f70d44db336c1f14929d94e6e5a0b65296f720b0 /build | |
parent | 5dd3371ed890c1694947db3945f4a317a80e0a2d (diff) | |
download | vendor_replicant-4397d1d238e01c72e280625eccff9218e258cab5.zip vendor_replicant-4397d1d238e01c72e280625eccff9218e258cab5.tar.gz vendor_replicant-4397d1d238e01c72e280625eccff9218e258cab5.tar.bz2 |
vendor/cm: Introduce update-cm-prebuilts-latest-public-api.
Change-Id: I6a09d3b26573c81e74dc0338ef8899bebb1b5320
Diffstat (limited to 'build')
-rw-r--r-- | build/core/apicheck.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build/core/apicheck.mk b/build/core/apicheck.mk index aa755f7..088adc4 100644 --- a/build/core/apicheck.mk +++ b/build/core/apicheck.mk @@ -116,4 +116,11 @@ update-cm-system-api: $(INTERNAL_PLATFORM_CM_SYSTEM_API_FILE) | $(ACP) @echo Copying cm_system-removed.txt $(hide) $(ACP) $(INTERNAL_CM_PLATFORM_SYSTEM_REMOVED_API_FILE) $(FRAMEWORK_CM_PLATFORM_SYSTEM_REMOVED_API_FILE) +.PHONY: update-cm-prebuilts-latest-public-api +current_sdk_release_text_file := $(CM_SRC_API_DIR)/$(cm_last_released_sdk_version).txt + +update-cm-prebuilts-latest-public-api: $(FRAMEWORK_CM_PLATFORM_API_FILE) | $(ACP) + @echo -e ${CL_GRN}"Publishing cm_current.txt as latest API release"${CL_RST} + $(hide) $(ACP) $(FRAMEWORK_CM_PLATFORM_API_FILE) $(current_sdk_release_text_file) + endif |