# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # $(eval $(call gb_Library_Library,pdfium)) $(eval $(call gb_Library_use_unpacked,pdfium,pdfium)) $(eval $(call gb_Library_set_warnings_not_errors,pdfium)) $(eval $(call gb_Library_set_include,pdfium,\ -I$(call gb_UnpackedTarball_get_dir,pdfium) \ -I$(call gb_UnpackedTarball_get_dir,pdfium)/third_party \ $$(INCLUDE) \ )) $(eval $(call gb_Library_add_defs,pdfium,\ -DPDFIUM_DLLIMPLEMENTATION \ -DUSE_SYSTEM_LCMS2 \ -DUSE_SYSTEM_LIBJPEG \ -DUSE_SYSTEM_ZLIB \ -DMEMORY_TOOL_REPLACES_ALLOCATOR \ -DUNICODE \ )) # Don't show warnings upstream doesn't care about. $(eval $(call gb_Library_add_cxxflags,pdfium,\ -w \ )) $(eval $(call gb_Library_add_cflags,pdfium,\ -w \ )) $(eval $(call gb_Library_set_generated_cxx_suffix,pdfium,cpp)) # pdfium $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\ UnpackedTarball/pdfium/fpdfsdk/cba_annotiterator \ UnpackedTarball/pdfium/fpdfsdk/cfx_systemhandler \ UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_annot \ UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_annothandlermgr \ UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_annotiteration \ UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_baannot \ UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_baannothandler \ UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_datetime \ UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_formfillenvironment \ UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_interform \ UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_pageview \ UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_widget \ UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_widgethandler \ UnpackedTarball/pdfium/fpdfsdk/fpdf_dataavail \ UnpackedTarball/pdfium/fpdfsdk/fpdf_ext \ UnpackedTarball/pdfium/fpdfsdk/fpdf_flatten \ UnpackedTarball/pdfium/fpdfsdk/fpdf_progressive \ UnpackedTarball/pdfium/fpdfsdk/fpdf_searchex \ UnpackedTarball/pdfium/fpdfsdk/fpdf_structtree \ UnpackedTarball/pdfium/fpdfsdk/fpdf_sysfontinfo \ UnpackedTarball/pdfium/fpdfsdk/fpdf_transformpage \ UnpackedTarball/pdfium/fpdfsdk/fpdfdoc \ UnpackedTarball/pdfium/fpdfsdk/fpdfeditimg \ UnpackedTarball/pdfium/fpdfsdk/fpdfeditpage \ UnpackedTarball/pdfium/fpdfsdk/fpdfeditpath \ UnpackedTarball/pdfium/fpdfsdk/fpdfedittext \ UnpackedTarball/pdfium/fpdfsdk/fpdfformfill \ UnpackedTarball/pdfium/fpdfsdk/fpdfsave \ UnpackedTarball/pdfium/fpdfsdk/fpdftext \ UnpackedTarball/pdfium/fpdfsdk/fpdfview \ UnpackedTarball/pdfium/fpdfsdk/fsdk_actionhandler \ UnpackedTarball/pdfium/fpdfsdk/fsdk_pauseadapter \ UnpackedTarball/pdfium/fpdfsdk/pdfsdk_fieldaction \ UnpackedTarball/pdfium/fpdfsdk/fsdk_filewriteadapter \ UnpackedTarball/pdfium/fpdfsdk/fpdfannot \ UnpackedTarball/pdfium/fpdfsdk/fpdfattachment \ UnpackedTarball/pdfium/fpdfsdk/fpdfcatalog \ )) # fdrm $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\ UnpackedTarball/pdfium/core/fdrm/crypto/fx_crypt \ UnpackedTarball/pdfium/core/fdrm/crypto/fx_crypt_aes \ UnpackedTarball/pdfium/core/fdrm/crypto/fx_crypt_sha \ )) # formfiller $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\ UnpackedTarball/pdfium/fpdfsdk/formfiller/cba_fontmap \ UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_checkbox \ UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_combobox \ UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_formfiller \ UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_interactiveformfiller \ UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_listbox \ UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_pushbutton \ UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_radiobutton \ UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_textfield \ UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_button \ UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_textobject \ )) # fpdfapi $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\ UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/Adobe-CNS1-UCS2_5 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/B5pc-H_0 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/B5pc-V_0 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/CNS-EUC-H_0 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/CNS-EUC-V_0 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/ETen-B5-H_0 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/ETen-B5-V_0 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/ETenms-B5-H_0 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/ETenms-B5-V_0 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/HKscs-B5-H_5 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/HKscs-B5-V_5 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/UniCNS-UCS2-H_3 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/UniCNS-UCS2-V_3 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/UniCNS-UTF16-H_0 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/cmaps_cns1 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/Adobe-GB1-UCS2_5 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GB-EUC-H_0 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GB-EUC-V_0 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBK-EUC-H_2 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBK-EUC-V_2 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBK2K-H_5 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBK2K-V_5 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBKp-EUC-H_2 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBKp-EUC-V_2 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBpc-EUC-H_0 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBpc-EUC-V_0 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/UniGB-UCS2-H_4 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/UniGB-UCS2-V_4 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/cmaps_gb1 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/83pv-RKSJ-H_1 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/90ms-RKSJ-H_2 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/90ms-RKSJ-V_2 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/90msp-RKSJ-H_2 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/90msp-RKSJ-V_2 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/90pv-RKSJ-H_1 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/Add-RKSJ-H_1 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/Add-RKSJ-V_1 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/Adobe-Japan1-UCS2_4 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/EUC-H_1 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/EUC-V_1 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/Ext-RKSJ-H_2 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/Ext-RKSJ-V_2 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/H_1 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-HW-H_4 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-HW-V_4 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-H_4 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-V_4 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/V_1 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/cmaps_japan1 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/Adobe-Korea1-UCS2_2 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/KSC-EUC-H_0 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/KSC-EUC-V_0 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/KSCms-UHC-HW-H_1 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/KSCms-UHC-HW-V_1 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/KSCms-UHC-H_1 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/KSCms-UHC-V_1 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/KSCpc-EUC-H_0 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/UniKS-UCS2-H_1 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/UniKS-UCS2-V_1 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/UniKS-UTF16-H_0 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/cmaps_korea1 \ UnpackedTarball/pdfium/core/fpdfapi/cmaps/fpdf_cmaps \ UnpackedTarball/pdfium/core/fpdfapi/cpdf_modulemgr \ UnpackedTarball/pdfium/core/fpdfapi/cpdf_pagerendercontext \ UnpackedTarball/pdfium/core/fpdfapi/edit/cpdf_pagecontentgenerator \ UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_cidfont \ UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_font \ UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_fontencoding \ UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_simplefont \ UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_truetypefont \ UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_type1font \ UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_type3char \ UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_type3font \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_allstates \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_clippath \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_color \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_colorspace \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_colorstate \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_contentmark \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_contentmarkitem \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_contentparser \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_docpagedata \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_form \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_formobject \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_generalstate \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_graphicstates \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_image \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_imageobject \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_meshstream \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_page \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_pagemodule \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_pageobject \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_pageobjectholder \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_pageobjectlist \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_path \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_pathobject \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_pattern \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_shadingobject \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_shadingpattern \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_streamcontentparser \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_streamparser \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_textobject \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_textstate \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_tilingpattern \ UnpackedTarball/pdfium/core/fpdfapi/parser/cfdf_document \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_array \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_boolean \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_crypto_handler \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_data_avail \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_dictionary \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_document \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_hint_tables \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_indirect_object_holder \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_linearized_header \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_name \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_null \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_number \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_object \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_parser \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_reference \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_security_handler \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_simple_parser \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_stream \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_stream_acc \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_string \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_syntax_parser \ UnpackedTarball/pdfium/core/fpdfapi/parser/fpdf_parser_decode \ UnpackedTarball/pdfium/core/fpdfapi/parser/fpdf_parser_utility \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_object_walker \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_read_validator \ UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_charposlist \ UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_devicebuffer \ UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_dibsource \ UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_dibtransferfunc \ UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_docrenderdata \ UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_imagecacheentry \ UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_imageloader \ UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_imagerenderer \ UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_pagerendercache \ UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_progressiverenderer \ UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_rendercontext \ UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_renderoptions \ UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_renderstatus \ UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_scaledrenderbuffer \ UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_textrenderer \ UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_transferfunc \ UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_type3cache \ UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_type3glyphs \ UnpackedTarball/pdfium/core/fpdfapi/edit/cpdf_creator \ UnpackedTarball/pdfium/core/fpdfapi/edit/cpdf_encryptor \ UnpackedTarball/pdfium/core/fpdfapi/edit/cpdf_flateencoder \ UnpackedTarball/pdfium/core/fpdfapi/font/cfx_cttgsubtable \ UnpackedTarball/pdfium/core/fpdfapi/font/cfx_stockfontarray \ UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_cid2unicodemap \ UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_cmap \ UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_cmapmanager \ UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_cmapparser \ UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_fontglobals \ UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_tounicodemap \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_devicecs \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_expintfunc \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_function \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_iccprofile \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_patterncs \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_psengine \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_psfunc \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_sampledfunc \ UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_stitchfunc \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_object_avail \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_page_object_avail \ UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_cross_ref_avail \ )) # fpdfdoc $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\ UnpackedTarball/pdfium/core/fpdfdoc/cline \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_aaction \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_action \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_actionfields \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_annot \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_annotlist \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_apsettings \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_bookmark \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_bookmarktree \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_defaultappearance \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_dest \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_docjsactions \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_filespec \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_formcontrol \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_formfield \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_iconfit \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_interform \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_link \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_linklist \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_metadata \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_nametree \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_numbertree \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_occontext \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_pagelabel \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_variabletext \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_viewerpreferences \ UnpackedTarball/pdfium/core/fpdfdoc/cpvt_fontmap \ UnpackedTarball/pdfium/core/fpdfdoc/cpvt_generateap \ UnpackedTarball/pdfium/core/fpdfdoc/cpvt_wordinfo \ UnpackedTarball/pdfium/core/fpdfdoc/csection \ UnpackedTarball/pdfium/core/fpdfdoc/ctypeset \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_structelement \ UnpackedTarball/pdfium/core/fpdfdoc/cpdf_structtree \ )) # fpdftext $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\ UnpackedTarball/pdfium/core/fpdftext/cpdf_linkextract \ UnpackedTarball/pdfium/core/fpdftext/cpdf_textpage \ UnpackedTarball/pdfium/core/fpdftext/cpdf_textpagefind \ UnpackedTarball/pdfium/core/fpdftext/unicodenormalizationdata \ )) # fxcodec $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\ UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec \ UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_fax \ UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_flate \ UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_icc \ UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jbig \ UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg \ UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpx_opj \ UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_ArithDecoder \ UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_ArithIntDecoder \ UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_BitStream \ UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_Context \ UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_GrdProc \ UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_GrrdProc \ UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_HtrdProc \ UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_HuffmanDecoder \ UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_HuffmanTable \ UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_HuffmanTable_Standard \ UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_Image \ UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_PatternDict \ UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_PddProc \ UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_SddProc \ UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_Segment \ UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_SymbolDict \ UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_TrdProc \ UnpackedTarball/pdfium/core/fxcodec/bmp/fx_bmp \ UnpackedTarball/pdfium/core/fxcodec/codec/ccodec_scanlinedecoder \ UnpackedTarball/pdfium/core/fxcodec/gif/cfx_gif \ UnpackedTarball/pdfium/core/fxcodec/gif/cfx_gifcontext \ UnpackedTarball/pdfium/core/fxcodec/gif/cfx_lzwdecompressor \ )) # fxcrt $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\ UnpackedTarball/pdfium/core/fxcrt/cfx_blockbuffer \ UnpackedTarball/pdfium/core/fxcrt/cfx_memorystream \ UnpackedTarball/pdfium/core/fxcrt/cfx_seekablestreamproxy \ UnpackedTarball/pdfium/core/fxcrt/fx_bidi \ UnpackedTarball/pdfium/core/fxcrt/fx_coordinates \ UnpackedTarball/pdfium/core/fxcrt/fx_extension \ UnpackedTarball/pdfium/core/fxcrt/fx_memory \ UnpackedTarball/pdfium/core/fxcrt/fx_stream \ UnpackedTarball/pdfium/core/fxcrt/fx_system \ UnpackedTarball/pdfium/core/fxcrt/fx_ucddata \ UnpackedTarball/pdfium/core/fxcrt/fx_unicode \ UnpackedTarball/pdfium/core/fxcrt/xml/cxml_attritem \ UnpackedTarball/pdfium/core/fxcrt/xml/cxml_databufacc \ UnpackedTarball/pdfium/core/fxcrt/xml/cxml_element \ UnpackedTarball/pdfium/core/fxcrt/xml/cxml_parser \ UnpackedTarball/pdfium/core/fxcrt/xml/cxml_content \ UnpackedTarball/pdfium/core/fxcrt/xml/cxml_object \ UnpackedTarball/pdfium/core/fxcrt/xml/cfx_saxcontext \ UnpackedTarball/pdfium/core/fxcrt/css/cfx_csscolorvalue \ UnpackedTarball/pdfium/core/fxcrt/css/cfx_csscomputedstyle \ UnpackedTarball/pdfium/core/fxcrt/css/cfx_csscustomproperty \ UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssdeclaration \ UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssenumvalue \ UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssexttextbuf \ UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssnumbervalue \ UnpackedTarball/pdfium/core/fxcrt/css/cfx_csspropertyholder \ UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssrulecollection \ UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssselector \ UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssstringvalue \ UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssstylerule \ UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssstyleselector \ UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssstylesheet \ UnpackedTarball/pdfium/core/fxcrt/css/cfx_csssyntaxparser \ UnpackedTarball/pdfium/core/fxcrt/css/cfx_csstextbuf \ UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssvalue \ UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssvaluelist \ UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssvaluelistparser \ UnpackedTarball/pdfium/core/fxcrt/cfx_datetime \ UnpackedTarball/pdfium/core/fxcrt/bytestring \ UnpackedTarball/pdfium/core/fxcrt/cfx_binarybuf \ UnpackedTarball/pdfium/core/fxcrt/cfx_bitstream \ UnpackedTarball/pdfium/core/fxcrt/cfx_fileaccess_posix \ UnpackedTarball/pdfium/core/fxcrt/cfx_fileaccess_windows \ UnpackedTarball/pdfium/core/fxcrt/cfx_utf8decoder \ UnpackedTarball/pdfium/core/fxcrt/cfx_widetextbuf \ UnpackedTarball/pdfium/core/fxcrt/fx_random \ UnpackedTarball/pdfium/core/fxcrt/fx_string \ UnpackedTarball/pdfium/core/fxcrt/widestring \ UnpackedTarball/pdfium/core/fxcrt/cfx_seekablemultistream \ UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssdata \ )) # fxge $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\ UnpackedTarball/pdfium/core/fxge/dib/cfx_bitmapcomposer \ UnpackedTarball/pdfium/core/fxge/dib/cfx_bitmapstorer \ UnpackedTarball/pdfium/core/fxge/dib/cfx_dibextractor \ UnpackedTarball/pdfium/core/fxge/dib/cfx_dibitmap \ UnpackedTarball/pdfium/core/fxge/dib/cfx_dibsource \ UnpackedTarball/pdfium/core/fxge/dib/cfx_filtereddib \ UnpackedTarball/pdfium/core/fxge/dib/cfx_imagerenderer \ UnpackedTarball/pdfium/core/fxge/dib/cfx_imagestretcher \ UnpackedTarball/pdfium/core/fxge/dib/cfx_imagetransformer \ UnpackedTarball/pdfium/core/fxge/dib/cfx_scanlinecompositor \ UnpackedTarball/pdfium/core/fxge/dib/cstretchengine \ UnpackedTarball/pdfium/core/fxge/dib/fx_dib_main \ UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitDingbats \ UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitFixed \ UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitFixedBold \ UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic \ UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitFixedItalic \ UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSans \ UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSansBold \ UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSansBoldItalic \ UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSansItalic \ UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSansMM \ UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSerif \ UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSerifBold \ UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic \ UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSerifItalic \ UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSerifMM \ UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSymbol \ UnpackedTarball/pdfium/core/fxge/freetype/fx_freetype \ UnpackedTarball/pdfium/core/fxge/ifx_renderdevicedriver \ UnpackedTarball/pdfium/core/fxge/agg/fx_agg_driver \ UnpackedTarball/pdfium/core/fxge/cfx_cliprgn \ UnpackedTarball/pdfium/core/fxge/cfx_color \ UnpackedTarball/pdfium/core/fxge/cfx_facecache \ UnpackedTarball/pdfium/core/fxge/cfx_folderfontinfo \ UnpackedTarball/pdfium/core/fxge/cfx_font \ UnpackedTarball/pdfium/core/fxge/cfx_fontcache \ UnpackedTarball/pdfium/core/fxge/cfx_fontmapper \ UnpackedTarball/pdfium/core/fxge/cfx_fontmgr \ UnpackedTarball/pdfium/core/fxge/cfx_gemodule \ UnpackedTarball/pdfium/core/fxge/cfx_graphstate \ UnpackedTarball/pdfium/core/fxge/cfx_graphstatedata \ UnpackedTarball/pdfium/core/fxge/cfx_pathdata \ UnpackedTarball/pdfium/core/fxge/cfx_renderdevice \ UnpackedTarball/pdfium/core/fxge/cfx_substfont \ UnpackedTarball/pdfium/core/fxge/cfx_unicodeencoding \ UnpackedTarball/pdfium/core/fxge/cttfontdesc \ UnpackedTarball/pdfium/core/fxge/fx_ge_fontmap \ UnpackedTarball/pdfium/core/fxge/fx_ge_linux \ UnpackedTarball/pdfium/core/fxge/fx_ge_text \ )) # javascript, build with pdf_enable_v8 disabled. $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\ UnpackedTarball/pdfium/fxjs/cjs_event_context_stub \ UnpackedTarball/pdfium/fxjs/cjs_runtimestub \ )) # pwl $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\ UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_appstream \ UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_button \ UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_caret \ UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_combo_box \ UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_edit \ UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_edit_ctrl \ UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_edit_impl \ UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_font_map \ UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_icon \ UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_list_box \ UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_list_impl \ UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_scroll_bar \ UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_special_button \ UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_timer \ UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_timer_handler \ UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_wnd \ )) # third_party/bigint $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\ UnpackedTarball/pdfium/third_party/bigint/BigInteger \ UnpackedTarball/pdfium/third_party/bigint/BigIntegerUtils \ UnpackedTarball/pdfium/third_party/bigint/BigUnsigned \ UnpackedTarball/pdfium/third_party/bigint/BigUnsignedInABase \ )) # third_party/fx_agg $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\ UnpackedTarball/pdfium/third_party/agg23/agg_curves \ UnpackedTarball/pdfium/third_party/agg23/agg_path_storage \ UnpackedTarball/pdfium/third_party/agg23/agg_rasterizer_scanline_aa \ UnpackedTarball/pdfium/third_party/agg23/agg_vcgen_dash \ UnpackedTarball/pdfium/third_party/agg23/agg_vcgen_stroke \ )) # third_party/fx_libopenjpeg $(eval $(call gb_Library_add_generated_cobjects,pdfium,\ UnpackedTarball/pdfium/third_party/libopenjpeg20/bio \ UnpackedTarball/pdfium/third_party/libopenjpeg20/cio \ UnpackedTarball/pdfium/third_party/libopenjpeg20/dwt \ UnpackedTarball/pdfium/third_party/libopenjpeg20/event \ UnpackedTarball/pdfium/third_party/libopenjpeg20/function_list \ UnpackedTarball/pdfium/third_party/libopenjpeg20/image \ UnpackedTarball/pdfium/third_party/libopenjpeg20/invert \ UnpackedTarball/pdfium/third_party/libopenjpeg20/j2k \ UnpackedTarball/pdfium/third_party/libopenjpeg20/jp2 \ UnpackedTarball/pdfium/third_party/libopenjpeg20/mct \ UnpackedTarball/pdfium/third_party/libopenjpeg20/mqc \ UnpackedTarball/pdfium/third_party/libopenjpeg20/openjpeg \ UnpackedTarball/pdfium/third_party/libopenjpeg20/opj_clock \ UnpackedTarball/pdfium/third_party/libopenjpeg20/pi \ UnpackedTarball/pdfium/third_party/libopenjpeg20/thread \ UnpackedTarball/pdfium/third_party/libopenjpeg20/t1 \ UnpackedTarball/pdfium/third_party/libopenjpeg20/t2 \ UnpackedTarball/pdfium/third_party/libopenjpeg20/tcd \ UnpackedTarball/pdfium/third_party/libopenjpeg20/tgt \ UnpackedTarball/pdfium/third_party/libopenjpeg20/sparse_array \ )) # pdfium_base $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\ UnpackedTarball/pdfium/third_party/base/allocator/partition_allocator/address_space_randomization \ UnpackedTarball/pdfium/third_party/base/allocator/partition_allocator/page_allocator \ UnpackedTarball/pdfium/third_party/base/allocator/partition_allocator/spin_lock \ UnpackedTarball/pdfium/third_party/base/allocator/partition_allocator/partition_alloc \ )) # skia_shared $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\ UnpackedTarball/pdfium/third_party/skia_shared/SkFloatToDecimal \ )) $(eval $(call gb_Library_use_externals,pdfium,\ libjpeg \ lcms2 \ zlib \ )) ifeq ($(OS),LINUX) $(eval $(call gb_Library_add_libs,pdfium,\ -ldl \ -lrt \ -lpthread \ )) $(eval $(call gb_Library_use_external,pdfium,freetype)) $(eval $(call gb_Library_add_defs,pdfium,\ -DDEFINE_PS_TABLES_DATA \ )) else $(eval $(call gb_Library_set_include,pdfium,\ -I$(call gb_UnpackedTarball_get_dir,pdfium)/third_party/freetype/include/ \ -I$(call gb_UnpackedTarball_get_dir,pdfium)/third_party/freetype/src/include/ \ $$(INCLUDE) \ )) $(eval $(call gb_Library_add_defs,pdfium,\ -DFT2_BUILD_LIBRARY \ -DFT_CONFIG_MODULES_H='' \ -DFT_CONFIG_OPTIONS_H='' \ )) # third_party/freetype $(eval $(call gb_Library_add_generated_cobjects,pdfium,\ UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftbase \ UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftbitmap \ UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftglyph \ UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftinit \ UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftlcdfil \ UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftmm \ UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftsystem \ UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftfntfmt \ UnpackedTarball/pdfium/third_party/freetype/src/src/cff/cff \ UnpackedTarball/pdfium/third_party/freetype/src/src/cid/type1cid \ UnpackedTarball/pdfium/third_party/freetype/src/src/psaux/psaux \ UnpackedTarball/pdfium/third_party/freetype/src/src/pshinter/pshinter \ UnpackedTarball/pdfium/third_party/freetype/src/src/psnames/psmodule \ UnpackedTarball/pdfium/third_party/freetype/src/src/raster/raster \ UnpackedTarball/pdfium/third_party/freetype/src/src/sfnt/sfnt \ UnpackedTarball/pdfium/third_party/freetype/src/src/smooth/smooth \ UnpackedTarball/pdfium/third_party/freetype/src/src/truetype/truetype \ UnpackedTarball/pdfium/third_party/freetype/src/src/type1/type1 \ )) endif ifeq ($(OS),WNT) # fxge $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\ UnpackedTarball/pdfium/core/fxge/win32/cfx_psrenderer \ UnpackedTarball/pdfium/core/fxge/win32/cpsoutput \ UnpackedTarball/pdfium/core/fxge/win32/fx_win32_device \ UnpackedTarball/pdfium/core/fxge/win32/fx_win32_dib \ UnpackedTarball/pdfium/core/fxge/win32/fx_win32_dwrite \ UnpackedTarball/pdfium/core/fxge/win32/fx_win32_gdipext \ UnpackedTarball/pdfium/core/fxge/win32/fx_win32_print \ )) $(eval $(call gb_Library_use_system_win32_libs,pdfium,\ gdi32 \ )) endif ifeq ($(OS),MACOSX) # fxge $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\ UnpackedTarball/pdfium/core/fxge/apple/fx_apple_platform \ UnpackedTarball/pdfium/core/fxge/apple/fx_mac_imp \ UnpackedTarball/pdfium/core/fxge/apple/fx_quartz_device \ )) $(eval $(call gb_Library_use_system_darwin_frameworks,pdfium,\ AppKit \ CoreFoundation \ )) endif ifeq ($(OS),ANDROID) # fxge $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\ UnpackedTarball/pdfium/core/fxge/android/cfpf_skiadevicemodule \ UnpackedTarball/pdfium/core/fxge/android/cfpf_skiafont \ UnpackedTarball/pdfium/core/fxge/android/cfpf_skiafontmgr \ UnpackedTarball/pdfium/core/fxge/android/cfx_androidfontinfo \ UnpackedTarball/pdfium/core/fxge/android/fx_android_imp \ UnpackedTarball/pdfium/core/fxge/android/cfpf_skiabufferfont \ UnpackedTarball/pdfium/core/fxge/android/cfpf_skiafilefont \ UnpackedTarball/pdfium/core/fxge/android/cfpf_skiafontdescriptor \ UnpackedTarball/pdfium/core/fxge/android/cfpf_skiapathfont \ )) endif # vim: set noet sw=4 ts=4: