Merge "Bypass LOCAL_*_REQUIRED_MODULES checks for ONE_SHOT_MAKEFILE" am: 6ae7967309
am: ab5c9cdbb1
Change-Id: Ibb87d9e0ac6a1b0f7cff1873b3d2bf4d1dd351fb
This commit is contained in:
@@ -714,7 +714,7 @@ $(foreach m,$(ALL_MODULES), \
|
|||||||
$(eval req_files := )\
|
$(eval req_files := )\
|
||||||
$(foreach req_mod,$(req_mods), \
|
$(foreach req_mod,$(req_mods), \
|
||||||
$(eval req_file := $(filter $(TARGET_OUT_ROOT)/%, $(call module-installed-files,$(req_mod)))) \
|
$(eval req_file := $(filter $(TARGET_OUT_ROOT)/%, $(call module-installed-files,$(req_mod)))) \
|
||||||
$(if $(strip $(req_file)),\
|
$(if $(strip $(req_file))$(ONE_SHOT_MAKEFILE),\
|
||||||
,\
|
,\
|
||||||
$(error $(m).LOCAL_TARGET_REQUIRED_MODULES : illegal value $(req_mod) : not a device module. If you want to specify host modules to be required to be installed along with your host module, add those module names to LOCAL_REQUIRED_MODULES instead)\
|
$(error $(m).LOCAL_TARGET_REQUIRED_MODULES : illegal value $(req_mod) : not a device module. If you want to specify host modules to be required to be installed along with your host module, add those module names to LOCAL_REQUIRED_MODULES instead)\
|
||||||
)\
|
)\
|
||||||
@@ -740,7 +740,7 @@ $(foreach m,$(ALL_MODULES), \
|
|||||||
$(eval req_files := )\
|
$(eval req_files := )\
|
||||||
$(foreach req_mod,$(req_mods), \
|
$(foreach req_mod,$(req_mods), \
|
||||||
$(eval req_file := $(filter $(HOST_OUT)/%, $(call module-installed-files,$(req_mod)))) \
|
$(eval req_file := $(filter $(HOST_OUT)/%, $(call module-installed-files,$(req_mod)))) \
|
||||||
$(if $(strip $(req_file)),\
|
$(if $(strip $(req_file))$(ONE_SHOT_MAKEFILE),\
|
||||||
,\
|
,\
|
||||||
$(error $(m).LOCAL_HOST_REQUIRED_MODULES : illegal value $(req_mod) : not a host module. If you want to specify target modules to be required to be installed along with your target module, add those module names to LOCAL_REQUIRED_MODULES instead)\
|
$(error $(m).LOCAL_HOST_REQUIRED_MODULES : illegal value $(req_mod) : not a host module. If you want to specify target modules to be required to be installed along with your target module, add those module names to LOCAL_REQUIRED_MODULES instead)\
|
||||||
)\
|
)\
|
||||||
|
Reference in New Issue
Block a user