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': [ |
| 20 'third_party/freetype/include', |
| 21 ], |
19 'conditions': [ | 22 'conditions': [ |
20 ['pdf_use_skia==1', { | 23 ['pdf_use_skia==1', { |
21 'defines': ['_SKIA_SUPPORT_'], | 24 'defines': ['_SKIA_SUPPORT_'], |
22 }], | 25 }], |
23 ['bundle_freetype==1', { | 26 ['bundle_freetype==1', { |
24 'include_dirs': [ | |
25 'third_party/freetype/include', | |
26 ], | |
27 'defines' : [ | 27 'defines' : [ |
28 'FT2_BUILD_LIBRARY', | 28 'FT2_BUILD_LIBRARY', |
29 ], | 29 ], |
30 }, { | |
31 'include_dirs' : [ | |
32 '/usr/include/freetype2', | |
33 ], | |
34 }], | 30 }], |
35 ['OS=="linux"', { | 31 ['OS=="linux"', { |
36 'conditions': [ | 32 'conditions': [ |
37 ['target_arch=="x64"', { | 33 ['target_arch=="x64"', { |
38 'defines' : [ '_FX_CPU_=_FX_X64_', ], | 34 'defines' : [ '_FX_CPU_=_FX_X64_', ], |
39 'cflags': [ '-fPIC', ], | 35 'cflags': [ '-fPIC', ], |
40 }], | 36 }], |
41 ['target_arch=="ia32"', { | 37 ['target_arch=="ia32"', { |
42 'defines' : [ '_FX_CPU_=_FX_X86_', ], | 38 'defines' : [ '_FX_CPU_=_FX_X86_', ], |
43 }], | 39 }], |
(...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
869 'fpdfsdk/src/fpdftext_embeddertest.cpp', | 865 'fpdfsdk/src/fpdftext_embeddertest.cpp', |
870 'fpdfsdk/src/fpdfview_embeddertest.cpp', | 866 'fpdfsdk/src/fpdfview_embeddertest.cpp', |
871 'testing/embedder_test.cpp', | 867 'testing/embedder_test.cpp', |
872 'testing/embedder_test.h', | 868 'testing/embedder_test.h', |
873 'testing/fx_string_testhelpers.cpp', | 869 'testing/fx_string_testhelpers.cpp', |
874 'testing/fx_string_testhelpers.h', | 870 'testing/fx_string_testhelpers.h', |
875 ], | 871 ], |
876 }, | 872 }, |
877 ], | 873 ], |
878 } | 874 } |
OLD | NEW |