From c02c64b772663b33f43e905601cce17cc81201fd Mon Sep 17 00:00:00 2001 From: Adnan Begovic Date: Tue, 9 Feb 2016 11:05:20 -0800 Subject: [PATCH] cmsdk: Disable verbose logging on doclava, add cleanspec. Change-Id: I44e8b458d4e46cf03ec18776c4ca296c53b440dd TICKET: CYNGNOS-1950 --- Android.mk | 6 ++---- CleanSpec.mk | 4 +++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Android.mk b/Android.mk index 2e397eb..6a69d25 100644 --- a/Android.mk +++ b/Android.mk @@ -224,8 +224,7 @@ LOCAL_DROIDDOC_OPTIONS:= \ -exclude org.cyanogenmod.platform.internal \ -api $(INTERNAL_CM_PLATFORM_API_FILE) \ -removedApi $(INTERNAL_CM_PLATFORM_REMOVED_API_FILE) \ - -nodocs \ - -verbose + -nodocs LOCAL_UNINSTALLABLE_MODULE := true @@ -256,8 +255,7 @@ LOCAL_DROIDDOC_OPTIONS:=\ -exclude org.cyanogenmod.platform.internal \ -api $(INTERNAL_CM_PLATFORM_SYSTEM_API_FILE) \ -removedApi $(INTERNAL_CM_PLATFORM_SYSTEM_REMOVED_API_FILE) \ - -nodocs \ - -verbose + -nodocs LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:= build/tools/droiddoc/templates-sdk diff --git a/CleanSpec.mk b/CleanSpec.mk index 3f23969..98c9b74 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk @@ -41,8 +41,10 @@ $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/org.cyanogenmod. $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform_intermediates) $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.sdk_intermediates) $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.internal_intermediates) -$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/docs/cm-api-stubs-timestamp) $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/cmsdk_stubs_current_intermediates) # KeyguardExternalView uses a new interface which requires cleaning to avoid a runtime exception $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform_intermediates) $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.sdk_intermediates) +# Purge out the api stubs timestamp files (they're used as a dependency for checkapi-cm) +$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/docs/cm-api-stubs*) +$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/docs/cm-system-api-stubs*)