summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Scott Main <smain@google.com> 2016-09-27 17:17:16 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-09-27 17:17:18 +0000
commit6d0e0bdcd51eedbca20097a7ebfa73a373d7f681 (patch)
tree148ec7f1271724dcc389a9c1bcbf06c8d6f8df14
parent02828bd68de62d8312c82d17a1bae3f9fd6cc203 (diff)
parent2f2365de4a339d37af00055556d6d643175453b8 (diff)
Merge "add source.properties file to the offline docs build which is required to get this in the SDK Manager" into nyc-dev
-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