| # Copyright 2016 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build_overrides/v8.gni") |
| import("//testing/test.gni") |
| import("pdfium.gni") |
| |
| config("pdfium_config") { |
| cflags = [] |
| include_dirs = [ |
| ".", |
| "third_party/freetype/include", |
| "third_party/freetype/include/freetype", |
| ] |
| defines = [ |
| "OPJ_STATIC", |
| "PNG_PREFIX", |
| "PNG_USE_READ_MACROS", |
| "V8_DEPRECATION_WARNINGS", |
| ] |
| |
| if (pdf_use_skia) { |
| defines += [ "_SKIA_SUPPORT_" ] |
| } |
| |
| if (pdf_enable_v8) { |
| defines += [ "PDF_ENABLE_V8" ] |
| } |
| |
| if (pdf_enable_xfa) { |
| defines += [ "PDF_ENABLE_XFA" ] |
| } |
| |
| if (is_linux) { |
| if (current_cpu == "x64") { |
| defines += [ "_FX_CPU_=_FX_X64_" ] |
| cflags += [ "-fPIC" ] |
| } else if (current_cpu == "x86") { |
| defines += [ "_FX_CPU_=_FX_X86_" ] |
| } |
| } |
| |
| if (is_win) { |
| cflags += [ |
| "/wd4005", |
| "/wd4018", |
| "/wd4146", |
| "/wd4333", |
| "/wd4345", |
| "/wd4267", |
| |
| # TODO(ochang): Investigate if this can be fixed properly. |
| "/wd4201", |
| |
| # TODO(thestig): Fix all instances, remove this, pdfium:29 |
| "/wd4245", |
| "/wd4310", |
| "/wd4389", |
| "/wd4701", |
| "/wd4702", |
| "/wd4706", |
| "/wd4800", |
| ] |
| } |
| |
| if (is_clang || is_posix) { |
| # TODO(thestig): Fix all instances, remove this, pdfium:29 |
| cflags += [ "-Wno-sign-compare" ] |
| } |
| |
| if (is_posix && !is_clang) { # When GCC. |
| cflags += [ "-Wno-error=strict-overflow" ] |
| } |
| } |
| |
| static_library("pdfium") { |
| sources = [ |
| "fpdfsdk/fpdf_dataavail.cpp", |
| "fpdfsdk/fpdf_ext.cpp", |
| "fpdfsdk/fpdf_flatten.cpp", |
| "fpdfsdk/fpdf_progressive.cpp", |
| "fpdfsdk/fpdf_searchex.cpp", |
| "fpdfsdk/fpdf_sysfontinfo.cpp", |
| "fpdfsdk/fpdf_transformpage.cpp", |
| "fpdfsdk/fpdfdoc.cpp", |
| "fpdfsdk/fpdfeditimg.cpp", |
| "fpdfsdk/fpdfeditpage.cpp", |
| "fpdfsdk/fpdfformfill.cpp", |
| "fpdfsdk/fpdfppo.cpp", |
| "fpdfsdk/fpdfsave.cpp", |
| "fpdfsdk/fpdftext.cpp", |
| "fpdfsdk/fpdfview.cpp", |
| "fpdfsdk/fsdk_actionhandler.cpp", |
| "fpdfsdk/fsdk_annothandler.cpp", |
| "fpdfsdk/fsdk_baseannot.cpp", |
| "fpdfsdk/fsdk_baseform.cpp", |
| "fpdfsdk/fsdk_mgr.cpp", |
| "fpdfsdk/fsdk_rendercontext.cpp", |
| "fpdfsdk/include/fsdk_actionhandler.h", |
| "fpdfsdk/include/fsdk_annothandler.h", |
| "fpdfsdk/include/fsdk_baseannot.h", |
| "fpdfsdk/include/fsdk_baseform.h", |
| "public/fpdf_dataavail.h", |
| "public/fpdf_doc.h", |
| "public/fpdf_edit.h", |
| "public/fpdf_ext.h", |
| "public/fpdf_flatten.h", |
| "public/fpdf_formfill.h", |
| "public/fpdf_fwlevent.h", |
| "public/fpdf_ppo.h", |
| "public/fpdf_progressive.h", |
| "public/fpdf_save.h", |
| "public/fpdf_searchex.h", |
| "public/fpdf_sysfontinfo.h", |
| "public/fpdf_text.h", |
| "public/fpdf_transformpage.h", |
| "public/fpdfview.h", |
| ] |
| |
| libs = [] |
| configs += [ ":pdfium_config" ] |
| |
| deps = [ |
| ":fdrm", |
| ":formfiller", |
| ":fpdfapi", |
| ":fpdfdoc", |
| ":fpdftext", |
| ":fxcodec", |
| ":fxcrt", |
| ":fxedit", |
| ":fxge", |
| ":javascript", |
| ":pdfwindow", |
| "third_party:bigint", |
| "third_party:pdfium_base", |
| ] |
| |
| if (pdf_enable_xfa) { |
| deps += [ ":fpdfxfa" ] |
| } |
| |
| if (is_win) { |
| libs += [ |
| "advapi32.lib", |
| "gdi32.lib", |
| "user32.lib", |
| ] |
| } |
| |
| if (is_mac) { |
| libs += [ |
| "AppKit.framework", |
| "CoreFoundation.framework", |
| ] |
| } |
| |
| if (pdfium_bundle_freetype) { |
| deps += [ "third_party:fx_freetype" ] |
| } else { |
| libs += [ "freetype" ] |
| } |
| } |
| |
| source_set("test_support") { |
| testonly = true |
| sources = [ |
| "testing/fx_string_testhelpers.cpp", |
| "testing/fx_string_testhelpers.h", |
| "testing/test_support.cpp", |
| "testing/test_support.h", |
| "testing/utils/path_service.cpp", |
| ] |
| deps = [ |
| ":pdfium", |
| "//testing/gmock", |
| "//testing/gtest", |
| ] |
| include_dirs = [] |
| if (pdf_enable_v8) { |
| deps += [ |
| "//v8", |
| "//v8:v8_libplatform", |
| ] |
| include_dirs += [ |
| "//v8", |
| "//v8/include", |
| ] |
| configs += [ "//v8:external_startup_data" ] |
| } |
| configs += [ ":pdfium_config" ] |
| } |
| |
| # Targets below this are only visible within this file (and to the |
| # top-level gn_visibility target used to help gn_all build everything). |
| visibility = [ |
| ":*", |
| "//:gn_visibility", |
| ] |
| |
| static_library("fdrm") { |
| sources = [ |
| "core/fdrm/crypto/fx_crypt.cpp", |
| "core/fdrm/crypto/fx_crypt_aes.cpp", |
| "core/fdrm/crypto/fx_crypt_sha.cpp", |
| "core/fdrm/crypto/include/fx_crypt.h", |
| ] |
| configs += [ ":pdfium_config" ] |
| } |
| |
| static_library("fpdfdoc") { |
| sources = [ |
| "core/fpdfdoc/doc_action.cpp", |
| "core/fpdfdoc/doc_annot.cpp", |
| "core/fpdfdoc/doc_ap.cpp", |
| "core/fpdfdoc/doc_basic.cpp", |
| "core/fpdfdoc/doc_bookmark.cpp", |
| "core/fpdfdoc/doc_form.cpp", |
| "core/fpdfdoc/doc_formcontrol.cpp", |
| "core/fpdfdoc/doc_formfield.cpp", |
| "core/fpdfdoc/doc_link.cpp", |
| "core/fpdfdoc/doc_metadata.cpp", |
| "core/fpdfdoc/doc_ocg.cpp", |
| "core/fpdfdoc/doc_tagged.cpp", |
| "core/fpdfdoc/doc_utils.cpp", |
| "core/fpdfdoc/doc_utils.h", |
| "core/fpdfdoc/doc_viewerPreferences.cpp", |
| "core/fpdfdoc/doc_vt.cpp", |
| "core/fpdfdoc/doc_vtmodule.cpp", |
| "core/fpdfdoc/pdf_vt.h", |
| "core/fpdfdoc/tagged_int.h", |
| "core/include/fpdfdoc/fpdf_ap.h", |
| "core/include/fpdfdoc/fpdf_doc.h", |
| "core/include/fpdfdoc/fpdf_tagged.h", |
| "core/include/fpdfdoc/fpdf_vt.h", |
| ] |
| configs += [ ":pdfium_config" ] |
| } |
| |
| static_library("fpdfapi") { |
| sources = [ |
| "core/fpdfapi/fpdf_basic_module.cpp", |
| "core/fpdfapi/fpdf_cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp", |
| "core/fpdfapi/fpdf_cmaps/CNS1/B5pc-H_0.cpp", |
| "core/fpdfapi/fpdf_cmaps/CNS1/B5pc-V_0.cpp", |
| "core/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-H_0.cpp", |
| "core/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-V_0.cpp", |
| "core/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-H_0.cpp", |
| "core/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-V_0.cpp", |
| "core/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-H_0.cpp", |
| "core/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-V_0.cpp", |
| "core/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-H_5.cpp", |
| "core/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-V_5.cpp", |
| "core/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-H_3.cpp", |
| "core/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-V_3.cpp", |
| "core/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UTF16-H_0.cpp", |
| "core/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp", |
| "core/fpdfapi/fpdf_cmaps/GB1/Adobe-GB1-UCS2_5.cpp", |
| "core/fpdfapi/fpdf_cmaps/GB1/GB-EUC-H_0.cpp", |
| "core/fpdfapi/fpdf_cmaps/GB1/GB-EUC-V_0.cpp", |
| "core/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-H_2.cpp", |
| "core/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-V_2.cpp", |
| "core/fpdfapi/fpdf_cmaps/GB1/GBK2K-H_5.cpp", |
| "core/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp", |
| "core/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-H_2.cpp", |
| "core/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-V_2.cpp", |
| "core/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-H_0.cpp", |
| "core/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-V_0.cpp", |
| "core/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-H_4.cpp", |
| "core/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-V_4.cpp", |
| "core/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp", |
| "core/fpdfapi/fpdf_cmaps/Japan1/83pv-RKSJ-H_1.cpp", |
| "core/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-H_2.cpp", |
| "core/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-V_2.cpp", |
| "core/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-H_2.cpp", |
| "core/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-V_2.cpp", |
| "core/fpdfapi/fpdf_cmaps/Japan1/90pv-RKSJ-H_1.cpp", |
| "core/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-H_1.cpp", |
| "core/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-V_1.cpp", |
| "core/fpdfapi/fpdf_cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp", |
| "core/fpdfapi/fpdf_cmaps/Japan1/EUC-H_1.cpp", |
| "core/fpdfapi/fpdf_cmaps/Japan1/EUC-V_1.cpp", |
| "core/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-H_2.cpp", |
| "core/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-V_2.cpp", |
| "core/fpdfapi/fpdf_cmaps/Japan1/H_1.cpp", |
| "core/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp", |
| "core/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp", |
| "core/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-H_4.cpp", |
| "core/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-V_4.cpp", |
| "core/fpdfapi/fpdf_cmaps/Japan1/V_1.cpp", |
| "core/fpdfapi/fpdf_cmaps/Japan1/cmaps_japan1.cpp", |
| "core/fpdfapi/fpdf_cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp", |
| "core/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-H_0.cpp", |
| "core/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-V_0.cpp", |
| "core/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-H_1.cpp", |
| "core/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-V_1.cpp", |
| "core/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-H_1.cpp", |
| "core/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-V_1.cpp", |
| "core/fpdfapi/fpdf_cmaps/Korea1/KSCpc-EUC-H_0.cpp", |
| "core/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-H_1.cpp", |
| "core/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-V_1.cpp", |
| "core/fpdfapi/fpdf_cmaps/Korea1/UniKS-UTF16-H_0.cpp", |
| "core/fpdfapi/fpdf_cmaps/Korea1/cmaps_korea1.cpp", |
| "core/fpdfapi/fpdf_cmaps/cmap_int.h", |
| "core/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp", |
| "core/fpdfapi/fpdf_edit/cpdf_pagecontentgenerator.cpp", |
| "core/fpdfapi/fpdf_edit/editint.h", |
| "core/fpdfapi/fpdf_edit/fpdf_edit_create.cpp", |
| "core/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp", |
| "core/fpdfapi/fpdf_edit/include/cpdf_creator.h", |
| "core/fpdfapi/fpdf_edit/include/cpdf_pagecontentgenerator.h", |
| "core/fpdfapi/fpdf_font/cpdf_cidfont.cpp", |
| "core/fpdfapi/fpdf_font/cpdf_cidfont.h", |
| "core/fpdfapi/fpdf_font/cpdf_font.cpp", |
| "core/fpdfapi/fpdf_font/cpdf_fontencoding.cpp", |
| "core/fpdfapi/fpdf_font/cpdf_simplefont.cpp", |
| "core/fpdfapi/fpdf_font/cpdf_simplefont.h", |
| "core/fpdfapi/fpdf_font/cpdf_truetypefont.cpp", |
| "core/fpdfapi/fpdf_font/cpdf_truetypefont.h", |
| "core/fpdfapi/fpdf_font/cpdf_type1font.cpp", |
| "core/fpdfapi/fpdf_font/cpdf_type1font.h", |
| "core/fpdfapi/fpdf_font/cpdf_type3char.cpp", |
| "core/fpdfapi/fpdf_font/cpdf_type3char.h", |
| "core/fpdfapi/fpdf_font/cpdf_type3font.cpp", |
| "core/fpdfapi/fpdf_font/cpdf_type3font.h", |
| "core/fpdfapi/fpdf_font/font_int.h", |
| "core/fpdfapi/fpdf_font/fpdf_font.cpp", |
| "core/fpdfapi/fpdf_font/fpdf_font_cid.cpp", |
| "core/fpdfapi/fpdf_font/include/cpdf_font.h", |
| "core/fpdfapi/fpdf_font/include/cpdf_fontencoding.h", |
| "core/fpdfapi/fpdf_font/ttgsubtable.cpp", |
| "core/fpdfapi/fpdf_font/ttgsubtable.h", |
| "core/fpdfapi/fpdf_page/cpdf_allstates.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_allstates.h", |
| "core/fpdfapi/fpdf_page/cpdf_clippath.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_clippathdata.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_clippathdata.h", |
| "core/fpdfapi/fpdf_page/cpdf_color.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_colorspace.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_colorstate.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_colorstate.h", |
| "core/fpdfapi/fpdf_page/cpdf_colorstatedata.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_colorstatedata.h", |
| "core/fpdfapi/fpdf_page/cpdf_contentmark.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_contentmark.h", |
| "core/fpdfapi/fpdf_page/cpdf_contentmarkdata.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_contentmarkdata.h", |
| "core/fpdfapi/fpdf_page/cpdf_contentmarkitem.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_contentmarkitem.h", |
| "core/fpdfapi/fpdf_page/cpdf_countedobject.h", |
| "core/fpdfapi/fpdf_page/cpdf_form.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_formobject.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_generalstate.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_generalstatedata.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_graphicstates.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_graphicstates.h", |
| "core/fpdfapi/fpdf_page/cpdf_graphstate.h", |
| "core/fpdfapi/fpdf_page/cpdf_image.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_imageobject.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_meshstream.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_meshstream.h", |
| "core/fpdfapi/fpdf_page/cpdf_page.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_pageobject.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_pageobjectholder.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_pageobjectlist.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_pageobjectlist.h", |
| "core/fpdfapi/fpdf_page/cpdf_parseoptions.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_parseoptions.h", |
| "core/fpdfapi/fpdf_page/cpdf_pathobject.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_pattern.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_pattern.h", |
| "core/fpdfapi/fpdf_page/cpdf_shadingobject.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_shadingpattern.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_shadingpattern.h", |
| "core/fpdfapi/fpdf_page/cpdf_textobject.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_textstate.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_textstate.h", |
| "core/fpdfapi/fpdf_page/cpdf_textstatedata.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_tilingpattern.cpp", |
| "core/fpdfapi/fpdf_page/cpdf_tilingpattern.h", |
| "core/fpdfapi/fpdf_page/fpdf_page_colors.cpp", |
| "core/fpdfapi/fpdf_page/fpdf_page_doc.cpp", |
| "core/fpdfapi/fpdf_page/fpdf_page_func.cpp", |
| "core/fpdfapi/fpdf_page/fpdf_page_parser.cpp", |
| "core/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp", |
| "core/fpdfapi/fpdf_page/fpdf_page_pattern.cpp", |
| "core/fpdfapi/fpdf_page/include/cpdf_clippath.h", |
| "core/fpdfapi/fpdf_page/include/cpdf_color.h", |
| "core/fpdfapi/fpdf_page/include/cpdf_colorspace.h", |
| "core/fpdfapi/fpdf_page/include/cpdf_form.h", |
| "core/fpdfapi/fpdf_page/include/cpdf_formobject.h", |
| "core/fpdfapi/fpdf_page/include/cpdf_generalstate.h", |
| "core/fpdfapi/fpdf_page/include/cpdf_generalstatedata.h", |
| "core/fpdfapi/fpdf_page/include/cpdf_image.h", |
| "core/fpdfapi/fpdf_page/include/cpdf_imageobject.h", |
| "core/fpdfapi/fpdf_page/include/cpdf_page.h", |
| "core/fpdfapi/fpdf_page/include/cpdf_pageobject.h", |
| "core/fpdfapi/fpdf_page/include/cpdf_pageobjectholder.h", |
| "core/fpdfapi/fpdf_page/include/cpdf_path.h", |
| "core/fpdfapi/fpdf_page/include/cpdf_pathobject.h", |
| "core/fpdfapi/fpdf_page/include/cpdf_shadingobject.h", |
| "core/fpdfapi/fpdf_page/include/cpdf_textobject.h", |
| "core/fpdfapi/fpdf_page/include/cpdf_textstatedata.h", |
| "core/fpdfapi/fpdf_page/pageint.h", |
| "core/fpdfapi/fpdf_parser/cfdf_document.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_array.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_boolean.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_boolean.h", |
| "core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_data_avail.h", |
| "core/fpdfapi/fpdf_parser/cpdf_dictionary.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_document.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_hint_tables.h", |
| "core/fpdfapi/fpdf_parser/cpdf_indirect_object_holder.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_name.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_null.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_null.h", |
| "core/fpdfapi/fpdf_parser/cpdf_number.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_object.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_parser.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_reference.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_simple_parser.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_standard_crypto_handler.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_standard_crypto_handler.h", |
| "core/fpdfapi/fpdf_parser/cpdf_standard_security_handler.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_standard_security_handler.h", |
| "core/fpdfapi/fpdf_parser/cpdf_stream.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_stream_acc.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_string.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_syntax_parser.h", |
| "core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp", |
| "core/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp", |
| "core/fpdfapi/fpdf_parser/fpdf_parser_utility.h", |
| "core/fpdfapi/fpdf_parser/include/cfdf_document.h", |
| "core/fpdfapi/fpdf_parser/include/cpdf_array.h", |
| "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h", |
| "core/fpdfapi/fpdf_parser/include/cpdf_document.h", |
| "core/fpdfapi/fpdf_parser/include/cpdf_indirect_object_holder.h", |
| "core/fpdfapi/fpdf_parser/include/cpdf_name.h", |
| "core/fpdfapi/fpdf_parser/include/cpdf_number.h", |
| "core/fpdfapi/fpdf_parser/include/cpdf_object.h", |
| "core/fpdfapi/fpdf_parser/include/cpdf_parser.h", |
| "core/fpdfapi/fpdf_parser/include/cpdf_reference.h", |
| "core/fpdfapi/fpdf_parser/include/cpdf_simple_parser.h", |
| "core/fpdfapi/fpdf_parser/include/cpdf_stream.h", |
| "core/fpdfapi/fpdf_parser/include/cpdf_stream_acc.h", |
| "core/fpdfapi/fpdf_parser/include/cpdf_string.h", |
| "core/fpdfapi/fpdf_parser/include/fpdf_parser_decode.h", |
| "core/fpdfapi/fpdf_parser/include/ipdf_data_avail.h", |
| "core/fpdfapi/fpdf_parser/ipdf_crypto_handler.h", |
| "core/fpdfapi/fpdf_parser/ipdf_occontext.cpp", |
| "core/fpdfapi/fpdf_parser/ipdf_occontext.h", |
| "core/fpdfapi/fpdf_parser/ipdf_security_handler.h", |
| "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h", |
| "core/fpdfapi/fpdf_render/fpdf_render.cpp", |
| "core/fpdfapi/fpdf_render/fpdf_render_cache.cpp", |
| "core/fpdfapi/fpdf_render/fpdf_render_image.cpp", |
| "core/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp", |
| "core/fpdfapi/fpdf_render/fpdf_render_pattern.cpp", |
| "core/fpdfapi/fpdf_render/fpdf_render_text.cpp", |
| "core/fpdfapi/fpdf_render/include/cpdf_progressiverenderer.h", |
| "core/fpdfapi/fpdf_render/include/cpdf_rendercontext.h", |
| "core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h", |
| "core/fpdfapi/fpdf_render/include/cpdf_textrenderer.h", |
| "core/fpdfapi/fpdf_render/render_int.h", |
| "core/fpdfapi/include/cpdf_modulemgr.h", |
| "core/fpdfapi/ipdf_pagemodule.h", |
| "core/fpdfapi/ipdf_rendermodule.h", |
| ] |
| configs += [ ":pdfium_config" ] |
| } |
| |
| static_library("fpdftext") { |
| sources = [ |
| "core/fpdftext/fpdf_text_int.cpp", |
| "core/fpdftext/fpdf_text_int.h", |
| "core/fpdftext/include/ipdf_linkextract.h", |
| "core/fpdftext/include/ipdf_textpage.h", |
| "core/fpdftext/include/ipdf_textpagefind.h", |
| "core/fpdftext/text_int.h", |
| "core/fpdftext/unicodenormalization.cpp", |
| "core/fpdftext/unicodenormalization.h", |
| "core/fpdftext/unicodenormalizationdata.cpp", |
| "core/fpdftext/unicodenormalizationdata.h", |
| ] |
| configs += [ ":pdfium_config" ] |
| } |
| |
| static_library("fxcodec") { |
| deps = [ |
| "third_party:fx_lcms2", |
| "third_party:fx_libopenjpeg", |
| "third_party:fx_zlib", |
| |
| # This is a generic JPEG library dependency. |
| "//third_party:jpeg", |
| ] |
| sources = [ |
| "core/fxcodec/codec/codec_int.h", |
| "core/fxcodec/codec/fx_codec.cpp", |
| "core/fxcodec/codec/fx_codec_fax.cpp", |
| "core/fxcodec/codec/fx_codec_flate.cpp", |
| "core/fxcodec/codec/fx_codec_icc.cpp", |
| "core/fxcodec/codec/fx_codec_jbig.cpp", |
| "core/fxcodec/codec/fx_codec_jpeg.cpp", |
| "core/fxcodec/codec/fx_codec_jpx_opj.cpp", |
| "core/fxcodec/jbig2/JBig2_ArithDecoder.cpp", |
| "core/fxcodec/jbig2/JBig2_ArithDecoder.h", |
| "core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp", |
| "core/fxcodec/jbig2/JBig2_ArithIntDecoder.h", |
| "core/fxcodec/jbig2/JBig2_BitStream.cpp", |
| "core/fxcodec/jbig2/JBig2_BitStream.h", |
| "core/fxcodec/jbig2/JBig2_Context.cpp", |
| "core/fxcodec/jbig2/JBig2_Context.h", |
| "core/fxcodec/jbig2/JBig2_Define.h", |
| "core/fxcodec/jbig2/JBig2_GrdProc.cpp", |
| "core/fxcodec/jbig2/JBig2_GrdProc.h", |
| "core/fxcodec/jbig2/JBig2_GrrdProc.cpp", |
| "core/fxcodec/jbig2/JBig2_GrrdProc.h", |
| "core/fxcodec/jbig2/JBig2_GsidProc.cpp", |
| "core/fxcodec/jbig2/JBig2_GsidProc.h", |
| "core/fxcodec/jbig2/JBig2_HtrdProc.cpp", |
| "core/fxcodec/jbig2/JBig2_HtrdProc.h", |
| "core/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp", |
| "core/fxcodec/jbig2/JBig2_HuffmanDecoder.h", |
| "core/fxcodec/jbig2/JBig2_HuffmanTable.cpp", |
| "core/fxcodec/jbig2/JBig2_HuffmanTable.h", |
| "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.cpp", |
| "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h", |
| "core/fxcodec/jbig2/JBig2_Image.cpp", |
| "core/fxcodec/jbig2/JBig2_Image.h", |
| "core/fxcodec/jbig2/JBig2_List.h", |
| "core/fxcodec/jbig2/JBig2_Page.h", |
| "core/fxcodec/jbig2/JBig2_PatternDict.cpp", |
| "core/fxcodec/jbig2/JBig2_PatternDict.h", |
| "core/fxcodec/jbig2/JBig2_PddProc.cpp", |
| "core/fxcodec/jbig2/JBig2_PddProc.h", |
| "core/fxcodec/jbig2/JBig2_SddProc.cpp", |
| "core/fxcodec/jbig2/JBig2_SddProc.h", |
| "core/fxcodec/jbig2/JBig2_Segment.cpp", |
| "core/fxcodec/jbig2/JBig2_Segment.h", |
| "core/fxcodec/jbig2/JBig2_SymbolDict.cpp", |
| "core/fxcodec/jbig2/JBig2_SymbolDict.h", |
| "core/fxcodec/jbig2/JBig2_TrdProc.cpp", |
| "core/fxcodec/jbig2/JBig2_TrdProc.h", |
| "core/include/fxcodec/fx_codec.h", |
| "core/include/fxcodec/fx_codec_def.h", |
| "core/include/fxcodec/fx_codec_flate.h", |
| ] |
| include_dirs = [] |
| if (pdf_enable_xfa) { |
| sources += [ |
| "core/fxcodec/codec/fx_codec_bmp.cpp", |
| "core/fxcodec/codec/fx_codec_gif.cpp", |
| "core/fxcodec/codec/fx_codec_png.cpp", |
| "core/fxcodec/codec/fx_codec_progress.cpp", |
| "core/fxcodec/codec/fx_codec_progress.h", |
| "core/fxcodec/codec/fx_codec_tiff.cpp", |
| "core/fxcodec/lbmp/fx_bmp.cpp", |
| "core/fxcodec/lbmp/fx_bmp.h", |
| "core/fxcodec/lgif/fx_gif.cpp", |
| "core/fxcodec/lgif/fx_gif.h", |
| ] |
| deps += [ |
| "third_party:fx_lpng", |
| "third_party:fx_tiff", |
| ] |
| } |
| if (is_posix) { |
| # core/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int |
| # conversion to check that an address is 16-bit aligned (benign). |
| cflags_c = [ "-Wno-pointer-to-int-cast" ] |
| } |
| configs += [ ":pdfium_config" ] |
| } |
| |
| config("fxge_warnings") { |
| if (is_clang) { |
| cflags = [ |
| # http://code.google.com/p/pdfium/issues/detail?id=188 |
| "-Wno-switch", |
| ] |
| } |
| } |
| |
| static_library("fxcrt") { |
| sources = [ |
| "core/fxcrt/extension.h", |
| "core/fxcrt/fx_basic_array.cpp", |
| "core/fxcrt/fx_basic_bstring.cpp", |
| "core/fxcrt/fx_basic_buffer.cpp", |
| "core/fxcrt/fx_basic_coords.cpp", |
| "core/fxcrt/fx_basic_gcc.cpp", |
| "core/fxcrt/fx_basic_list.cpp", |
| "core/fxcrt/fx_basic_memmgr.cpp", |
| "core/fxcrt/fx_basic_plex.cpp", |
| "core/fxcrt/fx_basic_utf.cpp", |
| "core/fxcrt/fx_basic_util.cpp", |
| "core/fxcrt/fx_basic_wstring.cpp", |
| "core/fxcrt/fx_bidi.cpp", |
| "core/fxcrt/fx_bidi.h", |
| "core/fxcrt/fx_extension.cpp", |
| "core/fxcrt/fx_ucddata.cpp", |
| "core/fxcrt/fx_unicode.cpp", |
| "core/fxcrt/fx_xml_composer.cpp", |
| "core/fxcrt/fx_xml_parser.cpp", |
| "core/fxcrt/fxcrt_platforms.cpp", |
| "core/fxcrt/fxcrt_platforms.h", |
| "core/fxcrt/fxcrt_posix.cpp", |
| "core/fxcrt/fxcrt_posix.h", |
| "core/fxcrt/fxcrt_stream.cpp", |
| "core/fxcrt/fxcrt_windows.cpp", |
| "core/fxcrt/fxcrt_windows.h", |
| "core/fxcrt/include/cfx_retain_ptr.h", |
| "core/fxcrt/include/fx_basic.h", |
| "core/fxcrt/include/fx_coordinates.h", |
| "core/fxcrt/include/fx_ext.h", |
| "core/fxcrt/include/fx_memory.h", |
| "core/fxcrt/include/fx_safe_types.h", |
| "core/fxcrt/include/fx_stream.h", |
| "core/fxcrt/include/fx_string.h", |
| "core/fxcrt/include/fx_system.h", |
| "core/fxcrt/include/fx_ucd.h", |
| "core/fxcrt/include/fx_xml.h", |
| "core/fxcrt/plex.h", |
| "core/fxcrt/xml_int.h", |
| ] |
| if (pdf_enable_xfa) { |
| sources += [ |
| "core/fxcrt/fx_arabic.cpp", |
| "core/fxcrt/fx_arabic.h", |
| "core/fxcrt/fx_basic_maps.cpp", |
| "core/fxcrt/include/fx_arb.h", |
| ] |
| } |
| configs += [ ":pdfium_config" ] |
| } |
| |
| static_library("fxge") { |
| deps = [ |
| "third_party:fx_agg", |
| ] |
| sources = [ |
| "core/fxge/agg/fx_agg_driver.cpp", |
| "core/fxge/agg/fx_agg_driver.h", |
| "core/fxge/android/fpf_skiafont.cpp", |
| "core/fxge/android/fpf_skiafont.h", |
| "core/fxge/android/fpf_skiafontmgr.cpp", |
| "core/fxge/android/fpf_skiafontmgr.h", |
| "core/fxge/android/fpf_skiamodule.cpp", |
| "core/fxge/android/fpf_skiamodule.h", |
| "core/fxge/android/fx_android_font.cpp", |
| "core/fxge/android/fx_android_font.h", |
| "core/fxge/android/fx_android_imp.cpp", |
| "core/fxge/apple/apple_int.h", |
| "core/fxge/apple/fx_apple_platform.cpp", |
| "core/fxge/apple/fx_mac_imp.cpp", |
| "core/fxge/apple/fx_quartz_device.cpp", |
| "core/fxge/dib/dib_int.h", |
| "core/fxge/dib/fx_dib_composite.cpp", |
| "core/fxge/dib/fx_dib_convert.cpp", |
| "core/fxge/dib/fx_dib_engine.cpp", |
| "core/fxge/dib/fx_dib_main.cpp", |
| "core/fxge/dib/fx_dib_transform.cpp", |
| "core/fxge/fontdata/chromefontdata/FoxitDingbats.cpp", |
| "core/fxge/fontdata/chromefontdata/FoxitFixed.cpp", |
| "core/fxge/fontdata/chromefontdata/FoxitFixedBold.cpp", |
| "core/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.cpp", |
| "core/fxge/fontdata/chromefontdata/FoxitFixedItalic.cpp", |
| "core/fxge/fontdata/chromefontdata/FoxitSans.cpp", |
| "core/fxge/fontdata/chromefontdata/FoxitSansBold.cpp", |
| "core/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.cpp", |
| "core/fxge/fontdata/chromefontdata/FoxitSansItalic.cpp", |
| "core/fxge/fontdata/chromefontdata/FoxitSansMM.cpp", |
| "core/fxge/fontdata/chromefontdata/FoxitSerif.cpp", |
| "core/fxge/fontdata/chromefontdata/FoxitSerifBold.cpp", |
| "core/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.cpp", |
| "core/fxge/fontdata/chromefontdata/FoxitSerifItalic.cpp", |
| "core/fxge/fontdata/chromefontdata/FoxitSerifMM.cpp", |
| "core/fxge/fontdata/chromefontdata/FoxitSymbol.cpp", |
| "core/fxge/fontdata/chromefontdata/chromefontdata.h", |
| "core/fxge/freetype/fx_freetype.cpp", |
| "core/fxge/ge/fx_ge.cpp", |
| "core/fxge/ge/fx_ge_device.cpp", |
| "core/fxge/ge/fx_ge_font.cpp", |
| "core/fxge/ge/fx_ge_fontmap.cpp", |
| "core/fxge/ge/fx_ge_linux.cpp", |
| "core/fxge/ge/fx_ge_path.cpp", |
| "core/fxge/ge/fx_ge_ps.cpp", |
| "core/fxge/ge/fx_ge_text.cpp", |
| "core/fxge/ge/fx_text_int.h", |
| "core/include/fxge/fpf.h", |
| "core/include/fxge/fx_dib.h", |
| "core/include/fxge/fx_font.h", |
| "core/include/fxge/fx_freetype.h", |
| "core/include/fxge/fx_ge.h", |
| "core/include/fxge/fx_ge_apple.h", |
| "core/include/fxge/fx_ge_win32.h", |
| ] |
| |
| configs += [ |
| ":fxge_warnings", |
| ":pdfium_config", |
| ] |
| |
| if (pdf_use_skia) { |
| sources += [ "core/fxge/skia/fx_skia_device.cpp" ] |
| deps += [ "//skia" ] |
| } |
| |
| if (is_win) { |
| sources += [ |
| "core/fxge/win32/dwrite_int.h", |
| "core/fxge/win32/fx_win32_device.cpp", |
| "core/fxge/win32/fx_win32_dib.cpp", |
| "core/fxge/win32/fx_win32_dwrite.cpp", |
| "core/fxge/win32/fx_win32_gdipext.cpp", |
| "core/fxge/win32/fx_win32_print.cpp", |
| "core/fxge/win32/win32_int.h", |
| ] |
| configs -= [ "//build/config/win:lean_and_mean" ] |
| } |
| } |
| |
| static_library("fxedit") { |
| sources = [ |
| "fpdfsdk/fxedit/fxet_ap.cpp", |
| "fpdfsdk/fxedit/fxet_edit.cpp", |
| "fpdfsdk/fxedit/fxet_list.cpp", |
| "fpdfsdk/fxedit/fxet_module.cpp", |
| "fpdfsdk/fxedit/fxet_pageobjs.cpp", |
| "fpdfsdk/include/fxedit/fx_edit.h", |
| "fpdfsdk/include/fxedit/fxet_edit.h", |
| "fpdfsdk/include/fxedit/fxet_list.h", |
| ] |
| configs += [ ":pdfium_config" ] |
| } |
| |
| static_library("pdfwindow") { |
| sources = [ |
| "fpdfsdk/pdfwindow/PWL_Button.cpp", |
| "fpdfsdk/pdfwindow/PWL_Button.h", |
| "fpdfsdk/pdfwindow/PWL_Caret.cpp", |
| "fpdfsdk/pdfwindow/PWL_Caret.h", |
| "fpdfsdk/pdfwindow/PWL_ComboBox.cpp", |
| "fpdfsdk/pdfwindow/PWL_ComboBox.h", |
| "fpdfsdk/pdfwindow/PWL_Edit.cpp", |
| "fpdfsdk/pdfwindow/PWL_Edit.h", |
| "fpdfsdk/pdfwindow/PWL_EditCtrl.cpp", |
| "fpdfsdk/pdfwindow/PWL_EditCtrl.h", |
| "fpdfsdk/pdfwindow/PWL_FontMap.cpp", |
| "fpdfsdk/pdfwindow/PWL_FontMap.h", |
| "fpdfsdk/pdfwindow/PWL_Icon.cpp", |
| "fpdfsdk/pdfwindow/PWL_Icon.h", |
| "fpdfsdk/pdfwindow/PWL_IconList.cpp", |
| "fpdfsdk/pdfwindow/PWL_IconList.h", |
| "fpdfsdk/pdfwindow/PWL_Label.cpp", |
| "fpdfsdk/pdfwindow/PWL_Label.h", |
| "fpdfsdk/pdfwindow/PWL_ListBox.cpp", |
| "fpdfsdk/pdfwindow/PWL_ListBox.h", |
| "fpdfsdk/pdfwindow/PWL_ListCtrl.cpp", |
| "fpdfsdk/pdfwindow/PWL_ListCtrl.h", |
| "fpdfsdk/pdfwindow/PWL_Note.cpp", |
| "fpdfsdk/pdfwindow/PWL_Note.h", |
| "fpdfsdk/pdfwindow/PWL_ScrollBar.cpp", |
| "fpdfsdk/pdfwindow/PWL_ScrollBar.h", |
| "fpdfsdk/pdfwindow/PWL_Signature.cpp", |
| "fpdfsdk/pdfwindow/PWL_Signature.h", |
| "fpdfsdk/pdfwindow/PWL_SpecialButton.cpp", |
| "fpdfsdk/pdfwindow/PWL_SpecialButton.h", |
| "fpdfsdk/pdfwindow/PWL_Utils.cpp", |
| "fpdfsdk/pdfwindow/PWL_Utils.h", |
| "fpdfsdk/pdfwindow/PWL_Wnd.cpp", |
| "fpdfsdk/pdfwindow/PWL_Wnd.h", |
| ] |
| configs += [ ":pdfium_config" ] |
| } |
| |
| static_library("javascript") { |
| sources = [ |
| "fpdfsdk/include/javascript/IJavaScript.h", |
| ] |
| if (pdf_enable_v8) { |
| sources += [ |
| "fpdfsdk/include/jsapi/fxjs_v8.h", |
| "fpdfsdk/javascript/Consts.cpp", |
| "fpdfsdk/javascript/Consts.h", |
| "fpdfsdk/javascript/Document.cpp", |
| "fpdfsdk/javascript/Document.h", |
| "fpdfsdk/javascript/Field.cpp", |
| "fpdfsdk/javascript/Field.h", |
| "fpdfsdk/javascript/Icon.cpp", |
| "fpdfsdk/javascript/Icon.h", |
| "fpdfsdk/javascript/JS_Context.cpp", |
| "fpdfsdk/javascript/JS_Context.h", |
| "fpdfsdk/javascript/JS_Define.h", |
| "fpdfsdk/javascript/JS_EventHandler.cpp", |
| "fpdfsdk/javascript/JS_EventHandler.h", |
| "fpdfsdk/javascript/JS_GlobalData.cpp", |
| "fpdfsdk/javascript/JS_GlobalData.h", |
| "fpdfsdk/javascript/JS_Object.cpp", |
| "fpdfsdk/javascript/JS_Object.h", |
| "fpdfsdk/javascript/JS_Runtime.cpp", |
| "fpdfsdk/javascript/JS_Runtime.h", |
| "fpdfsdk/javascript/JS_Value.cpp", |
| "fpdfsdk/javascript/JS_Value.h", |
| "fpdfsdk/javascript/PublicMethods.cpp", |
| "fpdfsdk/javascript/PublicMethods.h", |
| "fpdfsdk/javascript/app.cpp", |
| "fpdfsdk/javascript/app.h", |
| "fpdfsdk/javascript/color.cpp", |
| "fpdfsdk/javascript/color.h", |
| "fpdfsdk/javascript/console.cpp", |
| "fpdfsdk/javascript/console.h", |
| "fpdfsdk/javascript/event.cpp", |
| "fpdfsdk/javascript/event.h", |
| "fpdfsdk/javascript/global.cpp", |
| "fpdfsdk/javascript/global.h", |
| "fpdfsdk/javascript/report.cpp", |
| "fpdfsdk/javascript/report.h", |
| "fpdfsdk/javascript/resource.cpp", |
| "fpdfsdk/javascript/resource.h", |
| "fpdfsdk/javascript/util.cpp", |
| "fpdfsdk/javascript/util.h", |
| "fpdfsdk/jsapi/fxjs_v8.cpp", |
| ] |
| include_dirs = [ |
| "//v8", |
| "//v8/include", |
| ] |
| public_deps = [ |
| "//v8", |
| ] |
| configs += [ "//v8:external_startup_data" ] |
| } else { |
| sources += [ "fpdfsdk/javascript/JS_Runtime_Stub.cpp" ] |
| } |
| configs += [ ":pdfium_config" ] |
| } |
| |
| static_library("formfiller") { |
| sources = [ |
| "fpdfsdk/formfiller/cba_fontmap.cpp", |
| "fpdfsdk/formfiller/cba_fontmap.h", |
| "fpdfsdk/formfiller/cffl_checkbox.cpp", |
| "fpdfsdk/formfiller/cffl_checkbox.h", |
| "fpdfsdk/formfiller/cffl_combobox.cpp", |
| "fpdfsdk/formfiller/cffl_combobox.h", |
| "fpdfsdk/formfiller/cffl_formfiller.cpp", |
| "fpdfsdk/formfiller/cffl_formfiller.h", |
| "fpdfsdk/formfiller/cffl_iformfiller.cpp", |
| "fpdfsdk/formfiller/cffl_iformfiller.h", |
| "fpdfsdk/formfiller/cffl_listbox.cpp", |
| "fpdfsdk/formfiller/cffl_listbox.h", |
| "fpdfsdk/formfiller/cffl_pushbutton.cpp", |
| "fpdfsdk/formfiller/cffl_pushbutton.h", |
| "fpdfsdk/formfiller/cffl_radiobutton.cpp", |
| "fpdfsdk/formfiller/cffl_radiobutton.h", |
| "fpdfsdk/formfiller/cffl_textfield.cpp", |
| "fpdfsdk/formfiller/cffl_textfield.h", |
| ] |
| configs += [ ":pdfium_config" ] |
| } |
| |
| if (pdf_enable_xfa) { |
| static_library("fpdfxfa") { |
| sources = [ |
| "fpdfsdk/fpdfxfa/fpdfxfa_app.cpp", |
| "fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp", |
| "fpdfsdk/fpdfxfa/fpdfxfa_page.cpp", |
| "fpdfsdk/fpdfxfa/fpdfxfa_util.cpp", |
| "fpdfsdk/include/fpdfxfa/fpdfxfa_app.h", |
| "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h", |
| "fpdfsdk/include/fpdfxfa/fpdfxfa_page.h", |
| "fpdfsdk/include/fpdfxfa/fpdfxfa_util.h", |
| ] |
| deps = [ |
| ":xfa", |
| ] |
| configs -= [ "//build/config/compiler:chromium_code" ] |
| configs += [ |
| ":pdfium_config", |
| "//build/config/compiler:no_chromium_code", |
| ] |
| } |
| |
| static_library("xfa") { |
| sources = [ |
| "xfa/fde/css/fde_css.h", |
| "xfa/fde/css/fde_csscache.cpp", |
| "xfa/fde/css/fde_csscache.h", |
| "xfa/fde/css/fde_cssdatatable.cpp", |
| "xfa/fde/css/fde_cssdatatable.h", |
| "xfa/fde/css/fde_cssdeclaration.cpp", |
| "xfa/fde/css/fde_cssdeclaration.h", |
| "xfa/fde/css/fde_cssstyleselector.cpp", |
| "xfa/fde/css/fde_cssstyleselector.h", |
| "xfa/fde/css/fde_cssstylesheet.cpp", |
| "xfa/fde/css/fde_cssstylesheet.h", |
| "xfa/fde/css/fde_csssyntax.cpp", |
| "xfa/fde/css/fde_csssyntax.h", |
| "xfa/fde/fde_brush.h", |
| "xfa/fde/fde_devbasic.cpp", |
| "xfa/fde/fde_devbasic.h", |
| "xfa/fde/fde_gedevice.cpp", |
| "xfa/fde/fde_gedevice.h", |
| "xfa/fde/fde_geobject.cpp", |
| "xfa/fde/fde_geobject.h", |
| "xfa/fde/fde_image.h", |
| "xfa/fde/fde_iterator.cpp", |
| "xfa/fde/fde_iterator.h", |
| "xfa/fde/fde_object.cpp", |
| "xfa/fde/fde_object.h", |
| "xfa/fde/fde_path.h", |
| "xfa/fde/fde_pen.h", |
| "xfa/fde/fde_render.cpp", |
| "xfa/fde/fde_render.h", |
| "xfa/fde/fde_renderdevice.h", |
| "xfa/fde/tto/fde_textout.cpp", |
| "xfa/fde/tto/fde_textout.h", |
| "xfa/fde/xml/fde_xml.h", |
| "xfa/fde/xml/fde_xml_imp.cpp", |
| "xfa/fde/xml/fde_xml_imp.h", |
| "xfa/fee/fde_txtedtbuf.cpp", |
| "xfa/fee/fde_txtedtbuf.h", |
| "xfa/fee/fde_txtedtengine.cpp", |
| "xfa/fee/fde_txtedtengine.h", |
| "xfa/fee/fde_txtedtpage.cpp", |
| "xfa/fee/fde_txtedtpage.h", |
| "xfa/fee/fde_txtedtparag.cpp", |
| "xfa/fee/fde_txtedtparag.h", |
| "xfa/fee/fx_wordbreak/fx_wordbreak.h", |
| "xfa/fee/fx_wordbreak/fx_wordbreak_impl.cpp", |
| "xfa/fee/fx_wordbreak/fx_wordbreak_impl.h", |
| "xfa/fee/fx_wordbreak/fx_wordbreakdata.cpp", |
| "xfa/fee/ifde_txtedtbuf.h", |
| "xfa/fee/ifde_txtedtengine.h", |
| "xfa/fee/ifde_txtedtpage.h", |
| "xfa/fgas/crt/fgas_algorithm.cpp", |
| "xfa/fgas/crt/fgas_algorithm.h", |
| "xfa/fgas/crt/fgas_codepage.cpp", |
| "xfa/fgas/crt/fgas_codepage.h", |
| "xfa/fgas/crt/fgas_encode.cpp", |
| "xfa/fgas/crt/fgas_language.h", |
| "xfa/fgas/crt/fgas_memory.cpp", |
| "xfa/fgas/crt/fgas_memory.h", |
| "xfa/fgas/crt/fgas_stream.cpp", |
| "xfa/fgas/crt/fgas_stream.h", |
| "xfa/fgas/crt/fgas_system.cpp", |
| "xfa/fgas/crt/fgas_system.h", |
| "xfa/fgas/crt/fgas_utils.cpp", |
| "xfa/fgas/crt/fgas_utils.h", |
| "xfa/fgas/font/fgas_font.h", |
| "xfa/fgas/font/fgas_fontutils.cpp", |
| "xfa/fgas/font/fgas_fontutils.h", |
| "xfa/fgas/font/fgas_gefont.cpp", |
| "xfa/fgas/font/fgas_gefont.h", |
| "xfa/fgas/font/fgas_stdfontmgr.cpp", |
| "xfa/fgas/font/fgas_stdfontmgr.h", |
| "xfa/fgas/layout/fgas_linebreak.cpp", |
| "xfa/fgas/layout/fgas_linebreak.h", |
| "xfa/fgas/layout/fgas_rtfbreak.cpp", |
| "xfa/fgas/layout/fgas_rtfbreak.h", |
| "xfa/fgas/layout/fgas_textbreak.cpp", |
| "xfa/fgas/layout/fgas_textbreak.h", |
| "xfa/fgas/layout/fgas_unicode.cpp", |
| "xfa/fgas/layout/fgas_unicode.h", |
| "xfa/fgas/localization/fgas_datetime.cpp", |
| "xfa/fgas/localization/fgas_datetime.h", |
| "xfa/fgas/localization/fgas_locale.cpp", |
| "xfa/fgas/localization/fgas_locale.h", |
| "xfa/fgas/localization/fgas_localeimp.h", |
| "xfa/fgas/localization/fgas_localemgr.cpp", |
| "xfa/fgas/localization/fgas_localemgr.h", |
| "xfa/fgas/xml/fgas_sax.h", |
| "xfa/fgas/xml/fgas_sax_imp.cpp", |
| "xfa/fgas/xml/fgas_sax_imp.h", |
| "xfa/fwl/basewidget/fwl_barcodeimp.cpp", |
| "xfa/fwl/basewidget/fwl_barcodeimp.h", |
| "xfa/fwl/basewidget/fwl_caretimp.cpp", |
| "xfa/fwl/basewidget/fwl_caretimp.h", |
| "xfa/fwl/basewidget/fwl_checkboximp.cpp", |
| "xfa/fwl/basewidget/fwl_checkboximp.h", |
| "xfa/fwl/basewidget/fwl_comboboximp.cpp", |
| "xfa/fwl/basewidget/fwl_comboboximp.h", |
| "xfa/fwl/basewidget/fwl_datetimepickerimp.cpp", |
| "xfa/fwl/basewidget/fwl_datetimepickerimp.h", |
| "xfa/fwl/basewidget/fwl_editimp.cpp", |
| "xfa/fwl/basewidget/fwl_editimp.h", |
| "xfa/fwl/basewidget/fwl_formproxyimp.cpp", |
| "xfa/fwl/basewidget/fwl_formproxyimp.h", |
| "xfa/fwl/basewidget/fwl_listboximp.cpp", |
| "xfa/fwl/basewidget/fwl_listboximp.h", |
| "xfa/fwl/basewidget/fwl_monthcalendarimp.cpp", |
| "xfa/fwl/basewidget/fwl_monthcalendarimp.h", |
| "xfa/fwl/basewidget/fwl_pictureboximp.cpp", |
| "xfa/fwl/basewidget/fwl_pictureboximp.h", |
| "xfa/fwl/basewidget/fwl_pushbuttonimp.cpp", |
| "xfa/fwl/basewidget/fwl_pushbuttonimp.h", |
| "xfa/fwl/basewidget/fwl_scrollbarimp.cpp", |
| "xfa/fwl/basewidget/fwl_scrollbarimp.h", |
| "xfa/fwl/basewidget/fwl_spinbuttonimp.cpp", |
| "xfa/fwl/basewidget/fwl_spinbuttonimp.h", |
| "xfa/fwl/basewidget/fwl_tooltipctrlimp.cpp", |
| "xfa/fwl/basewidget/fwl_tooltipctrlimp.h", |
| "xfa/fwl/basewidget/fxmath_barcodeimp.cpp", |
| "xfa/fwl/basewidget/fxmath_barcodeimp.h", |
| "xfa/fwl/basewidget/ifwl_barcode.h", |
| "xfa/fwl/basewidget/ifwl_caret.h", |
| "xfa/fwl/basewidget/ifwl_checkbox.h", |
| "xfa/fwl/basewidget/ifwl_combobox.h", |
| "xfa/fwl/basewidget/ifwl_datetimepicker.h", |
| "xfa/fwl/basewidget/ifwl_edit.h", |
| "xfa/fwl/basewidget/ifwl_listbox.h", |
| "xfa/fwl/basewidget/ifwl_monthcalendar.h", |
| "xfa/fwl/basewidget/ifwl_picturebox.h", |
| "xfa/fwl/basewidget/ifwl_pushbutton.h", |
| "xfa/fwl/basewidget/ifwl_scrollbar.h", |
| "xfa/fwl/basewidget/ifwl_spinbutton.h", |
| "xfa/fwl/basewidget/ifwl_tooltip.h", |
| "xfa/fwl/basewidget/ifx_barcode.h", |
| "xfa/fwl/core/cfwl_event.h", |
| "xfa/fwl/core/cfwl_message.h", |
| "xfa/fwl/core/cfwl_note.h", |
| "xfa/fwl/core/cfwl_themebackground.h", |
| "xfa/fwl/core/cfwl_themepart.h", |
| "xfa/fwl/core/cfwl_themetext.h", |
| "xfa/fwl/core/cfwl_widgetimpproperties.h", |
| "xfa/fwl/core/fwl_appimp.cpp", |
| "xfa/fwl/core/fwl_appimp.h", |
| "xfa/fwl/core/fwl_contentimp.cpp", |
| "xfa/fwl/core/fwl_contentimp.h", |
| "xfa/fwl/core/fwl_error.h", |
| "xfa/fwl/core/fwl_formimp.cpp", |
| "xfa/fwl/core/fwl_formimp.h", |
| "xfa/fwl/core/fwl_gridimp.cpp", |
| "xfa/fwl/core/fwl_gridimp.h", |
| "xfa/fwl/core/fwl_noteimp.cpp", |
| "xfa/fwl/core/fwl_noteimp.h", |
| "xfa/fwl/core/fwl_panelimp.cpp", |
| "xfa/fwl/core/fwl_panelimp.h", |
| "xfa/fwl/core/fwl_sdadapterimp.cpp", |
| "xfa/fwl/core/fwl_sdadapterimp.h", |
| "xfa/fwl/core/fwl_targetimp.cpp", |
| "xfa/fwl/core/fwl_targetimp.h", |
| "xfa/fwl/core/fwl_threadimp.cpp", |
| "xfa/fwl/core/fwl_threadimp.h", |
| "xfa/fwl/core/fwl_timerimp.cpp", |
| "xfa/fwl/core/fwl_widgetdef.h", |
| "xfa/fwl/core/fwl_widgetimp.cpp", |
| "xfa/fwl/core/fwl_widgetimp.h", |
| "xfa/fwl/core/fwl_widgetmgrimp.cpp", |
| "xfa/fwl/core/fwl_widgetmgrimp.h", |
| "xfa/fwl/core/ifwl_adapternative.h", |
| "xfa/fwl/core/ifwl_adapterthreadmgr.h", |
| "xfa/fwl/core/ifwl_adapterwidgetmgr.h", |
| "xfa/fwl/core/ifwl_app.h", |
| "xfa/fwl/core/ifwl_content.h", |
| "xfa/fwl/core/ifwl_custom.h", |
| "xfa/fwl/core/ifwl_custompanel.h", |
| "xfa/fwl/core/ifwl_dataprovider.h", |
| "xfa/fwl/core/ifwl_form.h", |
| "xfa/fwl/core/ifwl_grid.h", |
| "xfa/fwl/core/ifwl_notedriver.h", |
| "xfa/fwl/core/ifwl_noteloop.h", |
| "xfa/fwl/core/ifwl_notethread.h", |
| "xfa/fwl/core/ifwl_panel.h", |
| "xfa/fwl/core/ifwl_proxy.h", |
| "xfa/fwl/core/ifwl_target.h", |
| "xfa/fwl/core/ifwl_themeprovider.h", |
| "xfa/fwl/core/ifwl_thread.h", |
| "xfa/fwl/core/ifwl_timer.h", |
| "xfa/fwl/core/ifwl_tooltiptarget.h", |
| "xfa/fwl/core/ifwl_widget.h", |
| "xfa/fwl/core/ifwl_widgetdelegate.h", |
| "xfa/fwl/core/ifwl_widgetmgr.h", |
| "xfa/fwl/core/ifwl_widgetmgrdelegate.h", |
| "xfa/fwl/core/include/ifwl_adaptertimermgr.h", |
| "xfa/fwl/lightwidget/cfwl_app.cpp", |
| "xfa/fwl/lightwidget/cfwl_app.h", |
| "xfa/fwl/lightwidget/cfwl_barcode.cpp", |
| "xfa/fwl/lightwidget/cfwl_barcode.h", |
| "xfa/fwl/lightwidget/cfwl_caret.cpp", |
| "xfa/fwl/lightwidget/cfwl_caret.h", |
| "xfa/fwl/lightwidget/cfwl_checkbox.cpp", |
| "xfa/fwl/lightwidget/cfwl_checkbox.h", |
| "xfa/fwl/lightwidget/cfwl_combobox.cpp", |
| "xfa/fwl/lightwidget/cfwl_combobox.h", |
| "xfa/fwl/lightwidget/cfwl_datetimepicker.cpp", |
| "xfa/fwl/lightwidget/cfwl_datetimepicker.h", |
| "xfa/fwl/lightwidget/cfwl_edit.cpp", |
| "xfa/fwl/lightwidget/cfwl_edit.h", |
| "xfa/fwl/lightwidget/cfwl_listbox.cpp", |
| "xfa/fwl/lightwidget/cfwl_listbox.h", |
| "xfa/fwl/lightwidget/cfwl_picturebox.cpp", |
| "xfa/fwl/lightwidget/cfwl_picturebox.h", |
| "xfa/fwl/lightwidget/cfwl_pushbutton.cpp", |
| "xfa/fwl/lightwidget/cfwl_pushbutton.h", |
| "xfa/fwl/lightwidget/cfwl_scrollbar.cpp", |
| "xfa/fwl/lightwidget/cfwl_scrollbar.h", |
| "xfa/fwl/lightwidget/cfwl_theme.cpp", |
| "xfa/fwl/lightwidget/cfwl_theme.h", |
| "xfa/fwl/lightwidget/cfwl_tooltip.cpp", |
| "xfa/fwl/lightwidget/cfwl_tooltip.h", |
| "xfa/fwl/lightwidget/cfwl_widget.cpp", |
| "xfa/fwl/lightwidget/cfwl_widget.h", |
| "xfa/fwl/lightwidget/cfwl_widgetdelegate.cpp", |
| "xfa/fwl/lightwidget/cfwl_widgetdelegate.h", |
| "xfa/fwl/lightwidget/cfwl_widgetproperties.cpp", |
| "xfa/fwl/lightwidget/cfwl_widgetproperties.h", |
| "xfa/fwl/theme/cfwl_barcodetp.cpp", |
| "xfa/fwl/theme/cfwl_barcodetp.h", |
| "xfa/fwl/theme/cfwl_carettp.cpp", |
| "xfa/fwl/theme/cfwl_carettp.h", |
| "xfa/fwl/theme/cfwl_checkboxtp.cpp", |
| "xfa/fwl/theme/cfwl_checkboxtp.h", |
| "xfa/fwl/theme/cfwl_comboboxtp.cpp", |
| "xfa/fwl/theme/cfwl_comboboxtp.h", |
| "xfa/fwl/theme/cfwl_datetimepickedtp.cpp", |
| "xfa/fwl/theme/cfwl_datetimepickertp.h", |
| "xfa/fwl/theme/cfwl_edittp.cpp", |
| "xfa/fwl/theme/cfwl_edittp.h", |
| "xfa/fwl/theme/cfwl_formtp.cpp", |
| "xfa/fwl/theme/cfwl_formtp.h", |
| "xfa/fwl/theme/cfwl_listboxtp.cpp", |
| "xfa/fwl/theme/cfwl_listboxtp.h", |
| "xfa/fwl/theme/cfwl_monthcalendartp.cpp", |
| "xfa/fwl/theme/cfwl_monthcalendartp.h", |
| "xfa/fwl/theme/cfwl_pictureboxtp.cpp", |
| "xfa/fwl/theme/cfwl_pictureboxtp.h", |
| "xfa/fwl/theme/cfwl_pushbuttontp.cpp", |
| "xfa/fwl/theme/cfwl_pushbuttontp.h", |
| "xfa/fwl/theme/cfwl_scrollbartp.cpp", |
| "xfa/fwl/theme/cfwl_scrollbartp.h", |
| "xfa/fwl/theme/cfwl_utils.h", |
| "xfa/fwl/theme/cfwl_widgettp.cpp", |
| "xfa/fwl/theme/cfwl_widgettp.h", |
| "xfa/fxbarcode/BC_Binarizer.cpp", |
| "xfa/fxbarcode/BC_Binarizer.h", |
| "xfa/fxbarcode/BC_BinaryBitmap.cpp", |
| "xfa/fxbarcode/BC_BinaryBitmap.h", |
| "xfa/fxbarcode/BC_BufferedImageLuminanceSource.cpp", |
| "xfa/fxbarcode/BC_BufferedImageLuminanceSource.h", |
| "xfa/fxbarcode/BC_DecoderResult.h", |
| "xfa/fxbarcode/BC_Dimension.cpp", |
| "xfa/fxbarcode/BC_Dimension.h", |
| "xfa/fxbarcode/BC_Library.cpp", |
| "xfa/fxbarcode/BC_LuminanceSource.cpp", |
| "xfa/fxbarcode/BC_LuminanceSource.h", |
| "xfa/fxbarcode/BC_Reader.cpp", |
| "xfa/fxbarcode/BC_Reader.h", |
| "xfa/fxbarcode/BC_ResultPoint.cpp", |
| "xfa/fxbarcode/BC_ResultPoint.h", |
| "xfa/fxbarcode/BC_TwoDimWriter.cpp", |
| "xfa/fxbarcode/BC_TwoDimWriter.h", |
| "xfa/fxbarcode/BC_UtilCodingConvert.cpp", |
| "xfa/fxbarcode/BC_UtilCodingConvert.h", |
| "xfa/fxbarcode/BC_UtilRSS.cpp", |
| "xfa/fxbarcode/BC_UtilRSS.h", |
| "xfa/fxbarcode/BC_Utils.cpp", |
| "xfa/fxbarcode/BC_Writer.cpp", |
| "xfa/fxbarcode/BC_Writer.h", |
| "xfa/fxbarcode/cbc_codabar.cpp", |
| "xfa/fxbarcode/cbc_codabar.h", |
| "xfa/fxbarcode/cbc_code128.cpp", |
| "xfa/fxbarcode/cbc_code128.h", |
| "xfa/fxbarcode/cbc_code39.cpp", |
| "xfa/fxbarcode/cbc_code39.h", |
| "xfa/fxbarcode/cbc_codebase.cpp", |
| "xfa/fxbarcode/cbc_codebase.h", |
| "xfa/fxbarcode/cbc_datamatrix.cpp", |
| "xfa/fxbarcode/cbc_datamatrix.h", |
| "xfa/fxbarcode/cbc_ean13.cpp", |
| "xfa/fxbarcode/cbc_ean13.h", |
| "xfa/fxbarcode/cbc_ean8.cpp", |
| "xfa/fxbarcode/cbc_ean8.h", |
| "xfa/fxbarcode/cbc_onecode.cpp", |
| "xfa/fxbarcode/cbc_onecode.h", |
| "xfa/fxbarcode/cbc_pdf417i.cpp", |
| "xfa/fxbarcode/cbc_pdf417i.h", |
| "xfa/fxbarcode/cbc_qrcode.cpp", |
| "xfa/fxbarcode/cbc_qrcode.h", |
| "xfa/fxbarcode/cbc_upca.cpp", |
| "xfa/fxbarcode/cbc_upca.h", |
| "xfa/fxbarcode/common/BC_CommonBitArray.cpp", |
| "xfa/fxbarcode/common/BC_CommonBitArray.h", |
| "xfa/fxbarcode/common/BC_CommonBitMatrix.cpp", |
| "xfa/fxbarcode/common/BC_CommonBitMatrix.h", |
| "xfa/fxbarcode/common/BC_CommonBitSource.cpp", |
| "xfa/fxbarcode/common/BC_CommonBitSource.h", |
| "xfa/fxbarcode/common/BC_CommonByteArray.cpp", |
| "xfa/fxbarcode/common/BC_CommonByteArray.h", |
| "xfa/fxbarcode/common/BC_CommonByteMatrix.cpp", |
| "xfa/fxbarcode/common/BC_CommonByteMatrix.h", |
| "xfa/fxbarcode/common/BC_CommonCharacterSetECI.cpp", |
| "xfa/fxbarcode/common/BC_CommonCharacterSetECI.h", |
| "xfa/fxbarcode/common/BC_CommonDecoderResult.cpp", |
| "xfa/fxbarcode/common/BC_CommonDecoderResult.h", |
| "xfa/fxbarcode/common/BC_CommonECI.cpp", |
| "xfa/fxbarcode/common/BC_CommonECI.h", |
| "xfa/fxbarcode/common/BC_CommonPerspectiveTransform.cpp", |
| "xfa/fxbarcode/common/BC_CommonPerspectiveTransform.h", |
| "xfa/fxbarcode/common/BC_GlobalHistogramBinarizer.cpp", |
| "xfa/fxbarcode/common/BC_GlobalHistogramBinarizer.h", |
| "xfa/fxbarcode/common/BC_WhiteRectangleDetector.cpp", |
| "xfa/fxbarcode/common/BC_WhiteRectangleDetector.h", |
| "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomon.cpp", |
| "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomon.h", |
| "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonDecoder.cpp", |
| "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonDecoder.h", |
| "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.cpp", |
| "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h", |
| "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp", |
| "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h", |
| "xfa/fxbarcode/datamatrix/BC_ASCIIEncoder.cpp", |
| "xfa/fxbarcode/datamatrix/BC_ASCIIEncoder.h", |
| "xfa/fxbarcode/datamatrix/BC_Base256Encoder.cpp", |
| "xfa/fxbarcode/datamatrix/BC_Base256Encoder.h", |
| "xfa/fxbarcode/datamatrix/BC_C40Encoder.cpp", |
| "xfa/fxbarcode/datamatrix/BC_C40Encoder.h", |
| "xfa/fxbarcode/datamatrix/BC_DataMatrixBitMatrixParser.cpp", |
| "xfa/fxbarcode/datamatrix/BC_DataMatrixBitMatrixParser.h", |
| "xfa/fxbarcode/datamatrix/BC_DataMatrixDataBlock.cpp", |
| "xfa/fxbarcode/datamatrix/BC_DataMatrixDataBlock.h", |
| "xfa/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.cpp", |
| "xfa/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.h", |
| "xfa/fxbarcode/datamatrix/BC_DataMatrixDecoder.cpp", |
| "xfa/fxbarcode/datamatrix/BC_DataMatrixDecoder.h", |
| "xfa/fxbarcode/datamatrix/BC_DataMatrixDetector.cpp", |
| "xfa/fxbarcode/datamatrix/BC_DataMatrixDetector.h", |
| "xfa/fxbarcode/datamatrix/BC_DataMatrixReader.cpp", |
| "xfa/fxbarcode/datamatrix/BC_DataMatrixReader.h", |
| "xfa/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.cpp", |
| "xfa/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.h", |
| "xfa/fxbarcode/datamatrix/BC_DataMatrixVersion.cpp", |
| "xfa/fxbarcode/datamatrix/BC_DataMatrixVersion.h", |
| "xfa/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp", |
| "xfa/fxbarcode/datamatrix/BC_DataMatrixWriter.h", |
| "xfa/fxbarcode/datamatrix/BC_DefaultPlacement.cpp", |
| "xfa/fxbarcode/datamatrix/BC_DefaultPlacement.h", |
| "xfa/fxbarcode/datamatrix/BC_EdifactEncoder.cpp", |
| "xfa/fxbarcode/datamatrix/BC_EdifactEncoder.h", |
| "xfa/fxbarcode/datamatrix/BC_Encoder.cpp", |
| "xfa/fxbarcode/datamatrix/BC_Encoder.h", |
| "xfa/fxbarcode/datamatrix/BC_EncoderContext.cpp", |
| "xfa/fxbarcode/datamatrix/BC_EncoderContext.h", |
| "xfa/fxbarcode/datamatrix/BC_ErrorCorrection.cpp", |
| "xfa/fxbarcode/datamatrix/BC_ErrorCorrection.h", |
| "xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp", |
| "xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.h", |
| "xfa/fxbarcode/datamatrix/BC_SymbolInfo.cpp", |
| "xfa/fxbarcode/datamatrix/BC_SymbolInfo.h", |
| "xfa/fxbarcode/datamatrix/BC_SymbolShapeHint.cpp", |
| "xfa/fxbarcode/datamatrix/BC_SymbolShapeHint.h", |
| "xfa/fxbarcode/datamatrix/BC_TextEncoder.cpp", |
| "xfa/fxbarcode/datamatrix/BC_TextEncoder.h", |
| "xfa/fxbarcode/datamatrix/BC_X12Encoder.cpp", |
| "xfa/fxbarcode/datamatrix/BC_X12Encoder.h", |
| "xfa/fxbarcode/include/BC_Library.h", |
| "xfa/fxbarcode/oned/BC_OneDReader.cpp", |
| "xfa/fxbarcode/oned/BC_OneDReader.h", |
| "xfa/fxbarcode/oned/BC_OneDimReader.cpp", |
| "xfa/fxbarcode/oned/BC_OneDimReader.h", |
| "xfa/fxbarcode/oned/BC_OneDimWriter.cpp", |
| "xfa/fxbarcode/oned/BC_OneDimWriter.h", |
| "xfa/fxbarcode/oned/BC_OnedCodaBarReader.cpp", |
| "xfa/fxbarcode/oned/BC_OnedCodaBarReader.h", |
| "xfa/fxbarcode/oned/BC_OnedCodaBarWriter.cpp", |
| "xfa/fxbarcode/oned/BC_OnedCodaBarWriter.h", |
| "xfa/fxbarcode/oned/BC_OnedCode128Reader.cpp", |
| "xfa/fxbarcode/oned/BC_OnedCode128Reader.h", |
| "xfa/fxbarcode/oned/BC_OnedCode128Writer.cpp", |
| "xfa/fxbarcode/oned/BC_OnedCode128Writer.h", |
| "xfa/fxbarcode/oned/BC_OnedCode39Reader.cpp", |
| "xfa/fxbarcode/oned/BC_OnedCode39Reader.h", |
| "xfa/fxbarcode/oned/BC_OnedCode39Writer.cpp", |
| "xfa/fxbarcode/oned/BC_OnedCode39Writer.h", |
| "xfa/fxbarcode/oned/BC_OnedEAN13Reader.cpp", |
| "xfa/fxbarcode/oned/BC_OnedEAN13Reader.h", |
| "xfa/fxbarcode/oned/BC_OnedEAN13Writer.cpp", |
| "xfa/fxbarcode/oned/BC_OnedEAN13Writer.h", |
| "xfa/fxbarcode/oned/BC_OnedEAN8Reader.cpp", |
| "xfa/fxbarcode/oned/BC_OnedEAN8Reader.h", |
| "xfa/fxbarcode/oned/BC_OnedEAN8Writer.cpp", |
| "xfa/fxbarcode/oned/BC_OnedEAN8Writer.h", |
| "xfa/fxbarcode/oned/BC_OnedUPCAReader.cpp", |
| "xfa/fxbarcode/oned/BC_OnedUPCAReader.h", |
| "xfa/fxbarcode/oned/BC_OnedUPCAWriter.cpp", |
| "xfa/fxbarcode/oned/BC_OnedUPCAWriter.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417BarcodeRow.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417BarcodeRow.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417BarcodeValue.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417BarcodeValue.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417BoundingBox.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417BoundingBox.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417Codeword.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417Codeword.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417CodewordDecoder.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417CodewordDecoder.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417Common.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417Common.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417Compaction.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417Compaction.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417DecodedBitStreamParser.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417DecodedBitStreamParser.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417DetectionResult.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417DetectionResult.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417DetectionResultColumn.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417DetectionResultColumn.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417Detector.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417Detector.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417DetectorResult.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417DetectorResult.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417Dimensions.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417Dimensions.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417ECErrorCorrection.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417ECErrorCorrection.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417ECModulusGF.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417ECModulusGF.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417ECModulusPoly.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417ECModulusPoly.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417ErrorCorrection.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417ErrorCorrection.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417Reader.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417Reader.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417ResultMetadata.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417ResultMetadata.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417ScanningDecoder.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417ScanningDecoder.h", |
| "xfa/fxbarcode/pdf417/BC_PDF417Writer.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417Writer.h", |
| "xfa/fxbarcode/qrcode/BC_FinderPatternInfo.cpp", |
| "xfa/fxbarcode/qrcode/BC_FinderPatternInfo.h", |
| "xfa/fxbarcode/qrcode/BC_QRAlignmentPattern.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRAlignmentPattern.h", |
| "xfa/fxbarcode/qrcode/BC_QRAlignmentPatternFinder.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRAlignmentPatternFinder.h", |
| "xfa/fxbarcode/qrcode/BC_QRBitMatrixParser.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRBitMatrixParser.h", |
| "xfa/fxbarcode/qrcode/BC_QRCodeReader.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRCodeReader.h", |
| "xfa/fxbarcode/qrcode/BC_QRCodeWriter.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRCodeWriter.h", |
| "xfa/fxbarcode/qrcode/BC_QRCoder.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRCoder.h", |
| "xfa/fxbarcode/qrcode/BC_QRCoderBitVector.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRCoderBitVector.h", |
| "xfa/fxbarcode/qrcode/BC_QRCoderBlockPair.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRCoderBlockPair.h", |
| "xfa/fxbarcode/qrcode/BC_QRCoderDecoder.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRCoderDecoder.h", |
| "xfa/fxbarcode/qrcode/BC_QRCoderECB.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRCoderECB.h", |
| "xfa/fxbarcode/qrcode/BC_QRCoderECBlocks.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRCoderECBlocks.h", |
| "xfa/fxbarcode/qrcode/BC_QRCoderEncoder.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRCoderEncoder.h", |
| "xfa/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.h", |
| "xfa/fxbarcode/qrcode/BC_QRCoderFormatInformation.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRCoderFormatInformation.h", |
| "xfa/fxbarcode/qrcode/BC_QRCoderMaskUtil.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRCoderMaskUtil.h", |
| "xfa/fxbarcode/qrcode/BC_QRCoderMatrixUtil.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRCoderMatrixUtil.h", |
| "xfa/fxbarcode/qrcode/BC_QRCoderMode.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRCoderMode.h", |
| "xfa/fxbarcode/qrcode/BC_QRCoderVersion.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRCoderVersion.h", |
| "xfa/fxbarcode/qrcode/BC_QRDataBlock.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRDataBlock.h", |
| "xfa/fxbarcode/qrcode/BC_QRDataMask.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRDataMask.h", |
| "xfa/fxbarcode/qrcode/BC_QRDecodedBitStreamParser.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRDecodedBitStreamParser.h", |
| "xfa/fxbarcode/qrcode/BC_QRDetector.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRDetector.h", |
| "xfa/fxbarcode/qrcode/BC_QRDetectorResult.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRDetectorResult.h", |
| "xfa/fxbarcode/qrcode/BC_QRFinderPattern.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRFinderPattern.h", |
| "xfa/fxbarcode/qrcode/BC_QRFinderPatternFinder.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRFinderPatternFinder.h", |
| "xfa/fxbarcode/qrcode/BC_QRGridSampler.cpp", |
| "xfa/fxbarcode/qrcode/BC_QRGridSampler.h", |
| "xfa/fxbarcode/utils.h", |
| "xfa/fxfa/app/xfa_checksum.cpp", |
| "xfa/fxfa/app/xfa_checksum.h", |
| "xfa/fxfa/app/xfa_ffapp.cpp", |
| "xfa/fxfa/app/xfa_ffapp.h", |
| "xfa/fxfa/app/xfa_ffbarcode.cpp", |
| "xfa/fxfa/app/xfa_ffbarcode.h", |
| "xfa/fxfa/app/xfa_ffcheckbutton.cpp", |
| "xfa/fxfa/app/xfa_ffcheckbutton.h", |
| "xfa/fxfa/app/xfa_ffchoicelist.cpp", |
| "xfa/fxfa/app/xfa_ffchoicelist.h", |
| "xfa/fxfa/app/xfa_ffdoc.cpp", |
| "xfa/fxfa/app/xfa_ffdoc.h", |
| "xfa/fxfa/app/xfa_ffdochandler.cpp", |
| "xfa/fxfa/app/xfa_ffdochandler.h", |
| "xfa/fxfa/app/xfa_ffdocview.cpp", |
| "xfa/fxfa/app/xfa_ffdocview.h", |
| "xfa/fxfa/app/xfa_ffdraw.cpp", |
| "xfa/fxfa/app/xfa_ffdraw.h", |
| "xfa/fxfa/app/xfa_ffexclgroup.cpp", |
| "xfa/fxfa/app/xfa_ffexclgroup.h", |
| "xfa/fxfa/app/xfa_fffield.cpp", |
| "xfa/fxfa/app/xfa_fffield.h", |
| "xfa/fxfa/app/xfa_ffimage.cpp", |
| "xfa/fxfa/app/xfa_ffimage.h", |
| "xfa/fxfa/app/xfa_ffimageedit.cpp", |
| "xfa/fxfa/app/xfa_ffimageedit.h", |
| "xfa/fxfa/app/xfa_ffnotify.cpp", |
| "xfa/fxfa/app/xfa_ffnotify.h", |
| "xfa/fxfa/app/xfa_ffpageview.cpp", |
| "xfa/fxfa/app/xfa_ffpageview.h", |
| "xfa/fxfa/app/xfa_ffpath.cpp", |
| "xfa/fxfa/app/xfa_ffpath.h", |
| "xfa/fxfa/app/xfa_ffpushbutton.cpp", |
| "xfa/fxfa/app/xfa_ffpushbutton.h", |
| "xfa/fxfa/app/xfa_ffsignature.cpp", |
| "xfa/fxfa/app/xfa_ffsignature.h", |
| "xfa/fxfa/app/xfa_ffsubform.cpp", |
| "xfa/fxfa/app/xfa_ffsubform.h", |
| "xfa/fxfa/app/xfa_fftext.cpp", |
| "xfa/fxfa/app/xfa_fftext.h", |
| "xfa/fxfa/app/xfa_fftextedit.cpp", |
| "xfa/fxfa/app/xfa_fftextedit.h", |
| "xfa/fxfa/app/xfa_ffwidget.cpp", |
| "xfa/fxfa/app/xfa_ffwidget.h", |
| "xfa/fxfa/app/xfa_ffwidgetacc.cpp", |
| "xfa/fxfa/app/xfa_ffwidgetacc.h", |
| "xfa/fxfa/app/xfa_ffwidgethandler.cpp", |
| "xfa/fxfa/app/xfa_ffwidgethandler.h", |
| "xfa/fxfa/app/xfa_fontmgr.cpp", |
| "xfa/fxfa/app/xfa_fontmgr.h", |
| "xfa/fxfa/app/xfa_fwladapter.cpp", |
| "xfa/fxfa/app/xfa_fwladapter.h", |
| "xfa/fxfa/app/xfa_fwltheme.cpp", |
| "xfa/fxfa/app/xfa_fwltheme.h", |
| "xfa/fxfa/app/xfa_rendercontext.cpp", |
| "xfa/fxfa/app/xfa_rendercontext.h", |
| "xfa/fxfa/app/xfa_textlayout.cpp", |
| "xfa/fxfa/app/xfa_textlayout.h", |
| "xfa/fxfa/fm2js/xfa_error.cpp", |
| "xfa/fxfa/fm2js/xfa_error.h", |
| "xfa/fxfa/fm2js/xfa_expression.cpp", |
| "xfa/fxfa/fm2js/xfa_expression.h", |
| "xfa/fxfa/fm2js/xfa_fm2jsapi.cpp", |
| "xfa/fxfa/fm2js/xfa_fm2jsapi.h", |
| "xfa/fxfa/fm2js/xfa_fm2jscontext.cpp", |
| "xfa/fxfa/fm2js/xfa_fm2jscontext.h", |
| "xfa/fxfa/fm2js/xfa_fmparse.cpp", |
| "xfa/fxfa/fm2js/xfa_fmparse.h", |
| "xfa/fxfa/fm2js/xfa_lexer.cpp", |
| "xfa/fxfa/fm2js/xfa_lexer.h", |
| "xfa/fxfa/fm2js/xfa_program.cpp", |
| "xfa/fxfa/fm2js/xfa_program.h", |
| "xfa/fxfa/fm2js/xfa_simpleexpression.cpp", |
| "xfa/fxfa/fm2js/xfa_simpleexpression.h", |
| "xfa/fxfa/parser/xfa_basic_data.cpp", |
| "xfa/fxfa/parser/xfa_basic_data.h", |
| "xfa/fxfa/parser/xfa_basic_imp.cpp", |
| "xfa/fxfa/parser/xfa_basic_imp.h", |
| "xfa/fxfa/parser/xfa_docdata.h", |
| "xfa/fxfa/parser/xfa_doclayout.h", |
| "xfa/fxfa/parser/xfa_document.h", |
| "xfa/fxfa/parser/xfa_document_datadescription_imp.cpp", |
| "xfa/fxfa/parser/xfa_document_datadescription_imp.h", |
| "xfa/fxfa/parser/xfa_document_datamerger_imp.cpp", |
| "xfa/fxfa/parser/xfa_document_datamerger_imp.h", |
| "xfa/fxfa/parser/xfa_document_imp.cpp", |
| "xfa/fxfa/parser/xfa_document_layout_imp.cpp", |
| "xfa/fxfa/parser/xfa_document_layout_imp.h", |
| "xfa/fxfa/parser/xfa_document_serialize.cpp", |
| "xfa/fxfa/parser/xfa_document_serialize.h", |
| "xfa/fxfa/parser/xfa_layout_appadapter.cpp", |
| "xfa/fxfa/parser/xfa_layout_appadapter.h", |
| "xfa/fxfa/parser/xfa_layout_itemlayout.cpp", |
| "xfa/fxfa/parser/xfa_layout_itemlayout.h", |
| "xfa/fxfa/parser/xfa_layout_pagemgr_new.cpp", |
| "xfa/fxfa/parser/xfa_layout_pagemgr_new.h", |
| "xfa/fxfa/parser/xfa_locale.cpp", |
| "xfa/fxfa/parser/xfa_locale.h", |
| "xfa/fxfa/parser/xfa_localemgr.cpp", |
| "xfa/fxfa/parser/xfa_localemgr.h", |
| "xfa/fxfa/parser/xfa_localevalue.cpp", |
| "xfa/fxfa/parser/xfa_localevalue.h", |
| "xfa/fxfa/parser/xfa_object.h", |
| "xfa/fxfa/parser/xfa_object_imp.cpp", |
| "xfa/fxfa/parser/xfa_objectacc_imp.cpp", |
| "xfa/fxfa/parser/xfa_parser.h", |
| "xfa/fxfa/parser/xfa_parser_imp.cpp", |
| "xfa/fxfa/parser/xfa_parser_imp.h", |
| "xfa/fxfa/parser/xfa_script.h", |
| "xfa/fxfa/parser/xfa_script_datawindow.cpp", |
| "xfa/fxfa/parser/xfa_script_datawindow.h", |
| "xfa/fxfa/parser/xfa_script_eventpseudomodel.cpp", |
| "xfa/fxfa/parser/xfa_script_eventpseudomodel.h", |
| "xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp", |
| "xfa/fxfa/parser/xfa_script_hostpseudomodel.h", |
| "xfa/fxfa/parser/xfa_script_imp.cpp", |
| "xfa/fxfa/parser/xfa_script_imp.h", |
| "xfa/fxfa/parser/xfa_script_layoutpseudomodel.cpp", |
| "xfa/fxfa/parser/xfa_script_layoutpseudomodel.h", |
| "xfa/fxfa/parser/xfa_script_logpseudomodel.cpp", |
| "xfa/fxfa/parser/xfa_script_logpseudomodel.h", |
| "xfa/fxfa/parser/xfa_script_nodehelper.cpp", |
| "xfa/fxfa/parser/xfa_script_nodehelper.h", |
| "xfa/fxfa/parser/xfa_script_resolveprocessor.cpp", |
| "xfa/fxfa/parser/xfa_script_resolveprocessor.h", |
| "xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp", |
| "xfa/fxfa/parser/xfa_script_signaturepseudomodel.h", |
| "xfa/fxfa/parser/xfa_utils.h", |
| "xfa/fxfa/parser/xfa_utils_imp.cpp", |
| "xfa/fxgraphics/cagg_graphics.cpp", |
| "xfa/fxgraphics/cagg_graphics.h", |
| "xfa/fxgraphics/cfx_color.cpp", |
| "xfa/fxgraphics/cfx_color.h", |
| "xfa/fxgraphics/cfx_graphics.cpp", |
| "xfa/fxgraphics/cfx_path.cpp", |
| "xfa/fxgraphics/cfx_path.h", |
| "xfa/fxgraphics/cfx_path_generator.cpp", |
| "xfa/fxgraphics/cfx_path_generator.h", |
| "xfa/fxgraphics/cfx_pattern.cpp", |
| "xfa/fxgraphics/cfx_pattern.h", |
| "xfa/fxgraphics/cfx_shading.cpp", |
| "xfa/fxgraphics/cfx_shading.h", |
| "xfa/fxgraphics/include/cfx_graphics.h", |
| "xfa/fxjse/include/fxjse.h", |
| "xfa/include/fxfa/fxfa.h", |
| "xfa/include/fxfa/fxfa_basic.h", |
| "xfa/include/fxfa/fxfa_objectacc.h", |
| "xfa/include/fxfa/fxfa_widget.h", |
| ] |
| include_dirs = [ "." ] |
| if (pdf_enable_v8) { |
| sources += [ |
| "xfa/fxjse/cfxjse_arguments.h", |
| "xfa/fxjse/class.cpp", |
| "xfa/fxjse/class.h", |
| "xfa/fxjse/context.cpp", |
| "xfa/fxjse/context.h", |
| "xfa/fxjse/dynprop.cpp", |
| "xfa/fxjse/runtime.cpp", |
| "xfa/fxjse/runtime.h", |
| "xfa/fxjse/scope_inline.h", |
| "xfa/fxjse/util_inline.h", |
| "xfa/fxjse/value.cpp", |
| "xfa/fxjse/value.h", |
| ] |
| include_dirs += [ |
| "//v8", |
| "//v8/include", |
| ] |
| public_deps = [ |
| "//v8", |
| ] |
| deps = [ |
| "//v8:v8_libplatform", |
| ] |
| } |
| configs -= [ "//build/config/compiler:chromium_code" ] |
| configs += [ |
| ":pdfium_config", |
| "//build/config/compiler:no_chromium_code", |
| ] |
| } |
| } |
| |
| test("pdfium_unittests") { |
| sources = [ |
| "core/fpdfapi/fpdf_font/fpdf_font_cid_unittest.cpp", |
| "core/fpdfapi/fpdf_font/fpdf_font_unittest.cpp", |
| "core/fpdfapi/fpdf_page/fpdf_page_parser_old_unittest.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_parser_unittest.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_simple_parser_unittest.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_syntax_parser_unittest.cpp", |
| "core/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp", |
| "core/fpdfdoc/doc_basic_unittest.cpp", |
| "core/fpdftext/fpdf_text_int_unittest.cpp", |
| "core/fxcodec/codec/fx_codec_jpx_unittest.cpp", |
| "core/fxcrt/cfx_retain_ptr_unittest.cpp", |
| "core/fxcrt/fx_basic_bstring_unittest.cpp", |
| "core/fxcrt/fx_basic_gcc_unittest.cpp", |
| "core/fxcrt/fx_basic_memmgr_unittest.cpp", |
| "core/fxcrt/fx_basic_wstring_unittest.cpp", |
| "core/fxcrt/fx_bidi_unittest.cpp", |
| "core/fxcrt/fx_extension_unittest.cpp", |
| "core/fxcrt/fx_system_unittest.cpp", |
| "fpdfsdk/fpdfdoc_unittest.cpp", |
| ] |
| deps = [ |
| ":pdfium", |
| ":test_support", |
| "//testing/gtest", |
| "//testing/gtest:gtest_main", |
| ] |
| include_dirs = [] |
| if (pdf_enable_xfa) { |
| sources += [ |
| "xfa/fde/xml/fde_xml_imp_unittest.cpp", |
| "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", |
| "xfa/fxfa/parser/xfa_utils_imp_unittest.cpp", |
| ] |
| } |
| if (pdf_enable_v8) { |
| sources += [ "fpdfsdk/javascript/public_methods_unittest.cpp" ] |
| include_dirs += [ |
| "//v8", |
| "//v8/include", |
| ] |
| } |
| configs += [ ":pdfium_config" ] |
| } |
| |
| test("pdfium_embeddertests") { |
| sources = [ |
| "core/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp", |
| "core/fpdfapi/fpdf_parser/cpdf_parser_embeddertest.cpp", |
| "core/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", |
| "core/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp", |
| "core/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp", |
| "fpdfsdk/fpdf_dataavail_embeddertest.cpp", |
| "fpdfsdk/fpdfdoc_embeddertest.cpp", |
| "fpdfsdk/fpdfedit_embeddertest.cpp", |
| "fpdfsdk/fpdfext_embeddertest.cpp", |
| "fpdfsdk/fpdfformfill_embeddertest.cpp", |
| "fpdfsdk/fpdfsave_embeddertest.cpp", |
| "fpdfsdk/fpdftext_embeddertest.cpp", |
| "fpdfsdk/fpdfview_c_api_test.c", |
| "fpdfsdk/fpdfview_c_api_test.h", |
| "fpdfsdk/fpdfview_embeddertest.cpp", |
| "fpdfsdk/fsdk_baseform_embeddertest.cpp", |
| "testing/embedder_test.cpp", |
| "testing/embedder_test.h", |
| "testing/embedder_test_mock_delegate.h", |
| "testing/embedder_test_timer_handling_delegate.h", |
| "xfa/fxfa/parser/xfa_parser_imp_embeddertest.cpp", |
| ] |
| deps = [ |
| ":pdfium", |
| ":test_support", |
| "//testing/gmock", |
| "//testing/gtest", |
| ] |
| include_dirs = [] |
| if (pdf_enable_v8) { |
| sources += [ |
| "fpdfsdk/javascript/public_methods_embeddertest.cpp", |
| "fpdfsdk/jsapi/fxjs_v8_embeddertest.cpp", |
| "testing/js_embedder_test.cpp", |
| "testing/js_embedder_test.h", |
| ] |
| deps += [ |
| "//v8", |
| "//v8:v8_libplatform", |
| ] |
| include_dirs += [ |
| "//v8", |
| "//v8/include", |
| ] |
| configs += [ "//v8:external_startup_data" ] |
| } |
| configs += [ ":pdfium_config" ] |
| } |