mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Use LOCAL_MULTILIB to build host lib as 64-bit
Also we should use LOCAL_REQUIRED_MODULES instead of LOCAL_ADDITIONAL_DEPENDENCIES. Bug: 13751317 Change-Id: I742ff14b3de168e14e646749cf4f6bc9c9e7bc62
This commit is contained in:
parent
2debf16892
commit
fb57fe263c
@ -51,7 +51,7 @@ LOCAL_SRC_FILES := $(LOCAL_TOOL_SRC_FILES) \
|
|||||||
$(USED_TARGETTED_UTILS)
|
$(USED_TARGETTED_UTILS)
|
||||||
|
|
||||||
LOCAL_JAVA_LIBRARIES := junit
|
LOCAL_JAVA_LIBRARIES := junit
|
||||||
LOCAL_ADDITIONAL_DEPENDENCIES := $(LATINIME_HOST_NATIVE_LIBNAME)
|
LOCAL_REQUIRED_MODULES := $(LATINIME_HOST_NATIVE_LIBNAME)
|
||||||
LOCAL_JAR_MANIFEST := etc/manifest.txt
|
LOCAL_JAR_MANIFEST := etc/manifest.txt
|
||||||
LOCAL_MODULE := dicttool_aosp
|
LOCAL_MODULE := dicttool_aosp
|
||||||
|
|
||||||
|
@ -21,8 +21,7 @@ include $(CLEAR_VARS)
|
|||||||
LATINIME_DIR_RELATIVE_TO_DICTTOOL := ../..
|
LATINIME_DIR_RELATIVE_TO_DICTTOOL := ../..
|
||||||
|
|
||||||
ifneq ($(strip $(HOST_JDK_IS_64BIT_VERSION)),)
|
ifneq ($(strip $(HOST_JDK_IS_64BIT_VERSION)),)
|
||||||
LOCAL_CFLAGS += -m64
|
LOCAL_MULTILIB := 64
|
||||||
LOCAL_LDFLAGS += -m64
|
|
||||||
endif #HOST_JDK_IS_64BIT_VERSION
|
endif #HOST_JDK_IS_64BIT_VERSION
|
||||||
|
|
||||||
LOCAL_CFLAGS += -DHOST_TOOL -fPIC
|
LOCAL_CFLAGS += -DHOST_TOOL -fPIC
|
||||||
|
Loading…
Reference in New Issue
Block a user