Skip to content

Commit ba3dd32

Browse files
committed
enable preview mode for docs and add api level 10 flag for api level diffs
Change-Id: Ief2adca0f7f5c37d9381bd69d39a27aa11ec85dc
1 parent a7ce2f0 commit ba3dd32

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Android.mk

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ framework_docs_LOCAL_DROIDDOC_OPTIONS := \
373373
-since ./frameworks/base/api/7.xml 7 \
374374
-since ./frameworks/base/api/8.xml 8 \
375375
-since ./frameworks/base/api/9.xml 9 \
376+
-since ./frameworks/base/api/10.xml 10 \
376377
-werror -hide 13 \
377378
-overview $(LOCAL_PATH)/core/java/overview.html
378379

@@ -446,7 +447,7 @@ framework_docs_SDK_VERSION:=2.3
446447
# release version (ie "Release x") (full releases only)
447448
framework_docs_SDK_REL_ID:=1
448449
# flag to build offline docs for a preview release
449-
framework_docs_SDK_PREVIEW:=0
450+
framework_docs_SDK_PREVIEW:=true
450451

451452
framework_docs_LOCAL_DROIDDOC_OPTIONS += \
452453
-hdf sdk.version $(framework_docs_SDK_VERSION) \
@@ -574,6 +575,10 @@ LOCAL_DROIDDOC_OPTIONS:= \
574575
-hdf android.whichdoc online \
575576
-hdf template.showLanguageMenu true
576577

578+
ifeq ($(framework_docs_SDK_PREVIEW),true)
579+
LOCAL_DROIDDOC_OPTIONS += -hdf sdk.preview true
580+
endif
581+
577582
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
578583
LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:=assets-sdk
579584

0 commit comments

Comments
 (0)