Home | History | Annotate | Download | only in pdfium
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_MODULE:= libpdfiumfxge
      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 -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.
     16 LOCAL_CFLAGS += -Wno-sign-compare -Wno-unused-parameter
     17 LOCAL_CLANG_CFLAGS += -Wno-sign-compare -Wno-switch
     18 
     19 LOCAL_SRC_FILES := \
     20     core/fxge/android/cfpf_skiadevicemodule.cpp \
     21     core/fxge/android/cfpf_skiafont.cpp \
     22     core/fxge/android/cfpf_skiafontmgr.cpp \
     23     core/fxge/android/cfx_androidfontinfo.cpp \
     24     core/fxge/android/fx_android_imp.cpp \
     25     core/fxge/dib/fx_dib_composite.cpp \
     26     core/fxge/dib/fx_dib_convert.cpp \
     27     core/fxge/dib/fx_dib_engine.cpp \
     28     core/fxge/dib/fx_dib_main.cpp \
     29     core/fxge/dib/fx_dib_transform.cpp \
     30     core/fxge/fontdata/chromefontdata/FoxitDingbats.cpp \
     31     core/fxge/fontdata/chromefontdata/FoxitFixed.cpp \
     32     core/fxge/fontdata/chromefontdata/FoxitFixedBold.cpp \
     33     core/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.cpp \
     34     core/fxge/fontdata/chromefontdata/FoxitFixedItalic.cpp \
     35     core/fxge/fontdata/chromefontdata/FoxitSans.cpp \
     36     core/fxge/fontdata/chromefontdata/FoxitSansBold.cpp \
     37     core/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.cpp \
     38     core/fxge/fontdata/chromefontdata/FoxitSansItalic.cpp \
     39     core/fxge/fontdata/chromefontdata/FoxitSansMM.cpp \
     40     core/fxge/fontdata/chromefontdata/FoxitSerif.cpp \
     41     core/fxge/fontdata/chromefontdata/FoxitSerifBold.cpp \
     42     core/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.cpp \
     43     core/fxge/fontdata/chromefontdata/FoxitSerifItalic.cpp \
     44     core/fxge/fontdata/chromefontdata/FoxitSerifMM.cpp \
     45     core/fxge/fontdata/chromefontdata/FoxitSymbol.cpp \
     46     core/fxge/freetype/fx_freetype.cpp \
     47     core/fxge/ge/cfx_cliprgn.cpp \
     48     core/fxge/ge/cfx_facecache.cpp \
     49     core/fxge/ge/cfx_folderfontinfo.cpp \
     50     core/fxge/ge/cfx_font.cpp \
     51     core/fxge/ge/cfx_fontcache.cpp \
     52     core/fxge/ge/cfx_fontmapper.cpp \
     53     core/fxge/ge/cfx_fontmgr.cpp \
     54     core/fxge/ge/cfx_gemodule.cpp \
     55     core/fxge/ge/cfx_graphstate.cpp \
     56     core/fxge/ge/cfx_graphstatedata.cpp \
     57     core/fxge/ge/cfx_pathdata.cpp \
     58     core/fxge/ge/cfx_renderdevice.cpp \
     59     core/fxge/ge/cfx_substfont.cpp \
     60     core/fxge/ge/cfx_unicodeencoding.cpp \
     61     core/fxge/ge/cttfontdesc.cpp \
     62     core/fxge/ge/fx_ge_fontmap.cpp \
     63     core/fxge/ge/fx_ge_linux.cpp \
     64     core/fxge/ge/fx_ge_text.cpp \
     65     core/fxge/ifx_renderdevicedriver.cpp \
     66     core/fxge/agg/fx_agg_driver.cpp \
     67 
     68 LOCAL_C_INCLUDES := \
     69     external/pdfium \
     70     external/freetype/include \
     71     external/freetype/include/freetype
     72 
     73 include $(BUILD_STATIC_LIBRARY)
     74