1LOCAL_PATH := $(call my-dir) 2include $(CLEAR_VARS) 3 4zopfli_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 12LOCAL_MODULE := libzopfli 13LOCAL_MODULE_HOST_OS := darwin linux windows 14LOCAL_CFLAGS += -O2 15LOCAL_SRC_FILES := $(zopfli_files) 16LOCAL_MULTILIB := both 17include $(BUILD_HOST_STATIC_LIBRARY) 18 19include $(CLEAR_VARS) 20LOCAL_MODULE := libzopfli 21LOCAL_CFLAGS += -O2 22LOCAL_SRC_FILES := $(zopfli_files) 23LOCAL_MULTILIB := both 24include $(BUILD_SHARED_LIBRARY) 25