Raph Levien | bb96afe | 2014-07-10 21:33:17 -0700 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | zopfli_files := \ |
| 5 | src/zopfli/blocksplitter.c src/zopfli/cache.c\ |
| 6 | src/zopfli/deflate.c src/zopfli/gzip_container.c\ |
| 7 | src/zopfli/hash.c src/zopfli/katajainen.c\ |
| 8 | src/zopfli/lz77.c src/zopfli/squeeze.c\ |
| 9 | src/zopfli/tree.c src/zopfli/util.c\ |
| 10 | src/zopfli/zlib_container.c src/zopfli/zopfli_lib.c |
| 11 | |
| 12 | LOCAL_MODULE := libzopfli |
| 13 | LOCAL_MODULE_TAGS := optional |
| 14 | LOCAL_CFLAGS += -O2 |
| 15 | LOCAL_SRC_FILES := $(zopfli_files) |
| 16 | LOCAL_MULTILIB := both |
| 17 | include $(BUILD_HOST_STATIC_LIBRARY) |
| 18 | |
| 19 | include $(CLEAR_VARS) |
| 20 | LOCAL_MODULE := libzopfli |
| 21 | LOCAL_MODULE_TAGE := optional |
| 22 | LOCAL_CFLAGS += -O2 |
| 23 | LOCAL_SRC_FILES := $(zopfli_files) |
| 24 | LOCAL_MULTILIB := both |
| 25 | include $(BUILD_SHARED_LIBRARY) |