Merge "Add more module targets for host, host-cross, host32, host64" am: 77ea32f378 am: 3ae5fc64bf am: 06699bbd7d

am: 327fced920

Change-Id: I083bbe6e2a27065135ef067a9d8d99a6237a7e71
This commit is contained in:
Colin Cross 2016-12-09 23:16:51 +00:00 committed by android-build-merger
commit 863d08052c
1 changed files with 11 additions and 1 deletions

View File

@ -553,16 +553,26 @@ endif
endif
ifdef LOCAL_IS_HOST_MODULE
h_or_t := host
ifeq ($(my_host_cross),true)
h_or_hc_or_t := host-cross
else
h_or_hc_or_t := host
endif
else
h_or_hc_or_t := target
h_or_t := target
endif
ifdef j_or_n
$(j_or_n) $(h_or_t) $(j_or_n)-$(h_or_t) : $(my_checked_module)
ifneq (,$(filter $(my_module_tags),tests))
$(j_or_n)-$(h_or_t)-tests $(j_or_n)-tests $(h_or_t)-tests : $(my_checked_module)
endif
$(LOCAL_MODULE)-$(h_or_t) : $(my_all_targets)
$(LOCAL_MODULE)-$(h_or_hc_or_t) : $(my_all_targets)
ifeq ($(j_or_n),native)
$(LOCAL_MODULE)-$(h_or_hc_or_t)$(my_32_64_bit_suffix) : $(my_all_targets)
endif
endif
###########################################################