diff options
author | Shih-wei Liao <sliao@google.com> | 2010-07-12 21:22:47 -0700 |
---|---|---|
committer | Shih-wei Liao <sliao@google.com> | 2010-07-12 21:22:47 -0700 |
commit | db54406fa346e8a08cb200f490baf2dc6671dcf5 (patch) | |
tree | 019c14359842c67ca5ec355d9b794b23c412c528 /lib/Linker/Android.mk | |
parent | 512d7ab8a03215be54f1f48f10fd1b9059c32949 (diff) | |
download | external_llvm-db54406fa346e8a08cb200f490baf2dc6671dcf5.tar.gz external_llvm-db54406fa346e8a08cb200f490baf2dc6671dcf5.tar.bz2 external_llvm-db54406fa346e8a08cb200f490baf2dc6671dcf5.zip |
Add llvm-link for host.
Change-Id: I3ad477cc963c2ae3910b50e272a95f1c4f752306
Diffstat (limited to 'lib/Linker/Android.mk')
-rw-r--r-- | lib/Linker/Android.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/Linker/Android.mk b/lib/Linker/Android.mk new file mode 100644 index 0000000000..aa8028ef21 --- /dev/null +++ b/lib/Linker/Android.mk @@ -0,0 +1,21 @@ +# Only use this on the device or emulator. +ifeq ($(TARGET_ARCH),arm) + +LOCAL_PATH:= $(call my-dir) + +# For the host +# ===================================================== +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := \ + LinkArchives.cpp \ + LinkItems.cpp \ + LinkModules.cpp \ + Linker.cpp + +LOCAL_MODULE:= libLLVMLinker + +include $(LLVM_HOST_BUILD_MK) +include $(BUILD_HOST_STATIC_LIBRARY) + +endif |