diff --git a/Android.mk b/Android.mk index 10d11f357eef4..9676958605dd3 100644 --- a/Android.mk +++ b/Android.mk @@ -486,6 +486,10 @@ LOCAL_APIDIFF_NEWAPI := $(LOCAL_PATH)/../../$(basename $(INTERNAL_PLATFORM_API_F include $(BUILD_APIDIFF) +# Hack to get diffs included in docs output +out_zip := $(OUT_DOCS)/$(LOCAL_MODULE)-docs.zip +$(out_zip): $(full_target) + # ==== System API diff =========================== include $(CLEAR_VARS) @@ -512,6 +516,10 @@ LOCAL_APIDIFF_NEWAPI := $(LOCAL_PATH)/../../$(basename $(INTERNAL_PLATFORM_SYSTE include $(BUILD_APIDIFF) +# Hack to get diffs included in docs output +out_zip := $(OUT_DOCS)/$(LOCAL_MODULE)-docs.zip +$(out_zip): $(full_target) + # ==== the api stubs and current.xml =========================== include $(CLEAR_VARS) @@ -656,10 +664,6 @@ checkbuild: doc-comment-check-docs # Check comment when you are updating the API update-api: doc-comment-check-docs -# Generate API diffs as part of docs builds -docs: offline-sdk-referenceonly-diff -docs: offline-system-sdk-referenceonly-diff - # ==== static html in the sdk ================================== include $(CLEAR_VARS)