summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author smain@google.com <smain@google.com> 2016-09-27 17:23:54 +0000
committer android-build-merger <android-build-merger@google.com> 2016-09-27 17:23:54 +0000
commit6ed77be41de4449e51b19a2a7d2a9c2611c8c328 (patch)
tree0b653e68355f35330d30c318135c771d44f28891
parent7b6cebcaa2b4fa413a3121d2c466dcd654acc573 (diff)
parent2f2365de4a339d37af00055556d6d643175453b8 (diff)
add source.properties file to the offline docs build which is required to get this in the SDK Manager
am: 2f2365de4a Change-Id: I15b5ea8a37ec7c718d23db14baed6c8ffb0af13c
-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 3b4ec2c17626..e17a1dcd18cb 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1115,7 +1115,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