summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author smain@google.com <smain@google.com> 2016-09-27 17:28:54 +0000
committer android-build-merger <android-build-merger@google.com> 2016-09-27 17:28:54 +0000
commita056abf598ce6a1baac1e34e4117638e1d638965 (patch)
tree25c787c892f7aabceaf16d6594a8c2117e22d855
parent19b45e16c02c883bbe19ed0e4c12412736c8f7c0 (diff)
parentd32abed1afdf0da5e43fa7f48413d9d14cbebbe0 (diff)
add source.properties file to the offline docs build which is required to get this in the SDK Manager am: 2f2365de4a
am: d32abed1af Change-Id: I9d6f6f9ce302b3c87d7aac19e6e97cd8a0024f98
-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 af58a174e4e0..e0fcb9869b69 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1112,7 +1112,14 @@ static_doc_index_redirect := $(out_dir)/index.html
$(static_doc_index_redirect): $(LOCAL_PATH)/docs/docs-documentation-redirect.html
$(copy-file-to-target)
+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