OLD | NEW |
1 { | 1 { |
2 'variables': { | 2 'variables': { |
3 'pdf_use_skia%': 0, | 3 'pdf_use_skia%': 0, |
| 4 'pdf_enable_xfa%': 1, |
4 'conditions': [ | 5 'conditions': [ |
5 ['OS=="linux"', { | 6 ['OS=="linux"', { |
6 'bundle_freetype%': 0, | 7 'bundle_freetype%': 0, |
7 }, { # 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 |
8 # few methods are used from it. | 9 # few methods are used from it. |
9 'bundle_freetype%': 1, | 10 'bundle_freetype%': 1, |
10 }], | 11 }], |
11 ], | 12 ], |
12 }, | 13 }, |
13 'target_defaults': { | 14 'target_defaults': { |
14 'defines' : [ | 15 'defines' : [ |
15 'OPJ_STATIC', | 16 'OPJ_STATIC', |
16 'PNG_PREFIX', | 17 'PNG_PREFIX', |
17 'PNGPREFIX_H', | 18 'PNGPREFIX_H', |
18 'PNG_USE_READ_MACROS', | 19 'PNG_USE_READ_MACROS', |
19 'V8_DEPRECATION_WARNINGS', | 20 'V8_DEPRECATION_WARNINGS', |
20 '_CRT_SECURE_NO_WARNINGS', | 21 '_CRT_SECURE_NO_WARNINGS', |
21 ], | 22 ], |
22 'include_dirs': [ | 23 'include_dirs': [ |
23 'third_party/freetype/include', | 24 'third_party/freetype/include', |
24 ], | 25 ], |
25 'conditions': [ | 26 'conditions': [ |
26 ['pdf_use_skia==1', { | 27 ['pdf_use_skia==1', { |
27 'defines': ['_SKIA_SUPPORT_'], | 28 'defines': ['_SKIA_SUPPORT_'], |
28 }], | 29 }], |
| 30 ['pdf_enable_xfa==1', { |
| 31 'defines': ['PDF_ENABLE_XFA'], |
| 32 }], |
29 ['OS=="linux"', { | 33 ['OS=="linux"', { |
30 'conditions': [ | 34 'conditions': [ |
31 ['target_arch=="x64"', { | 35 ['target_arch=="x64"', { |
32 'defines' : [ '_FX_CPU_=_FX_X64_', ], | 36 'defines' : [ '_FX_CPU_=_FX_X64_', ], |
33 'cflags': [ '-fPIC', ], | 37 'cflags': [ '-fPIC', ], |
34 }], | 38 }], |
35 ['target_arch=="ia32"', { | 39 ['target_arch=="ia32"', { |
36 'defines' : [ '_FX_CPU_=_FX_X86_', ], | 40 'defines' : [ '_FX_CPU_=_FX_X86_', ], |
37 }], | 41 }], |
38 ], | 42 ], |
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
811 '<(DEPTH)' | 815 '<(DEPTH)' |
812 ], | 816 ], |
813 'sources': [ | 817 'sources': [ |
814 'core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp', | 818 'core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp', |
815 'core/src/fxcrt/fx_basic_bstring_unittest.cpp', | 819 'core/src/fxcrt/fx_basic_bstring_unittest.cpp', |
816 'core/src/fxcrt/fx_basic_memmgr_unittest.cpp', | 820 'core/src/fxcrt/fx_basic_memmgr_unittest.cpp', |
817 'core/src/fxcrt/fx_basic_wstring_unittest.cpp', | 821 'core/src/fxcrt/fx_basic_wstring_unittest.cpp', |
818 'testing/fx_string_testhelpers.h', | 822 'testing/fx_string_testhelpers.h', |
819 'testing/fx_string_testhelpers.cpp', | 823 'testing/fx_string_testhelpers.cpp', |
820 'third_party/base/nonstd_unique_ptr_unittest.cpp', | 824 'third_party/base/nonstd_unique_ptr_unittest.cpp', |
821 'xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp', | 825 ], |
822 'xfa/src/fxfa/src/parser/xfa_utils_imp_unittest.cpp', | 826 'conditions': [ |
| 827 ['pdf_enable_xfa==1', { |
| 828 'sources': [ |
| 829 'xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp', |
| 830 'xfa/src/fxfa/src/parser/xfa_utils_imp_unittest.cpp', |
| 831 ], |
| 832 }], |
823 ], | 833 ], |
824 }, | 834 }, |
825 { | 835 { |
826 'target_name': 'pdfium_embeddertests', | 836 'target_name': 'pdfium_embeddertests', |
827 'type': 'executable', | 837 'type': 'executable', |
828 'dependencies': [ | 838 'dependencies': [ |
829 '<(DEPTH)/testing/gmock.gyp:gmock', | 839 '<(DEPTH)/testing/gmock.gyp:gmock', |
830 '<(DEPTH)/testing/gtest.gyp:gtest', | 840 '<(DEPTH)/testing/gtest.gyp:gtest', |
831 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform', | 841 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform', |
832 'pdfium', | 842 'pdfium', |
(...skipping 17 matching lines...) Expand all Loading... |
850 'testing/embedder_test.cpp', | 860 'testing/embedder_test.cpp', |
851 'testing/embedder_test.h', | 861 'testing/embedder_test.h', |
852 'testing/embedder_test_mock_delegate.h', | 862 'testing/embedder_test_mock_delegate.h', |
853 'testing/embedder_test_timer_handling_delegate.h', | 863 'testing/embedder_test_timer_handling_delegate.h', |
854 'testing/fx_string_testhelpers.cpp', | 864 'testing/fx_string_testhelpers.cpp', |
855 'testing/fx_string_testhelpers.h', | 865 'testing/fx_string_testhelpers.h', |
856 ], | 866 ], |
857 }, | 867 }, |
858 ], | 868 ], |
859 } | 869 } |
OLD | NEW |