diff options
author | Xavier Ducrohet <xav@android.com> | 2010-08-25 15:48:04 -0700 |
---|---|---|
committer | Android Code Review <code-review@android.com> | 2010-08-25 15:48:05 -0700 |
commit | 1c85488dc3f6dd1e9dd081023ee28c281f24be5d (patch) | |
tree | 0ae59d22fa7b1dd1952df6688cce4cb63440da32 /monkeyrunner | |
parent | 4632a705097fcc53f2221874a663c3f716953952 (diff) | |
parent | 16c864153ef53abc3c64f50877225944c25afacd (diff) | |
download | sdk-1c85488dc3f6dd1e9dd081023ee28c281f24be5d.zip sdk-1c85488dc3f6dd1e9dd081023ee28c281f24be5d.tar.gz sdk-1c85488dc3f6dd1e9dd081023ee28c281f24be5d.tar.bz2 |
Merge "Create MonkeyRunner docs target to generate SDK docs."
Diffstat (limited to 'monkeyrunner')
-rw-r--r-- | monkeyrunner/src/Android.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/monkeyrunner/src/Android.mk b/monkeyrunner/src/Android.mk index f06f4ce..11c7cc0 100644 --- a/monkeyrunner/src/Android.mk +++ b/monkeyrunner/src/Android.mk @@ -29,3 +29,18 @@ LOCAL_JAVA_RESOURCE_DIRS := resources LOCAL_MODULE := monkeyrunner include $(BUILD_HOST_JAVA_LIBRARY) + +include $(CLEAR_VARS) + +MR_GEN_DOC_DIR := $(OUT_DOCS)/gen/guide/developing/tools +MONKEYRUNNER_GENERATED_DOC := $(MR_GEN_DOC_DIR)/monkeyrunner-api.jd + +HELP_PY_PATH := $(TOP)/sdk/monkeyrunner/scripts/help.py + +# Setup documentation generation so we can include the MonkeyRunner +# docs in the SDK. +$(MONKEYRUNNER_GENERATED_DOC): monkeyrunner + mkdir -p $(MR_GEN_DOC_DIR) + $(HOST_OUT)/bin/monkeyrunner $(HELP_PY_PATH) sdk-docs $< + +ALL_GENERATED_DOCS += $(MONKEYRUNNER_GENERATED_DOC) |