blob: 481de01a7e9d35535eef2069da9638bc03695af9 [file] [log] [blame]
Robert Ly35f2fda2013-01-29 16:27:05 -08001LOCAL_PATH := $(call my-dir)
2
3#===================== docs for the s.a.c site =======================
4include $(CLEAR_VARS)
5LOCAL_MODULE_CLASS:=JAVA_LIBRARIES
6LOCAL_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
9LOCAL_ADDITIONAL_JAVA_DIR:=frameworks/base/core/java/android/annotation
10LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sac
11LOCAL_MODULE := online-sac
12LOCAL_DROIDDOC_OPTIONS:= \
13 -toroot / \
14 -hdf android.whichdoc online \
15 -hdf sac true
16
17include $(BUILD_DROIDDOC)
18
19# Sets up the Doxygen HAL reference docs and puts them in the right place
20# Need doxygen in your path (1.8.3 was used when this target was created)
21setup-hal-ref:
22 $(hide) doxygen docs/source.android.com/Doxyfile
23
24# Run "make tradefed-docs" in "tradefed" branch before running this target
25# This sets up the tradefed javadocs for viewing in s.a.c.
26# Target assumes that you have a "tradefed" directory
27# that contains a sync'ed copy of the "tradefed" branch at the same level as the
28# live docs branch.
29
30setup-tradefed-ref:
31 $(hide) rm -rf $(OUT_DOCS)/online-sac/reference
32 $(hide) cp -R ../tradefed/out/target/common/docs/tradefed/reference $(OUT_DOCS)/online-sac
33 $(hide) cp ../tradefed/out/target/common/docs/tradefed/navtree_data.js $(OUT_DOCS)/online-sac/navtree_data.js