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

Commit a6c02679 authored by Dirk Dougherty's avatar Dirk Dougherty
Browse files

Pass whitelist of sample groups to doclava.

Change-Id: I36f3e3426115cc296531cf41d20ab07a4d429b19
parent dd93ae32
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -467,6 +467,13 @@ framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES := \
sample_dir := development/samples
new_sample_dir := developers/samples/android

# Whitelist of valid groups, used for default TOC grouping. Each sample must
# belong to one (and only one) group. Assign samples to groups by setting
# a sample.group var to one of these groups in the sample's _index.jd.
sample_groups := -samplegroup Input \
                 -samplegroup Sensors \
                 -samplegroup Connectivity

# the list here should match the list of samples included in the sdk samples package
# (see development/build/sdk.atree)
# remove htmlified samples for now -- samples are still available through the SDK
@@ -701,6 +708,7 @@ LOCAL_DROIDDOC_OPTIONS:= \
		$(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
		-toroot / \
		-hdf android.whichdoc online
#		$(sample_groups) \
#		$(web_docs_sample_code_flags)

LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk