1LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_VARS)
4
5libLZF_SRC_FILES := \
6    lzf_c.c \
7    lzf_d.c
8
9# Static library for host
10# ========================================================
11include $(CLEAR_VARS)
12
13LOCAL_MODULE := liblzf
14LOCAL_SRC_FILES := $(libLZF_SRC_FILES)
15
16include $(BUILD_HOST_STATIC_LIBRARY)
17
18
19# Static library for target
20# ========================================================
21include $(CLEAR_VARS)
22
23LOCAL_MODULE := liblzf
24LOCAL_SRC_FILES := $(libLZF_SRC_FILES)
25
26include $(BUILD_STATIC_LIBRARY)
27
28# JAR for host
29# ========================================================
30include $(CLEAR_VARS)
31
32LOCAL_SRC_FILES := $(call all-java-files-under, src)
33LOCAL_MODULE := liblzf
34LOCAL_MODULE_TAGS := optional
35
36include $(BUILD_HOST_JAVA_LIBRARY)
37