Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 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 | # Droiddoc needs java source to run. Just pointing to a dummy location |
| 8 | # and deleting output later in delete-ref target |
Omari Stephens | 46bdf0d | 2013-04-17 16:35:47 -0700 | [diff] [blame] | 9 | LOCAL_ADDITIONAL_JAVA_DIR := frameworks/base/core/java/android/annotation |
| 10 | # FIXME FIXME FIXME LOCAL_ADDITIONAL_DEPENDENCIES := tradefed-docs |
| 11 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR := build/tools/droiddoc/templates-sac |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 12 | LOCAL_MODULE := online-sac |
| 13 | LOCAL_DROIDDOC_OPTIONS:= \ |
| 14 | -toroot / \ |
| 15 | -hdf android.whichdoc online \ |
| 16 | -hdf sac true |
| 17 | |
| 18 | include $(BUILD_DROIDDOC) |
| 19 | |
| 20 | # Sets up the Doxygen HAL reference docs and puts them in the right place |
| 21 | # Need doxygen in your path (1.8.3 was used when this target was created) |
| 22 | setup-hal-ref: |
| 23 | $(hide) doxygen docs/source.android.com/Doxyfile |
| 24 | |
| 25 | # Run "make tradefed-docs" in "tradefed" branch before running this target |
| 26 | # This sets up the tradefed javadocs for viewing in s.a.c. |
| 27 | # Target assumes that you have a "tradefed" directory |
| 28 | # that contains a sync'ed copy of the "tradefed" branch at the same level as the |
| 29 | # live docs branch. |
| 30 | |
| 31 | setup-tradefed-ref: |
| 32 | $(hide) rm -rf $(OUT_DOCS)/online-sac/reference |
Clay Murphy | e6c221e | 2013-06-12 18:59:12 -0700 | [diff] [blame] | 33 | $(hide) cp -R out/target/common/docs/tradefed/reference $(OUT_DOCS)/online-sac |
| 34 | $(hide) cp out/target/common/docs/tradefed/navtree_data.js $(OUT_DOCS)/online-sac/navtree_data.js |
Omari Stephens | 46bdf0d | 2013-04-17 16:35:47 -0700 | [diff] [blame] | 35 | |