summaryrefslogtreecommitdiffstats
path: root/lib/ExecutionEngine/RuntimeDyld/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ExecutionEngine/RuntimeDyld/Android.mk')
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Android.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/RuntimeDyld/Android.mk b/lib/ExecutionEngine/RuntimeDyld/Android.mk
index 40fdd7c..14f1cc6 100644
--- a/lib/ExecutionEngine/RuntimeDyld/Android.mk
+++ b/lib/ExecutionEngine/RuntimeDyld/Android.mk
@@ -18,3 +18,25 @@ LOCAL_MODULE_TAGS := optional
include $(LLVM_HOST_BUILD_MK)
include $(BUILD_HOST_STATIC_LIBRARY)
+
+# For the device
+# =====================================================
+include $(CLEAR_VARS)
+ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS))
+
+LOCAL_SRC_FILES := \
+ RTDyldMemoryManager.cpp \
+ RuntimeDyldChecker.cpp \
+ RuntimeDyld.cpp \
+ RuntimeDyldCOFF.cpp \
+ RuntimeDyldELF.cpp \
+ RuntimeDyldMachO.cpp
+
+LOCAL_MODULE:= libLLVMRuntimeDyld
+
+LOCAL_MODULE_TAGS := optional
+
+include $(LLVM_DEVICE_BUILD_MK)
+include $(LLVM_GEN_INTRINSICS_MK)
+include $(BUILD_STATIC_LIBRARY)
+endif