blob: ff619319ab70d9457047e04fc4dd2cc87df03987 [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,
4 },
5 'target_defaults': {
6 'defines' : [
7 'FOXIT_CHROME_BUILD',
8 '_FXFT_VERSION_=2501',
9 '_FPDFSDK_LIB',
10 '_NO_GDIPLUS_', # workaround text rendering issues on Windows
11 ],
12 'conditions': [
13 ['pdf_use_skia==1', {
14 'defines': ['_SKIA_SUPPORT_'],
15 }],
16 ['OS=="linux"', {
17 'cflags!': [
18 '-fno-exceptions',
19 ],
20 'conditions': [
21 ['target_arch=="x64"', {
22 'defines' : [
23 '_FX_CPU_=_FX_X64_',
24 ],
25 'cflags': [
26 '-fPIC',
27 ],
28 }],
29 ['target_arch=="ia32"', {
30 'defines' : [
31 '_FX_CPU_=_FX_X86_',
32 ],
33 }],
34 ],
35 }],
36 ['OS=="mac"', {
37 'xcode_settings': {
38 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
John Abd-El-Malek5110c472014-05-17 22:33:34 -070039 },
40 }],
John Abd-El-Malek5110c472014-05-17 22:33:34 -070041 ],
42 'msvs_disabled_warnings': [
Nico Weber8f75c672014-07-16 17:31:56 -070043 4005, 4018, 4146, 4333, 4345, 4267
John Abd-El-Malek5110c472014-05-17 22:33:34 -070044 ],
45 },
46 'targets': [
47 {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070048 'target_name': 'pdfium',
John Abd-El-Malek5110c472014-05-17 22:33:34 -070049 'type': 'static_library',
50 'dependencies': [
Chris Palmer9108ad22014-06-26 16:01:46 -070051 'safemath',
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',
64 ],
65 'ldflags': [ '-L<(PRODUCT_DIR)',],
66 'sources': [
67 'fpdfsdk/include/fpdfdoc.h',
68 'fpdfsdk/include/fpdfedit.h',
69 'fpdfsdk/include/fpdfformfill.h',
70 'fpdfsdk/include/fpdfoom.h',
71 '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',
88 'fpdfsdk/src/fpdfoom.cpp',
89 'fpdfsdk/src/fpdfppo.cpp',
90 'fpdfsdk/src/fpdfsave.cpp',
91 'fpdfsdk/src/fpdftext.cpp',
92 'fpdfsdk/src/fpdfview.cpp',
93 'fpdfsdk/src/fpdf_dataavail.cpp',
94 'fpdfsdk/src/fpdf_ext.cpp',
95 'fpdfsdk/src/fpdf_flatten.cpp',
96 'fpdfsdk/src/fpdf_progressive.cpp',
97 'fpdfsdk/src/fpdf_searchex.cpp',
98 'fpdfsdk/src/fpdf_sysfontinfo.cpp',
99 'fpdfsdk/src/fsdk_actionhandler.cpp',
100 'fpdfsdk/src/fsdk_annothandler.cpp',
101 'fpdfsdk/src/fsdk_baseannot.cpp',
102 'fpdfsdk/src/fsdk_baseform.cpp',
103 'fpdfsdk/src/fsdk_mgr.cpp',
104 'fpdfsdk/src/fsdk_rendercontext.cpp',
105 'fpdfsdk/src/fpdfsdkdll.rc',
106 'fpdfsdk/src/resource.h',
107 'fpdfsdk/include/fpdf_transformpage.h',
108 'fpdfsdk/src/fpdf_transformpage.cpp',
109 ],
110 'conditions': [
111 ['OS!="win"', {
112 'sources!': [
113 'fpdfsdk/src/fpdfsdkdll.rc',
114 ],
115 }],
John Abd-El-Malek26119322014-05-26 18:27:11 -0700116 ],
117 'all_dependent_settings': {
118 'msvs_settings': {
119 'VCLinkerTool': {
120 'AdditionalDependencies': [
121 'advapi32.lib',
122 'gdi32.lib',
123 'user32.lib',
John Abd-El-Malek75392b32014-05-26 11:48:05 -0700124 ],
125 },
John Abd-El-Malek75392b32014-05-26 11:48:05 -0700126 },
John Abd-El-Malek26119322014-05-26 18:27:11 -0700127 'conditions': [
128 ['OS=="mac"', {
129 'link_settings': {
130 'libraries': [
131 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
132 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
133 ],
134 },
135 }],
136 ],
John Abd-El-Malek75392b32014-05-26 11:48:05 -0700137 },
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700138 },
139 {
Chris Palmer9108ad22014-06-26 16:01:46 -0700140 'target_name': 'safemath',
141 'type': 'none',
142 'sources': [
143 'third_party/logging.h',
144 'third_party/macros.h',
145 'third_party/template_util.h',
146 'third_party/numerics/safe_conversions.h',
147 'third_party/numerics/safe_conversions_impl.h',
148 'third_party/numerics/safe_math.h',
149 'third_party/numerics/safe_math_impl.h',
150 ],
151 },
152 {
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700153 'target_name': 'fdrm',
154 'type': 'static_library',
155 'ldflags': [ '-L<(PRODUCT_DIR)',],
156 'sources': [
157 'core/include/fdrm/fx_crypt.h',
158 'core/src/fdrm/crypto/fx_crypt.cpp',
159 'core/src/fdrm/crypto/fx_crypt_aes.cpp',
160 'core/src/fdrm/crypto/fx_crypt_sha.cpp',
161 ],
162 },
163 {
164 'target_name': 'fpdfdoc',
165 'type': 'static_library',
166 'ldflags': [ '-L<(PRODUCT_DIR)',],
167 'sources': [
168 'core/include/fpdfdoc/fpdf_ap.h',
169 'core/include/fpdfdoc/fpdf_doc.h',
170 'core/include/fpdfdoc/fpdf_tagged.h',
171 'core/include/fpdfdoc/fpdf_vt.h',
172 'core/src/fpdfdoc/doc_action.cpp',
173 'core/src/fpdfdoc/doc_annot.cpp',
174 'core/src/fpdfdoc/doc_ap.cpp',
175 'core/src/fpdfdoc/doc_basic.cpp',
176 'core/src/fpdfdoc/doc_bookmark.cpp',
177 'core/src/fpdfdoc/doc_form.cpp',
178 'core/src/fpdfdoc/doc_formcontrol.cpp',
179 'core/src/fpdfdoc/doc_formfield.cpp',
180 'core/src/fpdfdoc/doc_link.cpp',
181 'core/src/fpdfdoc/doc_metadata.cpp',
182 'core/src/fpdfdoc/doc_ocg.cpp',
183 'core/src/fpdfdoc/doc_tagged.cpp',
184 'core/src/fpdfdoc/doc_utils.cpp',
185 'core/src/fpdfdoc/doc_viewerPreferences.cpp',
186 'core/src/fpdfdoc/doc_vt.cpp',
187 'core/src/fpdfdoc/doc_vtmodule.cpp',
188 'core/src/fpdfdoc/pdf_vt.h',
189 'core/src/fpdfdoc/tagged_int.h',
190 ],
191 },
192 {
193 'target_name': 'fpdfapi',
194 'type': 'static_library',
195 'ldflags': [ '-L<(PRODUCT_DIR)',],
196 'sources': [
197 'core/include/fpdfapi/fpdfapi.h',
198 'core/include/fpdfapi/fpdf_module.h',
199 'core/include/fpdfapi/fpdf_objects.h',
200 'core/include/fpdfapi/fpdf_page.h',
201 'core/include/fpdfapi/fpdf_pageobj.h',
202 'core/include/fpdfapi/fpdf_parser.h',
203 'core/include/fpdfapi/fpdf_render.h',
204 'core/include/fpdfapi/fpdf_resource.h',
205 'core/include/fpdfapi/fpdf_serial.h',
206 'core/src/fpdfapi/fpdf_basic_module.cpp',
207 'core/src/fpdfapi/fpdf_cmaps/cmap_int.h',
208 'core/src/fpdfapi/fpdf_cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp',
209 'core/src/fpdfapi/fpdf_cmaps/CNS1/B5pc-H_0.cpp',
210 'core/src/fpdfapi/fpdf_cmaps/CNS1/B5pc-V_0.cpp',
211 'core/src/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp',
212 'core/src/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-H_0.cpp',
213 'core/src/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-V_0.cpp',
214 'core/src/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-H_0.cpp',
215 'core/src/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-V_0.cpp',
216 'core/src/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-H_0.cpp',
217 'core/src/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-V_0.cpp',
218 'core/src/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-H_5.cpp',
219 'core/src/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-V_5.cpp',
220 'core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-H_3.cpp',
221 'core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-V_3.cpp',
222 'core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UTF16-H_0.cpp',
223 'core/src/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp',
224 'core/src/fpdfapi/fpdf_cmaps/GB1/Adobe-GB1-UCS2_5.cpp',
225 'core/src/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp',
226 'core/src/fpdfapi/fpdf_cmaps/GB1/GB-EUC-H_0.cpp',
227 'core/src/fpdfapi/fpdf_cmaps/GB1/GB-EUC-V_0.cpp',
228 'core/src/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-H_2.cpp',
229 'core/src/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-V_2.cpp',
230 'core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-H_5.cpp',
231 'core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp',
232 'core/src/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-H_2.cpp',
233 'core/src/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-V_2.cpp',
234 'core/src/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-H_0.cpp',
235 'core/src/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-V_0.cpp',
236 'core/src/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-H_4.cpp',
237 'core/src/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-V_4.cpp',
238 'core/src/fpdfapi/fpdf_cmaps/Japan1/83pv-RKSJ-H_1.cpp',
239 'core/src/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-H_2.cpp',
240 'core/src/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-V_2.cpp',
241 'core/src/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-H_2.cpp',
242 'core/src/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-V_2.cpp',
243 'core/src/fpdfapi/fpdf_cmaps/Japan1/90pv-RKSJ-H_1.cpp',
244 'core/src/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-H_1.cpp',
245 'core/src/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-V_1.cpp',
246 'core/src/fpdfapi/fpdf_cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp',
247 'core/src/fpdfapi/fpdf_cmaps/Japan1/cmaps_japan1.cpp',
248 'core/src/fpdfapi/fpdf_cmaps/Japan1/EUC-H_1.cpp',
249 'core/src/fpdfapi/fpdf_cmaps/Japan1/EUC-V_1.cpp',
250 'core/src/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-H_2.cpp',
251 'core/src/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-V_2.cpp',
252 'core/src/fpdfapi/fpdf_cmaps/Japan1/H_1.cpp',
253 'core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp',
254 'core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp',
255 'core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-H_4.cpp',
256 'core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-V_4.cpp',
257 'core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UTF16-H_5.cpp',
258 'core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UTF16-V_5.cpp',
259 'core/src/fpdfapi/fpdf_cmaps/Japan1/V_1.cpp',
260 'core/src/fpdfapi/fpdf_cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp',
261 'core/src/fpdfapi/fpdf_cmaps/Korea1/cmaps_korea1.cpp',
262 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-H_0.cpp',
263 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-V_0.cpp',
264 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-H_1.cpp',
265 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-V_1.cpp',
266 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-H_1.cpp',
267 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-V_1.cpp',
268 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSCpc-EUC-H_0.cpp',
269 'core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-H_1.cpp',
270 'core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-V_1.cpp',
271 'core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UTF16-H_0.cpp',
272 'core/src/fpdfapi/fpdf_edit/editint.h',
273 'core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp',
274 'core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp',
275 'core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp',
276 'core/src/fpdfapi/fpdf_edit/fpdf_edit_image.cpp',
277 'core/src/fpdfapi/fpdf_font/common.h',
278 'core/src/fpdfapi/fpdf_font/font_int.h',
279 'core/src/fpdfapi/fpdf_font/fpdf_font.cpp',
280 'core/src/fpdfapi/fpdf_font/fpdf_font_charset.cpp',
281 'core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp',
282 'core/src/fpdfapi/fpdf_font/fpdf_font_utility.cpp',
283 'core/src/fpdfapi/fpdf_font/ttgsubtable.cpp',
284 'core/src/fpdfapi/fpdf_font/ttgsubtable.h',
285 'core/src/fpdfapi/fpdf_page/fpdf_page.cpp',
286 'core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp',
287 'core/src/fpdfapi/fpdf_page/fpdf_page_doc.cpp',
288 'core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp',
289 'core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp',
290 'core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp',
291 'core/src/fpdfapi/fpdf_page/fpdf_page_parser.cpp',
292 'core/src/fpdfapi/fpdf_page/fpdf_page_parser_new.cpp',
293 'core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp',
294 'core/src/fpdfapi/fpdf_page/fpdf_page_path.cpp',
295 'core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp',
296 'core/src/fpdfapi/fpdf_page/pageint.h',
297 'core/src/fpdfapi/fpdf_parser/filters_int.h',
298 'core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp',
299 'core/src/fpdfapi/fpdf_parser/fpdf_parser_document.cpp',
300 'core/src/fpdfapi/fpdf_parser/fpdf_parser_encrypt.cpp',
301 'core/src/fpdfapi/fpdf_parser/fpdf_parser_fdf.cpp',
302 'core/src/fpdfapi/fpdf_parser/fpdf_parser_filters.cpp',
303 'core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp',
304 'core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp',
305 'core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp',
306 'core/src/fpdfapi/fpdf_render/fpdf_render.cpp',
307 'core/src/fpdfapi/fpdf_render/fpdf_render_cache.cpp',
308 'core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp',
309 'core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp',
310 'core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp',
311 'core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp',
312 'core/src/fpdfapi/fpdf_render/render_int.h',
313 ],
314 },
315 {
316 'target_name': 'fpdftext',
317 'type': 'static_library',
318 'ldflags': [ '-L<(PRODUCT_DIR)',],
319 'sources': [
320 'core/include/fpdftext/fpdf_text.h',
321 'core/src/fpdftext/fpdf_text.cpp',
322 'core/src/fpdftext/fpdf_text_int.cpp',
323 'core/src/fpdftext/fpdf_text_search.cpp',
324 'core/src/fpdftext/text_int.h',
325 'core/src/fpdftext/txtproc.h',
326 'core/src/fpdftext/unicodenormalization.cpp',
327 'core/src/fpdftext/unicodenormalizationdata.cpp',
328 ],
329 },
330 {
331 'target_name': 'fxcodec',
332 'type': 'static_library',
333 'include_dirs': [
334 ],
335 'ldflags': [ '-L<(PRODUCT_DIR)',],
336 'sources': [
337 'core/include/fxcodec/fx_codec.h',
338 'core/include/fxcodec/fx_codec_def.h',
339 'core/include/fxcodec/fx_codec_provider.h',
340 'core/src/fxcodec/codec/codec_int.h',
341 'core/src/fxcodec/codec/fx_codec.cpp',
342 'core/src/fxcodec/codec/fx_codec_fax.cpp',
343 'core/src/fxcodec/codec/fx_codec_flate.cpp',
344 'core/src/fxcodec/codec/fx_codec_icc.cpp',
345 'core/src/fxcodec/codec/fx_codec_jbig.cpp',
346 'core/src/fxcodec/codec/fx_codec_jbig_enc.cpp',
347 'core/src/fxcodec/codec/fx_codec_jpeg.cpp',
348 'core/src/fxcodec/codec/fx_codec_jpx_opj.cpp',
349 'core/src/fxcodec/fx_libopenjpeg/include/fx_openjpeg.h',
350 'core/src/fxcodec/fx_libopenjpeg/src/fx_bio.c',
351 'core/src/fxcodec/fx_libopenjpeg/src/fx_cio.c',
352 'core/src/fxcodec/fx_libopenjpeg/src/fx_dwt.c',
353 'core/src/fxcodec/fx_libopenjpeg/src/fx_event.c',
354 'core/src/fxcodec/fx_libopenjpeg/src/fx_function_list.c',
355 'core/src/fxcodec/fx_libopenjpeg/src/fx_image.c',
356 'core/src/fxcodec/fx_libopenjpeg/src/fx_invert.c',
357 'core/src/fxcodec/fx_libopenjpeg/src/fx_j2k.c',
358 'core/src/fxcodec/fx_libopenjpeg/src/fx_j2k_lib.c',
359 'core/src/fxcodec/fx_libopenjpeg/src/fx_jpt.c',
360 'core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c',
361 'core/src/fxcodec/fx_libopenjpeg/src/fx_mqc.c',
362 'core/src/fxcodec/fx_libopenjpeg/src/fx_openjpeg.c',
363 'core/src/fxcodec/fx_libopenjpeg/src/fx_openjpeg_jp2.c',
364 'core/src/fxcodec/fx_libopenjpeg/src/fx_opj_clock.c',
365 'core/src/fxcodec/fx_libopenjpeg/src/fx_pi.c',
366 'core/src/fxcodec/fx_libopenjpeg/src/fx_raw.c',
367 'core/src/fxcodec/fx_libopenjpeg/src/fx_t1.c',
368 'core/src/fxcodec/fx_libopenjpeg/src/fx_t1_generate_luts.c',
369 'core/src/fxcodec/fx_libopenjpeg/src/fx_t2.c',
370 'core/src/fxcodec/fx_libopenjpeg/src/fx_tcd.c',
371 'core/src/fxcodec/fx_libopenjpeg/src/fx_tgt.c',
372 'core/src/fxcodec/fx_zlib/include/fx_zlib.h',
373 'core/src/fxcodec/fx_zlib/src/fx_zlib_adler32.c',
374 'core/src/fxcodec/fx_zlib/src/fx_zlib_compress.c',
375 'core/src/fxcodec/fx_zlib/src/fx_zlib_crc32.c',
376 'core/src/fxcodec/fx_zlib/src/fx_zlib_deflate.c',
377 'core/src/fxcodec/fx_zlib/src/fx_zlib_gzclose.c',
378 'core/src/fxcodec/fx_zlib/src/fx_zlib_gzlib.c',
379 'core/src/fxcodec/fx_zlib/src/fx_zlib_gzread.c',
380 'core/src/fxcodec/fx_zlib/src/fx_zlib_gzwrite.c',
381 'core/src/fxcodec/fx_zlib/src/fx_zlib_infback.c',
382 'core/src/fxcodec/fx_zlib/src/fx_zlib_inffast.c',
383 'core/src/fxcodec/fx_zlib/src/fx_zlib_inflate.c',
384 'core/src/fxcodec/fx_zlib/src/fx_zlib_inftrees.c',
385 'core/src/fxcodec/fx_zlib/src/fx_zlib_trees.c',
386 'core/src/fxcodec/fx_zlib/src/fx_zlib_uncompr.c',
387 'core/src/fxcodec/fx_zlib/src/fx_zlib_zutil.c',
388 'core/src/fxcodec/jbig2/JBig2_ArithDecoder.h',
389 'core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp',
390 'core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.h',
391 'core/src/fxcodec/jbig2/JBig2_ArithQe.h',
392 'core/src/fxcodec/jbig2/JBig2_BitStream.h',
393 'core/src/fxcodec/jbig2/JBig2_Context.cpp',
394 'core/src/fxcodec/jbig2/JBig2_Context.h',
395 'core/src/fxcodec/jbig2/JBig2_Define.h',
396 'core/src/fxcodec/jbig2/JBig2_GeneralDecoder.cpp',
397 'core/src/fxcodec/jbig2/JBig2_GeneralDecoder.h',
398 'core/src/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp',
399 'core/src/fxcodec/jbig2/JBig2_HuffmanDecoder.h',
400 'core/src/fxcodec/jbig2/JBig2_HuffmanTable.cpp',
401 'core/src/fxcodec/jbig2/JBig2_HuffmanTable.h',
402 'core/src/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h',
403 'core/src/fxcodec/jbig2/JBig2_Image.cpp',
404 'core/src/fxcodec/jbig2/JBig2_Image.h',
405 'core/src/fxcodec/jbig2/JBig2_List.h',
406 'core/src/fxcodec/jbig2/JBig2_Module.h',
407 'core/src/fxcodec/jbig2/JBig2_Object.cpp',
408 'core/src/fxcodec/jbig2/JBig2_Object.h',
409 'core/src/fxcodec/jbig2/JBig2_Page.h',
410 'core/src/fxcodec/jbig2/JBig2_PatternDict.cpp',
411 'core/src/fxcodec/jbig2/JBig2_PatternDict.h',
412 'core/src/fxcodec/jbig2/JBig2_Segment.cpp',
413 'core/src/fxcodec/jbig2/JBig2_Segment.h',
414 'core/src/fxcodec/jbig2/JBig2_SymbolDict.cpp',
415 'core/src/fxcodec/jbig2/JBig2_SymbolDict.h',
416 'core/src/fxcodec/lcms2/src/fx_cmscam02.c',
417 'core/src/fxcodec/lcms2/src/fx_cmscgats.c',
418 'core/src/fxcodec/lcms2/src/fx_cmscnvrt.c',
419 'core/src/fxcodec/lcms2/src/fx_cmserr.c',
420 'core/src/fxcodec/lcms2/src/fx_cmsgamma.c',
421 'core/src/fxcodec/lcms2/src/fx_cmsgmt.c',
422 'core/src/fxcodec/lcms2/src/fx_cmshalf.c',
423 'core/src/fxcodec/lcms2/src/fx_cmsintrp.c',
424 'core/src/fxcodec/lcms2/src/fx_cmsio0.c',
425 'core/src/fxcodec/lcms2/src/fx_cmsio1.c',
426 'core/src/fxcodec/lcms2/src/fx_cmslut.c',
427 'core/src/fxcodec/lcms2/src/fx_cmsmd5.c',
428 'core/src/fxcodec/lcms2/src/fx_cmsmtrx.c',
429 'core/src/fxcodec/lcms2/src/fx_cmsnamed.c',
430 'core/src/fxcodec/lcms2/src/fx_cmsopt.c',
431 'core/src/fxcodec/lcms2/src/fx_cmspack.c',
432 'core/src/fxcodec/lcms2/src/fx_cmspcs.c',
433 'core/src/fxcodec/lcms2/src/fx_cmsplugin.c',
434 'core/src/fxcodec/lcms2/src/fx_cmsps2.c',
435 'core/src/fxcodec/lcms2/src/fx_cmssamp.c',
436 'core/src/fxcodec/lcms2/src/fx_cmssm.c',
437 'core/src/fxcodec/lcms2/src/fx_cmstypes.c',
438 'core/src/fxcodec/lcms2/src/fx_cmsvirt.c',
439 'core/src/fxcodec/lcms2/src/fx_cmswtpnt.c',
440 'core/src/fxcodec/lcms2/src/fx_cmsxform.c',
441 'core/src/fxcodec/libjpeg/cderror.h',
442 'core/src/fxcodec/libjpeg/cdjpeg.h',
443 'core/src/fxcodec/libjpeg/fpdfapi_jcapimin.c',
444 'core/src/fxcodec/libjpeg/fpdfapi_jcapistd.c',
445 'core/src/fxcodec/libjpeg/fpdfapi_jccoefct.c',
446 'core/src/fxcodec/libjpeg/fpdfapi_jccolor.c',
447 'core/src/fxcodec/libjpeg/fpdfapi_jcdctmgr.c',
448 'core/src/fxcodec/libjpeg/fpdfapi_jchuff.c',
449 'core/src/fxcodec/libjpeg/fpdfapi_jcinit.c',
450 'core/src/fxcodec/libjpeg/fpdfapi_jcmainct.c',
451 'core/src/fxcodec/libjpeg/fpdfapi_jcmarker.c',
452 'core/src/fxcodec/libjpeg/fpdfapi_jcmaster.c',
453 'core/src/fxcodec/libjpeg/fpdfapi_jcomapi.c',
454 'core/src/fxcodec/libjpeg/fpdfapi_jcparam.c',
455 'core/src/fxcodec/libjpeg/fpdfapi_jcphuff.c',
456 'core/src/fxcodec/libjpeg/fpdfapi_jcprepct.c',
457 'core/src/fxcodec/libjpeg/fpdfapi_jcsample.c',
458 'core/src/fxcodec/libjpeg/fpdfapi_jctrans.c',
459 'core/src/fxcodec/libjpeg/fpdfapi_jdapimin.c',
460 'core/src/fxcodec/libjpeg/fpdfapi_jdapistd.c',
461 'core/src/fxcodec/libjpeg/fpdfapi_jdcoefct.c',
462 'core/src/fxcodec/libjpeg/fpdfapi_jdcolor.c',
463 'core/src/fxcodec/libjpeg/fpdfapi_jddctmgr.c',
464 'core/src/fxcodec/libjpeg/fpdfapi_jdhuff.c',
465 'core/src/fxcodec/libjpeg/fpdfapi_jdinput.c',
466 'core/src/fxcodec/libjpeg/fpdfapi_jdmainct.c',
467 'core/src/fxcodec/libjpeg/fpdfapi_jdmarker.c',
468 'core/src/fxcodec/libjpeg/fpdfapi_jdmaster.c',
469 'core/src/fxcodec/libjpeg/fpdfapi_jdmerge.c',
470 'core/src/fxcodec/libjpeg/fpdfapi_jdphuff.c',
471 'core/src/fxcodec/libjpeg/fpdfapi_jdpostct.c',
472 'core/src/fxcodec/libjpeg/fpdfapi_jdsample.c',
473 'core/src/fxcodec/libjpeg/fpdfapi_jdtrans.c',
474 'core/src/fxcodec/libjpeg/fpdfapi_jerror.c',
475 'core/src/fxcodec/libjpeg/fpdfapi_jfdctfst.c',
476 'core/src/fxcodec/libjpeg/fpdfapi_jfdctint.c',
477 'core/src/fxcodec/libjpeg/fpdfapi_jidctfst.c',
478 'core/src/fxcodec/libjpeg/fpdfapi_jidctint.c',
479 'core/src/fxcodec/libjpeg/fpdfapi_jidctred.c',
480 'core/src/fxcodec/libjpeg/fpdfapi_jmemmgr.c',
481 'core/src/fxcodec/libjpeg/fpdfapi_jmemnobs.c',
482 'core/src/fxcodec/libjpeg/fpdfapi_jutils.c',
483 'core/src/fxcodec/libjpeg/jchuff.h',
484 'core/src/fxcodec/libjpeg/jconfig.h',
485 'core/src/fxcodec/libjpeg/jdct.h',
486 'core/src/fxcodec/libjpeg/jdhuff.h',
487 'core/src/fxcodec/libjpeg/jerror.h',
488 'core/src/fxcodec/libjpeg/jinclude.h',
489 'core/src/fxcodec/libjpeg/jmemsys.h',
490 'core/src/fxcodec/libjpeg/jmorecfg.h',
491 'core/src/fxcodec/libjpeg/jpegint.h',
492 'core/src/fxcodec/libjpeg/jpeglib.h',
493 'core/src/fxcodec/libjpeg/jversion.h',
494 'core/src/fxcodec/libjpeg/makefile',
495 'core/src/fxcodec/libjpeg/transupp.h',
496 ],
John Abd-El-Malekdef5c7d2014-06-09 16:07:18 -0700497 'conditions': [
498 ['os_posix==1', {
499 # core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int
500 # conversion to check that an address is 16-bit aligned (benign).
501 'cflags_c': [ '-Wno-pointer-to-int-cast' ],
502 }],
503 ],
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700504 },
505 {
506 'target_name': 'fxcrt',
507 'type': 'static_library',
508 'ldflags': [ '-L<(PRODUCT_DIR)',],
509 'sources': [
510 'core/include/fxcrt/fx_arb.h',
511 'core/include/fxcrt/fx_basic.h',
512 'core/include/fxcrt/fx_coordinates.h',
513 'core/include/fxcrt/fx_ext.h',
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700514 'core/include/fxcrt/fx_memory.h',
515 'core/include/fxcrt/fx_stream.h',
516 'core/include/fxcrt/fx_string.h',
517 'core/include/fxcrt/fx_system.h',
518 'core/include/fxcrt/fx_ucd.h',
519 'core/include/fxcrt/fx_xml.h',
520 'core/src/fxcrt/extension.h',
521 'core/src/fxcrt/fxcrt_platforms.cpp',
522 'core/src/fxcrt/fxcrt_platforms.h',
523 'core/src/fxcrt/fxcrt_posix.cpp',
524 'core/src/fxcrt/fxcrt_posix.h',
525 'core/src/fxcrt/fxcrt_windows.cpp',
526 'core/src/fxcrt/fxcrt_windows.h',
527 'core/src/fxcrt/fx_arabic.cpp',
528 'core/src/fxcrt/fx_arabic.h',
529 'core/src/fxcrt/fx_basic_array.cpp',
530 'core/src/fxcrt/fx_basic_bstring.cpp',
531 'core/src/fxcrt/fx_basic_buffer.cpp',
532 'core/src/fxcrt/fx_basic_coords.cpp',
533 'core/src/fxcrt/fx_basic_gcc.cpp',
534 'core/src/fxcrt/fx_basic_list.cpp',
535 'core/src/fxcrt/fx_basic_maps.cpp',
536 'core/src/fxcrt/fx_basic_memmgr.cpp',
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700537 'core/src/fxcrt/fx_basic_plex.cpp',
538 'core/src/fxcrt/fx_basic_utf.cpp',
539 'core/src/fxcrt/fx_basic_util.cpp',
540 'core/src/fxcrt/fx_basic_wstring.cpp',
541 'core/src/fxcrt/fx_extension.cpp',
542 'core/src/fxcrt/fx_ucddata.cpp',
543 'core/src/fxcrt/fx_unicode.cpp',
544 'core/src/fxcrt/fx_xml_composer.cpp',
545 'core/src/fxcrt/fx_xml_parser.cpp',
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700546 'core/src/fxcrt/plex.h',
547 'core/src/fxcrt/xml_int.h',
548 ],
549 },
550 {
551 'target_name': 'fxge',
552 'type': 'static_library',
553 'ldflags': [ '-L<(PRODUCT_DIR)',],
554 'sources': [
555 'core/include/fxge/fpf.h',
556 'core/include/fxge/fx_dib.h',
557 'core/include/fxge/fx_font.h',
558 'core/include/fxge/fx_freetype.h',
559 'core/include/fxge/fx_ge.h',
560 'core/include/fxge/fx_ge_apple.h',
561 'core/include/fxge/fx_ge_win32.h',
562 'core/src/fxge/agg/include/fxfx_agg_basics.h',
563 'core/src/fxge/agg/include/fxfx_agg_clip_liang_barsky.h',
564 'core/src/fxge/agg/include/fxfx_agg_conv_dash.h',
565 'core/src/fxge/agg/include/fxfx_agg_conv_stroke.h',
566 'core/src/fxge/agg/include/fxfx_agg_curves.h',
567 'core/src/fxge/agg/include/fxfx_agg_path_storage.h',
568 'core/src/fxge/agg/include/fxfx_agg_rasterizer_scanline_aa.h',
569 'core/src/fxge/agg/include/fxfx_agg_renderer_scanline.h',
570 'core/src/fxge/agg/include/fxfx_agg_rendering_buffer.h',
571 'core/src/fxge/agg/include/fxfx_agg_scanline_u.h',
572 'core/src/fxge/agg/include/fx_agg_driver.h',
573 'core/src/fxge/agg/src/fxfx_agg_curves.cpp',
574 'core/src/fxge/agg/src/fxfx_agg_driver.cpp',
575 'core/src/fxge/agg/src/fxfx_agg_path_storage.cpp',
576 'core/src/fxge/agg/src/fxfx_agg_rasterizer_scanline_aa.cpp',
577 'core/src/fxge/agg/src/fxfx_agg_vcgen_dash.cpp',
578 'core/src/fxge/agg/src/fxfx_agg_vcgen_stroke.cpp',
579 'core/src/fxge/android/fpf_skiafont.cpp',
580 'core/src/fxge/android/fpf_skiafont.h',
581 'core/src/fxge/android/fpf_skiafontmgr.cpp',
582 'core/src/fxge/android/fpf_skiafontmgr.h',
583 'core/src/fxge/android/fpf_skiamodule.cpp',
584 'core/src/fxge/android/fpf_skiamodule.h',
585 'core/src/fxge/android/fx_android_font.cpp',
586 'core/src/fxge/android/fx_android_font.h',
587 'core/src/fxge/android/fx_android_imp.cpp',
588 'core/src/fxge/android/fx_fpf.h',
589 'core/src/fxge/apple/apple_int.h',
590 'core/src/fxge/apple/fx_apple_platform.cpp',
591 'core/src/fxge/apple/fx_mac_imp.cpp',
592 'core/src/fxge/apple/fx_quartz_device.cpp',
593 'core/src/fxge/dib/dib_int.h',
594 'core/src/fxge/dib/fx_dib_composite.cpp',
595 'core/src/fxge/dib/fx_dib_convert.cpp',
596 'core/src/fxge/dib/fx_dib_engine.cpp',
597 'core/src/fxge/dib/fx_dib_main.cpp',
598 'core/src/fxge/dib/fx_dib_transform.cpp',
599 'core/src/fxge/fontdata/chromefontdata/FoxitDingbats.c',
600 'core/src/fxge/fontdata/chromefontdata/FoxitFixed.c',
601 'core/src/fxge/fontdata/chromefontdata/FoxitFixedBold.c',
602 'core/src/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.c',
603 'core/src/fxge/fontdata/chromefontdata/FoxitFixedItalic.c',
604 'core/src/fxge/fontdata/chromefontdata/FoxitSans.c',
605 'core/src/fxge/fontdata/chromefontdata/FoxitSansBold.c',
606 'core/src/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.c',
607 'core/src/fxge/fontdata/chromefontdata/FoxitSansItalic.c',
608 'core/src/fxge/fontdata/chromefontdata/FoxitSansMM.c',
609 'core/src/fxge/fontdata/chromefontdata/FoxitSerif.c',
610 'core/src/fxge/fontdata/chromefontdata/FoxitSerifBold.c',
611 'core/src/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.c',
612 'core/src/fxge/fontdata/chromefontdata/FoxitSerifItalic.c',
613 'core/src/fxge/fontdata/chromefontdata/FoxitSerifMM.c',
614 'core/src/fxge/fontdata/chromefontdata/FoxitSymbol.c',
615 'core/src/fxge/fx_freetype/include/fxft_cffobjs.h',
616 'core/src/fxge/fx_freetype/include/fxft_cfftypes.h',
617 'core/src/fxge/fx_freetype/include/fxft_freetype.h',
618 'core/src/fxge/fx_freetype/include/fxft_ft2build.h',
619 'core/src/fxge/fx_freetype/include/fxft_ftmm.h',
620 'core/src/fxge/fx_freetype/include/fxft_ftobjs.h',
621 'core/src/fxge/fx_freetype/include/fxft_ftotval.h',
622 'core/src/fxge/fx_freetype/include/fxft_ftoutln.h',
623 'core/src/fxge/fx_freetype/include/fxft_ftstream.h',
624 'core/src/fxge/fx_freetype/include/fxft_tttables.h',
625 'core/src/fxge/fx_freetype/include/fxft_tttypes.h',
626 'core/src/fxge/fx_freetype/src/fxft_cff.c',
627 'core/src/fxge/fx_freetype/src/fxft_ftbase.c',
628 'core/src/fxge/fx_freetype/src/fxft_ftbitmap.c',
629 'core/src/fxge/fx_freetype/src/fxft_ftglyph.c',
630 'core/src/fxge/fx_freetype/src/fxft_ftinit.c',
631 'core/src/fxge/fx_freetype/src/fxft_ftlcdfil.c',
632 'core/src/fxge/fx_freetype/src/fxft_ftmm.c',
633 'core/src/fxge/fx_freetype/src/fxft_ftsystem.c',
634 'core/src/fxge/fx_freetype/src/fxft_psaux.c',
635 'core/src/fxge/fx_freetype/src/fxft_pshinter.c',
636 'core/src/fxge/fx_freetype/src/fxft_psmodule.c',
637 'core/src/fxge/fx_freetype/src/fxft_raster.c',
638 'core/src/fxge/fx_freetype/src/fxft_sfnt.c',
639 'core/src/fxge/fx_freetype/src/fxft_smooth.c',
640 'core/src/fxge/fx_freetype/src/fxft_truetype.c',
641 'core/src/fxge/fx_freetype/src/fxft_type1.c',
642 'core/src/fxge/fx_freetype/src/fxft_type1cid.c',
643 'core/src/fxge/ge/fx_ge.cpp',
644 'core/src/fxge/ge/fx_ge_device.cpp',
645 'core/src/fxge/ge/fx_ge_font.cpp',
646 'core/src/fxge/ge/fx_ge_fontmap.cpp',
647 'core/src/fxge/ge/fx_ge_linux.cpp',
648 'core/src/fxge/ge/fx_ge_path.cpp',
649 'core/src/fxge/ge/fx_ge_ps.cpp',
650 'core/src/fxge/ge/fx_ge_text.cpp',
651 'core/src/fxge/ge/text_int.h',
652 ],
653 'conditions': [
654 ['pdf_use_skia==1', {
655 'sources': [
656 'core/src/fxge/skia/fx_skia_blitter_new.cpp',
657 'core/src/fxge/skia/fx_skia_device.cpp',
658 ],
659 'dependencies': [
660 '<(DEPTH)/skia/skia.gyp:skia',
661 ],
662 'include_dirs': [
663 '<(DEPTH)/third_party/skia/include/config',
664 '<(DEPTH)/third_party/skia/include/core',
665 '<(DEPTH)/third_party/skia/include/effects',
666 '<(DEPTH)/third_party/skia/include/images',
667 '<(DEPTH)/third_party/skia/include/lazy',
668 '<(DEPTH)/third_party/skia/include/pathops',
669 '<(DEPTH)/third_party/skia/include/utils',
670 '<(DEPTH)/third_party/skia/src/core',
671 ],
672 }],
673 ['OS=="win"', {
674 'defines!': [
675 'NOMINMAX',
676 'WIN32_LEAN_AND_MEAN'
677 ],
678 'sources': [
679 'core/src/fxge/win32/dwrite_int.h',
680 'core/src/fxge/win32/fx_win32_device.cpp',
681 'core/src/fxge/win32/fx_win32_dib.cpp',
682 'core/src/fxge/win32/fx_win32_dwrite.cpp',
683 'core/src/fxge/win32/fx_win32_gdipext.cpp',
684 'core/src/fxge/win32/fx_win32_print.cpp',
685 'core/src/fxge/win32/win32_int.h',
686 ],
687 }],
688 ],
689 },
690 {
691 'target_name': 'fxedit',
692 'type': 'static_library',
693 'ldflags': [ '-L<(PRODUCT_DIR)',],
694 'sources': [
695 'fpdfsdk/include/fxedit/fx_edit.h',
696 'fpdfsdk/include/fxedit/fxet_edit.h',
697 'fpdfsdk/include/fxedit/fxet_list.h',
698 'fpdfsdk/include/fxedit/fxet_stub.h',
699 'fpdfsdk/src/fxedit/fxet_ap.cpp',
700 'fpdfsdk/src/fxedit/fxet_edit.cpp',
701 'fpdfsdk/src/fxedit/fxet_list.cpp',
702 'fpdfsdk/src/fxedit/fxet_module.cpp',
703 'fpdfsdk/src/fxedit/fxet_pageobjs.cpp',
704 ],
705 },
706 {
707 'target_name': 'pdfwindow',
708 'type': 'static_library',
709 'ldflags': [ '-L<(PRODUCT_DIR)',],
710 'sources': [
711 'fpdfsdk/include/pdfwindow/IPDFWindow.h',
712 'fpdfsdk/include/pdfwindow/PDFWindow.h',
713 'fpdfsdk/include/pdfwindow/PWL_Button.h',
714 'fpdfsdk/include/pdfwindow/PWL_Caret.h',
715 'fpdfsdk/include/pdfwindow/PWL_ComboBox.h',
716 'fpdfsdk/include/pdfwindow/PWL_Edit.h',
717 'fpdfsdk/include/pdfwindow/PWL_EditCtrl.h',
718 'fpdfsdk/include/pdfwindow/PWL_FontMap.h',
719 'fpdfsdk/include/pdfwindow/PWL_Icon.h',
720 'fpdfsdk/include/pdfwindow/PWL_IconList.h',
721 'fpdfsdk/include/pdfwindow/PWL_Label.h',
722 'fpdfsdk/include/pdfwindow/PWL_ListBox.h',
723 'fpdfsdk/include/pdfwindow/PWL_ListCtrl.h',
724 'fpdfsdk/include/pdfwindow/PWL_Note.h',
725 'fpdfsdk/include/pdfwindow/PWL_ScrollBar.h',
726 'fpdfsdk/include/pdfwindow/PWL_Signature.h',
727 'fpdfsdk/include/pdfwindow/PWL_SpecialButton.h',
728 'fpdfsdk/include/pdfwindow/PWL_Utils.h',
729 'fpdfsdk/include/pdfwindow/PWL_Wnd.h',
730 'fpdfsdk/src/pdfwindow/PWL_Button.cpp',
731 'fpdfsdk/src/pdfwindow/PWL_Caret.cpp',
732 'fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp',
733 'fpdfsdk/src/pdfwindow/PWL_Edit.cpp',
734 'fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp',
735 'fpdfsdk/src/pdfwindow/PWL_FontMap.cpp',
736 'fpdfsdk/src/pdfwindow/PWL_Icon.cpp',
737 'fpdfsdk/src/pdfwindow/PWL_IconList.cpp',
738 'fpdfsdk/src/pdfwindow/PWL_Label.cpp',
739 'fpdfsdk/src/pdfwindow/PWL_ListBox.cpp',
740 'fpdfsdk/src/pdfwindow/PWL_ListCtrl.cpp',
741 'fpdfsdk/src/pdfwindow/PWL_Note.cpp',
742 'fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp',
743 'fpdfsdk/src/pdfwindow/PWL_Signature.cpp',
744 'fpdfsdk/src/pdfwindow/PWL_SpecialButton.cpp',
745 'fpdfsdk/src/pdfwindow/PWL_Utils.cpp',
746 'fpdfsdk/src/pdfwindow/PWL_Wnd.cpp',
747 ],
748 },
749 {
750 'target_name': 'javascript',
751 'type': 'static_library',
752 'include_dirs': [
Jochen Eisinger3fb18f42014-07-17 08:46:45 +0200753 '<(DEPTH)/v8',
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700754 '<(DEPTH)/v8/include',
755 ],
756 'dependencies': [
757 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
Jochen Eisinger3fb18f42014-07-17 08:46:45 +0200758 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform',
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700759 ],
760 'export_dependent_settings': [
761 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
762 ],
763 'ldflags': [ '-L<(PRODUCT_DIR)',],
764 'sources': [
765 'fpdfsdk/include/javascript/app.h',
766 'fpdfsdk/include/javascript/color.h',
767 'fpdfsdk/include/javascript/console.h',
768 'fpdfsdk/include/javascript/Consts.h',
769 'fpdfsdk/include/javascript/Document.h',
770 'fpdfsdk/include/javascript/event.h',
771 'fpdfsdk/include/javascript/Field.h',
772 'fpdfsdk/include/javascript/global.h',
773 'fpdfsdk/include/javascript/Icon.h',
774 'fpdfsdk/include/javascript/IJavaScript.h',
775 'fpdfsdk/include/javascript/JavaScript.h',
776 'fpdfsdk/include/javascript/JS_Console.h',
777 'fpdfsdk/include/javascript/JS_Context.h',
778 'fpdfsdk/include/javascript/JS_Define.h',
779 'fpdfsdk/include/javascript/JS_EventHandler.h',
780 'fpdfsdk/include/javascript/JS_GlobalData.h',
781 'fpdfsdk/include/javascript/JS_Module.h',
782 'fpdfsdk/include/javascript/JS_Object.h',
783 'fpdfsdk/include/javascript/JS_Runtime.h',
784 'fpdfsdk/include/javascript/JS_Value.h',
785 'fpdfsdk/include/javascript/PublicMethods.h',
786 'fpdfsdk/include/javascript/report.h',
787 'fpdfsdk/include/javascript/resource.h',
788 'fpdfsdk/include/javascript/util.h',
789 'fpdfsdk/src/javascript/app.cpp',
790 'fpdfsdk/src/javascript/color.cpp',
791 'fpdfsdk/src/javascript/console.cpp',
792 'fpdfsdk/src/javascript/Consts.cpp',
793 'fpdfsdk/src/javascript/Document.cpp',
794 'fpdfsdk/src/javascript/event.cpp',
795 'fpdfsdk/src/javascript/Field.cpp',
796 'fpdfsdk/src/javascript/global.cpp',
797 'fpdfsdk/src/javascript/Icon.cpp',
798 'fpdfsdk/src/javascript/JS_Context.cpp',
799 'fpdfsdk/src/javascript/JS_EventHandler.cpp',
800 'fpdfsdk/src/javascript/JS_GlobalData.cpp',
801 'fpdfsdk/src/javascript/JS_Object.cpp',
802 'fpdfsdk/src/javascript/JS_Runtime.cpp',
803 'fpdfsdk/src/javascript/JS_Value.cpp',
804 'fpdfsdk/src/javascript/PublicMethods.cpp',
805 'fpdfsdk/src/javascript/report.cpp',
806 'fpdfsdk/src/javascript/util.cpp',
807 ],
808 },
809 {
810 'target_name': 'jsapi',
811 'type': 'static_library',
812 'dependencies': [
813 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
814 ],
815 'export_dependent_settings': [
816 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
817 ],
818 'include_dirs': [
Jochen Eisinger3fb18f42014-07-17 08:46:45 +0200819 '<(DEPTH)/v8',
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700820 '<(DEPTH)/v8/include',
821 ],
822 'ldflags': [ '-L<(PRODUCT_DIR)',],
823 'sources': [
824 'fpdfsdk/include/jsapi/fxjs_v8.h',
825 'fpdfsdk/src/jsapi/fxjs_v8.cpp',
826 ],
827 },
828 {
829 'target_name': 'formfiller',
830 'type': 'static_library',
831 'ldflags': [ '-L<(PRODUCT_DIR)',],
832 'sources': [
833 'fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h',
834 'fpdfsdk/include/formfiller/FFL_CheckBox.h',
835 'fpdfsdk/include/formfiller/FFL_ComboBox.h',
836 'fpdfsdk/include/formfiller/FFL_FormFiller.h',
837 'fpdfsdk/include/formfiller/FFL_IFormFiller.h',
838 'fpdfsdk/include/formfiller/FFL_ListBox.h',
839 'fpdfsdk/include/formfiller/FFL_Notify.h',
840 'fpdfsdk/include/formfiller/FFL_PushButton.h',
841 'fpdfsdk/include/formfiller/FFL_RadioButton.h',
842 'fpdfsdk/include/formfiller/FFL_TextField.h',
843 'fpdfsdk/include/formfiller/FFL_Utils.h',
844 'fpdfsdk/include/formfiller/FormFiller.h',
845 'fpdfsdk/src/formfiller/FFL_CBA_Fontmap.cpp',
846 'fpdfsdk/src/formfiller/FFL_CheckBox.cpp',
847 'fpdfsdk/src/formfiller/FFL_ComboBox.cpp',
848 'fpdfsdk/src/formfiller/FFL_FormFiller.cpp',
849 'fpdfsdk/src/formfiller/FFL_IFormFiller.cpp',
850 'fpdfsdk/src/formfiller/FFL_ListBox.cpp',
851 'fpdfsdk/src/formfiller/FFL_Notify.cpp',
852 'fpdfsdk/src/formfiller/FFL_PushButton.cpp',
853 'fpdfsdk/src/formfiller/FFL_RadioButton.cpp',
854 'fpdfsdk/src/formfiller/FFL_TextField.cpp',
855 'fpdfsdk/src/formfiller/FFL_Utils.cpp',
856 ],
857 },
858 ],
John Abd-El-Malek5110c472014-05-17 22:33:34 -0700859}