1 LOCAL_PATH:= $(call my-dir) 2 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE := libpdfiumagg23 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-unused-parameter -Wno-unused-function 16 17 LOCAL_SRC_FILES := \ 18 agg23/agg_curves.cpp \ 19 agg23/agg_path_storage.cpp \ 20 agg23/agg_rasterizer_scanline_aa.cpp \ 21 agg23/agg_vcgen_dash.cpp \ 22 agg23/agg_vcgen_stroke.cpp \ 23 24 LOCAL_C_INCLUDES := \ 25 external/pdfium 26 27 include $(BUILD_STATIC_LIBRARY) 28