Home | History | Annotate | Download | only in third_party
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_MODULE := libpdfiumzlib
      6 
      7 LOCAL_ARM_MODE := arm
      8 LOCAL_NDK_STL_VARIANT := gnustl_static
      9 
     10 LOCAL_CFLAGS += -O3 -fstrict-aliasing -fprefetch-loop-arrays -fexceptions
     11 LOCAL_CFLAGS += -Wno-non-virtual-dtor -Wall
     12 
     13 # Mask some warnings. These are benign, but we probably want to fix them
     14 # upstream at some point.
     15 LOCAL_CFLAGS += -Wno-shift-negative-value -Wno-unused-parameter
     16 
     17 LOCAL_SRC_FILES := \
     18     zlib_v128/adler32.c \
     19     zlib_v128/compress.c \
     20     zlib_v128/crc32.c \
     21     zlib_v128/deflate.c \
     22     zlib_v128/gzclose.c \
     23     zlib_v128/gzlib.c \
     24     zlib_v128/gzread.c \
     25     zlib_v128/gzwrite.c \
     26     zlib_v128/infback.c \
     27     zlib_v128/inffast.c \
     28     zlib_v128/inflate.c \
     29     zlib_v128/inftrees.c \
     30     zlib_v128/trees.c \
     31     zlib_v128/uncompr.c \
     32     zlib_v128/zutil.c
     33 
     34 LOCAL_C_INCLUDES := \
     35     external/pdfium
     36 
     37 include $(BUILD_STATIC_LIBRARY)
     38