aboutsummaryrefslogtreecommitdiff
path: root/source/Plugins/DynamicLoader/POSIX-DYLD/Android.mk
diff options
context:
space:
mode:
authorTodd Fiala <tfiala@google.com>2013-10-14 09:48:59 -0700
committerTodd Fiala <tfiala@google.com>2013-11-05 16:01:15 -0800
commitd55c5b19487ef22383a32548f1143f1dfac2478f (patch)
treebb5bf929961945f47d6e3e86d7f83cf349021e8d /source/Plugins/DynamicLoader/POSIX-DYLD/Android.mk
parent670e8f81114cc9ab17e16a60561b75856698b586 (diff)
downloadlldb-d55c5b19487ef22383a32548f1143f1dfac2478f.tar.gz
Add Android.mk support for building LLDB on Linux host.
This change adds support for building LLDB with the following build command from the top level: make FORCE_BUILD_LLVM_COMPONENTS=true ANDROID_BUILD_LLDB=true lldb There are known issues with the google linux host gcc 4.6.2+ variant currently used to build host executables. A follow up change will apply a temporary work-around that will be used until either the compiler is fixed or a new compiler is used. Change-Id: I18451f73cbe2264074cd8fba6397680855352a93
Diffstat (limited to 'source/Plugins/DynamicLoader/POSIX-DYLD/Android.mk')
-rw-r--r--source/Plugins/DynamicLoader/POSIX-DYLD/Android.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/source/Plugins/DynamicLoader/POSIX-DYLD/Android.mk b/source/Plugins/DynamicLoader/POSIX-DYLD/Android.mk
new file mode 100644
index 000000000..5130ba435
--- /dev/null
+++ b/source/Plugins/DynamicLoader/POSIX-DYLD/Android.mk
@@ -0,0 +1,24 @@
+LOCAL_PATH:= $(call my-dir)
+
+include $(CLEAR_VARS)
+include $(CLEAR_TBLGEN_VARS)
+
+TBLGEN_TABLES := \
+ DiagnosticCommonKinds.inc \
+ DeclNodes.inc \
+ StmtNodes.inc
+
+lldb_PluginDynamicLoaderPOSIX_SRC_FILES := \
+ AuxVector.cpp \
+ DYLDRendezvous.cpp \
+ DynamicLoaderPOSIXDYLD.cpp
+
+LOCAL_SRC_FILES := $(lldb_PluginDynamicLoaderPOSIX_SRC_FILES)
+
+LOCAL_MODULE:= liblldbPluginDynamicLoaderPOSIX
+LOCAL_MODULE_TAGS := optional
+
+include $(LLDB_BUILD_MK)
+include $(CLANG_VERSION_INC_MK)
+include $(CLANG_TBLGEN_RULES_MK)
+include $(BUILD_HOST_STATIC_LIBRARY)