* commit 'c49c9c52bec44303923001af554c160a4117d071': Use LOCAL_MULTILIB to build host lib as 64-bit
This commit is contained in:
commit
87c056edf1
2 changed files with 4 additions and 1 deletions
|
@ -84,7 +84,7 @@ LOCAL_SRC_FILES := $(LOCAL_TOOL_SRC_FILES) \
|
||||||
$(call all-java-files-under, $(DICTTOOL_ONDEVICE_TESTS_DIRECTORY))
|
$(call all-java-files-under, $(DICTTOOL_ONDEVICE_TESTS_DIRECTORY))
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,9 @@ ifeq ($(FLAG_DBG), true)
|
||||||
endif #FLAG_DBG
|
endif #FLAG_DBG
|
||||||
|
|
||||||
LOCAL_CFLAGS += -DHOST_TOOL -fPIC -Wno-deprecated -Wno-unused-parameter -Wno-unused-function
|
LOCAL_CFLAGS += -DHOST_TOOL -fPIC -Wno-deprecated -Wno-unused-parameter -Wno-unused-function
|
||||||
|
ifneq ($(strip $(HOST_JDK_IS_64BIT_VERSION)),)
|
||||||
|
LOCAL_MULTILIB := 64
|
||||||
|
endif #HOST_JDK_IS_64BIT_VERSION
|
||||||
|
|
||||||
LOCAL_CLANG := true
|
LOCAL_CLANG := true
|
||||||
# For C++11
|
# For C++11
|
||||||
|
|
Loading…
Reference in a new issue