1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE:= libpdfiumfxge 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 -DOPJ_STATIC \ 12 -DV8_DEPRECATION_WARNINGS -D_CRT_SECURE_NO_WARNINGS 13 14# Mask some warnings. These are benign, but we probably want to fix them 15# upstream at some point. 16LOCAL_CFLAGS += -Wno-sign-compare -Wno-unused-parameter 17LOCAL_CLANG_CFLAGS += -Wno-sign-compare -Wno-switch 18 19LOCAL_SRC_FILES := \ 20 src/fxge/agg/src/fx_agg_driver.cpp \ 21 src/fxge/android/fpf_skiafont.cpp \ 22 src/fxge/android/fpf_skiafontmgr.cpp \ 23 src/fxge/android/fpf_skiamodule.cpp \ 24 src/fxge/android/fx_android_font.cpp \ 25 src/fxge/android/fx_android_imp.cpp \ 26 src/fxge/apple/fx_apple_platform.cpp \ 27 src/fxge/apple/fx_mac_imp.cpp \ 28 src/fxge/apple/fx_quartz_device.cpp \ 29 src/fxge/dib/fx_dib_composite.cpp \ 30 src/fxge/dib/fx_dib_convert.cpp \ 31 src/fxge/dib/fx_dib_engine.cpp \ 32 src/fxge/dib/fx_dib_main.cpp \ 33 src/fxge/dib/fx_dib_transform.cpp \ 34 src/fxge/fontdata/chromefontdata/FoxitDingbats.c \ 35 src/fxge/fontdata/chromefontdata/FoxitFixed.c \ 36 src/fxge/fontdata/chromefontdata/FoxitFixedBold.c \ 37 src/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.c \ 38 src/fxge/fontdata/chromefontdata/FoxitFixedItalic.c \ 39 src/fxge/fontdata/chromefontdata/FoxitSans.c \ 40 src/fxge/fontdata/chromefontdata/FoxitSansBold.c \ 41 src/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.c \ 42 src/fxge/fontdata/chromefontdata/FoxitSansItalic.c \ 43 src/fxge/fontdata/chromefontdata/FoxitSansMM.c \ 44 src/fxge/fontdata/chromefontdata/FoxitSerif.c \ 45 src/fxge/fontdata/chromefontdata/FoxitSerifBold.c \ 46 src/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.c \ 47 src/fxge/fontdata/chromefontdata/FoxitSerifItalic.c \ 48 src/fxge/fontdata/chromefontdata/FoxitSerifMM.c \ 49 src/fxge/fontdata/chromefontdata/FoxitSymbol.c \ 50 src/fxge/freetype/fx_freetype.c \ 51 src/fxge/ge/fx_ge.cpp \ 52 src/fxge/ge/fx_ge_device.cpp \ 53 src/fxge/ge/fx_ge_font.cpp \ 54 src/fxge/ge/fx_ge_fontmap.cpp \ 55 src/fxge/ge/fx_ge_linux.cpp \ 56 src/fxge/ge/fx_ge_path.cpp \ 57 src/fxge/ge/fx_ge_ps.cpp \ 58 src/fxge/ge/fx_ge_text.cpp 59 60LOCAL_C_INCLUDES := \ 61 external/pdfium \ 62 external/freetype/include \ 63 external/freetype/include/freetype 64 65include $(BUILD_STATIC_LIBRARY) 66