Home | History | Annotate | Download | only in core
      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     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 
     60 LOCAL_C_INCLUDES := \
     61     external/pdfium \
     62     external/freetype/include \
     63     external/freetype/include/freetype
     64 
     65 include $(BUILD_STATIC_LIBRARY)
     66