blob: 4cabcfbd66f43c0a844937b24a99deac1e29f2bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# Only use this on the device or emulator.
ifeq ($(TARGET_ARCH),arm)
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
llvm-link.cpp
LOCAL_STATIC_LIBRARIES := libLLVMLinker libLLVMBitReader libLLVMBitWriter libLLVMCore libLLVMSupport libLLVMSystem libLLVMAsmParser
LOCAL_MODULE := llvm-link
LOCAL_LDLIBS += -lpthread -lm -ldl
include $(LLVM_HOST_BUILD_MK)
include $(BUILD_HOST_EXECUTABLE)
endif
|