OSDN Git Service

add source.properties file to the offline docs build which is required to get this...
authorsmain@google.com <smain@google.com>
Tue, 27 Sep 2016 17:23:54 +0000 (17:23 +0000)
committerandroid-build-merger <android-build-merger@google.com>
Tue, 27 Sep 2016 17:23:54 +0000 (17:23 +0000)
am: 2f2365de4a

Change-Id: I7a5261a043d803fdc0ac6b916708e0f743b31865

1  2 
Android.mk

diff --cc Android.mk
@@@ -1100,10 -1103,19 +1100,17 @@@ LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=bui
  include $(BUILD_DROIDDOC)
  
  static_doc_index_redirect := $(out_dir)/index.html
 -$(static_doc_index_redirect): \
 -      $(LOCAL_PATH)/docs/docs-documentation-redirect.html | $(ACP)
 -      $(hide) mkdir -p $(dir $@)
 -      $(hide) $(ACP) $< $@
 +$(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)