summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Ly <robertly@google.com>2013-02-08 01:48:14 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-02-08 01:48:56 +0000
commite60b6023ae4fdea932d0effc553dddc38117d235 (patch)
tree3d26e4b1369a22741da43fabf6662880dcb2fe0b
parent0e66f16abd651bdf5833f4aede4899e627d7b333 (diff)
parent5f9922d7c3bce158e4c7a58929d4075e7c91e32e (diff)
downloadframeworks_base-e60b6023ae4fdea932d0effc553dddc38117d235.zip
frameworks_base-e60b6023ae4fdea932d0effc553dddc38117d235.tar.gz
frameworks_base-e60b6023ae4fdea932d0effc553dddc38117d235.tar.bz2
Merge "makefile changes for gcm javadocs" into jb-mr1-dev
-rw-r--r--Android.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 954d0a9..5d6a2b1 100644
--- a/Android.mk
+++ b/Android.mk
@@ -708,6 +708,33 @@ include $(BUILD_DROIDDOC)
# explicitly specify that ds depends on framework-res and any generated docs
$(full_target): framework-res-package-target
+
+#==== reference docs for GCM =======================
+
+include $(CLEAR_VARS)
+#
+gcm_docs_src_files += \
+ $(call all-java-files-under, ../../vendor/unbundled_google/libs/gcm/gcm-client/src) \
+ $(call all-java-files-under, ../../vendor/unbundled_google/libs/gcm/gcm-server/src) \
+ $(call all-html-files-under, ../../vendor/unbundled_google/libs/gcm/gcm-client/src) \
+ $(call all-html-files-under, ../../vendor/unbundled_google/libs/gcm/gcm-server/src) \
+
+LOCAL_SRC_FILES := $(gcm_docs_src_files)
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE:= online-gcm-ref
+LOCAL_MODULE_CLASS := JAVA_LIBRARIES
+LOCAL_IS_HOST_MODULE := false
+
+LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR := build/tools/droiddoc/templates-sdk
+
+LOCAL_DROIDDOC_OPTIONS := \
+ -toroot / \
+ -gcmref \
+ -hdf android.whichdoc online \
+ -hdf template.showLanguageMenu true
+
+include $(BUILD_DROIDDOC)
+
# ==== docs that have all of the stuff that's @hidden =======================
include $(CLEAR_VARS)