* commit '4c6cde545c5d2e76d9ba8ef926399463369da7e7': Pass whitelist of sample groups to doclava.
This commit is contained in:
10
Android.mk
10
Android.mk
@@ -469,6 +469,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
|
||||
@@ -702,7 +709,8 @@ LOCAL_MODULE := online-sdk
|
||||
LOCAL_DROIDDOC_OPTIONS:= \
|
||||
$(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
|
||||
-toroot / \
|
||||
-hdf android.whichdoc online
|
||||
-hdf android.whichdoc online
|
||||
# $(sample_groups) \
|
||||
# $(web_docs_sample_code_flags)
|
||||
|
||||
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
|
||||
|
||||
Reference in New Issue
Block a user