| OLD | NEW |
| 1 { | 1 { |
| 2 'variables': { | 2 'variables': { |
| 3 'pdf_use_skia%': 0, | 3 'pdf_use_skia%': 0, |
| 4 'conditions': [ | 4 'conditions': [ |
| 5 ['OS=="linux"', { | 5 ['OS=="linux"', { |
| 6 'bundle_freetype%': 0, | 6 'bundle_freetype%': 0, |
| 7 }, { # On Android there's no system FreeType. On Windows and Mac, only a | 7 }, { # On Android there's no system FreeType. On Windows and Mac, only a |
| 8 # few methods are used from it. | 8 # few methods are used from it. |
| 9 'bundle_freetype%': 1, | 9 'bundle_freetype%': 1, |
| 10 }], | 10 }], |
| 11 ], | 11 ], |
| 12 }, | 12 }, |
| 13 'target_defaults': { | 13 'target_defaults': { |
| 14 'defines' : [ | 14 'defines' : [ |
| 15 '_FPDFSDK_LIB', | 15 '_FPDFSDK_LIB', |
| 16 '_NO_GDIPLUS_', # workaround text rendering issues on Windows | 16 '_NO_GDIPLUS_', # workaround text rendering issues on Windows |
| 17 'OPJ_STATIC', | 17 'OPJ_STATIC', |
| 18 ], | 18 ], |
| 19 'include_dirs': [ | 19 'include_dirs': [ |
| 20 'third_party/freetype/include', | 20 'third_party/freetype/include', |
| 21 ], | 21 ], |
| 22 'conditions': [ | 22 'conditions': [ |
| 23 ['pdf_use_skia==1', { | 23 ['pdf_use_skia==1', { |
| 24 'defines': ['_SKIA_SUPPORT_'], | 24 'defines': ['_SKIA_SUPPORT_'], |
| 25 }], | 25 }], |
| 26 ['bundle_freetype==1', { | |
| 27 'defines' : [ | |
| 28 'FT2_BUILD_LIBRARY', | |
| 29 ], | |
| 30 }], | |
| 31 ['OS=="linux"', { | 26 ['OS=="linux"', { |
| 32 'conditions': [ | 27 'conditions': [ |
| 33 ['target_arch=="x64"', { | 28 ['target_arch=="x64"', { |
| 34 'defines' : [ '_FX_CPU_=_FX_X64_', ], | 29 'defines' : [ '_FX_CPU_=_FX_X64_', ], |
| 35 'cflags': [ '-fPIC', ], | 30 'cflags': [ '-fPIC', ], |
| 36 }], | 31 }], |
| 37 ['target_arch=="ia32"', { | 32 ['target_arch=="ia32"', { |
| 38 'defines' : [ '_FX_CPU_=_FX_X86_', ], | 33 'defines' : [ '_FX_CPU_=_FX_X86_', ], |
| 39 }], | 34 }], |
| 40 ], | 35 ], |
| (...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 865 'fpdfsdk/src/fpdftext_embeddertest.cpp', | 860 'fpdfsdk/src/fpdftext_embeddertest.cpp', |
| 866 'fpdfsdk/src/fpdfview_embeddertest.cpp', | 861 'fpdfsdk/src/fpdfview_embeddertest.cpp', |
| 867 'testing/embedder_test.cpp', | 862 'testing/embedder_test.cpp', |
| 868 'testing/embedder_test.h', | 863 'testing/embedder_test.h', |
| 869 'testing/fx_string_testhelpers.cpp', | 864 'testing/fx_string_testhelpers.cpp', |
| 870 'testing/fx_string_testhelpers.h', | 865 'testing/fx_string_testhelpers.h', |
| 871 ], | 866 ], |
| 872 }, | 867 }, |
| 873 ], | 868 ], |
| 874 } | 869 } |
| OLD | NEW |