am 7b734fd8
: Merge "Allow multiple asset directories in aapt" into klp-modular-dev
* commit '7b734fd8d163f7a71254b909fbbcd358129924b7': Allow multiple asset directories in aapt
This commit is contained in:
commit
bebb2b54ce
1 changed files with 8 additions and 2 deletions
|
@ -100,8 +100,14 @@ package_resource_overlays := $(strip \
|
|||
|
||||
LOCAL_RESOURCE_DIR := $(package_resource_overlays) $(LOCAL_RESOURCE_DIR)
|
||||
|
||||
all_assets := $(call find-subdir-assets,$(LOCAL_ASSET_DIR))
|
||||
all_assets := $(addprefix $(LOCAL_ASSET_DIR)/,$(patsubst assets/%,%,$(all_assets)))
|
||||
all_assets := $(strip \
|
||||
$(foreach dir, $(LOCAL_ASSET_DIR), \
|
||||
$(addprefix $(dir)/, \
|
||||
$(patsubst assets/%,%, \
|
||||
$(call find-subdir-assets, $(dir)) \
|
||||
) \
|
||||
) \
|
||||
))
|
||||
|
||||
all_resources := $(strip \
|
||||
$(foreach dir, $(LOCAL_RESOURCE_DIR), \
|
||||
|
|
Loading…
Reference in a new issue