aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvm-as/Android.mk
blob: b44ecb7c2d415b909f5f7c020bd526cb0c22ee96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := llvm-as

LOCAL_SRC_FILES := llvm-as.cpp

REQUIRES_EH := 1
REQUIRES_RTTI := 1

LOCAL_STATIC_LIBRARIES := \
    libLLVMAsmParser \
    libLLVMBitWriter \
    libLLVMCore \
    libLLVMSupport

LOCAL_LDLIBS += -lpthread -lm -ldl

LOCAL_MODULE_TAGS := optional

include $(LLVM_HOST_BUILD_MK)
include $(BUILD_HOST_EXECUTABLE)