Merge "Support LOCAL_ACP_UNAVAILABLE for prebuilts"

This commit is contained in:
Colin Cross 2015-11-17 21:25:44 +00:00 committed by Gerrit Code Review
commit 153af5a27e
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