blob: c8215e7034886948c78b5d6f38300c7ebca23189 [file] [log] [blame]
Svet Ganovee451cb2014-05-21 09:38:09 -07001{
2 'variables': {
3 'pdf_use_skia%': 0,
Svet Ganove6986e12015-06-04 14:52:15 -07004 '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 ],
Svet Ganovee451cb2014-05-21 09:38:09 -070012 },
13 'target_defaults': {
14 'defines' : [
Svet Ganovee451cb2014-05-21 09:38:09 -070015 '_FPDFSDK_LIB',
16 '_NO_GDIPLUS_', # workaround text rendering issues on Windows
Svet Ganove6986e12015-06-04 14:52:15 -070017 'OPJ_STATIC',
18 ],
19 'include_dirs': [
20 'third_party/freetype/include',
Svet Ganovee451cb2014-05-21 09:38:09 -070021 ],
22 'conditions': [
23 ['pdf_use_skia==1', {
24 'defines': ['_SKIA_SUPPORT_'],
25 }],
26 ['OS=="linux"', {
Svet Ganovee451cb2014-05-21 09:38:09 -070027 'conditions': [
28 ['target_arch=="x64"', {
Svet Ganove6986e12015-06-04 14:52:15 -070029 'defines' : [ '_FX_CPU_=_FX_X64_', ],
30 'cflags': [ '-fPIC', ],
Svet Ganovee451cb2014-05-21 09:38:09 -070031 }],
32 ['target_arch=="ia32"', {
Svet Ganove6986e12015-06-04 14:52:15 -070033 'defines' : [ '_FX_CPU_=_FX_X86_', ],
Svet Ganovee451cb2014-05-21 09:38:09 -070034 }],
35 ],
36 }],
Svet Ganovee451cb2014-05-21 09:38:09 -070037 ],
38 'msvs_disabled_warnings': [
Svet Ganove6986e12015-06-04 14:52:15 -070039 4005, 4018, 4146, 4333, 4345, 4267
Svet Ganovee451cb2014-05-21 09:38:09 -070040 ],
41 },
42 'targets': [
43 {
Svet Ganove6986e12015-06-04 14:52:15 -070044 'target_name': 'pdfium',
Svet Ganovee451cb2014-05-21 09:38:09 -070045 'type': 'static_library',
46 'dependencies': [
Svet Ganove6986e12015-06-04 14:52:15 -070047 'third_party/third_party.gyp:bigint',
48 'third_party/third_party.gyp:pdfium_base',
Svet Ganovee451cb2014-05-21 09:38:09 -070049 'fdrm',
50 'fpdfdoc',
51 'fpdfapi',
52 'fpdftext',
53 'formfiller',
54 'fxcodec',
55 'fxcrt',
56 'fxedit',
57 'fxge',
58 'javascript',
59 'jsapi',
60 'pdfwindow',
61 ],
62 'ldflags': [ '-L<(PRODUCT_DIR)',],
63 'sources': [
Svet Ganovee451cb2014-05-21 09:38:09 -070064 'fpdfsdk/include/fsdk_actionhandler.h',
65 'fpdfsdk/include/fsdk_annothandler.h',
66 'fpdfsdk/include/fsdk_baseannot.h',
67 'fpdfsdk/include/fsdk_baseform.h',
68 'fpdfsdk/src/fpdfdoc.cpp',
69 'fpdfsdk/src/fpdfeditimg.cpp',
70 'fpdfsdk/src/fpdfeditpage.cpp',
71 'fpdfsdk/src/fpdfformfill.cpp',
Svet Ganovee451cb2014-05-21 09:38:09 -070072 'fpdfsdk/src/fpdfppo.cpp',
73 'fpdfsdk/src/fpdfsave.cpp',
74 'fpdfsdk/src/fpdftext.cpp',
75 'fpdfsdk/src/fpdfview.cpp',
76 'fpdfsdk/src/fpdf_dataavail.cpp',
77 'fpdfsdk/src/fpdf_ext.cpp',
78 'fpdfsdk/src/fpdf_flatten.cpp',
79 'fpdfsdk/src/fpdf_progressive.cpp',
80 'fpdfsdk/src/fpdf_searchex.cpp',
81 'fpdfsdk/src/fpdf_sysfontinfo.cpp',
Svet Ganove6986e12015-06-04 14:52:15 -070082 'fpdfsdk/src/fpdf_transformpage.cpp',
Svet Ganovee451cb2014-05-21 09:38:09 -070083 'fpdfsdk/src/fsdk_actionhandler.cpp',
84 'fpdfsdk/src/fsdk_annothandler.cpp',
85 'fpdfsdk/src/fsdk_baseannot.cpp',
86 'fpdfsdk/src/fsdk_baseform.cpp',
87 'fpdfsdk/src/fsdk_mgr.cpp',
88 'fpdfsdk/src/fsdk_rendercontext.cpp',
89 'fpdfsdk/src/fpdfsdkdll.rc',
90 'fpdfsdk/src/resource.h',
Svet Ganove6986e12015-06-04 14:52:15 -070091 'public/fpdf_dataavail.h',
92 'public/fpdf_doc.h',
93 'public/fpdf_edit.h',
94 'public/fpdf_ext.h',
95 'public/fpdf_flatten.h',
96 'public/fpdf_formfill.h',
97 'public/fpdf_fwlevent.h',
98 'public/fpdf_ppo.h',
99 'public/fpdf_progressive.h',
100 'public/fpdf_save.h',
101 'public/fpdf_searchex.h',
102 'public/fpdf_sysfontinfo.h',
103 'public/fpdf_text.h',
104 'public/fpdf_transformpage.h',
105 'public/fpdfview.h',
Svet Ganovee451cb2014-05-21 09:38:09 -0700106 ],
107 'conditions': [
108 ['OS!="win"', {
109 'sources!': [
110 'fpdfsdk/src/fpdfsdkdll.rc',
111 ],
112 }],
Svet Ganove6986e12015-06-04 14:52:15 -0700113 ['bundle_freetype==1', {
114 'dependencies': [
115 'third_party/third_party.gyp:freetype',
116 ],
117 }, {
118 'link_settings': {
119 'libraries': [
120 '-lfreetype',
121 ],
122 },
123 }],
Svet Ganovee451cb2014-05-21 09:38:09 -0700124 ],
Svet Ganove6986e12015-06-04 14:52:15 -0700125 'all_dependent_settings': {
126 'msvs_settings': {
127 'VCLinkerTool': {
128 'AdditionalDependencies': [
129 'advapi32.lib',
130 'gdi32.lib',
131 'user32.lib',
132 ],
133 },
134 },
135 'conditions': [
136 ['OS=="mac"', {
137 'link_settings': {
138 'libraries': [
139 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
140 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
141 ],
142 },
143 }],
144 ],
145 },
Svet Ganovee451cb2014-05-21 09:38:09 -0700146 },
147 {
148 'target_name': 'fdrm',
149 'type': 'static_library',
150 'ldflags': [ '-L<(PRODUCT_DIR)',],
151 'sources': [
152 'core/include/fdrm/fx_crypt.h',
153 'core/src/fdrm/crypto/fx_crypt.cpp',
154 'core/src/fdrm/crypto/fx_crypt_aes.cpp',
155 'core/src/fdrm/crypto/fx_crypt_sha.cpp',
156 ],
157 },
158 {
159 'target_name': 'fpdfdoc',
160 'type': 'static_library',
161 'ldflags': [ '-L<(PRODUCT_DIR)',],
162 'sources': [
163 'core/include/fpdfdoc/fpdf_ap.h',
164 'core/include/fpdfdoc/fpdf_doc.h',
165 'core/include/fpdfdoc/fpdf_tagged.h',
166 'core/include/fpdfdoc/fpdf_vt.h',
167 'core/src/fpdfdoc/doc_action.cpp',
168 'core/src/fpdfdoc/doc_annot.cpp',
169 'core/src/fpdfdoc/doc_ap.cpp',
170 'core/src/fpdfdoc/doc_basic.cpp',
171 'core/src/fpdfdoc/doc_bookmark.cpp',
172 'core/src/fpdfdoc/doc_form.cpp',
173 'core/src/fpdfdoc/doc_formcontrol.cpp',
174 'core/src/fpdfdoc/doc_formfield.cpp',
175 'core/src/fpdfdoc/doc_link.cpp',
176 'core/src/fpdfdoc/doc_metadata.cpp',
177 'core/src/fpdfdoc/doc_ocg.cpp',
178 'core/src/fpdfdoc/doc_tagged.cpp',
179 'core/src/fpdfdoc/doc_utils.cpp',
Svet Ganove6986e12015-06-04 14:52:15 -0700180 'core/src/fpdfdoc/doc_utils.h',
Svet Ganovee451cb2014-05-21 09:38:09 -0700181 'core/src/fpdfdoc/doc_viewerPreferences.cpp',
182 'core/src/fpdfdoc/doc_vt.cpp',
183 'core/src/fpdfdoc/doc_vtmodule.cpp',
184 'core/src/fpdfdoc/pdf_vt.h',
185 'core/src/fpdfdoc/tagged_int.h',
186 ],
187 },
188 {
189 'target_name': 'fpdfapi',
190 'type': 'static_library',
191 'ldflags': [ '-L<(PRODUCT_DIR)',],
192 'sources': [
193 'core/include/fpdfapi/fpdfapi.h',
194 'core/include/fpdfapi/fpdf_module.h',
195 'core/include/fpdfapi/fpdf_objects.h',
196 'core/include/fpdfapi/fpdf_page.h',
197 'core/include/fpdfapi/fpdf_pageobj.h',
198 'core/include/fpdfapi/fpdf_parser.h',
199 'core/include/fpdfapi/fpdf_render.h',
200 'core/include/fpdfapi/fpdf_resource.h',
201 'core/include/fpdfapi/fpdf_serial.h',
202 'core/src/fpdfapi/fpdf_basic_module.cpp',
203 'core/src/fpdfapi/fpdf_cmaps/cmap_int.h',
204 'core/src/fpdfapi/fpdf_cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp',
205 'core/src/fpdfapi/fpdf_cmaps/CNS1/B5pc-H_0.cpp',
206 'core/src/fpdfapi/fpdf_cmaps/CNS1/B5pc-V_0.cpp',
207 'core/src/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp',
208 'core/src/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-H_0.cpp',
209 'core/src/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-V_0.cpp',
210 'core/src/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-H_0.cpp',
211 'core/src/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-V_0.cpp',
212 'core/src/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-H_0.cpp',
213 'core/src/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-V_0.cpp',
214 'core/src/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-H_5.cpp',
215 'core/src/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-V_5.cpp',
216 'core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-H_3.cpp',
217 'core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-V_3.cpp',
218 'core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UTF16-H_0.cpp',
219 'core/src/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp',
220 'core/src/fpdfapi/fpdf_cmaps/GB1/Adobe-GB1-UCS2_5.cpp',
221 'core/src/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp',
222 'core/src/fpdfapi/fpdf_cmaps/GB1/GB-EUC-H_0.cpp',
223 'core/src/fpdfapi/fpdf_cmaps/GB1/GB-EUC-V_0.cpp',
224 'core/src/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-H_2.cpp',
225 'core/src/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-V_2.cpp',
226 'core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-H_5.cpp',
227 'core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp',
228 'core/src/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-H_2.cpp',
229 'core/src/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-V_2.cpp',
230 'core/src/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-H_0.cpp',
231 'core/src/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-V_0.cpp',
232 'core/src/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-H_4.cpp',
233 'core/src/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-V_4.cpp',
234 'core/src/fpdfapi/fpdf_cmaps/Japan1/83pv-RKSJ-H_1.cpp',
235 'core/src/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-H_2.cpp',
236 'core/src/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-V_2.cpp',
237 'core/src/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-H_2.cpp',
238 'core/src/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-V_2.cpp',
239 'core/src/fpdfapi/fpdf_cmaps/Japan1/90pv-RKSJ-H_1.cpp',
240 'core/src/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-H_1.cpp',
241 'core/src/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-V_1.cpp',
242 'core/src/fpdfapi/fpdf_cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp',
243 'core/src/fpdfapi/fpdf_cmaps/Japan1/cmaps_japan1.cpp',
244 'core/src/fpdfapi/fpdf_cmaps/Japan1/EUC-H_1.cpp',
245 'core/src/fpdfapi/fpdf_cmaps/Japan1/EUC-V_1.cpp',
246 'core/src/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-H_2.cpp',
247 'core/src/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-V_2.cpp',
248 'core/src/fpdfapi/fpdf_cmaps/Japan1/H_1.cpp',
249 'core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp',
250 'core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp',
251 'core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-H_4.cpp',
252 'core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-V_4.cpp',
253 'core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UTF16-H_5.cpp',
254 'core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UTF16-V_5.cpp',
255 'core/src/fpdfapi/fpdf_cmaps/Japan1/V_1.cpp',
256 'core/src/fpdfapi/fpdf_cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp',
257 'core/src/fpdfapi/fpdf_cmaps/Korea1/cmaps_korea1.cpp',
258 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-H_0.cpp',
259 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-V_0.cpp',
260 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-H_1.cpp',
261 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-V_1.cpp',
262 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-H_1.cpp',
263 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-V_1.cpp',
264 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSCpc-EUC-H_0.cpp',
265 'core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-H_1.cpp',
266 'core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-V_1.cpp',
267 'core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UTF16-H_0.cpp',
268 'core/src/fpdfapi/fpdf_edit/editint.h',
269 'core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp',
270 'core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp',
271 'core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp',
272 'core/src/fpdfapi/fpdf_edit/fpdf_edit_image.cpp',
273 'core/src/fpdfapi/fpdf_font/common.h',
274 'core/src/fpdfapi/fpdf_font/font_int.h',
275 'core/src/fpdfapi/fpdf_font/fpdf_font.cpp',
276 'core/src/fpdfapi/fpdf_font/fpdf_font_charset.cpp',
277 'core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp',
Svet Ganovee451cb2014-05-21 09:38:09 -0700278 'core/src/fpdfapi/fpdf_font/ttgsubtable.cpp',
279 'core/src/fpdfapi/fpdf_font/ttgsubtable.h',
280 'core/src/fpdfapi/fpdf_page/fpdf_page.cpp',
281 'core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp',
282 'core/src/fpdfapi/fpdf_page/fpdf_page_doc.cpp',
283 'core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp',
284 'core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp',
285 'core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp',
286 'core/src/fpdfapi/fpdf_page/fpdf_page_parser.cpp',
Svet Ganovee451cb2014-05-21 09:38:09 -0700287 'core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp',
288 'core/src/fpdfapi/fpdf_page/fpdf_page_path.cpp',
289 'core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp',
290 'core/src/fpdfapi/fpdf_page/pageint.h',
291 'core/src/fpdfapi/fpdf_parser/filters_int.h',
292 'core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp',
293 'core/src/fpdfapi/fpdf_parser/fpdf_parser_document.cpp',
294 'core/src/fpdfapi/fpdf_parser/fpdf_parser_encrypt.cpp',
295 'core/src/fpdfapi/fpdf_parser/fpdf_parser_fdf.cpp',
296 'core/src/fpdfapi/fpdf_parser/fpdf_parser_filters.cpp',
297 'core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp',
298 'core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp',
299 'core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp',
300 'core/src/fpdfapi/fpdf_render/fpdf_render.cpp',
301 'core/src/fpdfapi/fpdf_render/fpdf_render_cache.cpp',
302 'core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp',
303 'core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp',
304 'core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp',
305 'core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp',
306 'core/src/fpdfapi/fpdf_render/render_int.h',
307 ],
308 },
309 {
310 'target_name': 'fpdftext',
311 'type': 'static_library',
312 'ldflags': [ '-L<(PRODUCT_DIR)',],
313 'sources': [
314 'core/include/fpdftext/fpdf_text.h',
315 'core/src/fpdftext/fpdf_text.cpp',
316 'core/src/fpdftext/fpdf_text_int.cpp',
317 'core/src/fpdftext/fpdf_text_search.cpp',
318 'core/src/fpdftext/text_int.h',
319 'core/src/fpdftext/txtproc.h',
320 'core/src/fpdftext/unicodenormalization.cpp',
321 'core/src/fpdftext/unicodenormalizationdata.cpp',
322 ],
323 },
324 {
325 'target_name': 'fxcodec',
326 'type': 'static_library',
327 'include_dirs': [
328 ],
329 'ldflags': [ '-L<(PRODUCT_DIR)',],
Svet Ganove6986e12015-06-04 14:52:15 -0700330 'msvs_settings': {
331 'VCCLCompilerTool': {
332 # Unresolved warnings in fx_codec_jpx_opj.cpp
333 # https://code.google.com/p/pdfium/issues/detail?id=100
334 'WarnAsError': 'false',
335 },
336 },
Svet Ganovee451cb2014-05-21 09:38:09 -0700337 'sources': [
338 'core/include/fxcodec/fx_codec.h',
339 'core/include/fxcodec/fx_codec_def.h',
340 'core/include/fxcodec/fx_codec_provider.h',
341 'core/src/fxcodec/codec/codec_int.h',
342 'core/src/fxcodec/codec/fx_codec.cpp',
343 'core/src/fxcodec/codec/fx_codec_fax.cpp',
344 'core/src/fxcodec/codec/fx_codec_flate.cpp',
345 'core/src/fxcodec/codec/fx_codec_icc.cpp',
346 'core/src/fxcodec/codec/fx_codec_jbig.cpp',
347 'core/src/fxcodec/codec/fx_codec_jbig_enc.cpp',
348 'core/src/fxcodec/codec/fx_codec_jpeg.cpp',
349 'core/src/fxcodec/codec/fx_codec_jpx_opj.cpp',
350 'core/src/fxcodec/fx_libopenjpeg/include/fx_openjpeg.h',
351 'core/src/fxcodec/fx_libopenjpeg/src/fx_bio.c',
352 'core/src/fxcodec/fx_libopenjpeg/src/fx_cio.c',
353 'core/src/fxcodec/fx_libopenjpeg/src/fx_dwt.c',
354 'core/src/fxcodec/fx_libopenjpeg/src/fx_event.c',
355 'core/src/fxcodec/fx_libopenjpeg/src/fx_function_list.c',
356 'core/src/fxcodec/fx_libopenjpeg/src/fx_image.c',
357 'core/src/fxcodec/fx_libopenjpeg/src/fx_invert.c',
358 'core/src/fxcodec/fx_libopenjpeg/src/fx_j2k.c',
359 'core/src/fxcodec/fx_libopenjpeg/src/fx_j2k_lib.c',
360 'core/src/fxcodec/fx_libopenjpeg/src/fx_jpt.c',
361 'core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c',
362 'core/src/fxcodec/fx_libopenjpeg/src/fx_mqc.c',
363 'core/src/fxcodec/fx_libopenjpeg/src/fx_openjpeg.c',
364 'core/src/fxcodec/fx_libopenjpeg/src/fx_openjpeg_jp2.c',
365 'core/src/fxcodec/fx_libopenjpeg/src/fx_opj_clock.c',
366 'core/src/fxcodec/fx_libopenjpeg/src/fx_pi.c',
367 'core/src/fxcodec/fx_libopenjpeg/src/fx_raw.c',
368 'core/src/fxcodec/fx_libopenjpeg/src/fx_t1.c',
Svet Ganovee451cb2014-05-21 09:38:09 -0700369 '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 ],
Svet Ganove6986e12015-06-04 14:52:15 -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 ],
Svet Ganovee451cb2014-05-21 09:38:09 -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',
514 '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',
Svet Ganove6986e12015-06-04 14:52:15 -0700521 'core/src/fxcrt/fx_safe_types.h',
Svet Ganovee451cb2014-05-21 09:38:09 -0700522 'core/src/fxcrt/fxcrt_platforms.cpp',
523 'core/src/fxcrt/fxcrt_platforms.h',
524 'core/src/fxcrt/fxcrt_posix.cpp',
525 'core/src/fxcrt/fxcrt_posix.h',
526 'core/src/fxcrt/fxcrt_windows.cpp',
527 'core/src/fxcrt/fxcrt_windows.h',
528 'core/src/fxcrt/fx_arabic.cpp',
529 'core/src/fxcrt/fx_arabic.h',
530 'core/src/fxcrt/fx_basic_array.cpp',
531 'core/src/fxcrt/fx_basic_bstring.cpp',
532 'core/src/fxcrt/fx_basic_buffer.cpp',
533 'core/src/fxcrt/fx_basic_coords.cpp',
534 'core/src/fxcrt/fx_basic_gcc.cpp',
535 'core/src/fxcrt/fx_basic_list.cpp',
536 'core/src/fxcrt/fx_basic_maps.cpp',
537 'core/src/fxcrt/fx_basic_memmgr.cpp',
Svet Ganovee451cb2014-05-21 09:38:09 -0700538 'core/src/fxcrt/fx_basic_plex.cpp',
539 'core/src/fxcrt/fx_basic_utf.cpp',
540 'core/src/fxcrt/fx_basic_util.cpp',
541 'core/src/fxcrt/fx_basic_wstring.cpp',
542 'core/src/fxcrt/fx_extension.cpp',
543 'core/src/fxcrt/fx_ucddata.cpp',
544 'core/src/fxcrt/fx_unicode.cpp',
545 'core/src/fxcrt/fx_xml_composer.cpp',
546 'core/src/fxcrt/fx_xml_parser.cpp',
Svet Ganovee451cb2014-05-21 09:38:09 -0700547 'core/src/fxcrt/plex.h',
548 'core/src/fxcrt/xml_int.h',
549 ],
550 },
551 {
552 'target_name': 'fxge',
553 'type': 'static_library',
554 'ldflags': [ '-L<(PRODUCT_DIR)',],
555 'sources': [
556 'core/include/fxge/fpf.h',
557 'core/include/fxge/fx_dib.h',
558 'core/include/fxge/fx_font.h',
559 'core/include/fxge/fx_freetype.h',
560 'core/include/fxge/fx_ge.h',
561 'core/include/fxge/fx_ge_apple.h',
562 'core/include/fxge/fx_ge_win32.h',
563 'core/src/fxge/agg/include/fxfx_agg_basics.h',
564 'core/src/fxge/agg/include/fxfx_agg_clip_liang_barsky.h',
565 'core/src/fxge/agg/include/fxfx_agg_conv_dash.h',
566 'core/src/fxge/agg/include/fxfx_agg_conv_stroke.h',
567 'core/src/fxge/agg/include/fxfx_agg_curves.h',
568 'core/src/fxge/agg/include/fxfx_agg_path_storage.h',
569 'core/src/fxge/agg/include/fxfx_agg_rasterizer_scanline_aa.h',
570 'core/src/fxge/agg/include/fxfx_agg_renderer_scanline.h',
571 'core/src/fxge/agg/include/fxfx_agg_rendering_buffer.h',
572 'core/src/fxge/agg/include/fxfx_agg_scanline_u.h',
573 'core/src/fxge/agg/include/fx_agg_driver.h',
574 'core/src/fxge/agg/src/fxfx_agg_curves.cpp',
575 'core/src/fxge/agg/src/fxfx_agg_driver.cpp',
576 'core/src/fxge/agg/src/fxfx_agg_path_storage.cpp',
577 'core/src/fxge/agg/src/fxfx_agg_rasterizer_scanline_aa.cpp',
578 'core/src/fxge/agg/src/fxfx_agg_vcgen_dash.cpp',
579 'core/src/fxge/agg/src/fxfx_agg_vcgen_stroke.cpp',
580 'core/src/fxge/android/fpf_skiafont.cpp',
581 'core/src/fxge/android/fpf_skiafont.h',
582 'core/src/fxge/android/fpf_skiafontmgr.cpp',
583 'core/src/fxge/android/fpf_skiafontmgr.h',
584 'core/src/fxge/android/fpf_skiamodule.cpp',
585 'core/src/fxge/android/fpf_skiamodule.h',
586 'core/src/fxge/android/fx_android_font.cpp',
587 'core/src/fxge/android/fx_android_font.h',
588 'core/src/fxge/android/fx_android_imp.cpp',
589 'core/src/fxge/android/fx_fpf.h',
590 'core/src/fxge/apple/apple_int.h',
591 'core/src/fxge/apple/fx_apple_platform.cpp',
592 'core/src/fxge/apple/fx_mac_imp.cpp',
593 'core/src/fxge/apple/fx_quartz_device.cpp',
594 'core/src/fxge/dib/dib_int.h',
595 'core/src/fxge/dib/fx_dib_composite.cpp',
596 'core/src/fxge/dib/fx_dib_convert.cpp',
597 'core/src/fxge/dib/fx_dib_engine.cpp',
598 'core/src/fxge/dib/fx_dib_main.cpp',
599 'core/src/fxge/dib/fx_dib_transform.cpp',
600 'core/src/fxge/fontdata/chromefontdata/FoxitDingbats.c',
601 'core/src/fxge/fontdata/chromefontdata/FoxitFixed.c',
602 'core/src/fxge/fontdata/chromefontdata/FoxitFixedBold.c',
603 'core/src/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.c',
604 'core/src/fxge/fontdata/chromefontdata/FoxitFixedItalic.c',
605 'core/src/fxge/fontdata/chromefontdata/FoxitSans.c',
606 'core/src/fxge/fontdata/chromefontdata/FoxitSansBold.c',
607 'core/src/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.c',
608 'core/src/fxge/fontdata/chromefontdata/FoxitSansItalic.c',
609 'core/src/fxge/fontdata/chromefontdata/FoxitSansMM.c',
610 'core/src/fxge/fontdata/chromefontdata/FoxitSerif.c',
611 'core/src/fxge/fontdata/chromefontdata/FoxitSerifBold.c',
612 'core/src/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.c',
613 'core/src/fxge/fontdata/chromefontdata/FoxitSerifItalic.c',
614 'core/src/fxge/fontdata/chromefontdata/FoxitSerifMM.c',
615 'core/src/fxge/fontdata/chromefontdata/FoxitSymbol.c',
Svet Ganove6986e12015-06-04 14:52:15 -0700616 'core/src/fxge/freetype/fx_freetype.c',
Svet Ganovee451cb2014-05-21 09:38:09 -0700617 'core/src/fxge/ge/fx_ge.cpp',
618 'core/src/fxge/ge/fx_ge_device.cpp',
619 'core/src/fxge/ge/fx_ge_font.cpp',
620 'core/src/fxge/ge/fx_ge_fontmap.cpp',
621 'core/src/fxge/ge/fx_ge_linux.cpp',
622 'core/src/fxge/ge/fx_ge_path.cpp',
623 'core/src/fxge/ge/fx_ge_ps.cpp',
624 'core/src/fxge/ge/fx_ge_text.cpp',
625 'core/src/fxge/ge/text_int.h',
626 ],
627 'conditions': [
628 ['pdf_use_skia==1', {
629 'sources': [
630 'core/src/fxge/skia/fx_skia_blitter_new.cpp',
631 'core/src/fxge/skia/fx_skia_device.cpp',
632 ],
633 'dependencies': [
634 '<(DEPTH)/skia/skia.gyp:skia',
635 ],
636 'include_dirs': [
637 '<(DEPTH)/third_party/skia/include/config',
638 '<(DEPTH)/third_party/skia/include/core',
639 '<(DEPTH)/third_party/skia/include/effects',
640 '<(DEPTH)/third_party/skia/include/images',
641 '<(DEPTH)/third_party/skia/include/lazy',
642 '<(DEPTH)/third_party/skia/include/pathops',
643 '<(DEPTH)/third_party/skia/include/utils',
644 '<(DEPTH)/third_party/skia/src/core',
645 ],
646 }],
647 ['OS=="win"', {
648 'defines!': [
Svet Ganovee451cb2014-05-21 09:38:09 -0700649 'WIN32_LEAN_AND_MEAN'
650 ],
651 'sources': [
652 'core/src/fxge/win32/dwrite_int.h',
653 'core/src/fxge/win32/fx_win32_device.cpp',
654 'core/src/fxge/win32/fx_win32_dib.cpp',
655 'core/src/fxge/win32/fx_win32_dwrite.cpp',
656 'core/src/fxge/win32/fx_win32_gdipext.cpp',
657 'core/src/fxge/win32/fx_win32_print.cpp',
658 'core/src/fxge/win32/win32_int.h',
659 ],
660 }],
661 ],
662 },
663 {
664 'target_name': 'fxedit',
665 'type': 'static_library',
666 'ldflags': [ '-L<(PRODUCT_DIR)',],
667 'sources': [
668 'fpdfsdk/include/fxedit/fx_edit.h',
669 'fpdfsdk/include/fxedit/fxet_edit.h',
670 'fpdfsdk/include/fxedit/fxet_list.h',
671 'fpdfsdk/include/fxedit/fxet_stub.h',
672 'fpdfsdk/src/fxedit/fxet_ap.cpp',
673 'fpdfsdk/src/fxedit/fxet_edit.cpp',
674 'fpdfsdk/src/fxedit/fxet_list.cpp',
675 'fpdfsdk/src/fxedit/fxet_module.cpp',
676 'fpdfsdk/src/fxedit/fxet_pageobjs.cpp',
677 ],
678 },
679 {
680 'target_name': 'pdfwindow',
681 'type': 'static_library',
682 'ldflags': [ '-L<(PRODUCT_DIR)',],
683 'sources': [
684 'fpdfsdk/include/pdfwindow/IPDFWindow.h',
685 'fpdfsdk/include/pdfwindow/PDFWindow.h',
686 'fpdfsdk/include/pdfwindow/PWL_Button.h',
687 'fpdfsdk/include/pdfwindow/PWL_Caret.h',
688 'fpdfsdk/include/pdfwindow/PWL_ComboBox.h',
689 'fpdfsdk/include/pdfwindow/PWL_Edit.h',
690 'fpdfsdk/include/pdfwindow/PWL_EditCtrl.h',
691 'fpdfsdk/include/pdfwindow/PWL_FontMap.h',
692 'fpdfsdk/include/pdfwindow/PWL_Icon.h',
693 'fpdfsdk/include/pdfwindow/PWL_IconList.h',
694 'fpdfsdk/include/pdfwindow/PWL_Label.h',
695 'fpdfsdk/include/pdfwindow/PWL_ListBox.h',
696 'fpdfsdk/include/pdfwindow/PWL_ListCtrl.h',
697 'fpdfsdk/include/pdfwindow/PWL_Note.h',
698 'fpdfsdk/include/pdfwindow/PWL_ScrollBar.h',
699 'fpdfsdk/include/pdfwindow/PWL_Signature.h',
700 'fpdfsdk/include/pdfwindow/PWL_SpecialButton.h',
701 'fpdfsdk/include/pdfwindow/PWL_Utils.h',
702 'fpdfsdk/include/pdfwindow/PWL_Wnd.h',
703 'fpdfsdk/src/pdfwindow/PWL_Button.cpp',
704 'fpdfsdk/src/pdfwindow/PWL_Caret.cpp',
705 'fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp',
706 'fpdfsdk/src/pdfwindow/PWL_Edit.cpp',
707 'fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp',
708 'fpdfsdk/src/pdfwindow/PWL_FontMap.cpp',
709 'fpdfsdk/src/pdfwindow/PWL_Icon.cpp',
710 'fpdfsdk/src/pdfwindow/PWL_IconList.cpp',
711 'fpdfsdk/src/pdfwindow/PWL_Label.cpp',
712 'fpdfsdk/src/pdfwindow/PWL_ListBox.cpp',
713 'fpdfsdk/src/pdfwindow/PWL_ListCtrl.cpp',
714 'fpdfsdk/src/pdfwindow/PWL_Note.cpp',
715 'fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp',
716 'fpdfsdk/src/pdfwindow/PWL_Signature.cpp',
717 'fpdfsdk/src/pdfwindow/PWL_SpecialButton.cpp',
718 'fpdfsdk/src/pdfwindow/PWL_Utils.cpp',
719 'fpdfsdk/src/pdfwindow/PWL_Wnd.cpp',
720 ],
721 },
722 {
723 'target_name': 'javascript',
724 'type': 'static_library',
Svet Ganove6986e12015-06-04 14:52:15 -0700725 'include_dirs': [
726 '<(DEPTH)/v8',
727 '<(DEPTH)/v8/include',
728 ],
Svet Ganovee451cb2014-05-21 09:38:09 -0700729 'dependencies': [
730 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
731 ],
732 'export_dependent_settings': [
733 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
734 ],
735 'ldflags': [ '-L<(PRODUCT_DIR)',],
736 'sources': [
737 'fpdfsdk/include/javascript/app.h',
738 'fpdfsdk/include/javascript/color.h',
739 'fpdfsdk/include/javascript/console.h',
740 'fpdfsdk/include/javascript/Consts.h',
741 'fpdfsdk/include/javascript/Document.h',
742 'fpdfsdk/include/javascript/event.h',
743 'fpdfsdk/include/javascript/Field.h',
744 'fpdfsdk/include/javascript/global.h',
745 'fpdfsdk/include/javascript/Icon.h',
746 'fpdfsdk/include/javascript/IJavaScript.h',
747 'fpdfsdk/include/javascript/JavaScript.h',
Svet Ganovee451cb2014-05-21 09:38:09 -0700748 'fpdfsdk/include/javascript/JS_Context.h',
749 'fpdfsdk/include/javascript/JS_Define.h',
750 'fpdfsdk/include/javascript/JS_EventHandler.h',
751 'fpdfsdk/include/javascript/JS_GlobalData.h',
Svet Ganovee451cb2014-05-21 09:38:09 -0700752 'fpdfsdk/include/javascript/JS_Object.h',
753 'fpdfsdk/include/javascript/JS_Runtime.h',
754 'fpdfsdk/include/javascript/JS_Value.h',
755 'fpdfsdk/include/javascript/PublicMethods.h',
756 'fpdfsdk/include/javascript/report.h',
757 'fpdfsdk/include/javascript/resource.h',
758 'fpdfsdk/include/javascript/util.h',
759 'fpdfsdk/src/javascript/app.cpp',
760 'fpdfsdk/src/javascript/color.cpp',
761 'fpdfsdk/src/javascript/console.cpp',
762 'fpdfsdk/src/javascript/Consts.cpp',
763 'fpdfsdk/src/javascript/Document.cpp',
764 'fpdfsdk/src/javascript/event.cpp',
765 'fpdfsdk/src/javascript/Field.cpp',
766 'fpdfsdk/src/javascript/global.cpp',
767 'fpdfsdk/src/javascript/Icon.cpp',
768 'fpdfsdk/src/javascript/JS_Context.cpp',
769 'fpdfsdk/src/javascript/JS_EventHandler.cpp',
770 'fpdfsdk/src/javascript/JS_GlobalData.cpp',
771 'fpdfsdk/src/javascript/JS_Object.cpp',
772 'fpdfsdk/src/javascript/JS_Runtime.cpp',
773 'fpdfsdk/src/javascript/JS_Value.cpp',
774 'fpdfsdk/src/javascript/PublicMethods.cpp',
775 'fpdfsdk/src/javascript/report.cpp',
Svet Ganove6986e12015-06-04 14:52:15 -0700776 'fpdfsdk/src/javascript/resource.cpp',
Svet Ganovee451cb2014-05-21 09:38:09 -0700777 'fpdfsdk/src/javascript/util.cpp',
778 ],
779 },
780 {
781 'target_name': 'jsapi',
782 'type': 'static_library',
783 'dependencies': [
784 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
785 ],
786 'export_dependent_settings': [
787 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
788 ],
789 'include_dirs': [
Svet Ganove6986e12015-06-04 14:52:15 -0700790 '<(DEPTH)/v8',
Svet Ganovee451cb2014-05-21 09:38:09 -0700791 '<(DEPTH)/v8/include',
792 ],
793 'ldflags': [ '-L<(PRODUCT_DIR)',],
794 'sources': [
795 'fpdfsdk/include/jsapi/fxjs_v8.h',
796 'fpdfsdk/src/jsapi/fxjs_v8.cpp',
797 ],
798 },
799 {
800 'target_name': 'formfiller',
801 'type': 'static_library',
802 'ldflags': [ '-L<(PRODUCT_DIR)',],
803 'sources': [
804 'fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h',
805 'fpdfsdk/include/formfiller/FFL_CheckBox.h',
806 'fpdfsdk/include/formfiller/FFL_ComboBox.h',
807 'fpdfsdk/include/formfiller/FFL_FormFiller.h',
808 'fpdfsdk/include/formfiller/FFL_IFormFiller.h',
809 'fpdfsdk/include/formfiller/FFL_ListBox.h',
810 'fpdfsdk/include/formfiller/FFL_Notify.h',
811 'fpdfsdk/include/formfiller/FFL_PushButton.h',
812 'fpdfsdk/include/formfiller/FFL_RadioButton.h',
813 'fpdfsdk/include/formfiller/FFL_TextField.h',
814 'fpdfsdk/include/formfiller/FFL_Utils.h',
815 'fpdfsdk/include/formfiller/FormFiller.h',
816 'fpdfsdk/src/formfiller/FFL_CBA_Fontmap.cpp',
817 'fpdfsdk/src/formfiller/FFL_CheckBox.cpp',
818 'fpdfsdk/src/formfiller/FFL_ComboBox.cpp',
819 'fpdfsdk/src/formfiller/FFL_FormFiller.cpp',
820 'fpdfsdk/src/formfiller/FFL_IFormFiller.cpp',
821 'fpdfsdk/src/formfiller/FFL_ListBox.cpp',
822 'fpdfsdk/src/formfiller/FFL_Notify.cpp',
823 'fpdfsdk/src/formfiller/FFL_PushButton.cpp',
824 'fpdfsdk/src/formfiller/FFL_RadioButton.cpp',
825 'fpdfsdk/src/formfiller/FFL_TextField.cpp',
826 'fpdfsdk/src/formfiller/FFL_Utils.cpp',
827 ],
828 },
Svet Ganove6986e12015-06-04 14:52:15 -0700829 {
830 'target_name': 'pdfium_unittests',
831 'type': 'executable',
832 'dependencies': [
833 '<(DEPTH)/testing/gtest.gyp:gtest_main',
834 '<(DEPTH)/testing/gtest.gyp:gtest',
835 'pdfium',
Svet Ganovee451cb2014-05-21 09:38:09 -0700836 ],
Svet Ganove6986e12015-06-04 14:52:15 -0700837 'include_dirs': [
838 '<(DEPTH)'
839 ],
840 'sources': [
841 'core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp',
842 'core/src/fxcrt/fx_basic_bstring_unittest.cpp',
843 'core/src/fxcrt/fx_basic_memmgr_unittest.cpp',
844 'core/src/fxcrt/fx_basic_wstring_unittest.cpp',
845 'testing/fx_string_testhelpers.h',
846 'testing/fx_string_testhelpers.cpp',
847 ],
848 },
849 {
850 'target_name': 'pdfium_embeddertests',
851 'type': 'executable',
852 'dependencies': [
853 '<(DEPTH)/testing/gmock.gyp:gmock',
854 '<(DEPTH)/testing/gtest.gyp:gtest',
855 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform',
856 'pdfium',
857 ],
858 'include_dirs': [
859 '<(DEPTH)',
860 '<(DEPTH)/v8',
861 ],
862 'sources': [
863 'core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp',
864 'core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp',
865 'fpdfsdk/src/fpdf_dataavail_embeddertest.cpp',
866 'fpdfsdk/src/fpdfdoc_embeddertest.cpp',
867 'fpdfsdk/src/fpdfformfill_embeddertest.cpp',
868 'fpdfsdk/src/fpdftext_embeddertest.cpp',
869 'fpdfsdk/src/fpdfview_c_api_test.c',
870 'fpdfsdk/src/fpdfview_c_api_test.h',
871 'fpdfsdk/src/fpdfview_embeddertest.cpp',
872 'testing/embedder_test.cpp',
873 'testing/embedder_test.h',
874 'testing/embedder_test_mock_delegate.h',
875 'testing/embedder_test_timer_handling_delegate.h',
876 'testing/fx_string_testhelpers.cpp',
877 'testing/fx_string_testhelpers.h',
878 ],
879 },
Svet Ganovee451cb2014-05-21 09:38:09 -0700880 ],
881}