Merge "Support LOCAL_ACP_UNAVAILABLE for prebuilts"
This commit is contained in:
@@ -275,8 +275,13 @@ ifneq ($(LOCAL_PREBUILT_STRIP_COMMENTS),)
|
|||||||
$(built_module) : $(my_prebuilt_src_file)
|
$(built_module) : $(my_prebuilt_src_file)
|
||||||
$(transform-prebuilt-to-target-strip-comments)
|
$(transform-prebuilt-to-target-strip-comments)
|
||||||
else
|
else
|
||||||
|
ifneq ($(LOCAL_ACP_UNAVAILABLE),true)
|
||||||
$(built_module) : $(my_prebuilt_src_file) | $(ACP)
|
$(built_module) : $(my_prebuilt_src_file) | $(ACP)
|
||||||
$(transform-prebuilt-to-target)
|
$(transform-prebuilt-to-target)
|
||||||
|
else
|
||||||
|
$(built_module) : $(my_prebuilt_src_file)
|
||||||
|
$(copy-file-to-target-with-cp)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endif # LOCAL_MODULE_CLASS != APPS
|
endif # LOCAL_MODULE_CLASS != APPS
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user