From e0dacf93b1a2d911d1c1a663ae6c66e0a211c14d Mon Sep 17 00:00:00 2001 From: Bill Napier Date: Tue, 24 Aug 2010 22:18:21 -0700 Subject: [PATCH] Add support for generated documentation as part of the SDK docs. This can be done by adding the list of files to include to the ALL_GENERATED_DOCS variable, and then making sure to put your generated output files under $(OUT_DOCS)/gen. Change-Id: Ie068a3fadccf7c990ec8e26b92ad408e7314469e --- Android.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Android.mk b/Android.mk index c1324c901409e..5f8b235904497 100644 --- a/Android.mk +++ b/Android.mk @@ -348,7 +348,7 @@ framework_docs_LOCAL_JAVA_LIBRARIES := \ framework \ framework_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES -framework_docs_LOCAL_DROIDDOC_HTML_DIR := docs/html +framework_docs_LOCAL_DROIDDOC_HTML_DIR := $(LOCAL_PATH)/docs/html $(OUT_DOCS)/gen # The since flag (-since N.xml API_LEVEL) is used to add API Level information # to the reference documentation. Must be in order of oldest to newest. framework_docs_LOCAL_DROIDDOC_OPTIONS := \ @@ -539,8 +539,8 @@ LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:=assets-sdk include $(BUILD_DROIDDOC) -# explicitly specify that online-sdk depends on framework-res. -$(full_target): framework-res-package-target +# explicitly specify that online-sdk depends on framework-res and any generated docs +$(full_target): framework-res-package-target $(ALL_GENERATED_DOCS) # ==== docs that have all of the stuff that's @hidden ======================= include $(CLEAR_VARS)