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