| 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 ":fxcodec", | 135 ":fxcodec", |
| 136 ":fxcrt", | 136 ":fxcrt", |
| 137 ":fxedit", | 137 ":fxedit", |
| 138 ":fxge", | 138 ":fxge", |
| 139 ":javascript", | 139 ":javascript", |
| 140 ":pdfwindow", | 140 ":pdfwindow", |
| 141 "third_party:bigint", | 141 "third_party:bigint", |
| 142 "third_party:pdfium_base", | 142 "third_party:pdfium_base", |
| 143 ] | 143 ] |
| 144 | 144 |
| 145 public_deps = [ | |
| 146 ":fxcrt", | |
| 147 ] | |
| 148 if (pdf_enable_xfa) { | 145 if (pdf_enable_xfa) { |
| 149 sources += [ | 146 sources += [ |
| 150 "fpdfsdk/cpdfsdk_xfawidget.cpp", | 147 "fpdfsdk/cpdfsdk_xfawidget.cpp", |
| 151 "fpdfsdk/cpdfsdk_xfawidgethandler.cpp", | 148 "fpdfsdk/cpdfsdk_xfawidgethandler.cpp", |
| 152 "fpdfsdk/include/cpdfsdk_xfawidget.h", | 149 "fpdfsdk/include/cpdfsdk_xfawidget.h", |
| 153 "fpdfsdk/include/cpdfsdk_xfawidgethandler.h", | 150 "fpdfsdk/include/cpdfsdk_xfawidgethandler.h", |
| 154 ] | 151 ] |
| 155 | 152 |
| 156 deps += [ ":fpdfxfa" ] | 153 deps += [ ":fpdfxfa" ] |
| 157 } | 154 } |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 ] | 212 ] |
| 216 | 213 |
| 217 static_library("fdrm") { | 214 static_library("fdrm") { |
| 218 sources = [ | 215 sources = [ |
| 219 "core/fdrm/crypto/fx_crypt.cpp", | 216 "core/fdrm/crypto/fx_crypt.cpp", |
| 220 "core/fdrm/crypto/fx_crypt_aes.cpp", | 217 "core/fdrm/crypto/fx_crypt_aes.cpp", |
| 221 "core/fdrm/crypto/fx_crypt_sha.cpp", | 218 "core/fdrm/crypto/fx_crypt_sha.cpp", |
| 222 "core/fdrm/crypto/include/fx_crypt.h", | 219 "core/fdrm/crypto/include/fx_crypt.h", |
| 223 ] | 220 ] |
| 224 configs += [ ":pdfium_core_config" ] | 221 configs += [ ":pdfium_core_config" ] |
| 225 deps = [ | |
| 226 ":fxcrt", | |
| 227 ] | |
| 228 } | 222 } |
| 229 | 223 |
| 230 static_library("fpdfdoc") { | 224 static_library("fpdfdoc") { |
| 231 sources = [ | 225 sources = [ |
| 232 "core/fpdfdoc/cline.cpp", | 226 "core/fpdfdoc/cline.cpp", |
| 233 "core/fpdfdoc/cline.h", | 227 "core/fpdfdoc/cline.h", |
| 234 "core/fpdfdoc/clines.cpp", | 228 "core/fpdfdoc/clines.cpp", |
| 235 "core/fpdfdoc/clines.h", | 229 "core/fpdfdoc/clines.h", |
| 236 "core/fpdfdoc/cpdf_aaction.cpp", | 230 "core/fpdfdoc/cpdf_aaction.cpp", |
| 237 "core/fpdfdoc/cpdf_action.cpp", | 231 "core/fpdfdoc/cpdf_action.cpp", |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 "core/fpdfdoc/include/cpvt_wordplace.h", | 303 "core/fpdfdoc/include/cpvt_wordplace.h", |
| 310 "core/fpdfdoc/include/cpvt_wordprops.h", | 304 "core/fpdfdoc/include/cpvt_wordprops.h", |
| 311 "core/fpdfdoc/include/cpvt_wordrange.h", | 305 "core/fpdfdoc/include/cpvt_wordrange.h", |
| 312 "core/fpdfdoc/include/fpdf_tagged.h", | 306 "core/fpdfdoc/include/fpdf_tagged.h", |
| 313 "core/fpdfdoc/include/ipdf_formnotify.h", | 307 "core/fpdfdoc/include/ipdf_formnotify.h", |
| 314 "core/fpdfdoc/include/ipvt_fontmap.h", | 308 "core/fpdfdoc/include/ipvt_fontmap.h", |
| 315 "core/fpdfdoc/ipdf_formnotify.cpp", | 309 "core/fpdfdoc/ipdf_formnotify.cpp", |
| 316 "core/fpdfdoc/tagged_int.h", | 310 "core/fpdfdoc/tagged_int.h", |
| 317 ] | 311 ] |
| 318 configs += [ ":pdfium_core_config" ] | 312 configs += [ ":pdfium_core_config" ] |
| 319 deps = [ | |
| 320 ":fxcrt", | |
| 321 ] | |
| 322 } | 313 } |
| 323 | 314 |
| 324 static_library("fpdfapi") { | 315 static_library("fpdfapi") { |
| 325 sources = [ | 316 sources = [ |
| 326 "core/fpdfapi/cpdf_modulemgr.cpp", | 317 "core/fpdfapi/cpdf_modulemgr.cpp", |
| 327 "core/fpdfapi/cpdf_pagerendercontext.cpp", | 318 "core/fpdfapi/cpdf_pagerendercontext.cpp", |
| 328 "core/fpdfapi/fpdf_cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp", | 319 "core/fpdfapi/fpdf_cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp", |
| 329 "core/fpdfapi/fpdf_cmaps/CNS1/B5pc-H_0.cpp", | 320 "core/fpdfapi/fpdf_cmaps/CNS1/B5pc-H_0.cpp", |
| 330 "core/fpdfapi/fpdf_cmaps/CNS1/B5pc-V_0.cpp", | 321 "core/fpdfapi/fpdf_cmaps/CNS1/B5pc-V_0.cpp", |
| 331 "core/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-H_0.cpp", | 322 "core/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-H_0.cpp", |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 "core/fpdfapi/fpdf_render/fpdf_render_text.cpp", | 532 "core/fpdfapi/fpdf_render/fpdf_render_text.cpp", |
| 542 "core/fpdfapi/fpdf_render/include/cpdf_progressiverenderer.h", | 533 "core/fpdfapi/fpdf_render/include/cpdf_progressiverenderer.h", |
| 543 "core/fpdfapi/fpdf_render/include/cpdf_rendercontext.h", | 534 "core/fpdfapi/fpdf_render/include/cpdf_rendercontext.h", |
| 544 "core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h", | 535 "core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h", |
| 545 "core/fpdfapi/fpdf_render/include/cpdf_textrenderer.h", | 536 "core/fpdfapi/fpdf_render/include/cpdf_textrenderer.h", |
| 546 "core/fpdfapi/fpdf_render/render_int.h", | 537 "core/fpdfapi/fpdf_render/render_int.h", |
| 547 "core/fpdfapi/include/cpdf_modulemgr.h", | 538 "core/fpdfapi/include/cpdf_modulemgr.h", |
| 548 "core/fpdfapi/include/cpdf_pagerendercontext.h", | 539 "core/fpdfapi/include/cpdf_pagerendercontext.h", |
| 549 ] | 540 ] |
| 550 configs += [ ":pdfium_core_config" ] | 541 configs += [ ":pdfium_core_config" ] |
| 551 deps = [ | |
| 552 ":fxcrt", | |
| 553 ] | |
| 554 } | 542 } |
| 555 | 543 |
| 556 static_library("fpdftext") { | 544 static_library("fpdftext") { |
| 557 sources = [ | 545 sources = [ |
| 558 "core/fpdftext/cpdf_linkextract.cpp", | 546 "core/fpdftext/cpdf_linkextract.cpp", |
| 559 "core/fpdftext/cpdf_textpage.cpp", | 547 "core/fpdftext/cpdf_textpage.cpp", |
| 560 "core/fpdftext/cpdf_textpagefind.cpp", | 548 "core/fpdftext/cpdf_textpagefind.cpp", |
| 561 "core/fpdftext/include/cpdf_linkextract.h", | 549 "core/fpdftext/include/cpdf_linkextract.h", |
| 562 "core/fpdftext/include/cpdf_textpage.h", | 550 "core/fpdftext/include/cpdf_textpage.h", |
| 563 "core/fpdftext/include/cpdf_textpagefind.h", | 551 "core/fpdftext/include/cpdf_textpagefind.h", |
| 564 "core/fpdftext/unicodenormalizationdata.cpp", | 552 "core/fpdftext/unicodenormalizationdata.cpp", |
| 565 "core/fpdftext/unicodenormalizationdata.h", | 553 "core/fpdftext/unicodenormalizationdata.h", |
| 566 ] | 554 ] |
| 567 configs += [ ":pdfium_core_config" ] | 555 configs += [ ":pdfium_core_config" ] |
| 568 deps = [ | |
| 569 ":fxcrt", | |
| 570 ] | |
| 571 } | 556 } |
| 572 | 557 |
| 573 static_library("fxcodec") { | 558 static_library("fxcodec") { |
| 559 deps = [ |
| 560 "third_party:fx_lcms2", |
| 561 "third_party:fx_libopenjpeg", |
| 562 "third_party:fx_zlib", |
| 563 |
| 564 # This is a generic JPEG library dependency. |
| 565 "//third_party:jpeg", |
| 566 ] |
| 574 sources = [ | 567 sources = [ |
| 575 "core/fxcodec/codec/ccodec_basicmodule.h", | 568 "core/fxcodec/codec/ccodec_basicmodule.h", |
| 576 "core/fxcodec/codec/ccodec_faxmodule.h", | 569 "core/fxcodec/codec/ccodec_faxmodule.h", |
| 577 "core/fxcodec/codec/ccodec_flatemodule.h", | 570 "core/fxcodec/codec/ccodec_flatemodule.h", |
| 578 "core/fxcodec/codec/ccodec_iccmodule.h", | 571 "core/fxcodec/codec/ccodec_iccmodule.h", |
| 579 "core/fxcodec/codec/ccodec_jbig2module.h", | 572 "core/fxcodec/codec/ccodec_jbig2module.h", |
| 580 "core/fxcodec/codec/ccodec_jpegmodule.h", | 573 "core/fxcodec/codec/ccodec_jpegmodule.h", |
| 581 "core/fxcodec/codec/ccodec_jpxmodule.h", | 574 "core/fxcodec/codec/ccodec_jpxmodule.h", |
| 582 "core/fxcodec/codec/ccodec_scanlinedecoder.h", | 575 "core/fxcodec/codec/ccodec_scanlinedecoder.h", |
| 583 "core/fxcodec/codec/codec_int.h", | 576 "core/fxcodec/codec/codec_int.h", |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 624 "core/fxcodec/jbig2/JBig2_PddProc.h", | 617 "core/fxcodec/jbig2/JBig2_PddProc.h", |
| 625 "core/fxcodec/jbig2/JBig2_SddProc.cpp", | 618 "core/fxcodec/jbig2/JBig2_SddProc.cpp", |
| 626 "core/fxcodec/jbig2/JBig2_SddProc.h", | 619 "core/fxcodec/jbig2/JBig2_SddProc.h", |
| 627 "core/fxcodec/jbig2/JBig2_Segment.cpp", | 620 "core/fxcodec/jbig2/JBig2_Segment.cpp", |
| 628 "core/fxcodec/jbig2/JBig2_Segment.h", | 621 "core/fxcodec/jbig2/JBig2_Segment.h", |
| 629 "core/fxcodec/jbig2/JBig2_SymbolDict.cpp", | 622 "core/fxcodec/jbig2/JBig2_SymbolDict.cpp", |
| 630 "core/fxcodec/jbig2/JBig2_SymbolDict.h", | 623 "core/fxcodec/jbig2/JBig2_SymbolDict.h", |
| 631 "core/fxcodec/jbig2/JBig2_TrdProc.cpp", | 624 "core/fxcodec/jbig2/JBig2_TrdProc.cpp", |
| 632 "core/fxcodec/jbig2/JBig2_TrdProc.h", | 625 "core/fxcodec/jbig2/JBig2_TrdProc.h", |
| 633 ] | 626 ] |
| 634 configs += [ ":pdfium_core_config" ] | |
| 635 include_dirs = [] | 627 include_dirs = [] |
| 636 deps = [ | |
| 637 ":fxcrt", | |
| 638 "third_party:fx_lcms2", | |
| 639 "third_party:fx_libopenjpeg", | |
| 640 "third_party:fx_zlib", | |
| 641 | |
| 642 # This is a generic JPEG library dependency. | |
| 643 "//third_party:jpeg", | |
| 644 ] | |
| 645 | |
| 646 if (pdf_enable_xfa) { | 628 if (pdf_enable_xfa) { |
| 647 sources += [ | 629 sources += [ |
| 648 "core/fxcodec/codec/ccodec_bmpmodule.h", | 630 "core/fxcodec/codec/ccodec_bmpmodule.h", |
| 649 "core/fxcodec/codec/ccodec_gifmodule.h", | 631 "core/fxcodec/codec/ccodec_gifmodule.h", |
| 650 "core/fxcodec/codec/ccodec_pngmodule.h", | 632 "core/fxcodec/codec/ccodec_pngmodule.h", |
| 651 "core/fxcodec/codec/ccodec_tiffmodule.h", | 633 "core/fxcodec/codec/ccodec_tiffmodule.h", |
| 652 "core/fxcodec/codec/fx_codec_bmp.cpp", | 634 "core/fxcodec/codec/fx_codec_bmp.cpp", |
| 653 "core/fxcodec/codec/fx_codec_gif.cpp", | 635 "core/fxcodec/codec/fx_codec_gif.cpp", |
| 654 "core/fxcodec/codec/fx_codec_png.cpp", | 636 "core/fxcodec/codec/fx_codec_png.cpp", |
| 655 "core/fxcodec/codec/fx_codec_progress.cpp", | 637 "core/fxcodec/codec/fx_codec_progress.cpp", |
| 656 "core/fxcodec/codec/fx_codec_tiff.cpp", | 638 "core/fxcodec/codec/fx_codec_tiff.cpp", |
| 657 "core/fxcodec/codec/include/ccodec_progressivedecoder.h", | 639 "core/fxcodec/codec/include/ccodec_progressivedecoder.h", |
| 658 "core/fxcodec/lbmp/fx_bmp.cpp", | 640 "core/fxcodec/lbmp/fx_bmp.cpp", |
| 659 "core/fxcodec/lbmp/fx_bmp.h", | 641 "core/fxcodec/lbmp/fx_bmp.h", |
| 660 "core/fxcodec/lgif/fx_gif.cpp", | 642 "core/fxcodec/lgif/fx_gif.cpp", |
| 661 "core/fxcodec/lgif/fx_gif.h", | 643 "core/fxcodec/lgif/fx_gif.h", |
| 662 ] | 644 ] |
| 663 deps += [ | 645 deps += [ |
| 664 "third_party:fx_lpng", | 646 "third_party:fx_lpng", |
| 665 "third_party:fx_tiff", | 647 "third_party:fx_tiff", |
| 666 ] | 648 ] |
| 667 } | 649 } |
| 668 if (is_posix) { | 650 if (is_posix) { |
| 669 # core/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int | 651 # core/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int |
| 670 # conversion to check that an address is 16-bit aligned (benign). | 652 # conversion to check that an address is 16-bit aligned (benign). |
| 671 cflags_c = [ "-Wno-pointer-to-int-cast" ] | 653 cflags_c = [ "-Wno-pointer-to-int-cast" ] |
| 672 } | 654 } |
| 655 configs += [ ":pdfium_core_config" ] |
| 673 } | 656 } |
| 674 | 657 |
| 675 config("fxge_warnings") { | 658 config("fxge_warnings") { |
| 676 if (is_clang) { | 659 if (is_clang) { |
| 677 cflags = [ | 660 cflags = [ |
| 678 # http://code.google.com/p/pdfium/issues/detail?id=188 | 661 # http://code.google.com/p/pdfium/issues/detail?id=188 |
| 679 "-Wno-switch", | 662 "-Wno-switch", |
| 680 ] | 663 ] |
| 681 } | 664 } |
| 682 } | 665 } |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 718 "core/fxcrt/include/fx_safe_types.h", | 701 "core/fxcrt/include/fx_safe_types.h", |
| 719 "core/fxcrt/include/fx_stream.h", | 702 "core/fxcrt/include/fx_stream.h", |
| 720 "core/fxcrt/include/fx_string.h", | 703 "core/fxcrt/include/fx_string.h", |
| 721 "core/fxcrt/include/fx_system.h", | 704 "core/fxcrt/include/fx_system.h", |
| 722 "core/fxcrt/include/fx_ucd.h", | 705 "core/fxcrt/include/fx_ucd.h", |
| 723 "core/fxcrt/include/fx_xml.h", | 706 "core/fxcrt/include/fx_xml.h", |
| 724 "core/fxcrt/plex.h", | 707 "core/fxcrt/plex.h", |
| 725 "core/fxcrt/xml_int.h", | 708 "core/fxcrt/xml_int.h", |
| 726 ] | 709 ] |
| 727 configs += [ ":pdfium_core_config" ] | 710 configs += [ ":pdfium_core_config" ] |
| 728 visibility += [ "//third_party:*" ] | |
| 729 deps = [ | |
| 730 "//third_party:pdfium_base", | |
| 731 ] | |
| 732 public_deps = [ | |
| 733 "//third_party:pdfium_base", | |
| 734 ] | |
| 735 | 711 |
| 736 if (pdf_enable_xfa) { | 712 if (pdf_enable_xfa) { |
| 737 sources += [ | 713 sources += [ |
| 738 "core/fxcrt/fx_arabic.cpp", | 714 "core/fxcrt/fx_arabic.cpp", |
| 739 "core/fxcrt/fx_basic_maps.cpp", | 715 "core/fxcrt/fx_basic_maps.cpp", |
| 740 "core/fxcrt/include/fx_arabic.h", | 716 "core/fxcrt/include/fx_arabic.h", |
| 741 "core/fxcrt/include/fx_arb.h", | 717 "core/fxcrt/include/fx_arb.h", |
| 742 ] | 718 ] |
| 743 } | 719 } |
| 744 } | 720 } |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 824 "core/fxge/include/ifx_renderdevicedriver.h", | 800 "core/fxge/include/ifx_renderdevicedriver.h", |
| 825 "core/fxge/include/ifx_systemfontinfo.h", | 801 "core/fxge/include/ifx_systemfontinfo.h", |
| 826 "core/fxge/win32/cfx_windowsdib.h", | 802 "core/fxge/win32/cfx_windowsdib.h", |
| 827 ] | 803 ] |
| 828 | 804 |
| 829 configs += [ | 805 configs += [ |
| 830 ":fxge_warnings", | 806 ":fxge_warnings", |
| 831 ":pdfium_core_config", | 807 ":pdfium_core_config", |
| 832 ] | 808 ] |
| 833 | 809 |
| 834 deps = [ | |
| 835 ":fxcrt", | |
| 836 ] | |
| 837 | |
| 838 if (pdf_enable_xfa) { | 810 if (pdf_enable_xfa) { |
| 839 sources += [ | 811 sources += [ |
| 840 "core/fxge/ge/cfx_unicodeencodingex.cpp", | 812 "core/fxge/ge/cfx_unicodeencodingex.cpp", |
| 841 "core/fxge/include/cfx_unicodeencodingex.h", | 813 "core/fxge/include/cfx_unicodeencodingex.h", |
| 842 ] | 814 ] |
| 843 } | 815 } |
| 844 | 816 |
| 845 if (pdf_use_skia) { | 817 if (pdf_use_skia) { |
| 846 sources += [ "core/fxge/skia/fx_skia_device.cpp" ] | 818 sources += [ "core/fxge/skia/fx_skia_device.cpp" ] |
| 847 deps += [ "//skia" ] | 819 deps = [ |
| 820 "//skia", |
| 821 ] |
| 848 } else { | 822 } else { |
| 849 sources += [ | 823 sources += [ |
| 850 "core/fxge/agg/fx_agg_driver.cpp", | 824 "core/fxge/agg/fx_agg_driver.cpp", |
| 851 "core/fxge/agg/fx_agg_driver.h", | 825 "core/fxge/agg/fx_agg_driver.h", |
| 852 "core/fxge/apple/fx_apple_platform.cpp", | 826 "core/fxge/apple/fx_apple_platform.cpp", |
| 853 ] | 827 ] |
| 854 deps += [ "third_party:fx_agg" ] | 828 deps = [ |
| 829 "third_party:fx_agg", |
| 830 ] |
| 855 } | 831 } |
| 856 | 832 |
| 857 if (is_win) { | 833 if (is_win) { |
| 858 sources += [ | 834 sources += [ |
| 859 "core/fxge/win32/dwrite_int.h", | 835 "core/fxge/win32/dwrite_int.h", |
| 860 "core/fxge/win32/fx_win32_device.cpp", | 836 "core/fxge/win32/fx_win32_device.cpp", |
| 861 "core/fxge/win32/fx_win32_dib.cpp", | 837 "core/fxge/win32/fx_win32_dib.cpp", |
| 862 "core/fxge/win32/fx_win32_dwrite.cpp", | 838 "core/fxge/win32/fx_win32_dwrite.cpp", |
| 863 "core/fxge/win32/fx_win32_gdipext.cpp", | 839 "core/fxge/win32/fx_win32_gdipext.cpp", |
| 864 "core/fxge/win32/fx_win32_print.cpp", | 840 "core/fxge/win32/fx_win32_print.cpp", |
| 865 "core/fxge/win32/win32_int.h", | 841 "core/fxge/win32/win32_int.h", |
| 866 ] | 842 ] |
| 867 configs -= [ "//build/config/win:lean_and_mean" ] | 843 configs -= [ "//build/config/win:lean_and_mean" ] |
| 868 } | 844 } |
| 869 } | 845 } |
| 870 | 846 |
| 871 static_library("fxedit") { | 847 static_library("fxedit") { |
| 872 sources = [ | 848 sources = [ |
| 873 "fpdfsdk/fxedit/fxet_ap.cpp", | 849 "fpdfsdk/fxedit/fxet_ap.cpp", |
| 874 "fpdfsdk/fxedit/fxet_edit.cpp", | 850 "fpdfsdk/fxedit/fxet_edit.cpp", |
| 875 "fpdfsdk/fxedit/fxet_list.cpp", | 851 "fpdfsdk/fxedit/fxet_list.cpp", |
| 876 "fpdfsdk/fxedit/include/fx_edit.h", | 852 "fpdfsdk/fxedit/include/fx_edit.h", |
| 877 "fpdfsdk/fxedit/include/fxet_edit.h", | 853 "fpdfsdk/fxedit/include/fxet_edit.h", |
| 878 "fpdfsdk/fxedit/include/fxet_list.h", | 854 "fpdfsdk/fxedit/include/fxet_list.h", |
| 879 ] | 855 ] |
| 880 configs += [ ":pdfium_core_config" ] | 856 configs += [ ":pdfium_core_config" ] |
| 881 deps = [ | |
| 882 ":fxcrt", | |
| 883 ] | |
| 884 } | 857 } |
| 885 | 858 |
| 886 static_library("pdfwindow") { | 859 static_library("pdfwindow") { |
| 887 sources = [ | 860 sources = [ |
| 888 "fpdfsdk/pdfwindow/PWL_Button.cpp", | 861 "fpdfsdk/pdfwindow/PWL_Button.cpp", |
| 889 "fpdfsdk/pdfwindow/PWL_Button.h", | 862 "fpdfsdk/pdfwindow/PWL_Button.h", |
| 890 "fpdfsdk/pdfwindow/PWL_Caret.cpp", | 863 "fpdfsdk/pdfwindow/PWL_Caret.cpp", |
| 891 "fpdfsdk/pdfwindow/PWL_Caret.h", | 864 "fpdfsdk/pdfwindow/PWL_Caret.h", |
| 892 "fpdfsdk/pdfwindow/PWL_ComboBox.cpp", | 865 "fpdfsdk/pdfwindow/PWL_ComboBox.cpp", |
| 893 "fpdfsdk/pdfwindow/PWL_ComboBox.h", | 866 "fpdfsdk/pdfwindow/PWL_ComboBox.h", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 904 "fpdfsdk/pdfwindow/PWL_ScrollBar.cpp", | 877 "fpdfsdk/pdfwindow/PWL_ScrollBar.cpp", |
| 905 "fpdfsdk/pdfwindow/PWL_ScrollBar.h", | 878 "fpdfsdk/pdfwindow/PWL_ScrollBar.h", |
| 906 "fpdfsdk/pdfwindow/PWL_SpecialButton.cpp", | 879 "fpdfsdk/pdfwindow/PWL_SpecialButton.cpp", |
| 907 "fpdfsdk/pdfwindow/PWL_SpecialButton.h", | 880 "fpdfsdk/pdfwindow/PWL_SpecialButton.h", |
| 908 "fpdfsdk/pdfwindow/PWL_Utils.cpp", | 881 "fpdfsdk/pdfwindow/PWL_Utils.cpp", |
| 909 "fpdfsdk/pdfwindow/PWL_Utils.h", | 882 "fpdfsdk/pdfwindow/PWL_Utils.h", |
| 910 "fpdfsdk/pdfwindow/PWL_Wnd.cpp", | 883 "fpdfsdk/pdfwindow/PWL_Wnd.cpp", |
| 911 "fpdfsdk/pdfwindow/PWL_Wnd.h", | 884 "fpdfsdk/pdfwindow/PWL_Wnd.h", |
| 912 ] | 885 ] |
| 913 configs += [ ":pdfium_core_config" ] | 886 configs += [ ":pdfium_core_config" ] |
| 914 deps = [ | |
| 915 ":fxcrt", | |
| 916 ] | |
| 917 } | 887 } |
| 918 | 888 |
| 919 static_library("javascript") { | 889 static_library("javascript") { |
| 920 sources = [ | 890 sources = [ |
| 921 "fpdfsdk/javascript/ijs_context.h", | 891 "fpdfsdk/javascript/ijs_context.h", |
| 922 "fpdfsdk/javascript/ijs_runtime.h", | 892 "fpdfsdk/javascript/ijs_runtime.h", |
| 923 ] | 893 ] |
| 924 configs += [ ":pdfium_core_config" ] | |
| 925 deps = [ | |
| 926 ":fxcrt", | |
| 927 ] | |
| 928 | |
| 929 if (pdf_enable_v8) { | 894 if (pdf_enable_v8) { |
| 930 sources += [ | 895 sources += [ |
| 931 "fpdfsdk/javascript/Annot.cpp", | 896 "fpdfsdk/javascript/Annot.cpp", |
| 932 "fpdfsdk/javascript/Annot.h", | 897 "fpdfsdk/javascript/Annot.h", |
| 933 "fpdfsdk/javascript/Consts.cpp", | 898 "fpdfsdk/javascript/Consts.cpp", |
| 934 "fpdfsdk/javascript/Consts.h", | 899 "fpdfsdk/javascript/Consts.h", |
| 935 "fpdfsdk/javascript/Document.cpp", | 900 "fpdfsdk/javascript/Document.cpp", |
| 936 "fpdfsdk/javascript/Document.h", | 901 "fpdfsdk/javascript/Document.h", |
| 937 "fpdfsdk/javascript/Field.cpp", | 902 "fpdfsdk/javascript/Field.cpp", |
| 938 "fpdfsdk/javascript/Field.h", | 903 "fpdfsdk/javascript/Field.h", |
| (...skipping 26 matching lines...) Expand all Loading... |
| 965 "fpdfsdk/javascript/event.h", | 930 "fpdfsdk/javascript/event.h", |
| 966 "fpdfsdk/javascript/global.cpp", | 931 "fpdfsdk/javascript/global.cpp", |
| 967 "fpdfsdk/javascript/global.h", | 932 "fpdfsdk/javascript/global.h", |
| 968 "fpdfsdk/javascript/report.cpp", | 933 "fpdfsdk/javascript/report.cpp", |
| 969 "fpdfsdk/javascript/report.h", | 934 "fpdfsdk/javascript/report.h", |
| 970 "fpdfsdk/javascript/resource.cpp", | 935 "fpdfsdk/javascript/resource.cpp", |
| 971 "fpdfsdk/javascript/resource.h", | 936 "fpdfsdk/javascript/resource.h", |
| 972 "fpdfsdk/javascript/util.cpp", | 937 "fpdfsdk/javascript/util.cpp", |
| 973 "fpdfsdk/javascript/util.h", | 938 "fpdfsdk/javascript/util.h", |
| 974 ] | 939 ] |
| 975 deps += [ ":fxjs" ] | 940 deps = [ |
| 941 ":fxjs", |
| 942 ] |
| 976 configs += [ "//v8:external_startup_data" ] | 943 configs += [ "//v8:external_startup_data" ] |
| 977 } else { | 944 } else { |
| 978 sources += [ "fpdfsdk/javascript/JS_Runtime_Stub.cpp" ] | 945 sources += [ "fpdfsdk/javascript/JS_Runtime_Stub.cpp" ] |
| 979 } | 946 } |
| 947 configs += [ ":pdfium_core_config" ] |
| 980 } | 948 } |
| 981 | 949 |
| 982 static_library("formfiller") { | 950 static_library("formfiller") { |
| 983 sources = [ | 951 sources = [ |
| 984 "fpdfsdk/formfiller/cba_fontmap.cpp", | 952 "fpdfsdk/formfiller/cba_fontmap.cpp", |
| 985 "fpdfsdk/formfiller/cba_fontmap.h", | 953 "fpdfsdk/formfiller/cba_fontmap.h", |
| 986 "fpdfsdk/formfiller/cffl_checkbox.cpp", | 954 "fpdfsdk/formfiller/cffl_checkbox.cpp", |
| 987 "fpdfsdk/formfiller/cffl_checkbox.h", | 955 "fpdfsdk/formfiller/cffl_checkbox.h", |
| 988 "fpdfsdk/formfiller/cffl_combobox.cpp", | 956 "fpdfsdk/formfiller/cffl_combobox.cpp", |
| 989 "fpdfsdk/formfiller/cffl_combobox.h", | 957 "fpdfsdk/formfiller/cffl_combobox.h", |
| 990 "fpdfsdk/formfiller/cffl_formfiller.cpp", | 958 "fpdfsdk/formfiller/cffl_formfiller.cpp", |
| 991 "fpdfsdk/formfiller/cffl_formfiller.h", | 959 "fpdfsdk/formfiller/cffl_formfiller.h", |
| 992 "fpdfsdk/formfiller/cffl_iformfiller.cpp", | 960 "fpdfsdk/formfiller/cffl_iformfiller.cpp", |
| 993 "fpdfsdk/formfiller/cffl_iformfiller.h", | 961 "fpdfsdk/formfiller/cffl_iformfiller.h", |
| 994 "fpdfsdk/formfiller/cffl_listbox.cpp", | 962 "fpdfsdk/formfiller/cffl_listbox.cpp", |
| 995 "fpdfsdk/formfiller/cffl_listbox.h", | 963 "fpdfsdk/formfiller/cffl_listbox.h", |
| 996 "fpdfsdk/formfiller/cffl_pushbutton.cpp", | 964 "fpdfsdk/formfiller/cffl_pushbutton.cpp", |
| 997 "fpdfsdk/formfiller/cffl_pushbutton.h", | 965 "fpdfsdk/formfiller/cffl_pushbutton.h", |
| 998 "fpdfsdk/formfiller/cffl_radiobutton.cpp", | 966 "fpdfsdk/formfiller/cffl_radiobutton.cpp", |
| 999 "fpdfsdk/formfiller/cffl_radiobutton.h", | 967 "fpdfsdk/formfiller/cffl_radiobutton.h", |
| 1000 "fpdfsdk/formfiller/cffl_textfield.cpp", | 968 "fpdfsdk/formfiller/cffl_textfield.cpp", |
| 1001 "fpdfsdk/formfiller/cffl_textfield.h", | 969 "fpdfsdk/formfiller/cffl_textfield.h", |
| 1002 ] | 970 ] |
| 1003 configs += [ ":pdfium_core_config" ] | 971 configs += [ ":pdfium_core_config" ] |
| 1004 deps = [ | |
| 1005 ":fxcrt", | |
| 1006 ] | |
| 1007 } | 972 } |
| 1008 | 973 |
| 1009 if (pdf_enable_v8) { | 974 if (pdf_enable_v8) { |
| 1010 static_library("fxjs") { | 975 static_library("fxjs") { |
| 1011 sources = [ | 976 sources = [ |
| 1012 "fxjs/fxjs_v8.cpp", | 977 "fxjs/fxjs_v8.cpp", |
| 1013 "fxjs/include/fxjs_v8.h", | 978 "fxjs/include/fxjs_v8.h", |
| 1014 ] | 979 ] |
| 1015 configs += [ ":pdfium_core_config" ] | |
| 1016 deps = [ | |
| 1017 ":fxcrt", | |
| 1018 "//v8", | |
| 1019 "//v8:v8_libplatform", | |
| 1020 ] | |
| 1021 include_dirs = [ | |
| 1022 "//v8", | |
| 1023 "//v8/include", | |
| 1024 ] | |
| 1025 public_deps = [ | |
| 1026 "//v8", | |
| 1027 ] | |
| 1028 | |
| 1029 if (pdf_enable_xfa) { | 980 if (pdf_enable_xfa) { |
| 1030 sources += [ | 981 sources += [ |
| 1031 "fxjs/cfxjse_arguments.cpp", | 982 "fxjs/cfxjse_arguments.cpp", |
| 1032 "fxjs/cfxjse_class.cpp", | 983 "fxjs/cfxjse_class.cpp", |
| 1033 "fxjs/cfxjse_context.cpp", | 984 "fxjs/cfxjse_context.cpp", |
| 1034 "fxjs/cfxjse_isolatetracker.cpp", | 985 "fxjs/cfxjse_isolatetracker.cpp", |
| 1035 "fxjs/cfxjse_isolatetracker.h", | 986 "fxjs/cfxjse_isolatetracker.h", |
| 1036 "fxjs/cfxjse_runtimedata.cpp", | 987 "fxjs/cfxjse_runtimedata.cpp", |
| 1037 "fxjs/cfxjse_runtimedata.h", | 988 "fxjs/cfxjse_runtimedata.h", |
| 1038 "fxjs/cfxjse_value.cpp", | 989 "fxjs/cfxjse_value.cpp", |
| 1039 "fxjs/include/cfxjse_arguments.h", | 990 "fxjs/include/cfxjse_arguments.h", |
| 1040 "fxjs/include/cfxjse_class.h", | 991 "fxjs/include/cfxjse_class.h", |
| 1041 "fxjs/include/cfxjse_context.h", | 992 "fxjs/include/cfxjse_context.h", |
| 1042 "fxjs/include/cfxjse_value.h", | 993 "fxjs/include/cfxjse_value.h", |
| 1043 "fxjs/include/fxjse.h", | 994 "fxjs/include/fxjse.h", |
| 1044 ] | 995 ] |
| 1045 } | 996 } |
| 997 deps = [ |
| 998 "//v8", |
| 999 "//v8:v8_libplatform", |
| 1000 ] |
| 1001 configs += [ ":pdfium_core_config" ] |
| 1002 include_dirs = [ |
| 1003 "//v8", |
| 1004 "//v8/include", |
| 1005 ] |
| 1006 public_deps = [ |
| 1007 "//v8", |
| 1008 ] |
| 1046 } | 1009 } |
| 1047 } | 1010 } |
| 1048 | 1011 |
| 1049 if (pdf_enable_xfa) { | 1012 if (pdf_enable_xfa) { |
| 1050 static_library("fpdfxfa") { | 1013 static_library("fpdfxfa") { |
| 1051 sources = [ | 1014 sources = [ |
| 1052 "fpdfsdk/fpdfxfa/fpdfxfa_app.cpp", | 1015 "fpdfsdk/fpdfxfa/fpdfxfa_app.cpp", |
| 1053 "fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp", | 1016 "fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp", |
| 1054 "fpdfsdk/fpdfxfa/fpdfxfa_page.cpp", | 1017 "fpdfsdk/fpdfxfa/fpdfxfa_page.cpp", |
| 1055 "fpdfsdk/fpdfxfa/fpdfxfa_util.cpp", | 1018 "fpdfsdk/fpdfxfa/fpdfxfa_util.cpp", |
| 1056 "fpdfsdk/fpdfxfa/include/fpdfxfa_app.h", | 1019 "fpdfsdk/fpdfxfa/include/fpdfxfa_app.h", |
| 1057 "fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h", | 1020 "fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h", |
| 1058 "fpdfsdk/fpdfxfa/include/fpdfxfa_page.h", | 1021 "fpdfsdk/fpdfxfa/include/fpdfxfa_page.h", |
| 1059 "fpdfsdk/fpdfxfa/include/fpdfxfa_util.h", | 1022 "fpdfsdk/fpdfxfa/include/fpdfxfa_util.h", |
| 1060 ] | 1023 ] |
| 1061 deps = [ | 1024 deps = [ |
| 1062 ":fxcrt", | |
| 1063 ":xfa", | 1025 ":xfa", |
| 1064 ] | 1026 ] |
| 1065 configs += [ ":pdfium_core_config" ] | 1027 configs += [ ":pdfium_core_config" ] |
| 1066 } | 1028 } |
| 1067 | 1029 |
| 1068 static_library("xfa") { | 1030 static_library("xfa") { |
| 1069 sources = [ | 1031 sources = [ |
| 1070 "xfa/fde/cfde_path.cpp", | 1032 "xfa/fde/cfde_path.cpp", |
| 1071 "xfa/fde/cfde_path.h", | 1033 "xfa/fde/cfde_path.h", |
| 1072 "xfa/fde/cfde_txtedtbuf.cpp", | 1034 "xfa/fde/cfde_txtedtbuf.cpp", |
| (...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1615 "xfa/fxgraphics/cfx_path_generator.cpp", | 1577 "xfa/fxgraphics/cfx_path_generator.cpp", |
| 1616 "xfa/fxgraphics/cfx_path_generator.h", | 1578 "xfa/fxgraphics/cfx_path_generator.h", |
| 1617 "xfa/fxgraphics/cfx_pattern.cpp", | 1579 "xfa/fxgraphics/cfx_pattern.cpp", |
| 1618 "xfa/fxgraphics/cfx_pattern.h", | 1580 "xfa/fxgraphics/cfx_pattern.h", |
| 1619 "xfa/fxgraphics/cfx_shading.cpp", | 1581 "xfa/fxgraphics/cfx_shading.cpp", |
| 1620 "xfa/fxgraphics/cfx_shading.h", | 1582 "xfa/fxgraphics/cfx_shading.h", |
| 1621 "xfa/fxgraphics/include/cfx_graphics.h", | 1583 "xfa/fxgraphics/include/cfx_graphics.h", |
| 1622 ] | 1584 ] |
| 1623 include_dirs = [ "." ] | 1585 include_dirs = [ "." ] |
| 1624 deps = [ | 1586 deps = [ |
| 1625 ":fxcrt", | |
| 1626 ":fxjs", | 1587 ":fxjs", |
| 1627 ] | 1588 ] |
| 1628 configs += [ | 1589 configs += [ |
| 1629 ":pdfium_core_config", | 1590 ":pdfium_core_config", |
| 1630 ":xfa_warnings", | 1591 ":xfa_warnings", |
| 1631 ] | 1592 ] |
| 1632 } | 1593 } |
| 1633 } | 1594 } |
| 1634 | 1595 |
| 1635 test("pdfium_unittests") { | 1596 test("pdfium_unittests") { |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1751 } | 1712 } |
| 1752 | 1713 |
| 1753 if (pdf_is_standalone) { | 1714 if (pdf_is_standalone) { |
| 1754 source_set("samples") { | 1715 source_set("samples") { |
| 1755 testonly = true | 1716 testonly = true |
| 1756 deps = [ | 1717 deps = [ |
| 1757 "//samples", | 1718 "//samples", |
| 1758 ] | 1719 ] |
| 1759 } | 1720 } |
| 1760 } | 1721 } |
| OLD | NEW |