1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE := libpdfiumlcms 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-missing-braces -Wno-unused-function 16 17LOCAL_SRC_FILES := \ 18 lcms2-2.6/src/cmscam02.c \ 19 lcms2-2.6/src/cmscgats.c \ 20 lcms2-2.6/src/cmscnvrt.c \ 21 lcms2-2.6/src/cmserr.c \ 22 lcms2-2.6/src/cmsgamma.c \ 23 lcms2-2.6/src/cmsgmt.c \ 24 lcms2-2.6/src/cmshalf.c \ 25 lcms2-2.6/src/cmsintrp.c \ 26 lcms2-2.6/src/cmsio0.c \ 27 lcms2-2.6/src/cmsio1.c \ 28 lcms2-2.6/src/cmslut.c \ 29 lcms2-2.6/src/cmsmd5.c \ 30 lcms2-2.6/src/cmsmtrx.c \ 31 lcms2-2.6/src/cmsnamed.c \ 32 lcms2-2.6/src/cmsopt.c \ 33 lcms2-2.6/src/cmspack.c \ 34 lcms2-2.6/src/cmspcs.c \ 35 lcms2-2.6/src/cmsplugin.c \ 36 lcms2-2.6/src/cmsps2.c \ 37 lcms2-2.6/src/cmssamp.c \ 38 lcms2-2.6/src/cmssm.c \ 39 lcms2-2.6/src/cmstypes.c \ 40 lcms2-2.6/src/cmsvirt.c \ 41 lcms2-2.6/src/cmswtpnt.c \ 42 lcms2-2.6/src/cmsxform.c 43 44LOCAL_C_INCLUDES := \ 45 external/pdfium 46 47include $(BUILD_STATIC_LIBRARY) 48