Merge "Include the LOCAL_REQUIRED_MODULES when packaging." am: 06f3258694
am: 2ee71f6946
am: af5554c699
am: 0f9093a31c
Change-Id: Ib02724ee1825334069e48af6b7342364b759fbe4
This commit is contained in:
@@ -14,10 +14,20 @@ my_built_modules :=
|
||||
my_copy_pairs :=
|
||||
my_pickup_files :=
|
||||
|
||||
# Iterate over the modules and include their direct dependencies stated in the
|
||||
# LOCAL_REQUIRED_MODULES.
|
||||
my_modules_and_deps := $(my_modules)
|
||||
$(foreach m,$(my_modules),\
|
||||
$(eval _explicitly_required := \
|
||||
$(strip $(ALL_MODULES.$(m).EXPLICITLY_REQUIRED)\
|
||||
$(ALL_MODULES.$(m)$(TARGET_2ND_ARCH_MODULE_SUFFIX).EXPLICITLY_REQUIRED)))\
|
||||
$(eval my_modules_and_deps += $(_explicitly_required))\
|
||||
)
|
||||
|
||||
# Iterate over modules' built files and installed files;
|
||||
# Calculate the dest files in the output zip file.
|
||||
|
||||
$(foreach m,$(my_modules),\
|
||||
$(foreach m,$(my_modules_and_deps),\
|
||||
$(eval _pickup_files := $(strip $(ALL_MODULES.$(m).PICKUP_FILES)\
|
||||
$(ALL_MODULES.$(m)$(TARGET_2ND_ARCH_MODULE_SUFFIX).PICKUP_FILES)))\
|
||||
$(eval _built_files := $(strip $(ALL_MODULES.$(m).BUILT_INSTALLED)\
|
||||
|
Reference in New Issue
Block a user