summaryrefslogtreecommitdiffstats
path: root/utility/Android.mk
blob: 2edaca571e882665c25c85aaebd9b0c95251b25a (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
34
35
36
37
38
39
LOCAL_PATH := $(call my-dir)

####################
# Common definitions

COMMON_SRC_FILES := \
    Tokenizer.cpp \
    Utility.cpp

COMMON_MODULE := libutility
COMMON_MODULE_TAGS := optional

#############################
# Target build

include $(CLEAR_VARS)

LOCAL_SRC_FILES := $(COMMON_SRC_FILES)

LOCAL_MODULE := $(COMMON_MODULE)
LOCAL_MODULE_TAGS := $(COMMON_MODULE_TAGS)

LOCAL_C_INCLUDES += \
    external/stlport/stlport/ \
    bionic/

include $(BUILD_STATIC_LIBRARY)

##############################
# Host build

include $(CLEAR_VARS)

LOCAL_SRC_FILES := $(COMMON_SRC_FILES)

LOCAL_MODULE := $(COMMON_MODULE)
LOCAL_MODULE_TAGS := $(COMMON_MODULE_TAGS)

include $(BUILD_HOST_STATIC_LIBRARY)