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 'PNG_PREFIX', |
| 19 'PNGPREFIX_H', |
| 20 'PNG_USE_READ_MACROS', |
18 ], | 21 ], |
19 'include_dirs': [ | 22 'include_dirs': [ |
20 'third_party/freetype/include', | 23 'third_party/freetype/include', |
21 ], | 24 ], |
22 'conditions': [ | 25 'conditions': [ |
23 ['pdf_use_skia==1', { | 26 ['pdf_use_skia==1', { |
24 'defines': ['_SKIA_SUPPORT_'], | 27 'defines': ['_SKIA_SUPPORT_'], |
25 }], | 28 }], |
26 ['OS=="linux"', { | 29 ['OS=="linux"', { |
27 'conditions': [ | 30 'conditions': [ |
(...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
942 'fpdfsdk/src/fpdftext_embeddertest.cpp', | 945 'fpdfsdk/src/fpdftext_embeddertest.cpp', |
943 'fpdfsdk/src/fpdfview_embeddertest.cpp', | 946 'fpdfsdk/src/fpdfview_embeddertest.cpp', |
944 'testing/embedder_test.cpp', | 947 'testing/embedder_test.cpp', |
945 'testing/embedder_test.h', | 948 'testing/embedder_test.h', |
946 'testing/fx_string_testhelpers.cpp', | 949 'testing/fx_string_testhelpers.cpp', |
947 'testing/fx_string_testhelpers.h', | 950 'testing/fx_string_testhelpers.h', |
948 ], | 951 ], |
949 }, | 952 }, |
950 ], | 953 ], |
951 } | 954 } |
OLD | NEW |