blob: 2c9bbaf305f137a362eeb8b89f41c8fb63a49297 (
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
|
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
LOCAL_MODULE_TAGS := optional
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
LOCAL_MODULE_TAGS := optional
include $(LOCAL_PATH)/../../llvm-device-build.mk
include $(BUILD_STATIC_LIBRARY)
|