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