Merge "Support LOCAL_ACP_UNAVAILABLE for prebuilts"

am: 153af5a27e

* commit '153af5a27e48627c24bda68495d1a972c744aa00':
  Support LOCAL_ACP_UNAVAILABLE for prebuilts
This commit is contained in:
Colin Cross 2015-11-17 21:36:45 +00:00 committed by android-build-merger
commit b35469cb90
1 changed files with 5 additions and 0 deletions

View File

@ -275,8 +275,13 @@ ifneq ($(LOCAL_PREBUILT_STRIP_COMMENTS),)
$(built_module) : $(my_prebuilt_src_file)
$(transform-prebuilt-to-target-strip-comments)
else
ifneq ($(LOCAL_ACP_UNAVAILABLE),true)
$(built_module) : $(my_prebuilt_src_file) | $(ACP)
$(transform-prebuilt-to-target)
else
$(built_module) : $(my_prebuilt_src_file)
$(copy-file-to-target-with-cp)
endif
endif
endif # LOCAL_MODULE_CLASS != APPS