diff options
author | Todd Fiala <tfiala@google.com> | 2013-10-14 09:48:59 -0700 |
---|---|---|
committer | Todd Fiala <tfiala@google.com> | 2013-11-05 16:01:15 -0800 |
commit | d55c5b19487ef22383a32548f1143f1dfac2478f (patch) | |
tree | bb5bf929961945f47d6e3e86d7f83cf349021e8d /source/Plugins/DynamicLoader/Darwin-Kernel/Android.mk | |
parent | 670e8f81114cc9ab17e16a60561b75856698b586 (diff) | |
download | lldb-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/Darwin-Kernel/Android.mk')
-rw-r--r-- | source/Plugins/DynamicLoader/Darwin-Kernel/Android.mk | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/source/Plugins/DynamicLoader/Darwin-Kernel/Android.mk b/source/Plugins/DynamicLoader/Darwin-Kernel/Android.mk new file mode 100644 index 000000000..c3245149f --- /dev/null +++ b/source/Plugins/DynamicLoader/Darwin-Kernel/Android.mk @@ -0,0 +1,22 @@ +LOCAL_PATH:= $(call my-dir) + +include $(CLEAR_VARS) +include $(CLEAR_TBLGEN_VARS) + +TBLGEN_TABLES := \ + DiagnosticCommonKinds.inc \ + DeclNodes.inc \ + StmtNodes.inc + +lldb_PluginDynamicLoaderDarwinKernel_SRC_FILES := \ + DynamicLoaderDarwinKernel.cpp + +LOCAL_SRC_FILES := $(lldb_PluginDynamicLoaderDarwinKernel_SRC_FILES) + +LOCAL_MODULE:= liblldbPluginDynamicLoaderDarwinKernel +LOCAL_MODULE_TAGS := optional + +include $(LLDB_BUILD_MK) +include $(CLANG_VERSION_INC_MK) +include $(CLANG_TBLGEN_RULES_MK) +include $(BUILD_HOST_STATIC_LIBRARY) |