Android.mk 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. LOCAL_PATH := $(call my-dir)
  2. include $(CLEAR_VARS)
  3. LOCAL_MODULE := brotli
  4. LOCAL_SRC_FILES := \
  5. ../../lib/common/dictionary.c \
  6. ../../lib/dec/bit_reader.c \
  7. ../../lib/dec/decode.c \
  8. ../../lib/dec/huffman.c \
  9. ../../lib/dec/state.c \
  10. ../../lib/enc/backward_references.c \
  11. ../../lib/enc/bit_cost.c \
  12. ../../lib/enc/block_splitter.c \
  13. ../../lib/enc/brotli_bit_stream.c \
  14. ../../lib/enc/cluster.c \
  15. ../../lib/enc/compress_fragment.c \
  16. ../../lib/enc/compress_fragment_two_pass.c \
  17. ../../lib/enc/encode.c \
  18. ../../lib/enc/entropy_encode.c \
  19. ../../lib/enc/histogram.c \
  20. ../../lib/enc/literal_cost.c \
  21. ../../lib/enc/memory.c \
  22. ../../lib/enc/metablock.c \
  23. ../../lib/enc/static_dict.c \
  24. ../../lib/enc/utf8_util.c
  25. LOCAL_CFLAGS := -O3 -fshort-wchar -ffast-math -fomit-frame-pointer
  26. LOCAL_CPPFLAGS := -O3 -fshort-wchar -ffast-math -fomit-frame-pointer
  27. LOCAL_CPP_FEATURES := # rtti exceptions
  28. LOCAL_ARM_NEON := true # force NEON usage for all files
  29. include $(BUILD_STATIC_LIBRARY)