Merge "Move the resourcesdir option to the global options so that all doc builds put framework images in the right place."
This commit is contained in:
12
Android.mk
12
Android.mk
@@ -993,11 +993,13 @@ framework_docs_SDK_REL_ID:=1
|
||||
|
||||
framework_docs_LOCAL_DROIDDOC_OPTIONS += \
|
||||
-hdf dac true \
|
||||
-hdf sdk.codename N \
|
||||
-hdf sdk.preview.version 5 \
|
||||
-hdf sdk.codename O \
|
||||
-hdf sdk.preview.version 1 \
|
||||
-hdf sdk.version $(framework_docs_SDK_VERSION) \
|
||||
-hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \
|
||||
-hdf sdk.preview 0
|
||||
-hdf sdk.preview 0 \
|
||||
-resourcesdir $(LOCAL_PATH)/docs/html/reference/images/ \
|
||||
-resourcesoutdir reference/android/images/
|
||||
|
||||
# ==== the api stubs and current.xml ===========================
|
||||
include $(CLEAR_VARS)
|
||||
@@ -1194,9 +1196,7 @@ LOCAL_DROIDDOC_OPTIONS:=\
|
||||
-proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
|
||||
-sdkvalues $(OUT_DOCS) \
|
||||
-hdf android.whichdoc offline \
|
||||
-referenceonly \
|
||||
-resourcesdir $(LOCAL_PATH)/docs/html/reference/images/ \
|
||||
-resourcesoutdir reference/android/images/
|
||||
-referenceonly
|
||||
|
||||
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
|
||||
|
||||
|
||||
Reference in New Issue
Block a user