blob: 2ec8467b240081abf2d907cd10048737430b5f01 (
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
40
|
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/libstdc++ \
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)
|