cm: Actually have checkapi-cm match against prior release.

Change-Id: I10b88f962d9410687640a40ce7f564e0bd04c2c6
TICKET: CYNGNOS-2303
This commit is contained in:
Adnan Begovic 2016-04-01 16:23:12 -07:00
parent 7ae471d7ca
commit de0b2d324f

View File

@ -25,8 +25,8 @@ ifeq (,$(filter true, $(WITHOUT_CHECK_API) $(TARGET_BUILD_PDK)))
# Run the checkapi rules by default.
droidcore: checkapi-cm
# Validate against current platform sdk version api text within prebuilts
cm_last_released_sdk_version := $(CM_PLATFORM_SDK_VERSION)
# Validate against previous release platform sdk version api text within prebuilts
cm_last_released_sdk_version := $(shell echo ${CM_PLATFORM_SDK_VERSION}-1 | bc)
.PHONY: check-cm-public-api
checkapi-cm : check-cm-public-api