Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6a04a23a authored by Adnan Begovic's avatar Adnan Begovic Committed by Gerrit Code Review
Browse files

cm: Always verify against current CMSDK version.

  Since cmsdk prebuilts lives in a single master branch,
  previous branches that apicheck will fail since they'll
  verify against an api that exists in future releases.

Change-Id: I56594d075b89cb1a3d7a606cc9c1699dfffd94cb
TICKET: CYNGNOS-2220
parent fd018d52
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -25,11 +25,8 @@ ifeq (,$(filter true, $(WITHOUT_CHECK_API) $(TARGET_BUILD_PDK)))
# Run the checkapi rules by default.
droidcore: checkapi-cm

cm_last_released_sdk_version := $(lastword $(call numerically_sort, \
            $(filter-out current, \
                $(patsubst $(CM_SRC_API_DIR)/%.txt,%, $(wildcard $(CM_SRC_API_DIR)/*.txt)) \
             )\
        ))
# Validate against current platform sdk version api text within prebuilts
cm_last_released_sdk_version := $(CM_PLATFORM_SDK_VERSION)

.PHONY: check-cm-public-api
checkapi-cm : check-cm-public-api