Another attempt at diffs in offline SDK docs.
We already generate offline SDK docs as part of "docs" build, and this change simply adds the "-diff" targets so they're also included. Test: make -j48 docs dist Bug: 69115817 Change-Id: Iecd3f070280b078fbdca91fdc1a6b8d65b8df863
This commit is contained in:
12
Android.mk
12
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user