1 LOCAL_PATH := $(call my-dir) 2 3 #===================== docs for the s.a.c site ======================= 4 include $(CLEAR_VARS) 5 LOCAL_MODULE_CLASS:=JAVA_LIBRARIES 6 LOCAL_DROIDDOC_HTML_DIR:=src 7 LOCAL_ADDITIONAL_HTML_DIR:=src-intl intl/ 8 # Droiddoc needs java source to run. Just pointing to a dummy location 9 # and deleting output later in delete-ref target 10 LOCAL_ADDITIONAL_JAVA_DIR := frameworks/base/core/java/android/annotation 11 # FIXME FIXME FIXME LOCAL_ADDITIONAL_DEPENDENCIES := tradefed-docs 12 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR := build/make/tools/droiddoc/templates-sac 13 LOCAL_MODULE := online-sac 14 LOCAL_DROIDDOC_OPTIONS:= \ 15 -toroot / \ 16 -hdf android.whichdoc online \ 17 -hdf sac true 18 19 include $(BUILD_DROIDDOC) 20 21 # Sets up the Doxygen HAL reference docs and puts them in the right place 22 # Need doxygen in your path (1.8.3 was used when this target was created) 23 .PHONY: setup-hal-ref 24 setup-hal-ref: 25 $(hide) doxygen docs/source.android.com/Doxyfile 26 27 # Put HAL refs in PDK instead and strip nav to s.a.c. 28 .PHONY: pdk-hal-ref 29 pdk-hal-ref: 30 $(hide) doxygen vendor/pdk/data/google/Doxyfile 31 32 # Run "make tradefed-docs" in "tradefed" branch before running this target 33 # This sets up the tradefed javadocs for viewing in s.a.c. 34 # Target assumes that you have a "tradefed" directory 35 # that contains a sync'ed copy of the "tradefed" branch at the same level as the 36 # live docs branch. 37 .PHONY: setup-tradefed-ref 38 setup-tradefed-ref: 39 $(hide) rm -rf $(OUT_DOCS)/online-sac/reference 40 $(hide) cp -R $(OUT_DOCS)/tradefed/reference $(OUT_DOCS)/online-sac 41 $(hide) cp $(OUT_DOCS)/tradefed/navtree_data.js $(OUT_DOCS)/online-sac/navtree_data.js 42