am 59cc3f5d: am 5b1fa1c8: Merge "build: remove LOCAL_NO_2ND_ARCH"
* commit '59cc3f5d2a65d1114b0643c453af8b9249970dfd': build: remove LOCAL_NO_2ND_ARCH
This commit is contained in:
commit
25313cd32a
|
@ -145,7 +145,6 @@ LOCAL_HAL_STATIC_LIBRARIES:=
|
|||
LOCAL_NO_SYNTAX_CHECK:=
|
||||
LOCAL_NO_STATIC_ANALYZER:=
|
||||
LOCAL_32_BIT_ONLY:= # '',true
|
||||
LOCAL_NO_2ND_ARCH:= # '',true
|
||||
LOCAL_MODULE_TARGET_ARCH:=
|
||||
LOCAL_MODULE_TARGET_ARCH_WARN:=
|
||||
LOCAL_MODULE_UNSUPPORTED_TARGET_ARCH:=
|
||||
|
|
|
@ -3,22 +3,11 @@
|
|||
# setting in my_module_multilib, or empty if not set.
|
||||
|
||||
my_module_multilib := $(strip $(LOCAL_MULTILIB))
|
||||
|
||||
ifndef my_module_multilib
|
||||
ifeq ($(LOCAL_32_BIT_ONLY)|$(LOCAL_NO_2ND_ARCH),true|true)
|
||||
ifdef TARGET_2ND_ARCH
|
||||
# Both LOCAL_32_BIT_ONLY and LOCAL_NO_2ND_ARCH specified on 64-bit target
|
||||
# skip the module completely
|
||||
my_module_multilib := none
|
||||
else
|
||||
# Both LOCAL_32_BIT_ONLY and LOCAL_NO_2ND_ARCH specified on 32-bit target
|
||||
# build for 32-bit
|
||||
ifeq ($(LOCAL_32_BIT_ONLY),true)
|
||||
my_module_multilib := 32
|
||||
endif
|
||||
else ifeq ($(LOCAL_32_BIT_ONLY),true)
|
||||
my_module_multilib := 32
|
||||
else ifeq ($(LOCAL_NO_2ND_ARCH),true)
|
||||
my_module_multilib := first
|
||||
endif
|
||||
else # my_module_multilib defined
|
||||
ifeq (,$(filter 32 64 first both none,$(my_module_multilib)))
|
||||
$(error $(LOCAL_PATH): Invalid LOCAL_MULTILIB specified for module $(LOCAL_MODULE))
|
||||
|
|
Loading…
Reference in New Issue