OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build_overrides/v8.gni") | 5 import("//build_overrides/v8.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("pdfium.gni") | 7 import("pdfium.gni") |
8 | 8 |
9 config("pdfium_common_config") { | 9 config("pdfium_common_config") { |
10 cflags = [] | 10 cflags = [] |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 "fpdfsdk/include/cpdfsdk_annothandlermgr.h", | 97 "fpdfsdk/include/cpdfsdk_annothandlermgr.h", |
98 "fpdfsdk/include/cpdfsdk_annotiterator.h", | 98 "fpdfsdk/include/cpdfsdk_annotiterator.h", |
99 "fpdfsdk/include/cpdfsdk_baannot.h", | 99 "fpdfsdk/include/cpdfsdk_baannot.h", |
100 "fpdfsdk/include/cpdfsdk_baannothandler.h", | 100 "fpdfsdk/include/cpdfsdk_baannothandler.h", |
101 "fpdfsdk/include/cpdfsdk_bfannothandler.h", | 101 "fpdfsdk/include/cpdfsdk_bfannothandler.h", |
102 "fpdfsdk/include/cpdfsdk_datetime.h", | 102 "fpdfsdk/include/cpdfsdk_datetime.h", |
103 "fpdfsdk/include/cpdfsdk_interform.h", | 103 "fpdfsdk/include/cpdfsdk_interform.h", |
104 "fpdfsdk/include/cpdfsdk_widget.h", | 104 "fpdfsdk/include/cpdfsdk_widget.h", |
105 "fpdfsdk/include/fsdk_actionhandler.h", | 105 "fpdfsdk/include/fsdk_actionhandler.h", |
106 "fpdfsdk/include/fsdk_pauseadapter.h", | 106 "fpdfsdk/include/fsdk_pauseadapter.h", |
107 "fpdfsdk/include/ifpdfsdk_annothandler.h", | |
108 "fpdfsdk/include/pdfsdk_fieldaction.h", | 107 "fpdfsdk/include/pdfsdk_fieldaction.h", |
109 "fpdfsdk/pdfsdk_fieldaction.cpp", | 108 "fpdfsdk/pdfsdk_fieldaction.cpp", |
110 "public/fpdf_dataavail.h", | 109 "public/fpdf_dataavail.h", |
111 "public/fpdf_doc.h", | 110 "public/fpdf_doc.h", |
112 "public/fpdf_edit.h", | 111 "public/fpdf_edit.h", |
113 "public/fpdf_ext.h", | 112 "public/fpdf_ext.h", |
114 "public/fpdf_flatten.h", | 113 "public/fpdf_flatten.h", |
115 "public/fpdf_formfill.h", | 114 "public/fpdf_formfill.h", |
116 "public/fpdf_fwlevent.h", | 115 "public/fpdf_fwlevent.h", |
117 "public/fpdf_ppo.h", | 116 "public/fpdf_ppo.h", |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 "core/fpdfdoc/include/cpdf_viewerpreferences.h", | 298 "core/fpdfdoc/include/cpdf_viewerpreferences.h", |
300 "core/fpdfdoc/include/cpvt_line.h", | 299 "core/fpdfdoc/include/cpvt_line.h", |
301 "core/fpdfdoc/include/cpvt_secprops.h", | 300 "core/fpdfdoc/include/cpvt_secprops.h", |
302 "core/fpdfdoc/include/cpvt_section.h", | 301 "core/fpdfdoc/include/cpvt_section.h", |
303 "core/fpdfdoc/include/cpvt_word.h", | 302 "core/fpdfdoc/include/cpvt_word.h", |
304 "core/fpdfdoc/include/cpvt_wordplace.h", | 303 "core/fpdfdoc/include/cpvt_wordplace.h", |
305 "core/fpdfdoc/include/cpvt_wordprops.h", | 304 "core/fpdfdoc/include/cpvt_wordprops.h", |
306 "core/fpdfdoc/include/cpvt_wordrange.h", | 305 "core/fpdfdoc/include/cpvt_wordrange.h", |
307 "core/fpdfdoc/include/fpdf_tagged.h", | 306 "core/fpdfdoc/include/fpdf_tagged.h", |
308 "core/fpdfdoc/include/ipdf_formnotify.h", | 307 "core/fpdfdoc/include/ipdf_formnotify.h", |
| 308 "core/fpdfdoc/include/ipvt_fontmap.h", |
309 "core/fpdfdoc/ipdf_formnotify.cpp", | 309 "core/fpdfdoc/ipdf_formnotify.cpp", |
310 "core/fpdfdoc/ipvt_fontmap.h", | |
311 "core/fpdfdoc/tagged_int.h", | 310 "core/fpdfdoc/tagged_int.h", |
312 ] | 311 ] |
313 configs += [ ":pdfium_core_config" ] | 312 configs += [ ":pdfium_core_config" ] |
314 } | 313 } |
315 | 314 |
316 static_library("fpdfapi") { | 315 static_library("fpdfapi") { |
317 sources = [ | 316 sources = [ |
318 "core/fpdfapi/cpdf_modulemgr.cpp", | 317 "core/fpdfapi/cpdf_modulemgr.cpp", |
319 "core/fpdfapi/cpdf_pagerendercontext.cpp", | 318 "core/fpdfapi/cpdf_pagerendercontext.cpp", |
320 "core/fpdfapi/fpdf_cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp", | 319 "core/fpdfapi/fpdf_cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp", |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 } | 541 } |
543 | 542 |
544 static_library("fpdftext") { | 543 static_library("fpdftext") { |
545 sources = [ | 544 sources = [ |
546 "core/fpdftext/cpdf_linkextract.cpp", | 545 "core/fpdftext/cpdf_linkextract.cpp", |
547 "core/fpdftext/cpdf_textpage.cpp", | 546 "core/fpdftext/cpdf_textpage.cpp", |
548 "core/fpdftext/cpdf_textpagefind.cpp", | 547 "core/fpdftext/cpdf_textpagefind.cpp", |
549 "core/fpdftext/include/cpdf_linkextract.h", | 548 "core/fpdftext/include/cpdf_linkextract.h", |
550 "core/fpdftext/include/cpdf_textpage.h", | 549 "core/fpdftext/include/cpdf_textpage.h", |
551 "core/fpdftext/include/cpdf_textpagefind.h", | 550 "core/fpdftext/include/cpdf_textpagefind.h", |
552 "core/fpdftext/text_int.h", | |
553 "core/fpdftext/unicodenormalizationdata.cpp", | 551 "core/fpdftext/unicodenormalizationdata.cpp", |
554 "core/fpdftext/unicodenormalizationdata.h", | 552 "core/fpdftext/unicodenormalizationdata.h", |
555 ] | 553 ] |
556 configs += [ ":pdfium_core_config" ] | 554 configs += [ ":pdfium_core_config" ] |
557 } | 555 } |
558 | 556 |
559 static_library("fxcodec") { | 557 static_library("fxcodec") { |
560 deps = [ | 558 deps = [ |
561 "third_party:fx_lcms2", | 559 "third_party:fx_lcms2", |
562 "third_party:fx_libopenjpeg", | 560 "third_party:fx_libopenjpeg", |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 "core/fxcrt/include/fx_string.h", | 702 "core/fxcrt/include/fx_string.h", |
705 "core/fxcrt/include/fx_system.h", | 703 "core/fxcrt/include/fx_system.h", |
706 "core/fxcrt/include/fx_ucd.h", | 704 "core/fxcrt/include/fx_ucd.h", |
707 "core/fxcrt/include/fx_xml.h", | 705 "core/fxcrt/include/fx_xml.h", |
708 "core/fxcrt/plex.h", | 706 "core/fxcrt/plex.h", |
709 "core/fxcrt/xml_int.h", | 707 "core/fxcrt/xml_int.h", |
710 ] | 708 ] |
711 if (pdf_enable_xfa) { | 709 if (pdf_enable_xfa) { |
712 sources += [ | 710 sources += [ |
713 "core/fxcrt/fx_arabic.cpp", | 711 "core/fxcrt/fx_arabic.cpp", |
714 "core/fxcrt/fx_arabic.h", | |
715 "core/fxcrt/fx_basic_maps.cpp", | 712 "core/fxcrt/fx_basic_maps.cpp", |
| 713 "core/fxcrt/include/fx_arabic.h", |
716 "core/fxcrt/include/fx_arb.h", | 714 "core/fxcrt/include/fx_arb.h", |
717 ] | 715 ] |
718 } | 716 } |
719 configs += [ ":pdfium_core_config" ] | 717 configs += [ ":pdfium_core_config" ] |
720 } | 718 } |
721 | 719 |
722 static_library("fxge") { | 720 static_library("fxge") { |
723 sources = [ | 721 sources = [ |
724 "core/fxge/android/fpf_skiafont.cpp", | 722 "core/fxge/android/fpf_skiafont.cpp", |
725 "core/fxge/android/fpf_skiafont.h", | 723 "core/fxge/android/fpf_skiafont.h", |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
773 "core/fxge/ge/cfx_renderdevice.cpp", | 771 "core/fxge/ge/cfx_renderdevice.cpp", |
774 "core/fxge/ge/cfx_substfont.cpp", | 772 "core/fxge/ge/cfx_substfont.cpp", |
775 "core/fxge/ge/cfx_unicodeencoding.cpp", | 773 "core/fxge/ge/cfx_unicodeencoding.cpp", |
776 "core/fxge/ge/cttfontdesc.cpp", | 774 "core/fxge/ge/cttfontdesc.cpp", |
777 "core/fxge/ge/cttfontdesc.h", | 775 "core/fxge/ge/cttfontdesc.h", |
778 "core/fxge/ge/fx_ge_font.cpp", | 776 "core/fxge/ge/fx_ge_font.cpp", |
779 "core/fxge/ge/fx_ge_fontmap.cpp", | 777 "core/fxge/ge/fx_ge_fontmap.cpp", |
780 "core/fxge/ge/fx_ge_linux.cpp", | 778 "core/fxge/ge/fx_ge_linux.cpp", |
781 "core/fxge/ge/fx_ge_text.cpp", | 779 "core/fxge/ge/fx_ge_text.cpp", |
782 "core/fxge/ge/fx_text_int.h", | 780 "core/fxge/ge/fx_text_int.h", |
783 "core/fxge/ge/include/cfx_fontmapper.h", | |
784 "core/fxge/ge/include/cfx_fontmgr.h", | |
785 "core/fxge/ge/include/ifx_systemfontinfo.h", | |
786 "core/fxge/ifx_renderdevicedriver.cpp", | 781 "core/fxge/ifx_renderdevicedriver.cpp", |
787 "core/fxge/include/cfx_autofontcache.h", | 782 "core/fxge/include/cfx_autofontcache.h", |
788 "core/fxge/include/cfx_facecache.h", | 783 "core/fxge/include/cfx_facecache.h", |
789 "core/fxge/include/cfx_fontcache.h", | 784 "core/fxge/include/cfx_fontcache.h", |
| 785 "core/fxge/include/cfx_fontmapper.h", |
| 786 "core/fxge/include/cfx_fontmgr.h", |
790 "core/fxge/include/cfx_fxgedevice.h", | 787 "core/fxge/include/cfx_fxgedevice.h", |
791 "core/fxge/include/cfx_gemodule.h", | 788 "core/fxge/include/cfx_gemodule.h", |
792 "core/fxge/include/cfx_graphstatedata.h", | 789 "core/fxge/include/cfx_graphstatedata.h", |
793 "core/fxge/include/cfx_pathdata.h", | 790 "core/fxge/include/cfx_pathdata.h", |
794 "core/fxge/include/cfx_renderdevice.h", | 791 "core/fxge/include/cfx_renderdevice.h", |
795 "core/fxge/include/cfx_substfont.h", | 792 "core/fxge/include/cfx_substfont.h", |
796 "core/fxge/include/cfx_unicodeencoding.h", | 793 "core/fxge/include/cfx_unicodeencoding.h", |
797 "core/fxge/include/cfx_windowsdevice.h", | 794 "core/fxge/include/cfx_windowsdevice.h", |
798 "core/fxge/include/fx_dib.h", | 795 "core/fxge/include/fx_dib.h", |
799 "core/fxge/include/fx_font.h", | 796 "core/fxge/include/fx_font.h", |
800 "core/fxge/include/fx_freetype.h", | 797 "core/fxge/include/fx_freetype.h", |
801 "core/fxge/include/ifx_renderdevicedriver.h", | 798 "core/fxge/include/ifx_renderdevicedriver.h", |
| 799 "core/fxge/include/ifx_systemfontinfo.h", |
802 "core/fxge/win32/cfx_windowsdib.h", | 800 "core/fxge/win32/cfx_windowsdib.h", |
803 ] | 801 ] |
804 | 802 |
805 configs += [ | 803 configs += [ |
806 ":fxge_warnings", | 804 ":fxge_warnings", |
807 ":pdfium_core_config", | 805 ":pdfium_core_config", |
808 ] | 806 ] |
809 | 807 |
810 if (pdf_enable_xfa) { | 808 if (pdf_enable_xfa) { |
811 sources += [ | 809 sources += [ |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1060 "xfa/fde/css/fde_cssdatatable.h", | 1058 "xfa/fde/css/fde_cssdatatable.h", |
1061 "xfa/fde/css/fde_cssdeclaration.cpp", | 1059 "xfa/fde/css/fde_cssdeclaration.cpp", |
1062 "xfa/fde/css/fde_cssdeclaration.h", | 1060 "xfa/fde/css/fde_cssdeclaration.h", |
1063 "xfa/fde/css/fde_cssstyleselector.cpp", | 1061 "xfa/fde/css/fde_cssstyleselector.cpp", |
1064 "xfa/fde/css/fde_cssstyleselector.h", | 1062 "xfa/fde/css/fde_cssstyleselector.h", |
1065 "xfa/fde/css/fde_cssstylesheet.cpp", | 1063 "xfa/fde/css/fde_cssstylesheet.cpp", |
1066 "xfa/fde/css/fde_cssstylesheet.h", | 1064 "xfa/fde/css/fde_cssstylesheet.h", |
1067 "xfa/fde/css/fde_csssyntax.cpp", | 1065 "xfa/fde/css/fde_csssyntax.cpp", |
1068 "xfa/fde/css/fde_csssyntax.h", | 1066 "xfa/fde/css/fde_csssyntax.h", |
1069 "xfa/fde/fde_gedevice.cpp", | 1067 "xfa/fde/fde_gedevice.cpp", |
1070 "xfa/fde/fde_geobject.h", | |
1071 "xfa/fde/fde_iterator.cpp", | 1068 "xfa/fde/fde_iterator.cpp", |
1072 "xfa/fde/fde_iterator.h", | 1069 "xfa/fde/fde_iterator.h", |
1073 "xfa/fde/fde_object.h", | 1070 "xfa/fde/fde_object.h", |
1074 "xfa/fde/fde_render.cpp", | 1071 "xfa/fde/fde_render.cpp", |
1075 "xfa/fde/fde_render.h", | 1072 "xfa/fde/fde_render.h", |
1076 "xfa/fde/ifde_txtedtdorecord.h", | 1073 "xfa/fde/ifde_txtedtdorecord.h", |
1077 "xfa/fde/ifde_txtedtengine.h", | 1074 "xfa/fde/ifde_txtedtengine.h", |
1078 "xfa/fde/ifde_txtedtpage.h", | 1075 "xfa/fde/ifde_txtedtpage.h", |
1079 "xfa/fde/ifx_chariter.h", | 1076 "xfa/fde/ifx_chariter.h", |
1080 "xfa/fde/tto/fde_textout.cpp", | 1077 "xfa/fde/tto/fde_textout.cpp", |
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1712 } | 1709 } |
1713 | 1710 |
1714 if (pdf_is_standalone) { | 1711 if (pdf_is_standalone) { |
1715 source_set("samples") { | 1712 source_set("samples") { |
1716 testonly = true | 1713 testonly = true |
1717 deps = [ | 1714 deps = [ |
1718 "//samples", | 1715 "//samples", |
1719 ] | 1716 ] |
1720 } | 1717 } |
1721 } | 1718 } |
OLD | NEW |