Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(357)

Side by Side Diff: BUILD.gn

Issue 1799773002: Move fpdfsdk/src up to fpdfsdk/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | core/include/fpdfapi/fpdf_render.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_config") { 9 config("pdfium_config") {
10 cflags = [] 10 cflags = []
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 } 66 }
67 67
68 if (is_clang) { 68 if (is_clang) {
69 # TODO(thestig): Fix all instances, remove this, pdfium:29 69 # TODO(thestig): Fix all instances, remove this, pdfium:29
70 cflags += [ "-Wno-sign-compare" ] 70 cflags += [ "-Wno-sign-compare" ]
71 } 71 }
72 } 72 }
73 73
74 static_library("pdfium") { 74 static_library("pdfium") {
75 sources = [ 75 sources = [
76 "fpdfsdk/fpdf_dataavail.cpp",
77 "fpdfsdk/fpdf_ext.cpp",
78 "fpdfsdk/fpdf_flatten.cpp",
79 "fpdfsdk/fpdf_progressive.cpp",
80 "fpdfsdk/fpdf_searchex.cpp",
81 "fpdfsdk/fpdf_sysfontinfo.cpp",
82 "fpdfsdk/fpdf_transformpage.cpp",
83 "fpdfsdk/fpdfdoc.cpp",
84 "fpdfsdk/fpdfeditimg.cpp",
85 "fpdfsdk/fpdfeditpage.cpp",
86 "fpdfsdk/fpdfformfill.cpp",
87 "fpdfsdk/fpdfppo.cpp",
88 "fpdfsdk/fpdfsave.cpp",
89 "fpdfsdk/fpdftext.cpp",
90 "fpdfsdk/fpdfview.cpp",
91 "fpdfsdk/fsdk_actionhandler.cpp",
92 "fpdfsdk/fsdk_annothandler.cpp",
93 "fpdfsdk/fsdk_baseannot.cpp",
94 "fpdfsdk/fsdk_baseform.cpp",
95 "fpdfsdk/fsdk_mgr.cpp",
96 "fpdfsdk/fsdk_rendercontext.cpp",
76 "fpdfsdk/include/fsdk_actionhandler.h", 97 "fpdfsdk/include/fsdk_actionhandler.h",
77 "fpdfsdk/include/fsdk_annothandler.h", 98 "fpdfsdk/include/fsdk_annothandler.h",
78 "fpdfsdk/include/fsdk_baseannot.h", 99 "fpdfsdk/include/fsdk_baseannot.h",
79 "fpdfsdk/include/fsdk_baseform.h", 100 "fpdfsdk/include/fsdk_baseform.h",
80 "fpdfsdk/src/fpdf_dataavail.cpp",
81 "fpdfsdk/src/fpdf_ext.cpp",
82 "fpdfsdk/src/fpdf_flatten.cpp",
83 "fpdfsdk/src/fpdf_progressive.cpp",
84 "fpdfsdk/src/fpdf_searchex.cpp",
85 "fpdfsdk/src/fpdf_sysfontinfo.cpp",
86 "fpdfsdk/src/fpdf_transformpage.cpp",
87 "fpdfsdk/src/fpdfdoc.cpp",
88 "fpdfsdk/src/fpdfeditimg.cpp",
89 "fpdfsdk/src/fpdfeditpage.cpp",
90 "fpdfsdk/src/fpdfformfill.cpp",
91 "fpdfsdk/src/fpdfppo.cpp",
92 "fpdfsdk/src/fpdfsave.cpp",
93 "fpdfsdk/src/fpdftext.cpp",
94 "fpdfsdk/src/fpdfview.cpp",
95 "fpdfsdk/src/fsdk_actionhandler.cpp",
96 "fpdfsdk/src/fsdk_annothandler.cpp",
97 "fpdfsdk/src/fsdk_baseannot.cpp",
98 "fpdfsdk/src/fsdk_baseform.cpp",
99 "fpdfsdk/src/fsdk_mgr.cpp",
100 "fpdfsdk/src/fsdk_rendercontext.cpp",
101 "public/fpdf_dataavail.h", 101 "public/fpdf_dataavail.h",
102 "public/fpdf_doc.h", 102 "public/fpdf_doc.h",
103 "public/fpdf_edit.h", 103 "public/fpdf_edit.h",
104 "public/fpdf_ext.h", 104 "public/fpdf_ext.h",
105 "public/fpdf_flatten.h", 105 "public/fpdf_flatten.h",
106 "public/fpdf_formfill.h", 106 "public/fpdf_formfill.h",
107 "public/fpdf_fwlevent.h", 107 "public/fpdf_fwlevent.h",
108 "public/fpdf_ppo.h", 108 "public/fpdf_ppo.h",
109 "public/fpdf_progressive.h", 109 "public/fpdf_progressive.h",
110 "public/fpdf_save.h", 110 "public/fpdf_save.h",
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 "core/fxge/win32/fx_win32_gdipext.cpp", 632 "core/fxge/win32/fx_win32_gdipext.cpp",
633 "core/fxge/win32/fx_win32_print.cpp", 633 "core/fxge/win32/fx_win32_print.cpp",
634 "core/fxge/win32/win32_int.h", 634 "core/fxge/win32/win32_int.h",
635 ] 635 ]
636 configs -= [ "//build/config/win:lean_and_mean" ] 636 configs -= [ "//build/config/win:lean_and_mean" ]
637 } 637 }
638 } 638 }
639 639
640 static_library("fxedit") { 640 static_library("fxedit") {
641 sources = [ 641 sources = [
642 "fpdfsdk/fxedit/fxet_ap.cpp",
643 "fpdfsdk/fxedit/fxet_edit.cpp",
644 "fpdfsdk/fxedit/fxet_list.cpp",
645 "fpdfsdk/fxedit/fxet_module.cpp",
646 "fpdfsdk/fxedit/fxet_pageobjs.cpp",
642 "fpdfsdk/include/fxedit/fx_edit.h", 647 "fpdfsdk/include/fxedit/fx_edit.h",
643 "fpdfsdk/include/fxedit/fxet_edit.h", 648 "fpdfsdk/include/fxedit/fxet_edit.h",
644 "fpdfsdk/include/fxedit/fxet_list.h", 649 "fpdfsdk/include/fxedit/fxet_list.h",
645 "fpdfsdk/src/fxedit/fxet_ap.cpp",
646 "fpdfsdk/src/fxedit/fxet_edit.cpp",
647 "fpdfsdk/src/fxedit/fxet_list.cpp",
648 "fpdfsdk/src/fxedit/fxet_module.cpp",
649 "fpdfsdk/src/fxedit/fxet_pageobjs.cpp",
650 ] 650 ]
651 configs += [ ":pdfium_config" ] 651 configs += [ ":pdfium_config" ]
652 } 652 }
653 653
654 static_library("pdfwindow") { 654 static_library("pdfwindow") {
655 sources = [ 655 sources = [
656 "fpdfsdk/include/pdfwindow/PWL_Button.h", 656 "fpdfsdk/include/pdfwindow/PWL_Button.h",
657 "fpdfsdk/include/pdfwindow/PWL_Caret.h", 657 "fpdfsdk/include/pdfwindow/PWL_Caret.h",
658 "fpdfsdk/include/pdfwindow/PWL_ComboBox.h", 658 "fpdfsdk/include/pdfwindow/PWL_ComboBox.h",
659 "fpdfsdk/include/pdfwindow/PWL_Edit.h", 659 "fpdfsdk/include/pdfwindow/PWL_Edit.h",
660 "fpdfsdk/include/pdfwindow/PWL_EditCtrl.h", 660 "fpdfsdk/include/pdfwindow/PWL_EditCtrl.h",
661 "fpdfsdk/include/pdfwindow/PWL_FontMap.h", 661 "fpdfsdk/include/pdfwindow/PWL_FontMap.h",
662 "fpdfsdk/include/pdfwindow/PWL_Icon.h", 662 "fpdfsdk/include/pdfwindow/PWL_Icon.h",
663 "fpdfsdk/include/pdfwindow/PWL_IconList.h", 663 "fpdfsdk/include/pdfwindow/PWL_IconList.h",
664 "fpdfsdk/include/pdfwindow/PWL_Label.h", 664 "fpdfsdk/include/pdfwindow/PWL_Label.h",
665 "fpdfsdk/include/pdfwindow/PWL_ListBox.h", 665 "fpdfsdk/include/pdfwindow/PWL_ListBox.h",
666 "fpdfsdk/include/pdfwindow/PWL_ListCtrl.h", 666 "fpdfsdk/include/pdfwindow/PWL_ListCtrl.h",
667 "fpdfsdk/include/pdfwindow/PWL_Note.h", 667 "fpdfsdk/include/pdfwindow/PWL_Note.h",
668 "fpdfsdk/include/pdfwindow/PWL_ScrollBar.h", 668 "fpdfsdk/include/pdfwindow/PWL_ScrollBar.h",
669 "fpdfsdk/include/pdfwindow/PWL_Signature.h", 669 "fpdfsdk/include/pdfwindow/PWL_Signature.h",
670 "fpdfsdk/include/pdfwindow/PWL_SpecialButton.h", 670 "fpdfsdk/include/pdfwindow/PWL_SpecialButton.h",
671 "fpdfsdk/include/pdfwindow/PWL_Utils.h", 671 "fpdfsdk/include/pdfwindow/PWL_Utils.h",
672 "fpdfsdk/include/pdfwindow/PWL_Wnd.h", 672 "fpdfsdk/include/pdfwindow/PWL_Wnd.h",
673 "fpdfsdk/src/pdfwindow/PWL_Button.cpp", 673 "fpdfsdk/pdfwindow/PWL_Button.cpp",
674 "fpdfsdk/src/pdfwindow/PWL_Caret.cpp", 674 "fpdfsdk/pdfwindow/PWL_Caret.cpp",
675 "fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp", 675 "fpdfsdk/pdfwindow/PWL_ComboBox.cpp",
676 "fpdfsdk/src/pdfwindow/PWL_Edit.cpp", 676 "fpdfsdk/pdfwindow/PWL_Edit.cpp",
677 "fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp", 677 "fpdfsdk/pdfwindow/PWL_EditCtrl.cpp",
678 "fpdfsdk/src/pdfwindow/PWL_FontMap.cpp", 678 "fpdfsdk/pdfwindow/PWL_FontMap.cpp",
679 "fpdfsdk/src/pdfwindow/PWL_Icon.cpp", 679 "fpdfsdk/pdfwindow/PWL_Icon.cpp",
680 "fpdfsdk/src/pdfwindow/PWL_IconList.cpp", 680 "fpdfsdk/pdfwindow/PWL_IconList.cpp",
681 "fpdfsdk/src/pdfwindow/PWL_Label.cpp", 681 "fpdfsdk/pdfwindow/PWL_Label.cpp",
682 "fpdfsdk/src/pdfwindow/PWL_ListBox.cpp", 682 "fpdfsdk/pdfwindow/PWL_ListBox.cpp",
683 "fpdfsdk/src/pdfwindow/PWL_ListCtrl.cpp", 683 "fpdfsdk/pdfwindow/PWL_ListCtrl.cpp",
684 "fpdfsdk/src/pdfwindow/PWL_Note.cpp", 684 "fpdfsdk/pdfwindow/PWL_Note.cpp",
685 "fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp", 685 "fpdfsdk/pdfwindow/PWL_ScrollBar.cpp",
686 "fpdfsdk/src/pdfwindow/PWL_Signature.cpp", 686 "fpdfsdk/pdfwindow/PWL_Signature.cpp",
687 "fpdfsdk/src/pdfwindow/PWL_SpecialButton.cpp", 687 "fpdfsdk/pdfwindow/PWL_SpecialButton.cpp",
688 "fpdfsdk/src/pdfwindow/PWL_Utils.cpp", 688 "fpdfsdk/pdfwindow/PWL_Utils.cpp",
689 "fpdfsdk/src/pdfwindow/PWL_Wnd.cpp", 689 "fpdfsdk/pdfwindow/PWL_Wnd.cpp",
690 ] 690 ]
691 configs += [ ":pdfium_config" ] 691 configs += [ ":pdfium_config" ]
692 } 692 }
693 693
694 static_library("javascript") { 694 static_library("javascript") {
695 sources = [ 695 sources = [
696 "fpdfsdk/include/javascript/IJavaScript.h", 696 "fpdfsdk/include/javascript/IJavaScript.h",
697 ] 697 ]
698 if (pdf_enable_v8) { 698 if (pdf_enable_v8) {
699 sources += [ 699 sources += [
700 "fpdfsdk/include/jsapi/fxjs_v8.h", 700 "fpdfsdk/include/jsapi/fxjs_v8.h",
701 "fpdfsdk/src/javascript/Consts.cpp", 701 "fpdfsdk/javascript/Consts.cpp",
702 "fpdfsdk/src/javascript/Consts.h", 702 "fpdfsdk/javascript/Consts.h",
703 "fpdfsdk/src/javascript/Document.cpp", 703 "fpdfsdk/javascript/Document.cpp",
704 "fpdfsdk/src/javascript/Document.h", 704 "fpdfsdk/javascript/Document.h",
705 "fpdfsdk/src/javascript/Field.cpp", 705 "fpdfsdk/javascript/Field.cpp",
706 "fpdfsdk/src/javascript/Field.h", 706 "fpdfsdk/javascript/Field.h",
707 "fpdfsdk/src/javascript/Icon.cpp", 707 "fpdfsdk/javascript/Icon.cpp",
708 "fpdfsdk/src/javascript/Icon.h", 708 "fpdfsdk/javascript/Icon.h",
709 "fpdfsdk/src/javascript/JS_Context.cpp", 709 "fpdfsdk/javascript/JS_Context.cpp",
710 "fpdfsdk/src/javascript/JS_Context.h", 710 "fpdfsdk/javascript/JS_Context.h",
711 "fpdfsdk/src/javascript/JS_Define.h", 711 "fpdfsdk/javascript/JS_Define.h",
712 "fpdfsdk/src/javascript/JS_EventHandler.cpp", 712 "fpdfsdk/javascript/JS_EventHandler.cpp",
713 "fpdfsdk/src/javascript/JS_EventHandler.h", 713 "fpdfsdk/javascript/JS_EventHandler.h",
714 "fpdfsdk/src/javascript/JS_GlobalData.cpp", 714 "fpdfsdk/javascript/JS_GlobalData.cpp",
715 "fpdfsdk/src/javascript/JS_GlobalData.h", 715 "fpdfsdk/javascript/JS_GlobalData.h",
716 "fpdfsdk/src/javascript/JS_Object.cpp", 716 "fpdfsdk/javascript/JS_Object.cpp",
717 "fpdfsdk/src/javascript/JS_Object.h", 717 "fpdfsdk/javascript/JS_Object.h",
718 "fpdfsdk/src/javascript/JS_Runtime.cpp", 718 "fpdfsdk/javascript/JS_Runtime.cpp",
719 "fpdfsdk/src/javascript/JS_Runtime.h", 719 "fpdfsdk/javascript/JS_Runtime.h",
720 "fpdfsdk/src/javascript/JS_Value.cpp", 720 "fpdfsdk/javascript/JS_Value.cpp",
721 "fpdfsdk/src/javascript/JS_Value.h", 721 "fpdfsdk/javascript/JS_Value.h",
722 "fpdfsdk/src/javascript/PublicMethods.cpp", 722 "fpdfsdk/javascript/PublicMethods.cpp",
723 "fpdfsdk/src/javascript/PublicMethods.h", 723 "fpdfsdk/javascript/PublicMethods.h",
724 "fpdfsdk/src/javascript/app.cpp", 724 "fpdfsdk/javascript/app.cpp",
725 "fpdfsdk/src/javascript/app.h", 725 "fpdfsdk/javascript/app.h",
726 "fpdfsdk/src/javascript/color.cpp", 726 "fpdfsdk/javascript/color.cpp",
727 "fpdfsdk/src/javascript/color.h", 727 "fpdfsdk/javascript/color.h",
728 "fpdfsdk/src/javascript/console.cpp", 728 "fpdfsdk/javascript/console.cpp",
729 "fpdfsdk/src/javascript/console.h", 729 "fpdfsdk/javascript/console.h",
730 "fpdfsdk/src/javascript/event.cpp", 730 "fpdfsdk/javascript/event.cpp",
731 "fpdfsdk/src/javascript/event.h", 731 "fpdfsdk/javascript/event.h",
732 "fpdfsdk/src/javascript/global.cpp", 732 "fpdfsdk/javascript/global.cpp",
733 "fpdfsdk/src/javascript/global.h", 733 "fpdfsdk/javascript/global.h",
734 "fpdfsdk/src/javascript/report.cpp", 734 "fpdfsdk/javascript/report.cpp",
735 "fpdfsdk/src/javascript/report.h", 735 "fpdfsdk/javascript/report.h",
736 "fpdfsdk/src/javascript/resource.cpp", 736 "fpdfsdk/javascript/resource.cpp",
737 "fpdfsdk/src/javascript/resource.h", 737 "fpdfsdk/javascript/resource.h",
738 "fpdfsdk/src/javascript/util.cpp", 738 "fpdfsdk/javascript/util.cpp",
739 "fpdfsdk/src/javascript/util.h", 739 "fpdfsdk/javascript/util.h",
740 "fpdfsdk/src/jsapi/fxjs_v8.cpp", 740 "fpdfsdk/jsapi/fxjs_v8.cpp",
741 ] 741 ]
742 include_dirs = [ 742 include_dirs = [
743 "//v8", 743 "//v8",
744 "//v8/include", 744 "//v8/include",
745 ] 745 ]
746 public_deps = [ 746 public_deps = [
747 "//v8", 747 "//v8",
748 ] 748 ]
749 configs += [ "//v8:external_startup_data" ] 749 configs += [ "//v8:external_startup_data" ]
750 } else { 750 } else {
751 sources += [ "fpdfsdk/src/javascript/JS_Runtime_Stub.cpp" ] 751 sources += [ "fpdfsdk/javascript/JS_Runtime_Stub.cpp" ]
752 } 752 }
753 configs += [ ":pdfium_config" ] 753 configs += [ ":pdfium_config" ]
754 } 754 }
755 755
756 static_library("formfiller") { 756 static_library("formfiller") {
757 sources = [ 757 sources = [
758 "fpdfsdk/formfiller/FFL_CBA_Fontmap.cpp",
759 "fpdfsdk/formfiller/FFL_CheckBox.cpp",
760 "fpdfsdk/formfiller/FFL_ComboBox.cpp",
761 "fpdfsdk/formfiller/FFL_FormFiller.cpp",
762 "fpdfsdk/formfiller/FFL_IFormFiller.cpp",
763 "fpdfsdk/formfiller/FFL_ListBox.cpp",
764 "fpdfsdk/formfiller/FFL_PushButton.cpp",
765 "fpdfsdk/formfiller/FFL_RadioButton.cpp",
766 "fpdfsdk/formfiller/FFL_TextField.cpp",
758 "fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h", 767 "fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h",
759 "fpdfsdk/include/formfiller/FFL_CheckBox.h", 768 "fpdfsdk/include/formfiller/FFL_CheckBox.h",
760 "fpdfsdk/include/formfiller/FFL_ComboBox.h", 769 "fpdfsdk/include/formfiller/FFL_ComboBox.h",
761 "fpdfsdk/include/formfiller/FFL_FormFiller.h", 770 "fpdfsdk/include/formfiller/FFL_FormFiller.h",
762 "fpdfsdk/include/formfiller/FFL_IFormFiller.h", 771 "fpdfsdk/include/formfiller/FFL_IFormFiller.h",
763 "fpdfsdk/include/formfiller/FFL_ListBox.h", 772 "fpdfsdk/include/formfiller/FFL_ListBox.h",
764 "fpdfsdk/include/formfiller/FFL_PushButton.h", 773 "fpdfsdk/include/formfiller/FFL_PushButton.h",
765 "fpdfsdk/include/formfiller/FFL_RadioButton.h", 774 "fpdfsdk/include/formfiller/FFL_RadioButton.h",
766 "fpdfsdk/include/formfiller/FFL_TextField.h", 775 "fpdfsdk/include/formfiller/FFL_TextField.h",
767 "fpdfsdk/src/formfiller/FFL_CBA_Fontmap.cpp",
768 "fpdfsdk/src/formfiller/FFL_CheckBox.cpp",
769 "fpdfsdk/src/formfiller/FFL_ComboBox.cpp",
770 "fpdfsdk/src/formfiller/FFL_FormFiller.cpp",
771 "fpdfsdk/src/formfiller/FFL_IFormFiller.cpp",
772 "fpdfsdk/src/formfiller/FFL_ListBox.cpp",
773 "fpdfsdk/src/formfiller/FFL_PushButton.cpp",
774 "fpdfsdk/src/formfiller/FFL_RadioButton.cpp",
775 "fpdfsdk/src/formfiller/FFL_TextField.cpp",
776 ] 776 ]
777 configs += [ ":pdfium_config" ] 777 configs += [ ":pdfium_config" ]
778 } 778 }
779 779
780 if (pdf_enable_xfa) { 780 if (pdf_enable_xfa) {
781 static_library("fpdfxfa") { 781 static_library("fpdfxfa") {
782 sources = [ 782 sources = [
783 "fpdfsdk/fpdfxfa/fpdfxfa_app.cpp",
784 "fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp",
785 "fpdfsdk/fpdfxfa/fpdfxfa_page.cpp",
786 "fpdfsdk/fpdfxfa/fpdfxfa_util.cpp",
783 "fpdfsdk/include/fpdfxfa/fpdfxfa_app.h", 787 "fpdfsdk/include/fpdfxfa/fpdfxfa_app.h",
784 "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h", 788 "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h",
785 "fpdfsdk/include/fpdfxfa/fpdfxfa_page.h", 789 "fpdfsdk/include/fpdfxfa/fpdfxfa_page.h",
786 "fpdfsdk/include/fpdfxfa/fpdfxfa_util.h", 790 "fpdfsdk/include/fpdfxfa/fpdfxfa_util.h",
787 "fpdfsdk/src/fpdfxfa/fpdfxfa_app.cpp",
788 "fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp",
789 "fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp",
790 "fpdfsdk/src/fpdfxfa/fpdfxfa_util.cpp",
791 ] 791 ]
792 deps = [ 792 deps = [
793 ":xfa", 793 ":xfa",
794 ] 794 ]
795 configs -= [ "//build/config/compiler:chromium_code" ] 795 configs -= [ "//build/config/compiler:chromium_code" ]
796 configs += [ 796 configs += [
797 ":pdfium_config", 797 ":pdfium_config",
798 "//build/config/compiler:no_chromium_code", 798 "//build/config/compiler:no_chromium_code",
799 ] 799 ]
800 } 800 }
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after
1456 "core/fpdfdoc/doc_basic_unittest.cpp", 1456 "core/fpdfdoc/doc_basic_unittest.cpp",
1457 "core/fpdftext/fpdf_text_int_unittest.cpp", 1457 "core/fpdftext/fpdf_text_int_unittest.cpp",
1458 "core/fxcodec/codec/fx_codec_jpx_unittest.cpp", 1458 "core/fxcodec/codec/fx_codec_jpx_unittest.cpp",
1459 "core/fxcrt/fx_basic_bstring_unittest.cpp", 1459 "core/fxcrt/fx_basic_bstring_unittest.cpp",
1460 "core/fxcrt/fx_basic_gcc_unittest.cpp", 1460 "core/fxcrt/fx_basic_gcc_unittest.cpp",
1461 "core/fxcrt/fx_basic_memmgr_unittest.cpp", 1461 "core/fxcrt/fx_basic_memmgr_unittest.cpp",
1462 "core/fxcrt/fx_basic_wstring_unittest.cpp", 1462 "core/fxcrt/fx_basic_wstring_unittest.cpp",
1463 "core/fxcrt/fx_bidi_unittest.cpp", 1463 "core/fxcrt/fx_bidi_unittest.cpp",
1464 "core/fxcrt/fx_extension_unittest.cpp", 1464 "core/fxcrt/fx_extension_unittest.cpp",
1465 "core/fxcrt/fx_system_unittest.cpp", 1465 "core/fxcrt/fx_system_unittest.cpp",
1466 "fpdfsdk/src/fpdfdoc_unittest.cpp", 1466 "fpdfsdk/fpdfdoc_unittest.cpp",
1467 ] 1467 ]
1468 deps = [ 1468 deps = [
1469 ":pdfium", 1469 ":pdfium",
1470 ":test_support", 1470 ":test_support",
1471 "//testing/gtest", 1471 "//testing/gtest",
1472 "//testing/gtest:gtest_main", 1472 "//testing/gtest:gtest_main",
1473 ] 1473 ]
1474 if (pdf_enable_xfa) { 1474 if (pdf_enable_xfa) {
1475 sources += [ 1475 sources += [
1476 "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", 1476 "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp",
1477 "xfa/src/fxfa/parser/xfa_utils_imp_unittest.cpp", 1477 "xfa/src/fxfa/parser/xfa_utils_imp_unittest.cpp",
1478 ] 1478 ]
1479 } 1479 }
1480 configs += [ ":pdfium_config" ] 1480 configs += [ ":pdfium_config" ]
1481 } 1481 }
1482 1482
1483 test("pdfium_embeddertests") { 1483 test("pdfium_embeddertests") {
1484 sources = [ 1484 sources = [
1485 "core/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp", 1485 "core/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp",
1486 "core/fpdfapi/fpdf_parser/cpdf_parser_embeddertest.cpp", 1486 "core/fpdfapi/fpdf_parser/cpdf_parser_embeddertest.cpp",
1487 "core/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", 1487 "core/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp",
1488 "core/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp", 1488 "core/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp",
1489 "core/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp", 1489 "core/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp",
1490 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", 1490 "fpdfsdk/fpdf_dataavail_embeddertest.cpp",
1491 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", 1491 "fpdfsdk/fpdfdoc_embeddertest.cpp",
1492 "fpdfsdk/src/fpdfedit_embeddertest.cpp", 1492 "fpdfsdk/fpdfedit_embeddertest.cpp",
1493 "fpdfsdk/src/fpdfext_embeddertest.cpp", 1493 "fpdfsdk/fpdfext_embeddertest.cpp",
1494 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", 1494 "fpdfsdk/fpdfformfill_embeddertest.cpp",
1495 "fpdfsdk/src/fpdfsave_embeddertest.cpp", 1495 "fpdfsdk/fpdfsave_embeddertest.cpp",
1496 "fpdfsdk/src/fpdftext_embeddertest.cpp", 1496 "fpdfsdk/fpdftext_embeddertest.cpp",
1497 "fpdfsdk/src/fpdfview_c_api_test.c", 1497 "fpdfsdk/fpdfview_c_api_test.c",
1498 "fpdfsdk/src/fpdfview_c_api_test.h", 1498 "fpdfsdk/fpdfview_c_api_test.h",
1499 "fpdfsdk/src/fpdfview_embeddertest.cpp", 1499 "fpdfsdk/fpdfview_embeddertest.cpp",
1500 "fpdfsdk/src/fsdk_baseform_embeddertest.cpp", 1500 "fpdfsdk/fsdk_baseform_embeddertest.cpp",
1501 "testing/embedder_test.cpp", 1501 "testing/embedder_test.cpp",
1502 "testing/embedder_test.h", 1502 "testing/embedder_test.h",
1503 "testing/embedder_test_mock_delegate.h", 1503 "testing/embedder_test_mock_delegate.h",
1504 "testing/embedder_test_timer_handling_delegate.h", 1504 "testing/embedder_test_timer_handling_delegate.h",
1505 "xfa/src/fxfa/parser/xfa_parser_imp_embeddertest.cpp", 1505 "xfa/src/fxfa/parser/xfa_parser_imp_embeddertest.cpp",
1506 ] 1506 ]
1507 deps = [ 1507 deps = [
1508 ":pdfium", 1508 ":pdfium",
1509 ":test_support", 1509 ":test_support",
1510 "//testing/gmock", 1510 "//testing/gmock",
1511 "//testing/gtest", 1511 "//testing/gtest",
1512 ] 1512 ]
1513 include_dirs = [] 1513 include_dirs = []
1514 if (pdf_enable_v8) { 1514 if (pdf_enable_v8) {
1515 sources += [ 1515 sources += [
1516 "fpdfsdk/src/javascript/public_methods_embeddertest.cpp", 1516 "fpdfsdk/javascript/public_methods_embeddertest.cpp",
1517 "fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp", 1517 "fpdfsdk/jsapi/fxjs_v8_embeddertest.cpp",
1518 "testing/js_embedder_test.cpp", 1518 "testing/js_embedder_test.cpp",
1519 "testing/js_embedder_test.h", 1519 "testing/js_embedder_test.h",
1520 ] 1520 ]
1521 deps += [ 1521 deps += [
1522 "//v8", 1522 "//v8",
1523 "//v8:v8_libplatform", 1523 "//v8:v8_libplatform",
1524 ] 1524 ]
1525 include_dirs += [ 1525 include_dirs += [
1526 "//v8", 1526 "//v8",
1527 "//v8/include", 1527 "//v8/include",
1528 ] 1528 ]
1529 configs += [ "//v8:external_startup_data" ] 1529 configs += [ "//v8:external_startup_data" ]
1530 } 1530 }
1531 configs += [ ":pdfium_config" ] 1531 configs += [ ":pdfium_config" ]
1532 } 1532 }
OLDNEW
« no previous file with comments | « no previous file | core/include/fpdfapi/fpdf_render.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698