blob: 65caf6f4b754cbafff974e51772d83cb3a0906c4 [file] [log] [blame]
John Abd-El-Malek5110c472014-05-17 22:33:34 -07001{
2 'variables': {
John Abd-El-Malek5110c472014-05-17 22:33:34 -07003 'pdf_use_skia%': 0,
John Abd-El-Malekef4dce42015-02-02 16:52:07 -08004 'conditions': [
5 ['OS=="linux"', {
6 'bundle_freetype%': 0,
7 }, { # On Android there's no system FreeType. On Windows and Mac, only a
8 # few methods are used from it.
9 'bundle_freetype%': 1,
10 }],
11 ],
John Abd-El-Malek5110c472014-05-17 22:33:34 -070012 },
13 'target_defaults': {
14 'defines' : [
John Abd-El-Malek5110c472014-05-17 22:33:34 -070015 '_FPDFSDK_LIB',
16 '_NO_GDIPLUS_', # workaround text rendering issues on Windows
Bo Xu043f07f2014-10-03 11:06:35 -070017 'OPJ_STATIC',
John Abd-El-Malek385729b2015-02-06 15:51:11 -080018 'PNG_PREFIX',
19 'PNGPREFIX_H',
20 'PNG_USE_READ_MACROS',
John Abd-El-Malek5110c472014-05-17 22:33:34 -070021 ],
Bo Xu4c764f32014-12-19 14:29:17 -080022 'include_dirs': [
23 'third_party/freetype/include',
24 ],
John Abd-El-Malek5110c472014-05-17 22:33:34 -070025 'conditions': [
26 ['pdf_use_skia==1', {
27 'defines': ['_SKIA_SUPPORT_'],
28 }],
29 ['OS=="linux"', {
John Abd-El-Malek5110c472014-05-17 22:33:34 -070030 'conditions': [
31 ['target_arch=="x64"', {
Nico Weberb72977f2014-07-18 15:50:30 -070032 'defines' : [ '_FX_CPU_=_FX_X64_', ],
33 'cflags': [ '-fPIC', ],
John Abd-El-Malek5110c472014-05-17 22:33:34 -070034 }],
35 ['target_arch=="ia32"', {
Nico Weberb72977f2014-07-18 15:50:30 -070036 'defines' : [ '_FX_CPU_=_FX_X86_', ],
John Abd-El-Malek5110c472014-05-17 22:33:34 -070037 }],
38 ],
39 }],
John Abd-El-Malek5110c472014-05-17 22:33:34 -070040 ],
41 'msvs_disabled_warnings': [
Nico Weber8f75c672014-07-16 17:31:56 -070042 4005, 4018, 4146, 4333, 4345, 4267
John Abd-El-Malek5110c472014-05-17 22:33:34 -070043 ],
44 },
45 'targets': [
46 {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070047 'target_name': 'pdfium',
John Abd-El-Malek5110c472014-05-17 22:33:34 -070048 'type': 'static_library',
49 'dependencies': [
Bo Xu4c764f32014-12-19 14:29:17 -080050 'third_party/third_party.gyp:bigint',
Tom Sepez35425892015-02-05 10:03:18 -080051 'third_party/third_party.gyp:pdfium_base',
John Abd-El-Malek5110c472014-05-17 22:33:34 -070052 'fdrm',
53 'fpdfdoc',
54 'fpdfapi',
55 'fpdftext',
56 'formfiller',
57 'fxcodec',
58 'fxcrt',
59 'fxedit',
60 'fxge',
61 'javascript',
62 'jsapi',
63 'pdfwindow',
Bo Xufdc00a72014-10-28 23:03:33 -070064 'fpdfxfa',
John Abd-El-Malek5110c472014-05-17 22:33:34 -070065 ],
66 'ldflags': [ '-L<(PRODUCT_DIR)',],
67 'sources': [
68 'fpdfsdk/include/fpdfdoc.h',
69 'fpdfsdk/include/fpdfedit.h',
70 'fpdfsdk/include/fpdfformfill.h',
John Abd-El-Malek5110c472014-05-17 22:33:34 -070071 'fpdfsdk/include/fpdftext.h',
72 'fpdfsdk/include/fpdfview.h',
73 'fpdfsdk/include/fpdf_dataavail.h',
74 'fpdfsdk/include/fpdf_flatten.h',
75 'fpdfsdk/include/fpdf_progressive.h',
76 'fpdfsdk/include/fpdf_searchex.h',
77 'fpdfsdk/include/fpdf_sysfontinfo.h',
78 'fpdfsdk/include/fpdf_ext.h',
79 'fpdfsdk/include/fpdf_sysfontinfo.h',
80 'fpdfsdk/include/fsdk_actionhandler.h',
81 'fpdfsdk/include/fsdk_annothandler.h',
82 'fpdfsdk/include/fsdk_baseannot.h',
83 'fpdfsdk/include/fsdk_baseform.h',
84 'fpdfsdk/src/fpdfdoc.cpp',
85 'fpdfsdk/src/fpdfeditimg.cpp',
86 'fpdfsdk/src/fpdfeditpage.cpp',
87 'fpdfsdk/src/fpdfformfill.cpp',
John Abd-El-Malek5110c472014-05-17 22:33:34 -070088 'fpdfsdk/src/fpdfppo.cpp',
89 'fpdfsdk/src/fpdfsave.cpp',
90 'fpdfsdk/src/fpdftext.cpp',
91 'fpdfsdk/src/fpdfview.cpp',
92 'fpdfsdk/src/fpdf_dataavail.cpp',
93 'fpdfsdk/src/fpdf_ext.cpp',
94 'fpdfsdk/src/fpdf_flatten.cpp',
95 'fpdfsdk/src/fpdf_progressive.cpp',
96 'fpdfsdk/src/fpdf_searchex.cpp',
97 'fpdfsdk/src/fpdf_sysfontinfo.cpp',
98 'fpdfsdk/src/fsdk_actionhandler.cpp',
99 'fpdfsdk/src/fsdk_annothandler.cpp',
100 'fpdfsdk/src/fsdk_baseannot.cpp',
101 'fpdfsdk/src/fsdk_baseform.cpp',
102 'fpdfsdk/src/fsdk_mgr.cpp',
103 'fpdfsdk/src/fsdk_rendercontext.cpp',
104 'fpdfsdk/src/fpdfsdkdll.rc',
105 'fpdfsdk/src/resource.h',
106 'fpdfsdk/include/fpdf_transformpage.h',
107 'fpdfsdk/src/fpdf_transformpage.cpp',
108 ],
109 'conditions': [
110 ['OS!="win"', {
111 'sources!': [
112 'fpdfsdk/src/fpdfsdkdll.rc',
113 ],
114 }],
John Abd-El-Malekef4dce42015-02-02 16:52:07 -0800115 ['bundle_freetype==1', {
116 'dependencies': [
117 'third_party/third_party.gyp:freetype',
118 ],
119 }, {
120 'link_settings': {
121 'libraries': [
122 '-lfreetype',
123 ],
124 },
125 }],
John Abd-El-Malek26119322014-05-26 18:27:11 -0700126 ],
127 'all_dependent_settings': {
128 'msvs_settings': {
129 'VCLinkerTool': {
130 'AdditionalDependencies': [
131 'advapi32.lib',
132 'gdi32.lib',
133 'user32.lib',
John Abd-El-Malek75392b32014-05-26 11:48:05 -0700134 ],
135 },
John Abd-El-Malek75392b32014-05-26 11:48:05 -0700136 },
John Abd-El-Malek26119322014-05-26 18:27:11 -0700137 'conditions': [
138 ['OS=="mac"', {
139 'link_settings': {
140 'libraries': [
141 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
142 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
143 ],
144 },
145 }],
146 ],
John Abd-El-Malek75392b32014-05-26 11:48:05 -0700147 },
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700148 },
149 {
150 'target_name': 'fdrm',
151 'type': 'static_library',
152 'ldflags': [ '-L<(PRODUCT_DIR)',],
153 'sources': [
154 'core/include/fdrm/fx_crypt.h',
155 'core/src/fdrm/crypto/fx_crypt.cpp',
156 'core/src/fdrm/crypto/fx_crypt_aes.cpp',
157 'core/src/fdrm/crypto/fx_crypt_sha.cpp',
158 ],
159 },
160 {
161 'target_name': 'fpdfdoc',
162 'type': 'static_library',
163 'ldflags': [ '-L<(PRODUCT_DIR)',],
164 'sources': [
165 'core/include/fpdfdoc/fpdf_ap.h',
166 'core/include/fpdfdoc/fpdf_doc.h',
167 'core/include/fpdfdoc/fpdf_tagged.h',
168 'core/include/fpdfdoc/fpdf_vt.h',
169 'core/src/fpdfdoc/doc_action.cpp',
170 'core/src/fpdfdoc/doc_annot.cpp',
171 'core/src/fpdfdoc/doc_ap.cpp',
172 'core/src/fpdfdoc/doc_basic.cpp',
173 'core/src/fpdfdoc/doc_bookmark.cpp',
174 'core/src/fpdfdoc/doc_form.cpp',
175 'core/src/fpdfdoc/doc_formcontrol.cpp',
176 'core/src/fpdfdoc/doc_formfield.cpp',
177 'core/src/fpdfdoc/doc_link.cpp',
178 'core/src/fpdfdoc/doc_metadata.cpp',
179 'core/src/fpdfdoc/doc_ocg.cpp',
180 'core/src/fpdfdoc/doc_tagged.cpp',
181 'core/src/fpdfdoc/doc_utils.cpp',
182 'core/src/fpdfdoc/doc_viewerPreferences.cpp',
183 'core/src/fpdfdoc/doc_vt.cpp',
184 'core/src/fpdfdoc/doc_vtmodule.cpp',
185 'core/src/fpdfdoc/pdf_vt.h',
186 'core/src/fpdfdoc/tagged_int.h',
187 ],
188 },
189 {
190 'target_name': 'fpdfapi',
191 'type': 'static_library',
192 'ldflags': [ '-L<(PRODUCT_DIR)',],
193 'sources': [
194 'core/include/fpdfapi/fpdfapi.h',
195 'core/include/fpdfapi/fpdf_module.h',
196 'core/include/fpdfapi/fpdf_objects.h',
197 'core/include/fpdfapi/fpdf_page.h',
198 'core/include/fpdfapi/fpdf_pageobj.h',
199 'core/include/fpdfapi/fpdf_parser.h',
200 'core/include/fpdfapi/fpdf_render.h',
201 'core/include/fpdfapi/fpdf_resource.h',
202 'core/include/fpdfapi/fpdf_serial.h',
203 'core/src/fpdfapi/fpdf_basic_module.cpp',
204 'core/src/fpdfapi/fpdf_cmaps/cmap_int.h',
205 'core/src/fpdfapi/fpdf_cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp',
206 'core/src/fpdfapi/fpdf_cmaps/CNS1/B5pc-H_0.cpp',
207 'core/src/fpdfapi/fpdf_cmaps/CNS1/B5pc-V_0.cpp',
208 'core/src/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp',
209 'core/src/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-H_0.cpp',
210 'core/src/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-V_0.cpp',
211 'core/src/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-H_0.cpp',
212 'core/src/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-V_0.cpp',
213 'core/src/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-H_0.cpp',
214 'core/src/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-V_0.cpp',
215 'core/src/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-H_5.cpp',
216 'core/src/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-V_5.cpp',
217 'core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-H_3.cpp',
218 'core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-V_3.cpp',
219 'core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UTF16-H_0.cpp',
220 'core/src/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp',
221 'core/src/fpdfapi/fpdf_cmaps/GB1/Adobe-GB1-UCS2_5.cpp',
222 'core/src/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp',
223 'core/src/fpdfapi/fpdf_cmaps/GB1/GB-EUC-H_0.cpp',
224 'core/src/fpdfapi/fpdf_cmaps/GB1/GB-EUC-V_0.cpp',
225 'core/src/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-H_2.cpp',
226 'core/src/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-V_2.cpp',
227 'core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-H_5.cpp',
228 'core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp',
229 'core/src/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-H_2.cpp',
230 'core/src/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-V_2.cpp',
231 'core/src/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-H_0.cpp',
232 'core/src/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-V_0.cpp',
233 'core/src/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-H_4.cpp',
234 'core/src/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-V_4.cpp',
235 'core/src/fpdfapi/fpdf_cmaps/Japan1/83pv-RKSJ-H_1.cpp',
236 'core/src/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-H_2.cpp',
237 'core/src/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-V_2.cpp',
238 'core/src/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-H_2.cpp',
239 'core/src/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-V_2.cpp',
240 'core/src/fpdfapi/fpdf_cmaps/Japan1/90pv-RKSJ-H_1.cpp',
241 'core/src/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-H_1.cpp',
242 'core/src/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-V_1.cpp',
243 'core/src/fpdfapi/fpdf_cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp',
244 'core/src/fpdfapi/fpdf_cmaps/Japan1/cmaps_japan1.cpp',
245 'core/src/fpdfapi/fpdf_cmaps/Japan1/EUC-H_1.cpp',
246 'core/src/fpdfapi/fpdf_cmaps/Japan1/EUC-V_1.cpp',
247 'core/src/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-H_2.cpp',
248 'core/src/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-V_2.cpp',
249 'core/src/fpdfapi/fpdf_cmaps/Japan1/H_1.cpp',
250 'core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp',
251 'core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp',
252 'core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-H_4.cpp',
253 'core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-V_4.cpp',
254 'core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UTF16-H_5.cpp',
255 'core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UTF16-V_5.cpp',
256 'core/src/fpdfapi/fpdf_cmaps/Japan1/V_1.cpp',
257 'core/src/fpdfapi/fpdf_cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp',
258 'core/src/fpdfapi/fpdf_cmaps/Korea1/cmaps_korea1.cpp',
259 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-H_0.cpp',
260 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-V_0.cpp',
261 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-H_1.cpp',
262 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-V_1.cpp',
263 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-H_1.cpp',
264 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-V_1.cpp',
265 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSCpc-EUC-H_0.cpp',
266 'core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-H_1.cpp',
267 'core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-V_1.cpp',
268 'core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UTF16-H_0.cpp',
269 'core/src/fpdfapi/fpdf_edit/editint.h',
270 'core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp',
271 'core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp',
272 'core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp',
273 'core/src/fpdfapi/fpdf_edit/fpdf_edit_image.cpp',
274 'core/src/fpdfapi/fpdf_font/common.h',
275 'core/src/fpdfapi/fpdf_font/font_int.h',
276 'core/src/fpdfapi/fpdf_font/fpdf_font.cpp',
277 'core/src/fpdfapi/fpdf_font/fpdf_font_charset.cpp',
278 'core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp',
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700279 'core/src/fpdfapi/fpdf_font/ttgsubtable.cpp',
280 'core/src/fpdfapi/fpdf_font/ttgsubtable.h',
281 'core/src/fpdfapi/fpdf_page/fpdf_page.cpp',
282 'core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp',
283 'core/src/fpdfapi/fpdf_page/fpdf_page_doc.cpp',
284 'core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp',
285 'core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp',
286 'core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp',
287 'core/src/fpdfapi/fpdf_page/fpdf_page_parser.cpp',
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700288 'core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp',
289 'core/src/fpdfapi/fpdf_page/fpdf_page_path.cpp',
290 'core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp',
291 'core/src/fpdfapi/fpdf_page/pageint.h',
292 'core/src/fpdfapi/fpdf_parser/filters_int.h',
293 'core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp',
294 'core/src/fpdfapi/fpdf_parser/fpdf_parser_document.cpp',
295 'core/src/fpdfapi/fpdf_parser/fpdf_parser_encrypt.cpp',
296 'core/src/fpdfapi/fpdf_parser/fpdf_parser_fdf.cpp',
297 'core/src/fpdfapi/fpdf_parser/fpdf_parser_filters.cpp',
298 'core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp',
299 'core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp',
300 'core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp',
301 'core/src/fpdfapi/fpdf_render/fpdf_render.cpp',
302 'core/src/fpdfapi/fpdf_render/fpdf_render_cache.cpp',
303 'core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp',
304 'core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp',
305 'core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp',
306 'core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp',
307 'core/src/fpdfapi/fpdf_render/render_int.h',
308 ],
309 },
310 {
311 'target_name': 'fpdftext',
312 'type': 'static_library',
313 'ldflags': [ '-L<(PRODUCT_DIR)',],
314 'sources': [
315 'core/include/fpdftext/fpdf_text.h',
316 'core/src/fpdftext/fpdf_text.cpp',
317 'core/src/fpdftext/fpdf_text_int.cpp',
318 'core/src/fpdftext/fpdf_text_search.cpp',
319 'core/src/fpdftext/text_int.h',
320 'core/src/fpdftext/txtproc.h',
321 'core/src/fpdftext/unicodenormalization.cpp',
322 'core/src/fpdftext/unicodenormalizationdata.cpp',
323 ],
324 },
325 {
326 'target_name': 'fxcodec',
327 'type': 'static_library',
328 'include_dirs': [
329 ],
330 'ldflags': [ '-L<(PRODUCT_DIR)',],
Bruce Dawson3f49aa32015-01-08 11:47:49 -0800331 'msvs_settings': {
332 'VCCLCompilerTool': {
333 # Unresolved warnings in fx_codec_jpx_opj.cpp
334 # https://code.google.com/p/pdfium/issues/detail?id=100
335 'WarnAsError': 'false',
336 },
337 },
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700338 'sources': [
339 'core/include/fxcodec/fx_codec.h',
340 'core/include/fxcodec/fx_codec_def.h',
341 'core/include/fxcodec/fx_codec_provider.h',
342 'core/src/fxcodec/codec/codec_int.h',
343 'core/src/fxcodec/codec/fx_codec.cpp',
Bo Xufdc00a72014-10-28 23:03:33 -0700344 'core/src/fxcodec/codec/fx_codec_bmp.cpp',
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700345 'core/src/fxcodec/codec/fx_codec_fax.cpp',
346 'core/src/fxcodec/codec/fx_codec_flate.cpp',
Bo Xufdc00a72014-10-28 23:03:33 -0700347 'core/src/fxcodec/codec/fx_codec_gif.cpp',
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700348 'core/src/fxcodec/codec/fx_codec_icc.cpp',
349 'core/src/fxcodec/codec/fx_codec_jbig.cpp',
350 'core/src/fxcodec/codec/fx_codec_jbig_enc.cpp',
351 'core/src/fxcodec/codec/fx_codec_jpeg.cpp',
352 'core/src/fxcodec/codec/fx_codec_jpx_opj.cpp',
Bo Xufdc00a72014-10-28 23:03:33 -0700353 'core/src/fxcodec/codec/fx_codec_png.cpp',
354 'core/src/fxcodec/codec/fx_codec_progress.cpp',
355 'core/src/fxcodec/codec/fx_codec_progress.h',
356 'core/src/fxcodec/codec/fx_codec_tiff.cpp',
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700357 'core/src/fxcodec/fx_libopenjpeg/include/fx_openjpeg.h',
358 'core/src/fxcodec/fx_libopenjpeg/src/fx_bio.c',
359 'core/src/fxcodec/fx_libopenjpeg/src/fx_cio.c',
360 'core/src/fxcodec/fx_libopenjpeg/src/fx_dwt.c',
361 'core/src/fxcodec/fx_libopenjpeg/src/fx_event.c',
362 'core/src/fxcodec/fx_libopenjpeg/src/fx_function_list.c',
363 'core/src/fxcodec/fx_libopenjpeg/src/fx_image.c',
364 'core/src/fxcodec/fx_libopenjpeg/src/fx_invert.c',
365 'core/src/fxcodec/fx_libopenjpeg/src/fx_j2k.c',
366 'core/src/fxcodec/fx_libopenjpeg/src/fx_j2k_lib.c',
367 'core/src/fxcodec/fx_libopenjpeg/src/fx_jpt.c',
368 'core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c',
369 'core/src/fxcodec/fx_libopenjpeg/src/fx_mqc.c',
370 'core/src/fxcodec/fx_libopenjpeg/src/fx_openjpeg.c',
371 'core/src/fxcodec/fx_libopenjpeg/src/fx_openjpeg_jp2.c',
372 'core/src/fxcodec/fx_libopenjpeg/src/fx_opj_clock.c',
373 'core/src/fxcodec/fx_libopenjpeg/src/fx_pi.c',
374 'core/src/fxcodec/fx_libopenjpeg/src/fx_raw.c',
375 'core/src/fxcodec/fx_libopenjpeg/src/fx_t1.c',
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700376 'core/src/fxcodec/fx_libopenjpeg/src/fx_t2.c',
377 'core/src/fxcodec/fx_libopenjpeg/src/fx_tcd.c',
378 'core/src/fxcodec/fx_libopenjpeg/src/fx_tgt.c',
Bo Xufdc00a72014-10-28 23:03:33 -0700379 'core/src/fxcodec/fx_lpng/include/fx_png.h',
380 'core/src/fxcodec/fx_lpng/src/fx_png.c',
381 'core/src/fxcodec/fx_lpng/src/fx_pngerror.c',
382 'core/src/fxcodec/fx_lpng/src/fx_pngget.c',
383 'core/src/fxcodec/fx_lpng/src/fx_pngmem.c',
384 'core/src/fxcodec/fx_lpng/src/fx_pngpread.c',
385 'core/src/fxcodec/fx_lpng/src/fx_pngread.c',
386 'core/src/fxcodec/fx_lpng/src/fx_pngrio.c',
387 'core/src/fxcodec/fx_lpng/src/fx_pngrtran.c',
388 'core/src/fxcodec/fx_lpng/src/fx_pngrutil.c',
389 'core/src/fxcodec/fx_lpng/src/fx_pngset.c',
390 'core/src/fxcodec/fx_lpng/src/fx_pngtrans.c',
391 'core/src/fxcodec/fx_lpng/src/fx_pngwio.c',
392 'core/src/fxcodec/fx_lpng/src/fx_pngwrite.c',
393 'core/src/fxcodec/fx_lpng/src/fx_pngwtran.c',
394 'core/src/fxcodec/fx_lpng/src/fx_pngwutil.c',
395 'core/src/fxcodec/fx_tiff/include/fx_tiffiop.h',
396 'core/src/fxcodec/fx_tiff/src/fx_tif_aux.c',
397 'core/src/fxcodec/fx_tiff/src/fx_tif_close.c',
398 'core/src/fxcodec/fx_tiff/src/fx_tif_codec.c',
399 'core/src/fxcodec/fx_tiff/src/fx_tif_color.c',
400 'core/src/fxcodec/fx_tiff/src/fx_tif_compress.c',
401 'core/src/fxcodec/fx_tiff/src/fx_tif_dir.c',
402 'core/src/fxcodec/fx_tiff/src/fx_tif_dirinfo.c',
403 'core/src/fxcodec/fx_tiff/src/fx_tif_dirread.c',
404 'core/src/fxcodec/fx_tiff/src/fx_tif_dirwrite.c',
405 'core/src/fxcodec/fx_tiff/src/fx_tif_dumpmode.c',
406 'core/src/fxcodec/fx_tiff/src/fx_tif_error.c',
407 'core/src/fxcodec/fx_tiff/src/fx_tif_extension.c',
408 'core/src/fxcodec/fx_tiff/src/fx_tif_fax3.c',
409 'core/src/fxcodec/fx_tiff/src/fx_tif_fax3sm.c',
410 'core/src/fxcodec/fx_tiff/src/fx_tif_flush.c',
411 'core/src/fxcodec/fx_tiff/src/fx_tif_getimage.c',
412 'core/src/fxcodec/fx_tiff/src/fx_tif_jpeg.c',
413 'core/src/fxcodec/fx_tiff/src/fx_tif_luv.c',
414 'core/src/fxcodec/fx_tiff/src/fx_tif_lzw.c',
415 'core/src/fxcodec/fx_tiff/src/fx_tif_next.c',
416 'core/src/fxcodec/fx_tiff/src/fx_tif_ojpeg.c',
417 'core/src/fxcodec/fx_tiff/src/fx_tif_open.c',
418 'core/src/fxcodec/fx_tiff/src/fx_tif_packbits.c',
419 'core/src/fxcodec/fx_tiff/src/fx_tif_pixarlog.c',
420 'core/src/fxcodec/fx_tiff/src/fx_tif_predict.c',
421 'core/src/fxcodec/fx_tiff/src/fx_tif_print.c',
422 'core/src/fxcodec/fx_tiff/src/fx_tif_read.c',
423 'core/src/fxcodec/fx_tiff/src/fx_tif_strip.c',
424 'core/src/fxcodec/fx_tiff/src/fx_tif_swab.c',
425 'core/src/fxcodec/fx_tiff/src/fx_tif_thunder.c',
426 'core/src/fxcodec/fx_tiff/src/fx_tif_tile.c',
427 'core/src/fxcodec/fx_tiff/src/fx_tif_version.c',
428 'core/src/fxcodec/fx_tiff/src/fx_tif_warning.c',
429 'core/src/fxcodec/fx_tiff/src/fx_tif_write.c',
430 'core/src/fxcodec/fx_tiff/src/fx_tif_zip.c',
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700431 'core/src/fxcodec/fx_zlib/include/fx_zlib.h',
432 'core/src/fxcodec/fx_zlib/src/fx_zlib_adler32.c',
433 'core/src/fxcodec/fx_zlib/src/fx_zlib_compress.c',
434 'core/src/fxcodec/fx_zlib/src/fx_zlib_crc32.c',
435 'core/src/fxcodec/fx_zlib/src/fx_zlib_deflate.c',
436 'core/src/fxcodec/fx_zlib/src/fx_zlib_gzclose.c',
437 'core/src/fxcodec/fx_zlib/src/fx_zlib_gzlib.c',
438 'core/src/fxcodec/fx_zlib/src/fx_zlib_gzread.c',
439 'core/src/fxcodec/fx_zlib/src/fx_zlib_gzwrite.c',
440 'core/src/fxcodec/fx_zlib/src/fx_zlib_infback.c',
441 'core/src/fxcodec/fx_zlib/src/fx_zlib_inffast.c',
442 'core/src/fxcodec/fx_zlib/src/fx_zlib_inflate.c',
443 'core/src/fxcodec/fx_zlib/src/fx_zlib_inftrees.c',
444 'core/src/fxcodec/fx_zlib/src/fx_zlib_trees.c',
445 'core/src/fxcodec/fx_zlib/src/fx_zlib_uncompr.c',
446 'core/src/fxcodec/fx_zlib/src/fx_zlib_zutil.c',
447 'core/src/fxcodec/jbig2/JBig2_ArithDecoder.h',
448 'core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp',
449 'core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.h',
450 'core/src/fxcodec/jbig2/JBig2_ArithQe.h',
451 'core/src/fxcodec/jbig2/JBig2_BitStream.h',
452 'core/src/fxcodec/jbig2/JBig2_Context.cpp',
453 'core/src/fxcodec/jbig2/JBig2_Context.h',
454 'core/src/fxcodec/jbig2/JBig2_Define.h',
455 'core/src/fxcodec/jbig2/JBig2_GeneralDecoder.cpp',
456 'core/src/fxcodec/jbig2/JBig2_GeneralDecoder.h',
457 'core/src/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp',
458 'core/src/fxcodec/jbig2/JBig2_HuffmanDecoder.h',
459 'core/src/fxcodec/jbig2/JBig2_HuffmanTable.cpp',
460 'core/src/fxcodec/jbig2/JBig2_HuffmanTable.h',
461 'core/src/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h',
462 'core/src/fxcodec/jbig2/JBig2_Image.cpp',
463 'core/src/fxcodec/jbig2/JBig2_Image.h',
464 'core/src/fxcodec/jbig2/JBig2_List.h',
465 'core/src/fxcodec/jbig2/JBig2_Module.h',
466 'core/src/fxcodec/jbig2/JBig2_Object.cpp',
467 'core/src/fxcodec/jbig2/JBig2_Object.h',
468 'core/src/fxcodec/jbig2/JBig2_Page.h',
469 'core/src/fxcodec/jbig2/JBig2_PatternDict.cpp',
470 'core/src/fxcodec/jbig2/JBig2_PatternDict.h',
471 'core/src/fxcodec/jbig2/JBig2_Segment.cpp',
472 'core/src/fxcodec/jbig2/JBig2_Segment.h',
473 'core/src/fxcodec/jbig2/JBig2_SymbolDict.cpp',
474 'core/src/fxcodec/jbig2/JBig2_SymbolDict.h',
Bo Xufdc00a72014-10-28 23:03:33 -0700475 'core/src/fxcodec/lbmp/fx_bmp.cpp',
476 'core/src/fxcodec/lbmp/fx_bmp.h',
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700477 'core/src/fxcodec/lcms2/src/fx_cmscam02.c',
478 'core/src/fxcodec/lcms2/src/fx_cmscgats.c',
479 'core/src/fxcodec/lcms2/src/fx_cmscnvrt.c',
480 'core/src/fxcodec/lcms2/src/fx_cmserr.c',
481 'core/src/fxcodec/lcms2/src/fx_cmsgamma.c',
482 'core/src/fxcodec/lcms2/src/fx_cmsgmt.c',
483 'core/src/fxcodec/lcms2/src/fx_cmshalf.c',
484 'core/src/fxcodec/lcms2/src/fx_cmsintrp.c',
485 'core/src/fxcodec/lcms2/src/fx_cmsio0.c',
486 'core/src/fxcodec/lcms2/src/fx_cmsio1.c',
487 'core/src/fxcodec/lcms2/src/fx_cmslut.c',
488 'core/src/fxcodec/lcms2/src/fx_cmsmd5.c',
489 'core/src/fxcodec/lcms2/src/fx_cmsmtrx.c',
490 'core/src/fxcodec/lcms2/src/fx_cmsnamed.c',
491 'core/src/fxcodec/lcms2/src/fx_cmsopt.c',
492 'core/src/fxcodec/lcms2/src/fx_cmspack.c',
493 'core/src/fxcodec/lcms2/src/fx_cmspcs.c',
494 'core/src/fxcodec/lcms2/src/fx_cmsplugin.c',
495 'core/src/fxcodec/lcms2/src/fx_cmsps2.c',
496 'core/src/fxcodec/lcms2/src/fx_cmssamp.c',
497 'core/src/fxcodec/lcms2/src/fx_cmssm.c',
498 'core/src/fxcodec/lcms2/src/fx_cmstypes.c',
499 'core/src/fxcodec/lcms2/src/fx_cmsvirt.c',
500 'core/src/fxcodec/lcms2/src/fx_cmswtpnt.c',
501 'core/src/fxcodec/lcms2/src/fx_cmsxform.c',
Bo Xufdc00a72014-10-28 23:03:33 -0700502 'core/src/fxcodec/lgif/fx_gif.cpp',
503 'core/src/fxcodec/lgif/fx_gif.h',
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700504 'core/src/fxcodec/libjpeg/cderror.h',
505 'core/src/fxcodec/libjpeg/cdjpeg.h',
506 'core/src/fxcodec/libjpeg/fpdfapi_jcapimin.c',
507 'core/src/fxcodec/libjpeg/fpdfapi_jcapistd.c',
508 'core/src/fxcodec/libjpeg/fpdfapi_jccoefct.c',
509 'core/src/fxcodec/libjpeg/fpdfapi_jccolor.c',
510 'core/src/fxcodec/libjpeg/fpdfapi_jcdctmgr.c',
511 'core/src/fxcodec/libjpeg/fpdfapi_jchuff.c',
512 'core/src/fxcodec/libjpeg/fpdfapi_jcinit.c',
513 'core/src/fxcodec/libjpeg/fpdfapi_jcmainct.c',
514 'core/src/fxcodec/libjpeg/fpdfapi_jcmarker.c',
515 'core/src/fxcodec/libjpeg/fpdfapi_jcmaster.c',
516 'core/src/fxcodec/libjpeg/fpdfapi_jcomapi.c',
517 'core/src/fxcodec/libjpeg/fpdfapi_jcparam.c',
518 'core/src/fxcodec/libjpeg/fpdfapi_jcphuff.c',
519 'core/src/fxcodec/libjpeg/fpdfapi_jcprepct.c',
520 'core/src/fxcodec/libjpeg/fpdfapi_jcsample.c',
521 'core/src/fxcodec/libjpeg/fpdfapi_jctrans.c',
522 'core/src/fxcodec/libjpeg/fpdfapi_jdapimin.c',
523 'core/src/fxcodec/libjpeg/fpdfapi_jdapistd.c',
524 'core/src/fxcodec/libjpeg/fpdfapi_jdcoefct.c',
525 'core/src/fxcodec/libjpeg/fpdfapi_jdcolor.c',
526 'core/src/fxcodec/libjpeg/fpdfapi_jddctmgr.c',
527 'core/src/fxcodec/libjpeg/fpdfapi_jdhuff.c',
528 'core/src/fxcodec/libjpeg/fpdfapi_jdinput.c',
529 'core/src/fxcodec/libjpeg/fpdfapi_jdmainct.c',
530 'core/src/fxcodec/libjpeg/fpdfapi_jdmarker.c',
531 'core/src/fxcodec/libjpeg/fpdfapi_jdmaster.c',
532 'core/src/fxcodec/libjpeg/fpdfapi_jdmerge.c',
533 'core/src/fxcodec/libjpeg/fpdfapi_jdphuff.c',
534 'core/src/fxcodec/libjpeg/fpdfapi_jdpostct.c',
535 'core/src/fxcodec/libjpeg/fpdfapi_jdsample.c',
536 'core/src/fxcodec/libjpeg/fpdfapi_jdtrans.c',
537 'core/src/fxcodec/libjpeg/fpdfapi_jerror.c',
538 'core/src/fxcodec/libjpeg/fpdfapi_jfdctfst.c',
539 'core/src/fxcodec/libjpeg/fpdfapi_jfdctint.c',
540 'core/src/fxcodec/libjpeg/fpdfapi_jidctfst.c',
541 'core/src/fxcodec/libjpeg/fpdfapi_jidctint.c',
542 'core/src/fxcodec/libjpeg/fpdfapi_jidctred.c',
543 'core/src/fxcodec/libjpeg/fpdfapi_jmemmgr.c',
544 'core/src/fxcodec/libjpeg/fpdfapi_jmemnobs.c',
545 'core/src/fxcodec/libjpeg/fpdfapi_jutils.c',
546 'core/src/fxcodec/libjpeg/jchuff.h',
547 'core/src/fxcodec/libjpeg/jconfig.h',
548 'core/src/fxcodec/libjpeg/jdct.h',
549 'core/src/fxcodec/libjpeg/jdhuff.h',
550 'core/src/fxcodec/libjpeg/jerror.h',
551 'core/src/fxcodec/libjpeg/jinclude.h',
552 'core/src/fxcodec/libjpeg/jmemsys.h',
553 'core/src/fxcodec/libjpeg/jmorecfg.h',
554 'core/src/fxcodec/libjpeg/jpegint.h',
555 'core/src/fxcodec/libjpeg/jpeglib.h',
556 'core/src/fxcodec/libjpeg/jversion.h',
557 'core/src/fxcodec/libjpeg/makefile',
558 'core/src/fxcodec/libjpeg/transupp.h',
559 ],
John Abd-El-Malekdef5c7d2014-06-09 16:07:18 -0700560 'conditions': [
561 ['os_posix==1', {
562 # core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int
563 # conversion to check that an address is 16-bit aligned (benign).
564 'cflags_c': [ '-Wno-pointer-to-int-cast' ],
565 }],
566 ],
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700567 },
568 {
569 'target_name': 'fxcrt',
570 'type': 'static_library',
571 'ldflags': [ '-L<(PRODUCT_DIR)',],
572 'sources': [
573 'core/include/fxcrt/fx_arb.h',
574 'core/include/fxcrt/fx_basic.h',
575 'core/include/fxcrt/fx_coordinates.h',
576 'core/include/fxcrt/fx_ext.h',
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700577 'core/include/fxcrt/fx_memory.h',
578 'core/include/fxcrt/fx_stream.h',
579 'core/include/fxcrt/fx_string.h',
580 'core/include/fxcrt/fx_system.h',
581 'core/include/fxcrt/fx_ucd.h',
582 'core/include/fxcrt/fx_xml.h',
583 'core/src/fxcrt/extension.h',
Tom Sepez53476d62015-02-04 10:48:28 -0800584 'core/src/fxcrt/fx_safe_types.h',
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700585 'core/src/fxcrt/fxcrt_platforms.cpp',
586 'core/src/fxcrt/fxcrt_platforms.h',
587 'core/src/fxcrt/fxcrt_posix.cpp',
588 'core/src/fxcrt/fxcrt_posix.h',
589 'core/src/fxcrt/fxcrt_windows.cpp',
590 'core/src/fxcrt/fxcrt_windows.h',
591 'core/src/fxcrt/fx_arabic.cpp',
592 'core/src/fxcrt/fx_arabic.h',
593 'core/src/fxcrt/fx_basic_array.cpp',
594 'core/src/fxcrt/fx_basic_bstring.cpp',
595 'core/src/fxcrt/fx_basic_buffer.cpp',
596 'core/src/fxcrt/fx_basic_coords.cpp',
597 'core/src/fxcrt/fx_basic_gcc.cpp',
598 'core/src/fxcrt/fx_basic_list.cpp',
599 'core/src/fxcrt/fx_basic_maps.cpp',
600 'core/src/fxcrt/fx_basic_memmgr.cpp',
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700601 'core/src/fxcrt/fx_basic_plex.cpp',
602 'core/src/fxcrt/fx_basic_utf.cpp',
603 'core/src/fxcrt/fx_basic_util.cpp',
604 'core/src/fxcrt/fx_basic_wstring.cpp',
605 'core/src/fxcrt/fx_extension.cpp',
606 'core/src/fxcrt/fx_ucddata.cpp',
607 'core/src/fxcrt/fx_unicode.cpp',
608 'core/src/fxcrt/fx_xml_composer.cpp',
609 'core/src/fxcrt/fx_xml_parser.cpp',
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700610 'core/src/fxcrt/plex.h',
611 'core/src/fxcrt/xml_int.h',
612 ],
613 },
614 {
615 'target_name': 'fxge',
616 'type': 'static_library',
617 'ldflags': [ '-L<(PRODUCT_DIR)',],
618 'sources': [
619 'core/include/fxge/fpf.h',
620 'core/include/fxge/fx_dib.h',
621 'core/include/fxge/fx_font.h',
622 'core/include/fxge/fx_freetype.h',
623 'core/include/fxge/fx_ge.h',
624 'core/include/fxge/fx_ge_apple.h',
625 'core/include/fxge/fx_ge_win32.h',
626 'core/src/fxge/agg/include/fxfx_agg_basics.h',
627 'core/src/fxge/agg/include/fxfx_agg_clip_liang_barsky.h',
628 'core/src/fxge/agg/include/fxfx_agg_conv_dash.h',
629 'core/src/fxge/agg/include/fxfx_agg_conv_stroke.h',
630 'core/src/fxge/agg/include/fxfx_agg_curves.h',
631 'core/src/fxge/agg/include/fxfx_agg_path_storage.h',
632 'core/src/fxge/agg/include/fxfx_agg_rasterizer_scanline_aa.h',
633 'core/src/fxge/agg/include/fxfx_agg_renderer_scanline.h',
634 'core/src/fxge/agg/include/fxfx_agg_rendering_buffer.h',
635 'core/src/fxge/agg/include/fxfx_agg_scanline_u.h',
636 'core/src/fxge/agg/include/fx_agg_driver.h',
637 'core/src/fxge/agg/src/fxfx_agg_curves.cpp',
638 'core/src/fxge/agg/src/fxfx_agg_driver.cpp',
639 'core/src/fxge/agg/src/fxfx_agg_path_storage.cpp',
640 'core/src/fxge/agg/src/fxfx_agg_rasterizer_scanline_aa.cpp',
641 'core/src/fxge/agg/src/fxfx_agg_vcgen_dash.cpp',
642 'core/src/fxge/agg/src/fxfx_agg_vcgen_stroke.cpp',
643 'core/src/fxge/android/fpf_skiafont.cpp',
644 'core/src/fxge/android/fpf_skiafont.h',
645 'core/src/fxge/android/fpf_skiafontmgr.cpp',
646 'core/src/fxge/android/fpf_skiafontmgr.h',
647 'core/src/fxge/android/fpf_skiamodule.cpp',
648 'core/src/fxge/android/fpf_skiamodule.h',
649 'core/src/fxge/android/fx_android_font.cpp',
650 'core/src/fxge/android/fx_android_font.h',
651 'core/src/fxge/android/fx_android_imp.cpp',
652 'core/src/fxge/android/fx_fpf.h',
653 'core/src/fxge/apple/apple_int.h',
654 'core/src/fxge/apple/fx_apple_platform.cpp',
655 'core/src/fxge/apple/fx_mac_imp.cpp',
656 'core/src/fxge/apple/fx_quartz_device.cpp',
657 'core/src/fxge/dib/dib_int.h',
658 'core/src/fxge/dib/fx_dib_composite.cpp',
659 'core/src/fxge/dib/fx_dib_convert.cpp',
660 'core/src/fxge/dib/fx_dib_engine.cpp',
661 'core/src/fxge/dib/fx_dib_main.cpp',
662 'core/src/fxge/dib/fx_dib_transform.cpp',
663 'core/src/fxge/fontdata/chromefontdata/FoxitDingbats.c',
664 'core/src/fxge/fontdata/chromefontdata/FoxitFixed.c',
665 'core/src/fxge/fontdata/chromefontdata/FoxitFixedBold.c',
666 'core/src/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.c',
667 'core/src/fxge/fontdata/chromefontdata/FoxitFixedItalic.c',
668 'core/src/fxge/fontdata/chromefontdata/FoxitSans.c',
669 'core/src/fxge/fontdata/chromefontdata/FoxitSansBold.c',
670 'core/src/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.c',
671 'core/src/fxge/fontdata/chromefontdata/FoxitSansItalic.c',
672 'core/src/fxge/fontdata/chromefontdata/FoxitSansMM.c',
673 'core/src/fxge/fontdata/chromefontdata/FoxitSerif.c',
674 'core/src/fxge/fontdata/chromefontdata/FoxitSerifBold.c',
675 'core/src/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.c',
676 'core/src/fxge/fontdata/chromefontdata/FoxitSerifItalic.c',
677 'core/src/fxge/fontdata/chromefontdata/FoxitSerifMM.c',
678 'core/src/fxge/fontdata/chromefontdata/FoxitSymbol.c',
Bo Xu4c764f32014-12-19 14:29:17 -0800679 'core/src/fxge/freetype/fx_freetype.c',
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700680 'core/src/fxge/ge/fx_ge.cpp',
681 'core/src/fxge/ge/fx_ge_device.cpp',
682 'core/src/fxge/ge/fx_ge_font.cpp',
683 'core/src/fxge/ge/fx_ge_fontmap.cpp',
684 'core/src/fxge/ge/fx_ge_linux.cpp',
685 'core/src/fxge/ge/fx_ge_path.cpp',
686 'core/src/fxge/ge/fx_ge_ps.cpp',
687 'core/src/fxge/ge/fx_ge_text.cpp',
688 'core/src/fxge/ge/text_int.h',
689 ],
690 'conditions': [
691 ['pdf_use_skia==1', {
692 'sources': [
693 'core/src/fxge/skia/fx_skia_blitter_new.cpp',
694 'core/src/fxge/skia/fx_skia_device.cpp',
695 ],
696 'dependencies': [
697 '<(DEPTH)/skia/skia.gyp:skia',
698 ],
699 'include_dirs': [
700 '<(DEPTH)/third_party/skia/include/config',
701 '<(DEPTH)/third_party/skia/include/core',
702 '<(DEPTH)/third_party/skia/include/effects',
703 '<(DEPTH)/third_party/skia/include/images',
704 '<(DEPTH)/third_party/skia/include/lazy',
705 '<(DEPTH)/third_party/skia/include/pathops',
706 '<(DEPTH)/third_party/skia/include/utils',
707 '<(DEPTH)/third_party/skia/src/core',
708 ],
709 }],
710 ['OS=="win"', {
711 'defines!': [
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700712 'WIN32_LEAN_AND_MEAN'
713 ],
714 'sources': [
715 'core/src/fxge/win32/dwrite_int.h',
716 'core/src/fxge/win32/fx_win32_device.cpp',
717 'core/src/fxge/win32/fx_win32_dib.cpp',
718 'core/src/fxge/win32/fx_win32_dwrite.cpp',
719 'core/src/fxge/win32/fx_win32_gdipext.cpp',
720 'core/src/fxge/win32/fx_win32_print.cpp',
721 'core/src/fxge/win32/win32_int.h',
722 ],
723 }],
724 ],
725 },
726 {
727 'target_name': 'fxedit',
728 'type': 'static_library',
729 'ldflags': [ '-L<(PRODUCT_DIR)',],
730 'sources': [
731 'fpdfsdk/include/fxedit/fx_edit.h',
732 'fpdfsdk/include/fxedit/fxet_edit.h',
733 'fpdfsdk/include/fxedit/fxet_list.h',
734 'fpdfsdk/include/fxedit/fxet_stub.h',
735 'fpdfsdk/src/fxedit/fxet_ap.cpp',
736 'fpdfsdk/src/fxedit/fxet_edit.cpp',
737 'fpdfsdk/src/fxedit/fxet_list.cpp',
738 'fpdfsdk/src/fxedit/fxet_module.cpp',
739 'fpdfsdk/src/fxedit/fxet_pageobjs.cpp',
740 ],
741 },
742 {
743 'target_name': 'pdfwindow',
744 'type': 'static_library',
745 'ldflags': [ '-L<(PRODUCT_DIR)',],
746 'sources': [
747 'fpdfsdk/include/pdfwindow/IPDFWindow.h',
748 'fpdfsdk/include/pdfwindow/PDFWindow.h',
749 'fpdfsdk/include/pdfwindow/PWL_Button.h',
750 'fpdfsdk/include/pdfwindow/PWL_Caret.h',
751 'fpdfsdk/include/pdfwindow/PWL_ComboBox.h',
752 'fpdfsdk/include/pdfwindow/PWL_Edit.h',
753 'fpdfsdk/include/pdfwindow/PWL_EditCtrl.h',
754 'fpdfsdk/include/pdfwindow/PWL_FontMap.h',
755 'fpdfsdk/include/pdfwindow/PWL_Icon.h',
756 'fpdfsdk/include/pdfwindow/PWL_IconList.h',
757 'fpdfsdk/include/pdfwindow/PWL_Label.h',
758 'fpdfsdk/include/pdfwindow/PWL_ListBox.h',
759 'fpdfsdk/include/pdfwindow/PWL_ListCtrl.h',
760 'fpdfsdk/include/pdfwindow/PWL_Note.h',
761 'fpdfsdk/include/pdfwindow/PWL_ScrollBar.h',
762 'fpdfsdk/include/pdfwindow/PWL_Signature.h',
763 'fpdfsdk/include/pdfwindow/PWL_SpecialButton.h',
764 'fpdfsdk/include/pdfwindow/PWL_Utils.h',
765 'fpdfsdk/include/pdfwindow/PWL_Wnd.h',
766 'fpdfsdk/src/pdfwindow/PWL_Button.cpp',
767 'fpdfsdk/src/pdfwindow/PWL_Caret.cpp',
768 'fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp',
769 'fpdfsdk/src/pdfwindow/PWL_Edit.cpp',
770 'fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp',
771 'fpdfsdk/src/pdfwindow/PWL_FontMap.cpp',
772 'fpdfsdk/src/pdfwindow/PWL_Icon.cpp',
773 'fpdfsdk/src/pdfwindow/PWL_IconList.cpp',
774 'fpdfsdk/src/pdfwindow/PWL_Label.cpp',
775 'fpdfsdk/src/pdfwindow/PWL_ListBox.cpp',
776 'fpdfsdk/src/pdfwindow/PWL_ListCtrl.cpp',
777 'fpdfsdk/src/pdfwindow/PWL_Note.cpp',
778 'fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp',
779 'fpdfsdk/src/pdfwindow/PWL_Signature.cpp',
780 'fpdfsdk/src/pdfwindow/PWL_SpecialButton.cpp',
781 'fpdfsdk/src/pdfwindow/PWL_Utils.cpp',
782 'fpdfsdk/src/pdfwindow/PWL_Wnd.cpp',
783 ],
784 },
785 {
Bo Xufdc00a72014-10-28 23:03:33 -0700786 'target_name': 'fpdfxfa',
787 'type': 'static_library',
788 'ldflags': [ '-L<(PRODUCT_DIR)',],
789 'dependencies': [
790 'xfa.gyp:xfa',
791 ],
792 'sources': [
793 'fpdfsdk/src/fpdfxfa/fpdfxfa_app.cpp',
794 'fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp',
795 'fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp',
796 'fpdfsdk/src/fpdfxfa/fpdfxfa_util.cpp',
797 'fpdfsdk/include/fpdfxfa/fpdfxfa_app.h',
798 'fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h',
799 'fpdfsdk/include/fpdfxfa/fpdfxfa_page.h',
800 'fpdfsdk/include/fpdfxfa/fpdfxfa_util.h',
801 ],
802 },
803 {
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700804 'target_name': 'javascript',
805 'type': 'static_library',
806 'include_dirs': [
Jochen Eisinger3fb18f42014-07-17 08:46:45 +0200807 '<(DEPTH)/v8',
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700808 '<(DEPTH)/v8/include',
809 ],
810 'dependencies': [
811 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
Jochen Eisinger3fb18f42014-07-17 08:46:45 +0200812 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform',
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700813 ],
814 'export_dependent_settings': [
815 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
816 ],
817 'ldflags': [ '-L<(PRODUCT_DIR)',],
818 'sources': [
819 'fpdfsdk/include/javascript/app.h',
820 'fpdfsdk/include/javascript/color.h',
821 'fpdfsdk/include/javascript/console.h',
822 'fpdfsdk/include/javascript/Consts.h',
823 'fpdfsdk/include/javascript/Document.h',
824 'fpdfsdk/include/javascript/event.h',
825 'fpdfsdk/include/javascript/Field.h',
826 'fpdfsdk/include/javascript/global.h',
827 'fpdfsdk/include/javascript/Icon.h',
828 'fpdfsdk/include/javascript/IJavaScript.h',
829 'fpdfsdk/include/javascript/JavaScript.h',
830 'fpdfsdk/include/javascript/JS_Console.h',
831 'fpdfsdk/include/javascript/JS_Context.h',
832 'fpdfsdk/include/javascript/JS_Define.h',
833 'fpdfsdk/include/javascript/JS_EventHandler.h',
834 'fpdfsdk/include/javascript/JS_GlobalData.h',
835 'fpdfsdk/include/javascript/JS_Module.h',
836 'fpdfsdk/include/javascript/JS_Object.h',
837 'fpdfsdk/include/javascript/JS_Runtime.h',
838 'fpdfsdk/include/javascript/JS_Value.h',
839 'fpdfsdk/include/javascript/PublicMethods.h',
840 'fpdfsdk/include/javascript/report.h',
841 'fpdfsdk/include/javascript/resource.h',
842 'fpdfsdk/include/javascript/util.h',
843 'fpdfsdk/src/javascript/app.cpp',
844 'fpdfsdk/src/javascript/color.cpp',
845 'fpdfsdk/src/javascript/console.cpp',
846 'fpdfsdk/src/javascript/Consts.cpp',
847 'fpdfsdk/src/javascript/Document.cpp',
848 'fpdfsdk/src/javascript/event.cpp',
849 'fpdfsdk/src/javascript/Field.cpp',
850 'fpdfsdk/src/javascript/global.cpp',
851 'fpdfsdk/src/javascript/Icon.cpp',
852 'fpdfsdk/src/javascript/JS_Context.cpp',
853 'fpdfsdk/src/javascript/JS_EventHandler.cpp',
854 'fpdfsdk/src/javascript/JS_GlobalData.cpp',
855 'fpdfsdk/src/javascript/JS_Object.cpp',
856 'fpdfsdk/src/javascript/JS_Runtime.cpp',
857 'fpdfsdk/src/javascript/JS_Value.cpp',
858 'fpdfsdk/src/javascript/PublicMethods.cpp',
859 'fpdfsdk/src/javascript/report.cpp',
860 'fpdfsdk/src/javascript/util.cpp',
861 ],
862 },
863 {
864 'target_name': 'jsapi',
865 'type': 'static_library',
866 'dependencies': [
867 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
868 ],
869 'export_dependent_settings': [
870 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
871 ],
872 'include_dirs': [
Jochen Eisinger3fb18f42014-07-17 08:46:45 +0200873 '<(DEPTH)/v8',
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700874 '<(DEPTH)/v8/include',
875 ],
876 'ldflags': [ '-L<(PRODUCT_DIR)',],
877 'sources': [
878 'fpdfsdk/include/jsapi/fxjs_v8.h',
879 'fpdfsdk/src/jsapi/fxjs_v8.cpp',
880 ],
881 },
882 {
883 'target_name': 'formfiller',
884 'type': 'static_library',
885 'ldflags': [ '-L<(PRODUCT_DIR)',],
886 'sources': [
887 'fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h',
888 'fpdfsdk/include/formfiller/FFL_CheckBox.h',
889 'fpdfsdk/include/formfiller/FFL_ComboBox.h',
890 'fpdfsdk/include/formfiller/FFL_FormFiller.h',
891 'fpdfsdk/include/formfiller/FFL_IFormFiller.h',
892 'fpdfsdk/include/formfiller/FFL_ListBox.h',
893 'fpdfsdk/include/formfiller/FFL_Notify.h',
894 'fpdfsdk/include/formfiller/FFL_PushButton.h',
895 'fpdfsdk/include/formfiller/FFL_RadioButton.h',
896 'fpdfsdk/include/formfiller/FFL_TextField.h',
897 'fpdfsdk/include/formfiller/FFL_Utils.h',
898 'fpdfsdk/include/formfiller/FormFiller.h',
899 'fpdfsdk/src/formfiller/FFL_CBA_Fontmap.cpp',
900 'fpdfsdk/src/formfiller/FFL_CheckBox.cpp',
901 'fpdfsdk/src/formfiller/FFL_ComboBox.cpp',
902 'fpdfsdk/src/formfiller/FFL_FormFiller.cpp',
903 'fpdfsdk/src/formfiller/FFL_IFormFiller.cpp',
904 'fpdfsdk/src/formfiller/FFL_ListBox.cpp',
905 'fpdfsdk/src/formfiller/FFL_Notify.cpp',
906 'fpdfsdk/src/formfiller/FFL_PushButton.cpp',
907 'fpdfsdk/src/formfiller/FFL_RadioButton.cpp',
908 'fpdfsdk/src/formfiller/FFL_TextField.cpp',
909 'fpdfsdk/src/formfiller/FFL_Utils.cpp',
910 ],
911 },
Tom Sepez22ee2482015-01-07 10:04:16 -0800912 {
913 'target_name': 'pdfium_unittests',
914 'type': 'executable',
915 'dependencies': [
916 '<(DEPTH)/testing/gtest.gyp:gtest_main',
917 '<(DEPTH)/testing/gtest.gyp:gtest',
918 'pdfium',
919 ],
920 'include_dirs': [
921 '<(DEPTH)'
922 ],
923 'sources': [
Tom Sepeza5c94312015-01-07 12:28:56 -0800924 'testing/fx_string_testhelpers.h',
925 'testing/fx_string_testhelpers.cpp',
Tom Sepez22ee2482015-01-07 10:04:16 -0800926 'core/src/fxcrt/fx_basic_bstring_unittest.cpp',
Bo Xua6f95eb2015-01-21 12:17:23 -0800927 'core/src/fxcrt/fx_basic_wstring_unittest.cpp',
Bo Xua9029792015-01-09 17:27:21 -0800928 'xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp',
Tom Sepez22ee2482015-01-07 10:04:16 -0800929 ],
930 },
Tom Sepez96d13342015-01-16 14:59:26 -0800931 {
932 'target_name': 'pdfium_embeddertests',
933 'type': 'executable',
934 'dependencies': [
Tom Sepez96d13342015-01-16 14:59:26 -0800935 '<(DEPTH)/testing/gtest.gyp:gtest',
936 'pdfium',
937 ],
938 'include_dirs': [
939 '<(DEPTH)'
940 ],
941 'sources': [
Tom Sepez2255a1b2015-01-23 15:33:44 -0800942 'fpdfsdk/src/fpdf_dataavail_embeddertest.cpp',
Tom Sepezc8f6ab62015-01-22 11:20:06 -0800943 'fpdfsdk/src/fpdfdoc_embeddertest.cpp',
Tom Sepez26b8a5b2015-01-27 12:42:36 -0800944 'fpdfsdk/src/fpdftext_embeddertest.cpp',
Tom Sepez96d13342015-01-16 14:59:26 -0800945 'fpdfsdk/src/fpdfview_embeddertest.cpp',
946 'testing/embedder_test.cpp',
947 'testing/embedder_test.h',
948 'testing/fx_string_testhelpers.cpp',
949 'testing/fx_string_testhelpers.h',
950 ],
951 },
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700952 ],
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700953}