Merge "Fix warning with AAPT2 and LOCAL_STATIC_ANDROID_LIBRARIES"
This commit is contained in:
@@ -417,7 +417,7 @@ endef
|
|||||||
define find-subdir-assets
|
define find-subdir-assets
|
||||||
$(sort $(if $(1),$(patsubst ./%,%, \
|
$(sort $(if $(1),$(patsubst ./%,%, \
|
||||||
$(shell if [ -d $(1) ] ; then cd $(1) ; find -L ./ -not -name '.*' -and -type f ; fi)), \
|
$(shell if [ -d $(1) ] ; then cd $(1) ; find -L ./ -not -name '.*' -and -type f ; fi)), \
|
||||||
$(warning Empty argument supplied to find-subdir-assets) \
|
$(warning Empty argument supplied to find-subdir-assets in $(LOCAL_PATH)) \
|
||||||
))
|
))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@@ -140,9 +140,9 @@ my_overlay_resources := $(strip \
|
|||||||
$(addprefix $(d)/, \
|
$(addprefix $(d)/, \
|
||||||
$(call find-subdir-assets,$(d)))))
|
$(call find-subdir-assets,$(d)))))
|
||||||
|
|
||||||
my_res_resources := $(strip \
|
my_res_resources := $(if $(my_res_dir),$(strip \
|
||||||
$(addprefix $(my_res_dir)/, \
|
$(addprefix $(my_res_dir)/, \
|
||||||
$(call find-subdir-assets,$(my_res_dir))))
|
$(call find-subdir-assets,$(my_res_dir)))))
|
||||||
|
|
||||||
all_resources := $(strip $(my_res_resources) $(my_overlay_resources))
|
all_resources := $(strip $(my_res_resources) $(my_overlay_resources))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user