Don't rename host libraries if only one arch is build.

This makes it simpler to reference normal host modules by just their
original names even if they are built for the 2nd arch.

Change-Id: I49d32dad0dc523c458d5f9176993037d8695e6a5
This commit is contained in:
Ying Wang 2014-06-10 17:18:08 -07:00
parent a45a5d2797
commit b1f7fb7a50
2 changed files with 10 additions and 0 deletions

View File

@ -12,6 +12,10 @@ endif
endif endif
endif endif
ifneq ($(my_module_multilib),both)
LOCAL_NO_2ND_ARCH_MODULE_SUFFIX := true
endif
LOCAL_2ND_ARCH_VAR_PREFIX := LOCAL_2ND_ARCH_VAR_PREFIX :=
include $(BUILD_SYSTEM)/module_arch_supported.mk include $(BUILD_SYSTEM)/module_arch_supported.mk
@ -34,6 +38,7 @@ endif
LOCAL_2ND_ARCH_VAR_PREFIX := LOCAL_2ND_ARCH_VAR_PREFIX :=
endif # HOST_2ND_ARCH endif # HOST_2ND_ARCH
LOCAL_NO_2ND_ARCH_MODULE_SUFFIX :=
my_module_arch_supported := my_module_arch_supported :=
########################################################### ###########################################################

View File

@ -12,6 +12,10 @@ endif
endif endif
endif endif
ifneq ($(my_module_multilib),both)
LOCAL_NO_2ND_ARCH_MODULE_SUFFIX := true
endif
LOCAL_2ND_ARCH_VAR_PREFIX := LOCAL_2ND_ARCH_VAR_PREFIX :=
include $(BUILD_SYSTEM)/module_arch_supported.mk include $(BUILD_SYSTEM)/module_arch_supported.mk
@ -34,6 +38,7 @@ endif
LOCAL_2ND_ARCH_VAR_PREFIX := LOCAL_2ND_ARCH_VAR_PREFIX :=
endif # HOST_2ND_ARCH endif # HOST_2ND_ARCH
LOCAL_NO_2ND_ARCH_MODULE_SUFFIX :=
my_module_arch_supported := my_module_arch_supported :=
########################################################### ###########################################################