OLD | NEW |
1 { | 1 { |
2 'targets': [ | 2 'targets': [ |
3 { | 3 { |
4 'target_name': 'freetype', | 4 'target_name': 'freetype', |
5 'type': 'none', | 5 'type': 'none', |
6 'conditions': [ | 6 'conditions': [ |
7 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { | 7 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { |
8 'direct_dependent_settings': { | 8 'direct_dependent_settings': { |
9 'include_dirs' : [ | 9 'include_dirs' : [ |
10 '/usr/include/freetype2', | 10 '/usr/include/freetype2', |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 '../third_party/externals/freetype/src/truetype/truetype.c', # TrueType
font driver | 74 '../third_party/externals/freetype/src/truetype/truetype.c', # TrueType
font driver |
75 | 75 |
76 # rasterizers (optional; at least one is needed for vector formats) | 76 # rasterizers (optional; at least one is needed for vector formats) |
77 '../third_party/externals/freetype/src/raster/raster.c', # monochrom
e rasterizer | 77 '../third_party/externals/freetype/src/raster/raster.c', # monochrom
e rasterizer |
78 '../third_party/externals/freetype/src/smooth/smooth.c', # anti-alia
sing rasterizer | 78 '../third_party/externals/freetype/src/smooth/smooth.c', # anti-alia
sing rasterizer |
79 | 79 |
80 # auxiliary modules (optional) | 80 # auxiliary modules (optional) |
81 '../third_party/externals/freetype/src/autofit/autofit.c', # auto hint
ing module | 81 '../third_party/externals/freetype/src/autofit/autofit.c', # auto hint
ing module |
82 '../third_party/externals/freetype/src/pshinter/pshinter.c', # PS hintin
g module | 82 '../third_party/externals/freetype/src/pshinter/pshinter.c', # PS hintin
g module |
83 '../third_party/externals/freetype/src/psnames/psnames.c', # PostScrip
t glyph names support | 83 '../third_party/externals/freetype/src/psnames/psnames.c', # PostScrip
t glyph names support |
| 84 |
| 85 # additional components used by poppler |
| 86 '../third_party/externals/freetype/src/base/ftbdf.c', |
| 87 '../third_party/externals/freetype/src/base/ftpfr.c', |
| 88 '../third_party/externals/freetype/src/psaux/psaux.c', |
| 89 |
| 90 '../third_party/externals/freetype/src/pcf/pcf.c', |
| 91 '../third_party/externals/freetype/src/pfr/pfr.c', |
| 92 '../third_party/externals/freetype/src/bdf/bdf.c', |
| 93 |
| 94 '../third_party/externals/freetype/src/type1/type1.c', |
| 95 '../third_party/externals/freetype/src/cid/type1cid.c', |
| 96 '../third_party/externals/freetype/src/type42/type42.c', |
| 97 '../third_party/externals/freetype/src/winfonts/winfnt.c', |
| 98 |
| 99 '../third_party/externals/freetype/src/gzip/ftgzip.c', |
| 100 '../third_party/externals/freetype/src/lzw/ftlzw.c', |
84 ], | 101 ], |
85 'include_dirs': [ | 102 'include_dirs': [ |
86 '../third_party/freetype/include_overrides', | |
87 '../third_party/externals/freetype/internal', | 103 '../third_party/externals/freetype/internal', |
88 '../third_party/externals/freetype/builds', | 104 '../third_party/externals/freetype/builds', |
89 '../third_party/externals/freetype/include', | 105 '../third_party/externals/freetype/include', |
| 106 '../third_party/externals/freetype/include/freetype/config', |
90 '../third_party/externals/freetype', | 107 '../third_party/externals/freetype', |
91 ], | 108 ], |
92 'cflags': [ | 109 'defines': [ |
93 '-DFT2_BUILD_LIBRARY', | 110 'FT2_BUILD_LIBRARY', |
| 111 'FT_CONFIG_CONFIG_H=<ftconfig.h>', |
| 112 'FT_CONFIG_MODULES_H=<ftmodule.h>', |
94 ], | 113 ], |
95 'direct_dependent_settings': { | 114 'direct_dependent_settings': { |
| 115 'defines': [ |
| 116 'FT_CONFIG_CONFIG_H=<ftconfig.h>', |
| 117 'FT_CONFIG_MODULES_H=<ftmodule.h>', |
| 118 ], |
96 'include_dirs': [ | 119 'include_dirs': [ |
97 '../third_party/freetype/include_overrides', | |
98 '../third_party/externals/freetype/include', | 120 '../third_party/externals/freetype/include', |
| 121 '../third_party/externals/freetype/include/freetype/config', |
99 ], | 122 ], |
100 }, | 123 }, |
101 'conditions': [ | 124 'conditions': [ |
102 [ 'skia_warnings_as_errors', { | 125 [ 'skia_warnings_as_errors', { |
103 'cflags!': [ | 126 'cflags!': [ |
104 '-Werror', | 127 '-Werror', |
105 ], | 128 ], |
106 }], | 129 }], |
107 [ 'skia_os == "mac"', { | 130 [ 'skia_os == "mac"', { |
108 'sources': [ | 131 'sources': [ |
(...skipping 16 matching lines...) Expand all Loading... |
125 ], | 148 ], |
126 }, | 149 }, |
127 ], | 150 ], |
128 } | 151 } |
129 | 152 |
130 # Local Variables: | 153 # Local Variables: |
131 # tab-width:2 | 154 # tab-width:2 |
132 # indent-tabs-mode:nil | 155 # indent-tabs-mode:nil |
133 # End: | 156 # End: |
134 # vim: set expandtab tabstop=2 shiftwidth=2: | 157 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |