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