summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorAdnan Begovic <adnan@cyngn.com>2015-12-23 12:38:15 -0800
committerAdnan Begovic <adnan@cyngn.com>2015-12-23 12:38:15 -0800
commit39ba595215572163e7ba5d6cb357712f7fbbbc18 (patch)
tree457f83f3d3ded76d5bcff47d75e1d6f0bd984e44 /build
parent33cff384dfa9da5cf20ec16d5328ed725d4a9c04 (diff)
downloadvendor_replicant-39ba595215572163e7ba5d6cb357712f7fbbbc18.zip
vendor_replicant-39ba595215572163e7ba5d6cb357712f7fbbbc18.tar.gz
vendor_replicant-39ba595215572163e7ba5d6cb357712f7fbbbc18.tar.bz2
cm: Publish system api as part of publish process.
Change-Id: Iba8b2fbc43dfd7592d7526b03ce6e1338ea095d0
Diffstat (limited to 'build')
-rw-r--r--build/core/apicheck.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/core/apicheck.mk b/build/core/apicheck.mk
index 088adc4..b0df939 100644
--- a/build/core/apicheck.mk
+++ b/build/core/apicheck.mk
@@ -118,9 +118,12 @@ update-cm-system-api: $(INTERNAL_PLATFORM_CM_SYSTEM_API_FILE) | $(ACP)
.PHONY: update-cm-prebuilts-latest-public-api
current_sdk_release_text_file := $(CM_SRC_API_DIR)/$(cm_last_released_sdk_version).txt
+current_system_api_release_text_file := $(CM_SRC_SYSTEM_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)
+ @echo -e ${CL_GRN}"Publishing cm_current.txt as latest system API release"${CL_RST}
+ $(hide) $(ACP) $(FRAMEWORK_CM_PLATFORM_SYSTEM_API_FILE) $(current_system_api_release_text_file)
endif