OSDN Git Service

Stop checking HOST_OS, whitelist windows modules
[android-x86/external-llvm.git] / lib / Target / X86 / Utils / Android.mk
1 LOCAL_PATH := $(call my-dir)
2
3 x86_utils_SRC_FILES := \
4   X86ShuffleDecode.cpp
5
6 # For the device
7 # =====================================================
8 ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS))
9 include $(CLEAR_VARS)
10
11 LOCAL_SRC_FILES := $(x86_utils_SRC_FILES)
12
13 LOCAL_C_INCLUDES += $(LOCAL_PATH)/..
14
15 LOCAL_MODULE:= libLLVMX86Utils
16
17 include $(LLVM_DEVICE_BUILD_MK)
18 include $(BUILD_STATIC_LIBRARY)
19 endif
20
21 # For the host
22 # =====================================================
23 include $(CLEAR_VARS)
24
25 LOCAL_SRC_FILES := $(x86_utils_SRC_FILES)
26
27 LOCAL_C_INCLUDES += $(LOCAL_PATH)/..
28
29 LOCAL_MODULE:= libLLVMX86Utils
30
31 LOCAL_MODULE_HOST_OS := darwin linux windows
32
33 include $(LLVM_HOST_BUILD_MK)
34 include $(BUILD_HOST_STATIC_LIBRARY)