blob: cdd26003be07751a17f63433b171c58a0f007581 (
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
|
LOCAL_PATH:= $(call my-dir)
common_SRC_FILES:= \
snappy-c.cc \
snappy-sinksource.cc \
snappy-stubs-internal.cc \
snappy.cc
common_C_INCLUDES += $(LOCAL_PATH)/ $(LOCAL_PATH)/conf
# static library
# =====================================================
include $(CLEAR_VARS)
LOCAL_CPP_EXTENSION := .cc
LOCAL_SRC_FILES:= $(common_SRC_FILES)
LOCAL_C_INCLUDES:= $(common_C_INCLUDES)
LOCAL_MODULE := snappy-static
LOCAL_PRELINK_MODULE:= false
LOCAL_MODULE_TAGS := optional
include $(BUILD_STATIC_LIBRARY)
# dynamic library
# =====================================================
# include $(CLEAR_VARS)
# LOCAL_SRC_FILES:= $(common_SRC_FILES)
# LOCAL_C_INCLUDES:= $(common_C_INCLUDES)
# LOCAL_MODULE := liblzo
# LOCAL_PRELINK_MODULE:= false
# LOCAL_MODULE_TAGS := optional
# include $(BUILD_SHARED_LIBRARY)
|