diff options
author | Serban Constantinescu <serban.constantinescu@arm.com> | 2014-11-13 11:19:39 +0000 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2014-11-17 09:44:47 +0000 |
commit | e9c96f757f00b915dd1cb86447fb88f36cb54607 (patch) | |
tree | e447f5347c176c67ccfe0f290c87ab9168577854 | |
parent | 40167fa72adeae25442d1953b7a33a95512dbea0 (diff) | |
download | vixl-e9c96f757f00b915dd1cb86447fb88f36cb54607.tar.gz |
Vixl: Add libvixld host module.
This patch adds a build target for a host debug version of VIXL.
Change-Id: I2c0ce810eaf4a73da88bbeaf7f01d297a8373c48
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
-rw-r--r-- | Android.mk | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -98,7 +98,7 @@ LOCAL_C_INCLUDES := $(vixl_include_files) LOCAL_SRC_FILES := $(vixl_src_files) LOCAL_SHARED_LIBRARIES := liblog LOCAL_MODULE_TAGS := optional -LOCAL_MODULE := libvixlg +LOCAL_MODULE := libvixld LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk include external/libcxx/libcxx.mk include $(BUILD_SHARED_LIBRARY) @@ -117,6 +117,20 @@ LOCAL_MULTILIB := both include external/libcxx/libcxx.mk include $(BUILD_HOST_SHARED_LIBRARY) +include $(CLEAR_VARS) +LOCAL_CLANG := true +LOCAL_CPP_EXTENSION := .cc +LOCAL_CPPFLAGS := -O2 -Wall -Wextra -DDEBUG=1 -DUSE_SIMULATOR -std=c++11 +LOCAL_C_INCLUDES := $(vixl_include_files) +LOCAL_SRC_FILES := $(vixl_src_files) +LOCAL_SHARED_LIBRARIES := liblog +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE := libvixld +LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk +LOCAL_MULTILIB := both +include external/libcxx/libcxx.mk +include $(BUILD_HOST_SHARED_LIBRARY) + # cctest_vixl: VIXL native tests (to run all tests execute ./cctest_vixl --run_all) # # We only support 64bit host builds of cctest. |