Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0dacf93 authored by Bill Napier's avatar Bill Napier
Browse files

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
parent b80e610b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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)