Home | History | Annotate | Download | only in pdfium
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_MODULE:= libpdfiumpdfwindow
      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
     18 
     19 LOCAL_SRC_FILES := \
     20     fpdfsdk/pdfwindow/PWL_Button.cpp \
     21     fpdfsdk/pdfwindow/PWL_Caret.cpp \
     22     fpdfsdk/pdfwindow/PWL_ComboBox.cpp \
     23     fpdfsdk/pdfwindow/PWL_Edit.cpp \
     24     fpdfsdk/pdfwindow/PWL_EditCtrl.cpp \
     25     fpdfsdk/pdfwindow/PWL_FontMap.cpp \
     26     fpdfsdk/pdfwindow/PWL_Icon.cpp \
     27     fpdfsdk/pdfwindow/PWL_ListBox.cpp \
     28     fpdfsdk/pdfwindow/PWL_ScrollBar.cpp \
     29     fpdfsdk/pdfwindow/PWL_SpecialButton.cpp \
     30     fpdfsdk/pdfwindow/PWL_Utils.cpp \
     31     fpdfsdk/pdfwindow/PWL_Wnd.cpp \
     32     fpdfsdk/pdfwindow/cpwl_color.cpp \
     33 
     34 LOCAL_C_INCLUDES := \
     35     external/pdfium \
     36     external/freetype/include \
     37     external/freetype/include/freetype
     38 
     39 include $(BUILD_STATIC_LIBRARY)
     40