1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE := libpdfiumagg23 6 7LOCAL_ARM_MODE := arm 8LOCAL_NDK_STL_VARIANT := gnustl_static 9 10LOCAL_CFLAGS += -O3 -fstrict-aliasing -fprefetch-loop-arrays -fexceptions 11LOCAL_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. 15LOCAL_CFLAGS += -Wno-unused-parameter -Wno-unused-function 16 17LOCAL_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 24LOCAL_C_INCLUDES := \ 25 external/pdfium 26 27include $(BUILD_STATIC_LIBRARY) 28