OSDN Git Service

Add WITHOUT_CHECK_API guard around checkapi
authorBrandon McAnsh <brandon.mcansh@gmail.com>
Thu, 1 Sep 2016 04:47:46 +0000 (00:47 -0400)
committerSteve Kondik <shade@chemlab.org>
Sun, 4 Sep 2016 10:27:23 +0000 (03:27 -0700)
* Granted we should never not check the API, the flag was added
  so we need to account for it

Change-Id: Iae58ab6484c5c72904cae30e74f5ea1e89a86618
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
core/Makefile

index ce37d54..dce3357 100644 (file)
@@ -1261,11 +1261,13 @@ $(BUILT_SYSTEMIMAGE): $(FULL_SYSTEMIMAGE_DEPS) $(INSTALLED_FILES_FILE)
        $(call build-systemimage-target,$@)
 
 ifndef I_WANT_A_QUAIL_STAR
+ifneq ($(WITHOUT_CHECK_API),true)
 $(BUILT_SYSTEMIMAGE): checkapi
 ifneq ($(TARGET_DISABLE_CMSDK),true)
 $(BUILT_SYSTEMIMAGE): checkapi-cm
 endif
 endif
+endif
 
 INSTALLED_SYSTEMIMAGE := $(PRODUCT_OUT)/system.img
 SYSTEMIMAGE_SOURCE_DIR := $(TARGET_OUT)