blob: 26fea095dbe521c155f3d8194a877743ccc97cea (
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)_host
LOCAL_MODULE_TAGS := $(common_module_tags)
include $(BUILD_HOST_STATIC_LIBRARY)
|