Android.mk revision 9dbeb69a345d12b15571769cfacf1d5e1a7ce378
1LOCAL_PATH := $(call my-dir)
2
3object_SRC_FILES := \
4  Archive.cpp \
5  Binary.cpp \
6  COFFObjectFile.cpp \
7  ELFObjectFile.cpp \
8  Error.cpp \
9  MachOObjectFile.cpp \
10  Object.cpp \
11  ObjectFile.cpp
12
13
14# For the host
15# =====================================================
16include $(CLEAR_VARS)
17include $(CLEAR_TBLGEN_VARS)
18
19LOCAL_MODULE:= libLLVMObject
20LOCAL_MODULE_TAGS := optional
21
22LOCAL_SRC_FILES := $(object_SRC_FILES)
23
24include $(LLVM_HOST_BUILD_MK)
25include $(LLVM_GEN_INTRINSICS_MK)
26include $(BUILD_HOST_STATIC_LIBRARY)
27
28# For the device only
29# =====================================================
30include $(CLEAR_VARS)
31
32LOCAL_MODULE:= libLLVMObject
33LOCAL_MODULE_TAGS := optional
34
35LOCAL_SRC_FILES := $(object_SRC_FILES)
36
37include $(LLVM_DEVICE_BUILD_MK)
38include $(LLVM_GEN_INTRINSICS_MK)
39include $(BUILD_STATIC_LIBRARY)
40