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_HOST_OS := darwin linux windows 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_CFLAGS += -O2 22 LOCAL_SRC_FILES := $(zopfli_files) 23 LOCAL_MULTILIB := both 24 include $(BUILD_SHARED_LIBRARY) 25