Merge "add source.properties file to the offline docs build which is required to get this in the SDK Manager" into nyc-dev

This commit is contained in:
Scott Main
2016-09-27 17:17:16 +00:00
committed by Android (Google) Code Review
2 changed files with 10 additions and 0 deletions

View File

@@ -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)

3
docs/source.properties Normal file
View File

@@ -0,0 +1,3 @@
Pkg.Revision=24.0
Pkg.Desc=Android offline API reference
Pkg.Path=docs