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

Side by Side Diff: pdfium.gyp

Issue 1413593003: Merge to XFA: Consolidate test support code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Remove stray merges. Created 5 years, 2 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 | « BUILD.gn ('k') | samples/BUILD.gn » ('j') | samples/BUILD.gn » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'pdf_enable_xfa%': 1, 5 'pdf_enable_xfa%': 1,
6 'conditions': [ 6 'conditions': [
7 ['OS=="linux"', { 7 ['OS=="linux"', {
8 'bundle_freetype%': 0, 8 'bundle_freetype%': 0,
9 }, { # On Android there's no system FreeType. On Windows and Mac, only a 9 }, { # On Android there's no system FreeType. On Windows and Mac, only a
10 # few methods are used from it. 10 # few methods are used from it.
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 'fpdfsdk/src/formfiller/FFL_Utils.cpp', 756 'fpdfsdk/src/formfiller/FFL_Utils.cpp',
757 ], 757 ],
758 }, 758 },
759 { 759 {
760 'target_name': 'pdfium_unittests', 760 'target_name': 'pdfium_unittests',
761 'type': 'executable', 761 'type': 'executable',
762 'dependencies': [ 762 'dependencies': [
763 '<(DEPTH)/testing/gtest.gyp:gtest_main', 763 '<(DEPTH)/testing/gtest.gyp:gtest_main',
764 '<(DEPTH)/testing/gtest.gyp:gtest', 764 '<(DEPTH)/testing/gtest.gyp:gtest',
765 'pdfium', 765 'pdfium',
766 'test_support',
766 ], 767 ],
767 'include_dirs': [ 768 'include_dirs': [
768 '<(DEPTH)' 769 '<(DEPTH)'
769 ], 770 ],
770 'sources': [ 771 'sources': [
771 'core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp', 772 'core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp',
772 'core/src/fxcrt/fx_basic_bstring_unittest.cpp', 773 'core/src/fxcrt/fx_basic_bstring_unittest.cpp',
773 'core/src/fxcrt/fx_basic_memmgr_unittest.cpp', 774 'core/src/fxcrt/fx_basic_memmgr_unittest.cpp',
774 'core/src/fxcrt/fx_basic_wstring_unittest.cpp', 775 'core/src/fxcrt/fx_basic_wstring_unittest.cpp',
775 'core/src/fxcrt/fx_system_unittest.cpp', 776 'core/src/fxcrt/fx_system_unittest.cpp',
(...skipping 10 matching lines...) Expand all
786 }], 787 }],
787 ], 788 ],
788 }, 789 },
789 { 790 {
790 'target_name': 'pdfium_embeddertests', 791 'target_name': 'pdfium_embeddertests',
791 'type': 'executable', 792 'type': 'executable',
792 'dependencies': [ 793 'dependencies': [
793 '<(DEPTH)/testing/gmock.gyp:gmock', 794 '<(DEPTH)/testing/gmock.gyp:gmock',
794 '<(DEPTH)/testing/gtest.gyp:gtest', 795 '<(DEPTH)/testing/gtest.gyp:gtest',
795 'pdfium', 796 'pdfium',
797 'test_support',
796 ], 798 ],
797 'include_dirs': [ 799 'include_dirs': [
798 '<(DEPTH)', 800 '<(DEPTH)',
799 ], 801 ],
800 'sources': [ 802 'sources': [
801 'core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp', 803 'core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp',
802 'core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp', 804 'core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp',
803 'fpdfsdk/src/fpdf_dataavail_embeddertest.cpp', 805 'fpdfsdk/src/fpdf_dataavail_embeddertest.cpp',
804 'fpdfsdk/src/fpdfdoc_embeddertest.cpp', 806 'fpdfsdk/src/fpdfdoc_embeddertest.cpp',
805 'fpdfsdk/src/fpdfformfill_embeddertest.cpp', 807 'fpdfsdk/src/fpdfformfill_embeddertest.cpp',
806 'fpdfsdk/src/fpdftext_embeddertest.cpp', 808 'fpdfsdk/src/fpdftext_embeddertest.cpp',
807 'fpdfsdk/src/fpdfview_c_api_test.c', 809 'fpdfsdk/src/fpdfview_c_api_test.c',
808 'fpdfsdk/src/fpdfview_c_api_test.h', 810 'fpdfsdk/src/fpdfview_c_api_test.h',
809 'fpdfsdk/src/fpdfview_embeddertest.cpp', 811 'fpdfsdk/src/fpdfview_embeddertest.cpp',
810 'testing/embedder_test.cpp', 812 'testing/embedder_test.cpp',
811 'testing/embedder_test.h', 813 'testing/embedder_test.h',
812 'testing/embedder_test_mock_delegate.h', 814 'testing/embedder_test_mock_delegate.h',
813 'testing/embedder_test_timer_handling_delegate.h', 815 'testing/embedder_test_timer_handling_delegate.h',
814 'testing/fx_string_testhelpers.cpp',
815 'testing/fx_string_testhelpers.h',
816 ], 816 ],
817 'conditions': [ 817 'conditions': [
818 ['pdf_enable_v8==1', { 818 ['pdf_enable_v8==1', {
819 'include_dirs': [ 819 'include_dirs': [
820 '<(DEPTH)/v8', 820 '<(DEPTH)/v8',
821 '<(DEPTH)/v8/include', 821 '<(DEPTH)/v8/include',
822 ], 822 ],
823 'dependencies': [ 823 'dependencies': [
824 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', 824 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
825 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform', 825 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform',
826 ], 826 ],
827 'sources': [ 827 'sources': [
828 'fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp', 828 'fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp',
829 ], 829 ],
830 }], 830 }],
831 ], 831 ],
832 }, 832 },
833 {
834 'target_name': 'test_support',
835 'type': 'static_library',
836 'dependencies': [
837 '<(DEPTH)/testing/gmock.gyp:gmock',
838 '<(DEPTH)/testing/gtest.gyp:gtest',
839 ],
840 'include_dirs': [
841 '<(DEPTH)',
842 ],
843 'sources': [
844 'testing/fx_string_testhelpers.cpp',
845 'testing/fx_string_testhelpers.h',
846 'testing/test_support.cpp',
847 'testing/test_support.h',
848 ],
849 'conditions': [
850 ['pdf_enable_v8==1', {
851 'include_dirs': [
852 '<(DEPTH)/v8',
853 '<(DEPTH)/v8/include',
854 ],
855 'dependencies': [
856 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
857 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform',
858 ],
859 }],
860 ],
861 },
833 ], 862 ],
834 } 863 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | samples/BUILD.gn » ('j') | samples/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698