summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmain@google.com <smain@google.com>2016-09-21 14:05:50 -0700
committersmain@google.com <smain@google.com>2016-09-21 16:26:41 -0700
commit2f2365de4a339d37af00055556d6d643175453b8 (patch)
tree83cb7c1e08ac2eb25dfa4f0fa4198ceffdfec406
parent011172a73187ebdf50041809a98101432a191a52 (diff)
add source.properties file to the offline docs build
which is required to get this in the SDK Manager Change-Id: If53cdedcb8f5910fe37add44168348c9fd14d0cb
-rw-r--r--Android.mk7
-rw-r--r--docs/source.properties3
2 files changed, 10 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index aca0df2a6668..f433494bd1ae 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1108,7 +1108,14 @@ $(static_doc_index_redirect): \
$(hide) mkdir -p $(dir $@)
$(hide) $(ACP) $< $@
+static_doc_properties := $(out_dir)/source.properties
+$(static_doc_properties): \
+ $(LOCAL_PATH)/docs/source.properties | $(ACP)
+ $(hide) mkdir -p $(dir $@)
+ $(hide) $(ACP) $< $@
+
$(full_target): $(static_doc_index_redirect)
+$(full_target): $(static_doc_properties)
$(full_target): $(framework_built)
diff --git a/docs/source.properties b/docs/source.properties
new file mode 100644
index 000000000000..77a760bce900
--- /dev/null
+++ b/docs/source.properties
@@ -0,0 +1,3 @@
+Pkg.Revision=24.0
+Pkg.Desc=Android offline API reference
+Pkg.Path=docs \ No newline at end of file