aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AsmParser/Android.mk
blob: 0f18b4f1cbf499f934fb4cdbbd174be704347ea9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Only use this on the device or emulator.
ifeq ($(TARGET_ARCH),arm)

LOCAL_PATH:= $(call my-dir)

asm_parser_SRC_FILES :=	\
	LLLexer.cpp	\
	LLParser.cpp	\
	Parser.cpp

# For the host
# =====================================================
include $(CLEAR_VARS)

LOCAL_SRC_FILES := $(asm_parser_SRC_FILES)

LOCAL_MODULE:= libLLVMAsmParser

include $(LOCAL_PATH)/../../llvm-host-build.mk
include $(BUILD_HOST_STATIC_LIBRARY)

# For the device
# =====================================================
#include $(CLEAR_VARS)
#
#LOCAL_SRC_FILES := $(asm_parser_SRC_FILES)
#
#LOCAL_MODULE:= libLLVMAsmParser
#
#include $(LOCAL_PATH)/../../llvm-device-build.mk
#include $(BUILD_STATIC_LIBRARY)

endif