OLD | NEW |
1 { | 1 { |
2 'variables': { | 2 'variables': { |
3 'pdf_use_skia%': 0, | 3 'pdf_use_skia%': 0, |
4 'pdf_enable_v8%': 1, | 4 'pdf_enable_v8%': 1, |
5 'conditions': [ | 5 'conditions': [ |
6 ['OS=="linux"', { | 6 ['OS=="linux"', { |
7 'bundle_freetype%': 0, | 7 'bundle_freetype%': 0, |
8 }, { # On Android there's no system FreeType. On Windows and Mac, only a | 8 }, { # On Android there's no system FreeType. On Windows and Mac, only a |
9 # few methods are used from it. | 9 # few methods are used from it. |
10 'bundle_freetype%': 1, | 10 'bundle_freetype%': 1, |
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 'fpdfsdk/src/formfiller/FFL_Utils.cpp', | 714 'fpdfsdk/src/formfiller/FFL_Utils.cpp', |
715 ], | 715 ], |
716 }, | 716 }, |
717 { | 717 { |
718 'target_name': 'pdfium_unittests', | 718 'target_name': 'pdfium_unittests', |
719 'type': 'executable', | 719 'type': 'executable', |
720 'dependencies': [ | 720 'dependencies': [ |
721 '<(DEPTH)/testing/gtest.gyp:gtest_main', | 721 '<(DEPTH)/testing/gtest.gyp:gtest_main', |
722 '<(DEPTH)/testing/gtest.gyp:gtest', | 722 '<(DEPTH)/testing/gtest.gyp:gtest', |
723 'pdfium', | 723 'pdfium', |
| 724 'test_support', |
724 ], | 725 ], |
725 'include_dirs': [ | 726 'include_dirs': [ |
726 '<(DEPTH)' | 727 '<(DEPTH)' |
727 ], | 728 ], |
728 'sources': [ | 729 'sources': [ |
729 'core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp', | 730 'core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp', |
730 'core/src/fxcrt/fx_basic_bstring_unittest.cpp', | 731 'core/src/fxcrt/fx_basic_bstring_unittest.cpp', |
731 'core/src/fxcrt/fx_basic_memmgr_unittest.cpp', | 732 'core/src/fxcrt/fx_basic_memmgr_unittest.cpp', |
732 'core/src/fxcrt/fx_basic_wstring_unittest.cpp', | 733 'core/src/fxcrt/fx_basic_wstring_unittest.cpp', |
733 'core/src/fxcrt/fx_bidi_unittest.cpp', | 734 'core/src/fxcrt/fx_bidi_unittest.cpp', |
734 'core/src/fxcrt/fx_system_unittest.cpp', | 735 'core/src/fxcrt/fx_system_unittest.cpp', |
735 'testing/fx_string_testhelpers.h', | 736 'testing/fx_string_testhelpers.h', |
736 'testing/fx_string_testhelpers.cpp', | 737 'testing/fx_string_testhelpers.cpp', |
737 'third_party/base/nonstd_unique_ptr_unittest.cpp', | 738 'third_party/base/nonstd_unique_ptr_unittest.cpp', |
738 ], | 739 ], |
739 }, | 740 }, |
740 { | 741 { |
741 'target_name': 'pdfium_embeddertests', | 742 'target_name': 'pdfium_embeddertests', |
742 'type': 'executable', | 743 'type': 'executable', |
743 'dependencies': [ | 744 'dependencies': [ |
744 '<(DEPTH)/testing/gmock.gyp:gmock', | 745 '<(DEPTH)/testing/gmock.gyp:gmock', |
745 '<(DEPTH)/testing/gtest.gyp:gtest', | 746 '<(DEPTH)/testing/gtest.gyp:gtest', |
746 'pdfium', | 747 'pdfium', |
| 748 'test_support', |
747 ], | 749 ], |
748 'include_dirs': [ | 750 'include_dirs': [ |
749 '<(DEPTH)', | 751 '<(DEPTH)', |
750 ], | 752 ], |
751 'sources': [ | 753 'sources': [ |
752 'core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp', | 754 'core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp', |
753 'core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp', | 755 'core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp', |
754 'fpdfsdk/src/fpdf_dataavail_embeddertest.cpp', | 756 'fpdfsdk/src/fpdf_dataavail_embeddertest.cpp', |
755 'fpdfsdk/src/fpdfdoc_embeddertest.cpp', | 757 'fpdfsdk/src/fpdfdoc_embeddertest.cpp', |
756 'fpdfsdk/src/fpdfformfill_embeddertest.cpp', | 758 'fpdfsdk/src/fpdfformfill_embeddertest.cpp', |
757 'fpdfsdk/src/fpdftext_embeddertest.cpp', | 759 'fpdfsdk/src/fpdftext_embeddertest.cpp', |
758 'fpdfsdk/src/fpdfview_c_api_test.c', | 760 'fpdfsdk/src/fpdfview_c_api_test.c', |
759 'fpdfsdk/src/fpdfview_c_api_test.h', | 761 'fpdfsdk/src/fpdfview_c_api_test.h', |
760 'fpdfsdk/src/fpdfview_embeddertest.cpp', | 762 'fpdfsdk/src/fpdfview_embeddertest.cpp', |
761 'testing/embedder_test.cpp', | 763 'testing/embedder_test.cpp', |
762 'testing/embedder_test.h', | 764 'testing/embedder_test.h', |
763 'testing/embedder_test_mock_delegate.h', | 765 'testing/embedder_test_mock_delegate.h', |
764 'testing/embedder_test_timer_handling_delegate.h', | 766 'testing/embedder_test_timer_handling_delegate.h', |
765 'testing/fx_string_testhelpers.cpp', | |
766 'testing/fx_string_testhelpers.h', | |
767 ], | 767 ], |
768 'conditions': [ | 768 'conditions': [ |
769 ['pdf_enable_v8==1', { | 769 ['pdf_enable_v8==1', { |
770 'include_dirs': [ | 770 'include_dirs': [ |
771 '<(DEPTH)/v8', | 771 '<(DEPTH)/v8', |
772 '<(DEPTH)/v8/include', | 772 '<(DEPTH)/v8/include', |
773 ], | 773 ], |
774 'dependencies': [ | 774 'dependencies': [ |
775 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', | 775 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
776 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform', | 776 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform', |
777 ], | 777 ], |
778 'sources': [ | 778 'sources': [ |
779 'fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp', | 779 'fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp', |
780 ], | 780 ], |
781 }], | 781 }], |
782 ], | 782 ], |
783 }, | 783 }, |
| 784 { |
| 785 'target_name': 'test_support', |
| 786 'type': 'static_library', |
| 787 'dependencies': [ |
| 788 '<(DEPTH)/testing/gmock.gyp:gmock', |
| 789 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 790 ], |
| 791 'include_dirs': [ |
| 792 '<(DEPTH)', |
| 793 ], |
| 794 'sources': [ |
| 795 'testing/fx_string_testhelpers.cpp', |
| 796 'testing/fx_string_testhelpers.h', |
| 797 'testing/test_support.cpp', |
| 798 'testing/test_support.h', |
| 799 ], |
| 800 'conditions': [ |
| 801 ['pdf_enable_v8==1', { |
| 802 'include_dirs': [ |
| 803 '<(DEPTH)/v8', |
| 804 '<(DEPTH)/v8/include', |
| 805 ], |
| 806 'dependencies': [ |
| 807 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
| 808 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform', |
| 809 ], |
| 810 }], |
| 811 ], |
| 812 }, |
784 ], | 813 ], |
785 } | 814 } |
OLD | NEW |