| OLD | NEW |
| (Empty) |
| 1 # Copyright 2015 PDFium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'variables': { | |
| 7 'chromium_code': 1, | |
| 8 'pdf_use_skia%': 0, | |
| 9 'pdf_enable_v8%': 1, | |
| 10 'pdf_enable_xfa%': 0, # Set to 1 by standalone.gypi in a standalone build. | |
| 11 'pdf_use_win32_gdi%': 0, | |
| 12 'variables': { | |
| 13 'clang_use_chrome_plugins': 1, | |
| 14 }, | |
| 15 'conditions': [ | |
| 16 ['OS=="linux"', { | |
| 17 'bundle_freetype%': 0, | |
| 18 }, { # On Android there's no system FreeType. On Windows and Mac, only a | |
| 19 # few methods are used from it. | |
| 20 'bundle_freetype%': 1, | |
| 21 }], | |
| 22 ], | |
| 23 }, | |
| 24 'target_defaults': { | |
| 25 'defines' : [ | |
| 26 'OPJ_STATIC', | |
| 27 'PNG_PREFIX', | |
| 28 'PNG_USE_READ_MACROS', | |
| 29 'V8_DEPRECATION_WARNINGS', | |
| 30 ], | |
| 31 'include_dirs': [ | |
| 32 # This is implicit in GN. | |
| 33 '<(DEPTH)', | |
| 34 '.', | |
| 35 'third_party/freetype/include', | |
| 36 'third_party/freetype/include/freetype', | |
| 37 ], | |
| 38 'conditions': [ | |
| 39 ['pdf_use_skia==1', { | |
| 40 'defines': ['_SKIA_SUPPORT_'], | |
| 41 }], | |
| 42 ['pdf_enable_v8==1', { | |
| 43 'defines': ['PDF_ENABLE_V8'], | |
| 44 }], | |
| 45 ['pdf_enable_xfa==1', { | |
| 46 'defines': ['PDF_ENABLE_XFA'], | |
| 47 }], | |
| 48 ['pdf_use_win32_gdi==1', { | |
| 49 'defines': ['PDFIUM_PRINT_TEXT_WITH_GDI'], | |
| 50 }], | |
| 51 ['OS=="linux"', { | |
| 52 'conditions': [ | |
| 53 ['target_arch=="x64"', { | |
| 54 'defines' : [ '_FX_CPU_=_FX_X64_', ], | |
| 55 'cflags': [ '-fPIC', ], | |
| 56 }], | |
| 57 ['target_arch=="ia32"', { | |
| 58 'defines' : [ '_FX_CPU_=_FX_X86_', ], | |
| 59 }], | |
| 60 ], | |
| 61 }], | |
| 62 ], | |
| 63 'msvs_disabled_warnings': [ | |
| 64 4267, | |
| 65 ], | |
| 66 }, | |
| 67 'targets': [ | |
| 68 { | |
| 69 'target_name': 'pdfium', | |
| 70 'type': 'static_library', | |
| 71 'dependencies': [ | |
| 72 'third_party/third_party.gyp:bigint', | |
| 73 'third_party/third_party.gyp:pdfium_base', | |
| 74 'fdrm', | |
| 75 'fpdfdoc', | |
| 76 'fpdfapi', | |
| 77 'fpdftext', | |
| 78 'formfiller', | |
| 79 'fxcodec', | |
| 80 'fxcrt', | |
| 81 'fxedit', | |
| 82 'fxge', | |
| 83 'javascript', | |
| 84 'pdfwindow', | |
| 85 ], | |
| 86 'sources': [ | |
| 87 'fpdfsdk/cfx_systemhandler.cpp', | |
| 88 'fpdfsdk/cfx_systemhandler.h', | |
| 89 'fpdfsdk/include/cba_annotiterator.h', | |
| 90 'fpdfsdk/include/cpdfsdk_annot.h', | |
| 91 'fpdfsdk/include/cpdfsdk_annothandlermgr.h', | |
| 92 'fpdfsdk/include/cpdfsdk_annotiterator.h', | |
| 93 'fpdfsdk/include/cpdfsdk_baannot.h', | |
| 94 'fpdfsdk/include/cpdfsdk_bfannothandler.h', | |
| 95 'fpdfsdk/include/cpdfsdk_datetime.h', | |
| 96 'fpdfsdk/include/cpdfsdk_interform.h', | |
| 97 'fpdfsdk/include/cpdfsdk_widget.h', | |
| 98 'fpdfsdk/include/fsdk_actionhandler.h', | |
| 99 'fpdfsdk/include/fsdk_pauseadapter.h', | |
| 100 'fpdfsdk/include/ipdfsdk_annothandler.h', | |
| 101 'fpdfsdk/include/pdfsdk_fieldaction.h', | |
| 102 'fpdfsdk/cba_annotiterator.cpp', | |
| 103 'fpdfsdk/cpdfsdk_annot.cpp', | |
| 104 'fpdfsdk/cpdfsdk_annothandlermgr.cpp', | |
| 105 'fpdfsdk/cpdfsdk_annotiterator.cpp', | |
| 106 'fpdfsdk/cpdfsdk_baannot.cpp', | |
| 107 'fpdfsdk/cpdfsdk_bfannothandler.cpp', | |
| 108 'fpdfsdk/cpdfsdk_datetime.cpp', | |
| 109 'fpdfsdk/cpdfsdk_interform.cpp', | |
| 110 'fpdfsdk/cpdfsdk_widget.cpp', | |
| 111 'fpdfsdk/fpdfdoc.cpp', | |
| 112 'fpdfsdk/fpdfeditimg.cpp', | |
| 113 'fpdfsdk/fpdfeditpage.cpp', | |
| 114 'fpdfsdk/fpdfformfill.cpp', | |
| 115 'fpdfsdk/fpdfppo.cpp', | |
| 116 'fpdfsdk/fpdfsave.cpp', | |
| 117 'fpdfsdk/fpdftext.cpp', | |
| 118 'fpdfsdk/fpdfview.cpp', | |
| 119 'fpdfsdk/fpdf_dataavail.cpp', | |
| 120 'fpdfsdk/fpdf_ext.cpp', | |
| 121 'fpdfsdk/fpdf_flatten.cpp', | |
| 122 'fpdfsdk/fpdf_progressive.cpp', | |
| 123 'fpdfsdk/fpdf_searchex.cpp', | |
| 124 'fpdfsdk/fpdf_sysfontinfo.cpp', | |
| 125 'fpdfsdk/fpdf_transformpage.cpp', | |
| 126 'fpdfsdk/fsdk_actionhandler.cpp', | |
| 127 'fpdfsdk/fsdk_mgr.cpp', | |
| 128 'fpdfsdk/fsdk_pauseadapter.cpp', | |
| 129 'fpdfsdk/pdfsdk_fieldaction.cpp', | |
| 130 'public/fpdf_dataavail.h', | |
| 131 'public/fpdf_doc.h', | |
| 132 'public/fpdf_edit.h', | |
| 133 'public/fpdf_ext.h', | |
| 134 'public/fpdf_flatten.h', | |
| 135 'public/fpdf_formfill.h', | |
| 136 'public/fpdf_fwlevent.h', | |
| 137 'public/fpdf_ppo.h', | |
| 138 'public/fpdf_progressive.h', | |
| 139 'public/fpdf_save.h', | |
| 140 'public/fpdf_searchex.h', | |
| 141 'public/fpdf_sysfontinfo.h', | |
| 142 'public/fpdf_text.h', | |
| 143 'public/fpdf_transformpage.h', | |
| 144 'public/fpdfview.h', | |
| 145 ], | |
| 146 'conditions': [ | |
| 147 ['pdf_enable_xfa==1', { | |
| 148 'dependencies': [ | |
| 149 'fpdfxfa', | |
| 150 ], | |
| 151 'sources': [ | |
| 152 'fpdfsdk/cpdfsdk_xfaannothandler.cpp', | |
| 153 'fpdfsdk/cpdfsdk_xfawidget.cpp', | |
| 154 'fpdfsdk/include/cpdfsdk_xfaannothandler.h', | |
| 155 'fpdfsdk/include/cpdfsdk_xfawidget.h', | |
| 156 ], | |
| 157 }], | |
| 158 ['bundle_freetype==1', { | |
| 159 'dependencies': [ | |
| 160 'third_party/third_party.gyp:fx_freetype', | |
| 161 ], | |
| 162 }, { | |
| 163 'link_settings': { | |
| 164 'libraries': [ | |
| 165 '-lfreetype', | |
| 166 ], | |
| 167 }, | |
| 168 }], | |
| 169 ], | |
| 170 'all_dependent_settings': { | |
| 171 'msvs_settings': { | |
| 172 'VCLinkerTool': { | |
| 173 'AdditionalDependencies': [ | |
| 174 'advapi32.lib', | |
| 175 'gdi32.lib', | |
| 176 'user32.lib', | |
| 177 ], | |
| 178 }, | |
| 179 }, | |
| 180 'conditions': [ | |
| 181 ['OS=="mac"', { | |
| 182 'link_settings': { | |
| 183 'libraries': [ | |
| 184 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', | |
| 185 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', | |
| 186 ], | |
| 187 }, | |
| 188 }], | |
| 189 ], | |
| 190 }, | |
| 191 }, | |
| 192 { | |
| 193 'target_name': 'fdrm', | |
| 194 'type': 'static_library', | |
| 195 'sources': [ | |
| 196 'core/fdrm/crypto/include/fx_crypt.h', | |
| 197 'core/fdrm/crypto/fx_crypt.cpp', | |
| 198 'core/fdrm/crypto/fx_crypt_aes.cpp', | |
| 199 'core/fdrm/crypto/fx_crypt_sha.cpp', | |
| 200 ], | |
| 201 }, | |
| 202 { | |
| 203 'target_name': 'fpdfdoc', | |
| 204 'type': 'static_library', | |
| 205 'sources': [ | |
| 206 'core/fpdfdoc/cline.cpp', | |
| 207 'core/fpdfdoc/cline.h', | |
| 208 'core/fpdfdoc/clines.cpp', | |
| 209 'core/fpdfdoc/clines.h', | |
| 210 'core/fpdfdoc/cpdf_aaction.cpp', | |
| 211 'core/fpdfdoc/cpdf_action.cpp', | |
| 212 'core/fpdfdoc/cpdf_actionfields.cpp', | |
| 213 'core/fpdfdoc/cpdf_apsettings.cpp', | |
| 214 'core/fpdfdoc/cpdf_apsettings.h', | |
| 215 'core/fpdfdoc/cpdf_annot.cpp', | |
| 216 'core/fpdfdoc/cpdf_annotlist.cpp', | |
| 217 'core/fpdfdoc/cpdf_bookmark.cpp', | |
| 218 'core/fpdfdoc/cpdf_bookmarktree.cpp', | |
| 219 'core/fpdfdoc/cpdf_defaultappearance.cpp', | |
| 220 'core/fpdfdoc/cpdf_dest.cpp', | |
| 221 'core/fpdfdoc/cpdf_docjsactions.cpp', | |
| 222 'core/fpdfdoc/cpdf_filespec.cpp', | |
| 223 'core/fpdfdoc/cpdf_formcontrol.cpp', | |
| 224 'core/fpdfdoc/cpdf_formfield.cpp', | |
| 225 'core/fpdfdoc/cpdf_iconfit.cpp', | |
| 226 'core/fpdfdoc/cpdf_interform.cpp', | |
| 227 'core/fpdfdoc/cpdf_link.cpp', | |
| 228 'core/fpdfdoc/cpdf_linklist.cpp', | |
| 229 'core/fpdfdoc/cpdf_metadata.cpp', | |
| 230 'core/fpdfdoc/cpdf_nametree.cpp', | |
| 231 'core/fpdfdoc/cpdf_numbertree.cpp', | |
| 232 'core/fpdfdoc/cpdf_numbertree.h', | |
| 233 'core/fpdfdoc/cpdf_occontext.cpp', | |
| 234 'core/fpdfdoc/cpdf_pagelabel.cpp', | |
| 235 'core/fpdfdoc/cpdf_pagelabel.h', | |
| 236 'core/fpdfdoc/cpdf_variabletext.cpp', | |
| 237 'core/fpdfdoc/cpdf_viewerpreferences.cpp', | |
| 238 'core/fpdfdoc/cpvt_arraytemplate.h', | |
| 239 'core/fpdfdoc/cpvt_color.cpp', | |
| 240 'core/fpdfdoc/cpvt_color.h', | |
| 241 'core/fpdfdoc/cpvt_dash.h', | |
| 242 'core/fpdfdoc/cpvt_floatrect.h', | |
| 243 'core/fpdfdoc/cpvt_fontmap.cpp', | |
| 244 'core/fpdfdoc/cpvt_fontmap.h', | |
| 245 'core/fpdfdoc/cpvt_generateap.cpp', | |
| 246 'core/fpdfdoc/cpvt_generateap.h', | |
| 247 'core/fpdfdoc/cpvt_lineinfo.h', | |
| 248 'core/fpdfdoc/cpvt_sectioninfo.cpp', | |
| 249 'core/fpdfdoc/cpvt_sectioninfo.h', | |
| 250 'core/fpdfdoc/cpvt_wordinfo.cpp', | |
| 251 'core/fpdfdoc/cpvt_wordinfo.h', | |
| 252 'core/fpdfdoc/csection.cpp', | |
| 253 'core/fpdfdoc/csection.h', | |
| 254 'core/fpdfdoc/ctypeset.cpp', | |
| 255 'core/fpdfdoc/ctypeset.h', | |
| 256 'core/fpdfdoc/doc_tagged.cpp', | |
| 257 'core/fpdfdoc/include/cpdf_aaction.h', | |
| 258 'core/fpdfdoc/include/cpdf_action.h', | |
| 259 'core/fpdfdoc/include/cpdf_actionfields.h', | |
| 260 'core/fpdfdoc/include/cpdf_annot.h', | |
| 261 'core/fpdfdoc/include/cpdf_annotlist.h', | |
| 262 'core/fpdfdoc/include/cpdf_bookmark.h', | |
| 263 'core/fpdfdoc/include/cpdf_bookmarktree.h', | |
| 264 'core/fpdfdoc/include/cpdf_defaultappearance.h', | |
| 265 'core/fpdfdoc/include/cpdf_dest.h', | |
| 266 'core/fpdfdoc/include/cpdf_docjsactions.h', | |
| 267 'core/fpdfdoc/include/cpdf_filespec.h', | |
| 268 'core/fpdfdoc/include/cpdf_formcontrol.h', | |
| 269 'core/fpdfdoc/include/cpdf_formfield.h', | |
| 270 'core/fpdfdoc/include/cpdf_iconfit.h', | |
| 271 'core/fpdfdoc/include/cpdf_interform.h', | |
| 272 'core/fpdfdoc/include/cpdf_link.h', | |
| 273 'core/fpdfdoc/include/cpdf_linklist.h', | |
| 274 'core/fpdfdoc/include/cpdf_metadata.h', | |
| 275 'core/fpdfdoc/include/cpdf_nametree.h', | |
| 276 'core/fpdfdoc/include/cpdf_occontext.h', | |
| 277 'core/fpdfdoc/include/cpdf_variabletext.h', | |
| 278 'core/fpdfdoc/include/cpdf_viewerpreferences.h', | |
| 279 'core/fpdfdoc/include/cpvt_line.h', | |
| 280 'core/fpdfdoc/include/cpvt_secprops.h', | |
| 281 'core/fpdfdoc/include/cpvt_section.h', | |
| 282 'core/fpdfdoc/include/cpvt_word.h', | |
| 283 'core/fpdfdoc/include/cpvt_wordplace.h', | |
| 284 'core/fpdfdoc/include/cpvt_wordprops.h', | |
| 285 'core/fpdfdoc/include/cpvt_wordrange.h', | |
| 286 'core/fpdfdoc/include/fpdf_tagged.h', | |
| 287 'core/fpdfdoc/include/ipvt_fontmap.h', | |
| 288 'core/fpdfdoc/include/ipdf_formnotify.h', | |
| 289 'core/fpdfdoc/ipdf_formnotify.cpp', | |
| 290 'core/fpdfdoc/tagged_int.h', | |
| 291 ], | |
| 292 }, | |
| 293 { | |
| 294 'target_name': 'fpdfapi', | |
| 295 'type': 'static_library', | |
| 296 'sources': [ | |
| 297 'core/fpdfapi/cpdf_modulemgr.cpp', | |
| 298 'core/fpdfapi/cpdf_pagerendercontext.cpp', | |
| 299 'core/fpdfapi/fpdf_cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp', | |
| 300 'core/fpdfapi/fpdf_cmaps/CNS1/B5pc-H_0.cpp', | |
| 301 'core/fpdfapi/fpdf_cmaps/CNS1/B5pc-V_0.cpp', | |
| 302 'core/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-H_0.cpp', | |
| 303 'core/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-V_0.cpp', | |
| 304 'core/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-H_0.cpp', | |
| 305 'core/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-V_0.cpp', | |
| 306 'core/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-H_0.cpp', | |
| 307 'core/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-V_0.cpp', | |
| 308 'core/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-H_5.cpp', | |
| 309 'core/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-V_5.cpp', | |
| 310 'core/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-H_3.cpp', | |
| 311 'core/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-V_3.cpp', | |
| 312 'core/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UTF16-H_0.cpp', | |
| 313 'core/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp', | |
| 314 'core/fpdfapi/fpdf_cmaps/GB1/Adobe-GB1-UCS2_5.cpp', | |
| 315 'core/fpdfapi/fpdf_cmaps/GB1/GB-EUC-H_0.cpp', | |
| 316 'core/fpdfapi/fpdf_cmaps/GB1/GB-EUC-V_0.cpp', | |
| 317 'core/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-H_2.cpp', | |
| 318 'core/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-V_2.cpp', | |
| 319 'core/fpdfapi/fpdf_cmaps/GB1/GBK2K-H_5.cpp', | |
| 320 'core/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp', | |
| 321 'core/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-H_2.cpp', | |
| 322 'core/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-V_2.cpp', | |
| 323 'core/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-H_0.cpp', | |
| 324 'core/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-V_0.cpp', | |
| 325 'core/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-H_4.cpp', | |
| 326 'core/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-V_4.cpp', | |
| 327 'core/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp', | |
| 328 'core/fpdfapi/fpdf_cmaps/Japan1/83pv-RKSJ-H_1.cpp', | |
| 329 'core/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-H_2.cpp', | |
| 330 'core/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-V_2.cpp', | |
| 331 'core/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-H_2.cpp', | |
| 332 'core/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-V_2.cpp', | |
| 333 'core/fpdfapi/fpdf_cmaps/Japan1/90pv-RKSJ-H_1.cpp', | |
| 334 'core/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-H_1.cpp', | |
| 335 'core/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-V_1.cpp', | |
| 336 'core/fpdfapi/fpdf_cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp', | |
| 337 'core/fpdfapi/fpdf_cmaps/Japan1/EUC-H_1.cpp', | |
| 338 'core/fpdfapi/fpdf_cmaps/Japan1/EUC-V_1.cpp', | |
| 339 'core/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-H_2.cpp', | |
| 340 'core/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-V_2.cpp', | |
| 341 'core/fpdfapi/fpdf_cmaps/Japan1/H_1.cpp', | |
| 342 'core/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp', | |
| 343 'core/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp', | |
| 344 'core/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-H_4.cpp', | |
| 345 'core/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-V_4.cpp', | |
| 346 'core/fpdfapi/fpdf_cmaps/Japan1/V_1.cpp', | |
| 347 'core/fpdfapi/fpdf_cmaps/Japan1/cmaps_japan1.cpp', | |
| 348 'core/fpdfapi/fpdf_cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp', | |
| 349 'core/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-H_0.cpp', | |
| 350 'core/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-V_0.cpp', | |
| 351 'core/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-H_1.cpp', | |
| 352 'core/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-V_1.cpp', | |
| 353 'core/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-H_1.cpp', | |
| 354 'core/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-V_1.cpp', | |
| 355 'core/fpdfapi/fpdf_cmaps/Korea1/KSCpc-EUC-H_0.cpp', | |
| 356 'core/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-H_1.cpp', | |
| 357 'core/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-V_1.cpp', | |
| 358 'core/fpdfapi/fpdf_cmaps/Korea1/UniKS-UTF16-H_0.cpp', | |
| 359 'core/fpdfapi/fpdf_cmaps/Korea1/cmaps_korea1.cpp', | |
| 360 'core/fpdfapi/fpdf_cmaps/cmap_int.h', | |
| 361 'core/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp', | |
| 362 'core/fpdfapi/fpdf_edit/cpdf_pagecontentgenerator.cpp', | |
| 363 'core/fpdfapi/fpdf_edit/editint.h', | |
| 364 'core/fpdfapi/fpdf_edit/fpdf_edit_create.cpp', | |
| 365 'core/fpdfapi/fpdf_edit/include/cpdf_creator.h', | |
| 366 'core/fpdfapi/fpdf_edit/include/cpdf_pagecontentgenerator.h', | |
| 367 'core/fpdfapi/fpdf_font/cpdf_cidfont.cpp', | |
| 368 'core/fpdfapi/fpdf_font/cpdf_cidfont.h', | |
| 369 'core/fpdfapi/fpdf_font/cpdf_font.cpp', | |
| 370 'core/fpdfapi/fpdf_font/cpdf_fontencoding.cpp', | |
| 371 'core/fpdfapi/fpdf_font/cpdf_simplefont.cpp', | |
| 372 'core/fpdfapi/fpdf_font/cpdf_simplefont.h', | |
| 373 'core/fpdfapi/fpdf_font/cpdf_truetypefont.cpp', | |
| 374 'core/fpdfapi/fpdf_font/cpdf_truetypefont.h', | |
| 375 'core/fpdfapi/fpdf_font/cpdf_type1font.cpp', | |
| 376 'core/fpdfapi/fpdf_font/cpdf_type1font.h', | |
| 377 'core/fpdfapi/fpdf_font/cpdf_type3char.cpp', | |
| 378 'core/fpdfapi/fpdf_font/cpdf_type3char.h', | |
| 379 'core/fpdfapi/fpdf_font/cpdf_type3font.cpp', | |
| 380 'core/fpdfapi/fpdf_font/cpdf_type3font.h', | |
| 381 'core/fpdfapi/fpdf_font/font_int.h', | |
| 382 'core/fpdfapi/fpdf_font/fpdf_font.cpp', | |
| 383 'core/fpdfapi/fpdf_font/fpdf_font_cid.cpp', | |
| 384 'core/fpdfapi/fpdf_font/include/cpdf_font.h', | |
| 385 'core/fpdfapi/fpdf_font/include/cpdf_fontencoding.h', | |
| 386 'core/fpdfapi/fpdf_font/ttgsubtable.cpp', | |
| 387 'core/fpdfapi/fpdf_font/ttgsubtable.h', | |
| 388 'core/fpdfapi/fpdf_page/cpdf_allstates.cpp', | |
| 389 'core/fpdfapi/fpdf_page/cpdf_allstates.h', | |
| 390 'core/fpdfapi/fpdf_page/cpdf_clippath.cpp', | |
| 391 'core/fpdfapi/fpdf_page/cpdf_clippathdata.cpp', | |
| 392 'core/fpdfapi/fpdf_page/cpdf_clippathdata.h', | |
| 393 'core/fpdfapi/fpdf_page/cpdf_color.cpp', | |
| 394 'core/fpdfapi/fpdf_page/cpdf_colorspace.cpp', | |
| 395 'core/fpdfapi/fpdf_page/cpdf_colorstate.cpp', | |
| 396 'core/fpdfapi/fpdf_page/cpdf_colorstate.h', | |
| 397 'core/fpdfapi/fpdf_page/cpdf_colorstatedata.cpp', | |
| 398 'core/fpdfapi/fpdf_page/cpdf_colorstatedata.h', | |
| 399 'core/fpdfapi/fpdf_page/cpdf_contentmark.cpp', | |
| 400 'core/fpdfapi/fpdf_page/cpdf_contentmark.h', | |
| 401 'core/fpdfapi/fpdf_page/cpdf_contentmarkdata.cpp', | |
| 402 'core/fpdfapi/fpdf_page/cpdf_contentmarkdata.h', | |
| 403 'core/fpdfapi/fpdf_page/cpdf_contentmarkitem.cpp', | |
| 404 'core/fpdfapi/fpdf_page/cpdf_contentmarkitem.h', | |
| 405 'core/fpdfapi/fpdf_page/cpdf_countedobject.h', | |
| 406 'core/fpdfapi/fpdf_page/cpdf_form.cpp', | |
| 407 'core/fpdfapi/fpdf_page/cpdf_formobject.cpp', | |
| 408 'core/fpdfapi/fpdf_page/cpdf_generalstate.cpp', | |
| 409 'core/fpdfapi/fpdf_page/cpdf_generalstatedata.cpp', | |
| 410 'core/fpdfapi/fpdf_page/cpdf_graphicstates.cpp', | |
| 411 'core/fpdfapi/fpdf_page/cpdf_graphicstates.h', | |
| 412 'core/fpdfapi/fpdf_page/cpdf_graphstate.h', | |
| 413 'core/fpdfapi/fpdf_page/cpdf_image.cpp', | |
| 414 'core/fpdfapi/fpdf_page/cpdf_imageobject.cpp', | |
| 415 'core/fpdfapi/fpdf_page/cpdf_meshstream.cpp', | |
| 416 'core/fpdfapi/fpdf_page/cpdf_meshstream.h', | |
| 417 'core/fpdfapi/fpdf_page/cpdf_page.cpp', | |
| 418 'core/fpdfapi/fpdf_page/cpdf_pagemodule.cpp', | |
| 419 'core/fpdfapi/fpdf_page/cpdf_pagemodule.h', | |
| 420 'core/fpdfapi/fpdf_page/cpdf_pageobject.cpp', | |
| 421 'core/fpdfapi/fpdf_page/cpdf_pageobjectholder.cpp', | |
| 422 'core/fpdfapi/fpdf_page/cpdf_pageobjectlist.cpp', | |
| 423 'core/fpdfapi/fpdf_page/cpdf_pageobjectlist.h', | |
| 424 'core/fpdfapi/fpdf_page/cpdf_pathobject.cpp', | |
| 425 'core/fpdfapi/fpdf_page/cpdf_pattern.cpp', | |
| 426 'core/fpdfapi/fpdf_page/cpdf_pattern.h', | |
| 427 'core/fpdfapi/fpdf_page/cpdf_shadingobject.cpp', | |
| 428 'core/fpdfapi/fpdf_page/cpdf_shadingpattern.cpp', | |
| 429 'core/fpdfapi/fpdf_page/cpdf_shadingpattern.h', | |
| 430 'core/fpdfapi/fpdf_page/cpdf_textobject.cpp', | |
| 431 'core/fpdfapi/fpdf_page/cpdf_textstate.cpp', | |
| 432 'core/fpdfapi/fpdf_page/cpdf_textstate.h', | |
| 433 'core/fpdfapi/fpdf_page/cpdf_textstatedata.cpp', | |
| 434 'core/fpdfapi/fpdf_page/cpdf_tilingpattern.cpp', | |
| 435 'core/fpdfapi/fpdf_page/cpdf_tilingpattern.h', | |
| 436 'core/fpdfapi/fpdf_page/fpdf_page_colors.cpp', | |
| 437 'core/fpdfapi/fpdf_page/fpdf_page_doc.cpp', | |
| 438 'core/fpdfapi/fpdf_page/fpdf_page_func.cpp', | |
| 439 'core/fpdfapi/fpdf_page/fpdf_page_parser.cpp', | |
| 440 'core/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp', | |
| 441 'core/fpdfapi/fpdf_page/include/cpdf_clippath.h', | |
| 442 'core/fpdfapi/fpdf_page/include/cpdf_color.h', | |
| 443 'core/fpdfapi/fpdf_page/include/cpdf_colorspace.h', | |
| 444 'core/fpdfapi/fpdf_page/include/cpdf_form.h', | |
| 445 'core/fpdfapi/fpdf_page/include/cpdf_formobject.h', | |
| 446 'core/fpdfapi/fpdf_page/include/cpdf_generalstatedata.h', | |
| 447 'core/fpdfapi/fpdf_page/include/cpdf_image.h', | |
| 448 'core/fpdfapi/fpdf_page/include/cpdf_imageobject.h', | |
| 449 'core/fpdfapi/fpdf_page/include/cpdf_page.h', | |
| 450 'core/fpdfapi/fpdf_page/include/cpdf_pageobject.h', | |
| 451 'core/fpdfapi/fpdf_page/include/cpdf_pageobjectholder.h', | |
| 452 'core/fpdfapi/fpdf_page/include/cpdf_path.h', | |
| 453 'core/fpdfapi/fpdf_page/include/cpdf_pathobject.h', | |
| 454 'core/fpdfapi/fpdf_page/include/cpdf_shadingobject.h', | |
| 455 'core/fpdfapi/fpdf_page/include/cpdf_textobject.h', | |
| 456 'core/fpdfapi/fpdf_page/include/cpdf_textstatedata.h', | |
| 457 'core/fpdfapi/fpdf_page/pageint.h', | |
| 458 'core/fpdfapi/fpdf_parser/cfdf_document.cpp', | |
| 459 'core/fpdfapi/fpdf_parser/cpdf_array.cpp', | |
| 460 'core/fpdfapi/fpdf_parser/cpdf_boolean.cpp', | |
| 461 'core/fpdfapi/fpdf_parser/cpdf_boolean.h', | |
| 462 'core/fpdfapi/fpdf_parser/cpdf_crypto_handler.cpp', | |
| 463 'core/fpdfapi/fpdf_parser/cpdf_crypto_handler.h', | |
| 464 'core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp', | |
| 465 'core/fpdfapi/fpdf_parser/cpdf_dictionary.cpp', | |
| 466 'core/fpdfapi/fpdf_parser/cpdf_document.cpp', | |
| 467 'core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp', | |
| 468 'core/fpdfapi/fpdf_parser/cpdf_hint_tables.h', | |
| 469 'core/fpdfapi/fpdf_parser/cpdf_indirect_object_holder.cpp', | |
| 470 'core/fpdfapi/fpdf_parser/cpdf_name.cpp', | |
| 471 'core/fpdfapi/fpdf_parser/cpdf_null.cpp', | |
| 472 'core/fpdfapi/fpdf_parser/cpdf_null.h', | |
| 473 'core/fpdfapi/fpdf_parser/cpdf_number.cpp', | |
| 474 'core/fpdfapi/fpdf_parser/cpdf_object.cpp', | |
| 475 'core/fpdfapi/fpdf_parser/cpdf_parser.cpp', | |
| 476 'core/fpdfapi/fpdf_parser/cpdf_reference.cpp', | |
| 477 'core/fpdfapi/fpdf_parser/cpdf_security_handler.cpp', | |
| 478 'core/fpdfapi/fpdf_parser/cpdf_security_handler.h', | |
| 479 'core/fpdfapi/fpdf_parser/cpdf_simple_parser.cpp', | |
| 480 'core/fpdfapi/fpdf_parser/cpdf_stream.cpp', | |
| 481 'core/fpdfapi/fpdf_parser/cpdf_stream_acc.cpp', | |
| 482 'core/fpdfapi/fpdf_parser/cpdf_string.cpp', | |
| 483 'core/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp', | |
| 484 'core/fpdfapi/fpdf_parser/cpdf_syntax_parser.h', | |
| 485 'core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp', | |
| 486 'core/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp', | |
| 487 'core/fpdfapi/fpdf_parser/fpdf_parser_utility.h', | |
| 488 'core/fpdfapi/fpdf_parser/include/cfdf_document.h', | |
| 489 'core/fpdfapi/fpdf_parser/include/cpdf_array.h', | |
| 490 'core/fpdfapi/fpdf_parser/include/cpdf_data_avail.h', | |
| 491 'core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h', | |
| 492 'core/fpdfapi/fpdf_parser/include/cpdf_document.h', | |
| 493 'core/fpdfapi/fpdf_parser/include/cpdf_indirect_object_holder.h', | |
| 494 'core/fpdfapi/fpdf_parser/include/cpdf_name.h', | |
| 495 'core/fpdfapi/fpdf_parser/include/cpdf_number.h', | |
| 496 'core/fpdfapi/fpdf_parser/include/cpdf_object.h', | |
| 497 'core/fpdfapi/fpdf_parser/include/cpdf_parser.h', | |
| 498 'core/fpdfapi/fpdf_parser/include/cpdf_reference.h', | |
| 499 'core/fpdfapi/fpdf_parser/include/cpdf_simple_parser.h', | |
| 500 'core/fpdfapi/fpdf_parser/include/cpdf_stream.h', | |
| 501 'core/fpdfapi/fpdf_parser/include/cpdf_stream_acc.h', | |
| 502 'core/fpdfapi/fpdf_parser/include/cpdf_string.h', | |
| 503 'core/fpdfapi/fpdf_parser/include/fpdf_parser_decode.h', | |
| 504 'core/fpdfapi/fpdf_render/cpdf_pagerendercache.h', | |
| 505 'core/fpdfapi/fpdf_render/fpdf_render.cpp', | |
| 506 'core/fpdfapi/fpdf_render/fpdf_render_cache.cpp', | |
| 507 'core/fpdfapi/fpdf_render/fpdf_render_image.cpp', | |
| 508 'core/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp', | |
| 509 'core/fpdfapi/fpdf_render/fpdf_render_pattern.cpp', | |
| 510 'core/fpdfapi/fpdf_render/fpdf_render_text.cpp', | |
| 511 'core/fpdfapi/fpdf_render/include/cpdf_progressiverenderer.h', | |
| 512 'core/fpdfapi/fpdf_render/include/cpdf_rendercontext.h', | |
| 513 'core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h', | |
| 514 'core/fpdfapi/fpdf_render/include/cpdf_textrenderer.h', | |
| 515 'core/fpdfapi/fpdf_render/render_int.h', | |
| 516 'core/fpdfapi/include/cpdf_modulemgr.h', | |
| 517 'core/fpdfapi/include/cpdf_pagerendercontext.h', | |
| 518 ], | |
| 519 }, | |
| 520 { | |
| 521 'target_name': 'fpdftext', | |
| 522 'type': 'static_library', | |
| 523 'sources': [ | |
| 524 'core/fpdftext/include/cpdf_linkextract.h', | |
| 525 'core/fpdftext/include/cpdf_textpage.h', | |
| 526 'core/fpdftext/include/cpdf_textpagefind.h', | |
| 527 'core/fpdftext/fpdf_text_int.cpp', | |
| 528 'core/fpdftext/unicodenormalizationdata.cpp', | |
| 529 'core/fpdftext/unicodenormalizationdata.h', | |
| 530 ], | |
| 531 }, | |
| 532 { | |
| 533 'target_name': 'fxcodec', | |
| 534 'type': 'static_library', | |
| 535 'dependencies': [ | |
| 536 '<(libjpeg_gyp_path):libjpeg', | |
| 537 'third_party/third_party.gyp:fx_lcms2', | |
| 538 'third_party/third_party.gyp:fx_libopenjpeg', | |
| 539 'third_party/third_party.gyp:fx_zlib', | |
| 540 ], | |
| 541 'sources': [ | |
| 542 'core/fxcodec/codec/ccodec_basicmodule.h', | |
| 543 'core/fxcodec/codec/ccodec_faxmodule.h', | |
| 544 'core/fxcodec/codec/ccodec_flatemodule.h', | |
| 545 'core/fxcodec/codec/ccodec_iccmodule.h', | |
| 546 'core/fxcodec/codec/ccodec_jbig2module.h', | |
| 547 'core/fxcodec/codec/ccodec_jpegmodule.h', | |
| 548 'core/fxcodec/codec/ccodec_jpxmodule.h', | |
| 549 'core/fxcodec/codec/ccodec_scanlinedecoder.h', | |
| 550 'core/fxcodec/codec/codec_int.h', | |
| 551 'core/fxcodec/codec/fx_codec.cpp', | |
| 552 'core/fxcodec/codec/fx_codec_fax.cpp', | |
| 553 'core/fxcodec/codec/fx_codec_flate.cpp', | |
| 554 'core/fxcodec/codec/fx_codec_icc.cpp', | |
| 555 'core/fxcodec/codec/fx_codec_jbig.cpp', | |
| 556 'core/fxcodec/codec/fx_codec_jpeg.cpp', | |
| 557 'core/fxcodec/codec/fx_codec_jpx_opj.cpp', | |
| 558 'core/fxcodec/include/JBig2_DocumentContext.h', | |
| 559 'core/fxcodec/include/fx_codec.h', | |
| 560 'core/fxcodec/include/fx_codec_def.h', | |
| 561 'core/fxcodec/jbig2/JBig2_ArithDecoder.cpp', | |
| 562 'core/fxcodec/jbig2/JBig2_ArithDecoder.h', | |
| 563 'core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp', | |
| 564 'core/fxcodec/jbig2/JBig2_ArithIntDecoder.h', | |
| 565 'core/fxcodec/jbig2/JBig2_BitStream.cpp', | |
| 566 'core/fxcodec/jbig2/JBig2_BitStream.h', | |
| 567 'core/fxcodec/jbig2/JBig2_Context.cpp', | |
| 568 'core/fxcodec/jbig2/JBig2_Context.h', | |
| 569 'core/fxcodec/jbig2/JBig2_Define.h', | |
| 570 'core/fxcodec/jbig2/JBig2_GrdProc.cpp', | |
| 571 'core/fxcodec/jbig2/JBig2_GrdProc.h', | |
| 572 'core/fxcodec/jbig2/JBig2_GrrdProc.cpp', | |
| 573 'core/fxcodec/jbig2/JBig2_GrrdProc.h', | |
| 574 'core/fxcodec/jbig2/JBig2_GsidProc.cpp', | |
| 575 'core/fxcodec/jbig2/JBig2_GsidProc.h', | |
| 576 'core/fxcodec/jbig2/JBig2_HtrdProc.cpp', | |
| 577 'core/fxcodec/jbig2/JBig2_HtrdProc.h', | |
| 578 'core/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp', | |
| 579 'core/fxcodec/jbig2/JBig2_HuffmanDecoder.h', | |
| 580 'core/fxcodec/jbig2/JBig2_HuffmanTable.cpp', | |
| 581 'core/fxcodec/jbig2/JBig2_HuffmanTable.h', | |
| 582 'core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.cpp', | |
| 583 'core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h', | |
| 584 'core/fxcodec/jbig2/JBig2_Image.cpp', | |
| 585 'core/fxcodec/jbig2/JBig2_Image.h', | |
| 586 'core/fxcodec/jbig2/JBig2_List.h', | |
| 587 'core/fxcodec/jbig2/JBig2_Page.h', | |
| 588 'core/fxcodec/jbig2/JBig2_PatternDict.cpp', | |
| 589 'core/fxcodec/jbig2/JBig2_PatternDict.h', | |
| 590 'core/fxcodec/jbig2/JBig2_PddProc.cpp', | |
| 591 'core/fxcodec/jbig2/JBig2_PddProc.h', | |
| 592 'core/fxcodec/jbig2/JBig2_SddProc.cpp', | |
| 593 'core/fxcodec/jbig2/JBig2_SddProc.h', | |
| 594 'core/fxcodec/jbig2/JBig2_Segment.cpp', | |
| 595 'core/fxcodec/jbig2/JBig2_Segment.h', | |
| 596 'core/fxcodec/jbig2/JBig2_SymbolDict.cpp', | |
| 597 'core/fxcodec/jbig2/JBig2_SymbolDict.h', | |
| 598 'core/fxcodec/jbig2/JBig2_TrdProc.cpp', | |
| 599 'core/fxcodec/jbig2/JBig2_TrdProc.h', | |
| 600 ], | |
| 601 'msvs_settings': { | |
| 602 'VCCLCompilerTool': { | |
| 603 # Unresolved warnings in fx_codec_jpx_opj.cpp | |
| 604 # https://code.google.com/p/pdfium/issues/detail?id=100 | |
| 605 'WarnAsError': 'false', | |
| 606 }, | |
| 607 }, | |
| 608 'conditions': [ | |
| 609 ['pdf_enable_xfa==1', { | |
| 610 'dependencies': [ | |
| 611 'third_party/third_party.gyp:fx_lpng', | |
| 612 'third_party/third_party.gyp:fx_tiff', | |
| 613 ], | |
| 614 'sources': [ | |
| 615 'core/fxcodec/codec/ccodec_bmpmodule.h', | |
| 616 'core/fxcodec/codec/ccodec_gifmodule.h', | |
| 617 'core/fxcodec/codec/ccodec_pngmodule.h', | |
| 618 'core/fxcodec/codec/ccodec_tiffmodule.h', | |
| 619 'core/fxcodec/codec/fx_codec_bmp.cpp', | |
| 620 'core/fxcodec/codec/fx_codec_gif.cpp', | |
| 621 'core/fxcodec/codec/fx_codec_png.cpp', | |
| 622 'core/fxcodec/codec/fx_codec_progress.cpp', | |
| 623 'core/fxcodec/codec/fx_codec_tiff.cpp', | |
| 624 'core/fxcodec/codec/include/ccodec_progressivedecoder.h', | |
| 625 'core/fxcodec/lbmp/fx_bmp.cpp', | |
| 626 'core/fxcodec/lbmp/fx_bmp.h', | |
| 627 'core/fxcodec/lgif/fx_gif.cpp', | |
| 628 'core/fxcodec/lgif/fx_gif.h', | |
| 629 ], | |
| 630 }], | |
| 631 ['os_posix==1', { | |
| 632 # core/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int | |
| 633 # conversion to check that an address is 16-bit aligned (benign). | |
| 634 'cflags_c': [ '-Wno-pointer-to-int-cast' ], | |
| 635 }], | |
| 636 ], | |
| 637 }, | |
| 638 { | |
| 639 'target_name': 'fxcrt', | |
| 640 'type': 'static_library', | |
| 641 'sources': [ | |
| 642 'core/fxcrt/cfx_string_c_template.h', | |
| 643 'core/fxcrt/cfx_string_data_template.h', | |
| 644 'core/fxcrt/extension.h', | |
| 645 'core/fxcrt/fx_basic_array.cpp', | |
| 646 'core/fxcrt/fx_basic_bstring.cpp', | |
| 647 'core/fxcrt/fx_basic_buffer.cpp', | |
| 648 'core/fxcrt/fx_basic_coords.cpp', | |
| 649 'core/fxcrt/fx_basic_gcc.cpp', | |
| 650 'core/fxcrt/fx_basic_list.cpp', | |
| 651 'core/fxcrt/fx_basic_memmgr.cpp', | |
| 652 'core/fxcrt/fx_basic_plex.cpp', | |
| 653 'core/fxcrt/fx_basic_utf.cpp', | |
| 654 'core/fxcrt/fx_basic_util.cpp', | |
| 655 'core/fxcrt/fx_basic_wstring.cpp', | |
| 656 'core/fxcrt/fx_bidi.cpp', | |
| 657 'core/fxcrt/fx_bidi.h', | |
| 658 'core/fxcrt/fx_extension.cpp', | |
| 659 'core/fxcrt/fx_ucddata.cpp', | |
| 660 'core/fxcrt/fx_unicode.cpp', | |
| 661 'core/fxcrt/fx_xml_composer.cpp', | |
| 662 'core/fxcrt/fx_xml_parser.cpp', | |
| 663 'core/fxcrt/fxcrt_posix.cpp', | |
| 664 'core/fxcrt/fxcrt_posix.h', | |
| 665 'core/fxcrt/fxcrt_stream.cpp', | |
| 666 'core/fxcrt/fxcrt_windows.cpp', | |
| 667 'core/fxcrt/fxcrt_windows.h', | |
| 668 'core/fxcrt/include/cfx_retain_ptr.h', | |
| 669 'core/fxcrt/include/fx_basic.h', | |
| 670 'core/fxcrt/include/fx_coordinates.h', | |
| 671 'core/fxcrt/include/fx_ext.h', | |
| 672 'core/fxcrt/include/fx_memory.h', | |
| 673 'core/fxcrt/include/fx_safe_types.h', | |
| 674 'core/fxcrt/include/fx_stream.h', | |
| 675 'core/fxcrt/include/fx_string.h', | |
| 676 'core/fxcrt/include/fx_system.h', | |
| 677 'core/fxcrt/include/fx_ucd.h', | |
| 678 'core/fxcrt/include/fx_xml.h', | |
| 679 'core/fxcrt/plex.h', | |
| 680 'core/fxcrt/xml_int.h', | |
| 681 ], | |
| 682 'conditions': [ | |
| 683 ['pdf_enable_xfa==1', { | |
| 684 'sources': [ | |
| 685 'core/fxcrt/fx_arabic.cpp', | |
| 686 'core/fxcrt/fx_basic_maps.cpp', | |
| 687 'core/fxcrt/include/fx_arabic.h', | |
| 688 'core/fxcrt/include/fx_arb.h', | |
| 689 ], | |
| 690 }], | |
| 691 ], | |
| 692 }, | |
| 693 { | |
| 694 'target_name': 'fxge', | |
| 695 'type': 'static_library', | |
| 696 'dependencies': [ | |
| 697 'third_party/third_party.gyp:fx_agg', | |
| 698 ], | |
| 699 'sources': [ | |
| 700 'core/fxge/agg/fx_agg_driver.h', | |
| 701 'core/fxge/agg/fx_agg_driver.cpp', | |
| 702 'core/fxge/android/fpf_skiafont.cpp', | |
| 703 'core/fxge/android/fpf_skiafont.h', | |
| 704 'core/fxge/android/fpf_skiafontmgr.cpp', | |
| 705 'core/fxge/android/fpf_skiafontmgr.h', | |
| 706 'core/fxge/android/fpf_skiamodule.cpp', | |
| 707 'core/fxge/android/fpf_skiamodule.h', | |
| 708 'core/fxge/android/fx_android_font.cpp', | |
| 709 'core/fxge/android/fx_android_font.h', | |
| 710 'core/fxge/android/fx_android_imp.cpp', | |
| 711 'core/fxge/apple/apple_int.h', | |
| 712 'core/fxge/apple/cfx_quartzdevice.h', | |
| 713 'core/fxge/apple/fx_apple_platform.cpp', | |
| 714 'core/fxge/apple/fx_mac_imp.cpp', | |
| 715 'core/fxge/apple/fx_quartz_device.cpp', | |
| 716 'core/fxge/dib/dib_int.h', | |
| 717 'core/fxge/dib/fx_dib_composite.cpp', | |
| 718 'core/fxge/dib/fx_dib_convert.cpp', | |
| 719 'core/fxge/dib/fx_dib_engine.cpp', | |
| 720 'core/fxge/dib/fx_dib_main.cpp', | |
| 721 'core/fxge/dib/fx_dib_transform.cpp', | |
| 722 'core/fxge/fontdata/chromefontdata/chromefontdata.h', | |
| 723 'core/fxge/fontdata/chromefontdata/FoxitDingbats.cpp', | |
| 724 'core/fxge/fontdata/chromefontdata/FoxitFixed.cpp', | |
| 725 'core/fxge/fontdata/chromefontdata/FoxitFixedBold.cpp', | |
| 726 'core/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.cpp', | |
| 727 'core/fxge/fontdata/chromefontdata/FoxitFixedItalic.cpp', | |
| 728 'core/fxge/fontdata/chromefontdata/FoxitSans.cpp', | |
| 729 'core/fxge/fontdata/chromefontdata/FoxitSansBold.cpp', | |
| 730 'core/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.cpp', | |
| 731 'core/fxge/fontdata/chromefontdata/FoxitSansItalic.cpp', | |
| 732 'core/fxge/fontdata/chromefontdata/FoxitSansMM.cpp', | |
| 733 'core/fxge/fontdata/chromefontdata/FoxitSerif.cpp', | |
| 734 'core/fxge/fontdata/chromefontdata/FoxitSerifBold.cpp', | |
| 735 'core/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.cpp', | |
| 736 'core/fxge/fontdata/chromefontdata/FoxitSerifItalic.cpp', | |
| 737 'core/fxge/fontdata/chromefontdata/FoxitSerifMM.cpp', | |
| 738 'core/fxge/fontdata/chromefontdata/FoxitSymbol.cpp', | |
| 739 'core/fxge/freetype/fx_freetype.cpp', | |
| 740 'core/fxge/ge/cfx_autofontcache.cpp', | |
| 741 'core/fxge/ge/cfx_cliprgn.cpp', | |
| 742 'core/fxge/ge/cfx_cliprgn.h', | |
| 743 'core/fxge/ge/cfx_facecache.cpp', | |
| 744 'core/fxge/ge/cfx_folderfontinfo.cpp', | |
| 745 'core/fxge/ge/cfx_folderfontinfo.h', | |
| 746 'core/fxge/ge/cfx_fontcache.cpp', | |
| 747 'core/fxge/ge/cfx_fontmapper.cpp', | |
| 748 'core/fxge/ge/cfx_fontmgr.cpp', | |
| 749 'core/fxge/ge/cfx_gemodule.cpp', | |
| 750 'core/fxge/ge/cfx_graphstatedata.cpp', | |
| 751 'core/fxge/ge/cfx_pathdata.cpp', | |
| 752 'core/fxge/ge/cfx_renderdevice.cpp', | |
| 753 'core/fxge/ge/cfx_unicodeencoding.cpp', | |
| 754 'core/fxge/ge/include/cfx_fontmapper.h', | |
| 755 'core/fxge/ge/include/cfx_fontmgr.h', | |
| 756 'core/fxge/ge/include/ifx_systemfontinfo.h', | |
| 757 'core/fxge/ge/fx_ge_font.cpp', | |
| 758 'core/fxge/ge/fx_ge_fontmap.cpp', | |
| 759 'core/fxge/ge/fx_ge_linux.cpp', | |
| 760 'core/fxge/ge/fx_ge_text.cpp', | |
| 761 'core/fxge/ge/fx_text_int.h', | |
| 762 'core/fxge/ifx_renderdevicedriver.cpp', | |
| 763 'core/fxge/include/cfx_autofontcache.h', | |
| 764 'core/fxge/include/cfx_facecache.h', | |
| 765 'core/fxge/include/cfx_fontcache.h', | |
| 766 'core/fxge/include/cfx_fxgedevice.h', | |
| 767 'core/fxge/include/cfx_gemodule.h', | |
| 768 'core/fxge/include/cfx_graphstatedata.h', | |
| 769 'core/fxge/include/cfx_pathdata.h', | |
| 770 'core/fxge/include/cfx_renderdevice.h', | |
| 771 'core/fxge/include/cfx_unicodeencoding.h', | |
| 772 'core/fxge/include/cfx_windowsdevice.h', | |
| 773 'core/fxge/include/fx_dib.h', | |
| 774 'core/fxge/include/fx_font.h', | |
| 775 'core/fxge/include/fx_freetype.h', | |
| 776 'core/fxge/include/ifx_renderdevicedriver.h', | |
| 777 'core/fxge/win32/cfx_windowsdib.h', | |
| 778 ], | |
| 779 'variables': { | |
| 780 'clang_warning_flags': [ | |
| 781 # http://code.google.com/p/pdfium/issues/detail?id=188 | |
| 782 '-Wno-switch', | |
| 783 ], | |
| 784 }, | |
| 785 'conditions': [ | |
| 786 ['pdf_enable_xfa==1', { | |
| 787 'sources': [ | |
| 788 'core/fxge/ge/cfx_unicodeencodingex.cpp', | |
| 789 'core/fxge/include/cfx_unicodeencodingex.h', | |
| 790 ] | |
| 791 }], | |
| 792 ['pdf_use_skia==1', { | |
| 793 'sources': [ | |
| 794 'core/fxge/skia/fx_skia_device.cpp', | |
| 795 ], | |
| 796 'sources!': [ | |
| 797 'core/fxge/agg/fx_agg_driver.h', | |
| 798 'core/fxge/agg/fx_agg_driver.cpp', | |
| 799 ], | |
| 800 'dependencies': [ | |
| 801 '<(DEPTH)/skia/skia.gyp:skia', | |
| 802 ], | |
| 803 'dependencies!': [ | |
| 804 'third_party/third_party.gyp:fx_agg', | |
| 805 ], | |
| 806 }], | |
| 807 ['OS=="win"', { | |
| 808 'defines!': [ | |
| 809 'WIN32_LEAN_AND_MEAN' | |
| 810 ], | |
| 811 'sources': [ | |
| 812 'core/fxge/win32/dwrite_int.h', | |
| 813 'core/fxge/win32/fx_win32_device.cpp', | |
| 814 'core/fxge/win32/fx_win32_dib.cpp', | |
| 815 'core/fxge/win32/fx_win32_dwrite.cpp', | |
| 816 'core/fxge/win32/fx_win32_gdipext.cpp', | |
| 817 'core/fxge/win32/fx_win32_print.cpp', | |
| 818 'core/fxge/win32/win32_int.h', | |
| 819 ], | |
| 820 }], | |
| 821 ], | |
| 822 }, | |
| 823 { | |
| 824 'target_name': 'fxedit', | |
| 825 'type': 'static_library', | |
| 826 'sources': [ | |
| 827 'fpdfsdk/fxedit/include/fx_edit.h', | |
| 828 'fpdfsdk/fxedit/include/fxet_edit.h', | |
| 829 'fpdfsdk/fxedit/include/fxet_list.h', | |
| 830 'fpdfsdk/fxedit/fxet_ap.cpp', | |
| 831 'fpdfsdk/fxedit/fxet_edit.cpp', | |
| 832 'fpdfsdk/fxedit/fxet_list.cpp', | |
| 833 ], | |
| 834 }, | |
| 835 { | |
| 836 'target_name': 'pdfwindow', | |
| 837 'type': 'static_library', | |
| 838 'sources': [ | |
| 839 'fpdfsdk/pdfwindow/PWL_Button.cpp', | |
| 840 'fpdfsdk/pdfwindow/PWL_Button.h', | |
| 841 'fpdfsdk/pdfwindow/PWL_Caret.cpp', | |
| 842 'fpdfsdk/pdfwindow/PWL_Caret.h', | |
| 843 'fpdfsdk/pdfwindow/PWL_ComboBox.cpp', | |
| 844 'fpdfsdk/pdfwindow/PWL_ComboBox.h', | |
| 845 'fpdfsdk/pdfwindow/PWL_Edit.cpp', | |
| 846 'fpdfsdk/pdfwindow/PWL_Edit.h', | |
| 847 'fpdfsdk/pdfwindow/PWL_EditCtrl.cpp', | |
| 848 'fpdfsdk/pdfwindow/PWL_EditCtrl.h', | |
| 849 'fpdfsdk/pdfwindow/PWL_FontMap.cpp', | |
| 850 'fpdfsdk/pdfwindow/PWL_FontMap.h', | |
| 851 'fpdfsdk/pdfwindow/PWL_Icon.cpp', | |
| 852 'fpdfsdk/pdfwindow/PWL_Icon.h', | |
| 853 'fpdfsdk/pdfwindow/PWL_ListBox.cpp', | |
| 854 'fpdfsdk/pdfwindow/PWL_ListBox.h', | |
| 855 'fpdfsdk/pdfwindow/PWL_ScrollBar.cpp', | |
| 856 'fpdfsdk/pdfwindow/PWL_ScrollBar.h', | |
| 857 'fpdfsdk/pdfwindow/PWL_SpecialButton.cpp', | |
| 858 'fpdfsdk/pdfwindow/PWL_SpecialButton.h', | |
| 859 'fpdfsdk/pdfwindow/PWL_Utils.cpp', | |
| 860 'fpdfsdk/pdfwindow/PWL_Utils.h', | |
| 861 'fpdfsdk/pdfwindow/PWL_Wnd.cpp', | |
| 862 'fpdfsdk/pdfwindow/PWL_Wnd.h', | |
| 863 ], | |
| 864 }, | |
| 865 { | |
| 866 'target_name': 'javascript', | |
| 867 'type': 'static_library', | |
| 868 'sources': [ | |
| 869 'fpdfsdk/javascript/ijs_context.h', | |
| 870 'fpdfsdk/javascript/ijs_runtime.h', | |
| 871 'fpdfsdk/javascript/JS_Runtime_Stub.cpp', | |
| 872 ], | |
| 873 'conditions': [ | |
| 874 ['pdf_enable_v8==1', { | |
| 875 'dependencies': [ | |
| 876 ':fxjs' | |
| 877 ], | |
| 878 'sources!': [ | |
| 879 'fpdfsdk/javascript/JS_Runtime_Stub.cpp', | |
| 880 ], | |
| 881 'sources': [ | |
| 882 'fpdfsdk/javascript/Annot.cpp', | |
| 883 'fpdfsdk/javascript/Annot.h', | |
| 884 'fpdfsdk/javascript/Consts.cpp', | |
| 885 'fpdfsdk/javascript/Consts.h', | |
| 886 'fpdfsdk/javascript/Document.cpp', | |
| 887 'fpdfsdk/javascript/Document.h', | |
| 888 'fpdfsdk/javascript/Field.cpp', | |
| 889 'fpdfsdk/javascript/Field.h', | |
| 890 'fpdfsdk/javascript/Icon.cpp', | |
| 891 'fpdfsdk/javascript/Icon.h', | |
| 892 'fpdfsdk/javascript/JS_Define.h', | |
| 893 'fpdfsdk/javascript/JS_EventHandler.cpp', | |
| 894 'fpdfsdk/javascript/JS_EventHandler.h', | |
| 895 'fpdfsdk/javascript/JS_GlobalData.cpp', | |
| 896 'fpdfsdk/javascript/JS_GlobalData.h', | |
| 897 'fpdfsdk/javascript/JS_KeyValue.cpp', | |
| 898 'fpdfsdk/javascript/JS_KeyValue.h', | |
| 899 'fpdfsdk/javascript/JS_Object.cpp', | |
| 900 'fpdfsdk/javascript/JS_Object.h', | |
| 901 'fpdfsdk/javascript/JS_Value.cpp', | |
| 902 'fpdfsdk/javascript/JS_Value.h', | |
| 903 'fpdfsdk/javascript/PublicMethods.cpp', | |
| 904 'fpdfsdk/javascript/PublicMethods.h', | |
| 905 'fpdfsdk/javascript/app.cpp', | |
| 906 'fpdfsdk/javascript/app.cpp', | |
| 907 'fpdfsdk/javascript/app.h', | |
| 908 'fpdfsdk/javascript/color.cpp', | |
| 909 'fpdfsdk/javascript/color.cpp', | |
| 910 'fpdfsdk/javascript/color.h', | |
| 911 'fpdfsdk/javascript/console.cpp', | |
| 912 'fpdfsdk/javascript/console.cpp', | |
| 913 'fpdfsdk/javascript/console.h', | |
| 914 'fpdfsdk/javascript/cjs_context.cpp', | |
| 915 'fpdfsdk/javascript/cjs_context.h', | |
| 916 'fpdfsdk/javascript/cjs_runtime.cpp', | |
| 917 'fpdfsdk/javascript/cjs_runtime.h', | |
| 918 'fpdfsdk/javascript/event.cpp', | |
| 919 'fpdfsdk/javascript/event.h', | |
| 920 'fpdfsdk/javascript/global.cpp', | |
| 921 'fpdfsdk/javascript/global.h', | |
| 922 'fpdfsdk/javascript/report.cpp', | |
| 923 'fpdfsdk/javascript/report.h', | |
| 924 'fpdfsdk/javascript/resource.cpp', | |
| 925 'fpdfsdk/javascript/resource.h', | |
| 926 'fpdfsdk/javascript/util.cpp', | |
| 927 'fpdfsdk/javascript/util.h', | |
| 928 ], | |
| 929 }], | |
| 930 ], | |
| 931 }, | |
| 932 { | |
| 933 'target_name': 'formfiller', | |
| 934 'type': 'static_library', | |
| 935 'sources': [ | |
| 936 'fpdfsdk/formfiller/cba_fontmap.cpp', | |
| 937 'fpdfsdk/formfiller/cba_fontmap.h', | |
| 938 'fpdfsdk/formfiller/cffl_checkbox.cpp', | |
| 939 'fpdfsdk/formfiller/cffl_checkbox.h', | |
| 940 'fpdfsdk/formfiller/cffl_combobox.cpp', | |
| 941 'fpdfsdk/formfiller/cffl_combobox.h', | |
| 942 'fpdfsdk/formfiller/cffl_formfiller.cpp', | |
| 943 'fpdfsdk/formfiller/cffl_formfiller.h', | |
| 944 'fpdfsdk/formfiller/cffl_iformfiller.cpp', | |
| 945 'fpdfsdk/formfiller/cffl_iformfiller.h', | |
| 946 'fpdfsdk/formfiller/cffl_listbox.cpp', | |
| 947 'fpdfsdk/formfiller/cffl_listbox.h', | |
| 948 'fpdfsdk/formfiller/cffl_pushbutton.cpp', | |
| 949 'fpdfsdk/formfiller/cffl_pushbutton.h', | |
| 950 'fpdfsdk/formfiller/cffl_radiobutton.cpp', | |
| 951 'fpdfsdk/formfiller/cffl_radiobutton.h', | |
| 952 'fpdfsdk/formfiller/cffl_textfield.cpp', | |
| 953 'fpdfsdk/formfiller/cffl_textfield.h', | |
| 954 ], | |
| 955 }, | |
| 956 { | |
| 957 'target_name': 'pdfium_unittests', | |
| 958 'type': 'executable', | |
| 959 'dependencies': [ | |
| 960 '<(DEPTH)/testing/gtest.gyp:gtest_main', | |
| 961 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 962 'pdfium', | |
| 963 'test_support', | |
| 964 ], | |
| 965 'sources': [ | |
| 966 'core/fxcrt/cfx_retain_ptr_unittest.cpp', | |
| 967 'core/fpdfapi/fpdf_font/fpdf_font_cid_unittest.cpp', | |
| 968 'core/fpdfapi/fpdf_font/fpdf_font_unittest.cpp', | |
| 969 'core/fpdfapi/fpdf_page/fpdf_page_parser_unittest.cpp', | |
| 970 'core/fpdfapi/fpdf_page/fpdf_page_parser_old_unittest.cpp', | |
| 971 'core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp', | |
| 972 'core/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp', | |
| 973 'core/fpdfapi/fpdf_parser/cpdf_parser_unittest.cpp', | |
| 974 'core/fpdfapi/fpdf_parser/cpdf_simple_parser_unittest.cpp', | |
| 975 'core/fpdfapi/fpdf_parser/cpdf_syntax_parser_unittest.cpp', | |
| 976 'core/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp', | |
| 977 'core/fpdfdoc/cpdf_filespec_unittest.cpp', | |
| 978 'core/fpdftext/fpdf_text_int_unittest.cpp', | |
| 979 'core/fxcodec/codec/fx_codec_jpx_unittest.cpp', | |
| 980 'core/fxcrt/fx_basic_bstring_unittest.cpp', | |
| 981 'core/fxcrt/fx_basic_gcc_unittest.cpp', | |
| 982 'core/fxcrt/fx_basic_memmgr_unittest.cpp', | |
| 983 'core/fxcrt/fx_basic_util_unittest.cpp', | |
| 984 'core/fxcrt/fx_basic_wstring_unittest.cpp', | |
| 985 'core/fxcrt/fx_bidi_unittest.cpp', | |
| 986 'core/fxcrt/fx_extension_unittest.cpp', | |
| 987 'core/fxcrt/fx_system_unittest.cpp', | |
| 988 'core/fxge/dib/fx_dib_engine_unittest.cpp', | |
| 989 'fpdfsdk/fpdfdoc_unittest.cpp', | |
| 990 'fpdfsdk/fpdfeditimg_unittest.cpp', | |
| 991 'testing/fx_string_testhelpers.h', | |
| 992 'testing/fx_string_testhelpers.cpp', | |
| 993 ], | |
| 994 'conditions': [ | |
| 995 ['pdf_enable_xfa==1', { | |
| 996 'sources': [ | |
| 997 'xfa/fde/css/fde_cssdatatable.cpp', | |
| 998 'xfa/fde/xml/fde_xml_imp_unittest.cpp', | |
| 999 'xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp', | |
| 1000 'xfa/fxfa/app/xfa_textlayout_unittest.cpp', | |
| 1001 'xfa/fxfa/fm2js/xfa_simpleexpression_unittest.cpp', | |
| 1002 'xfa/fxfa/parser/xfa_utils_unittest.cpp', | |
| 1003 ], | |
| 1004 }], | |
| 1005 ['pdf_use_skia==1', { | |
| 1006 'sources': [ | |
| 1007 'core/fxge/skia/fx_skia_device_unittest.cpp', | |
| 1008 ], | |
| 1009 }], | |
| 1010 ['pdf_enable_v8==1', { | |
| 1011 'include_dirs': [ | |
| 1012 '<(DEPTH)/v8', | |
| 1013 '<(DEPTH)/v8/include', | |
| 1014 ], | |
| 1015 'sources': [ | |
| 1016 'fpdfsdk/javascript/public_methods_unittest.cpp', | |
| 1017 ], | |
| 1018 }], | |
| 1019 ], | |
| 1020 }, | |
| 1021 { | |
| 1022 'target_name': 'pdfium_embeddertests', | |
| 1023 'type': 'executable', | |
| 1024 'dependencies': [ | |
| 1025 '<(DEPTH)/testing/gmock.gyp:gmock', | |
| 1026 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 1027 'pdfium', | |
| 1028 'test_support', | |
| 1029 ], | |
| 1030 'sources': [ | |
| 1031 'core/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp', | |
| 1032 'core/fpdfapi/fpdf_parser/cpdf_parser_embeddertest.cpp', | |
| 1033 'core/fpdfapi/fpdf_parser/cpdf_security_handler_embeddertest.cpp', | |
| 1034 'core/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp', | |
| 1035 'core/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp', | |
| 1036 'core/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp', | |
| 1037 'core/fxcodec/codec/fx_codec_embeddertest.cpp', | |
| 1038 'core/fxge/ge/fx_ge_text_embeddertest.cpp', | |
| 1039 'fpdfsdk/fpdf_dataavail_embeddertest.cpp', | |
| 1040 'fpdfsdk/fpdfdoc_embeddertest.cpp', | |
| 1041 'fpdfsdk/fpdfedit_embeddertest.cpp', | |
| 1042 'fpdfsdk/fpdfext_embeddertest.cpp', | |
| 1043 'fpdfsdk/fpdfformfill_embeddertest.cpp', | |
| 1044 'fpdfsdk/fpdfsave_embeddertest.cpp', | |
| 1045 'fpdfsdk/fpdftext_embeddertest.cpp', | |
| 1046 'fpdfsdk/fpdfview_c_api_test.c', | |
| 1047 'fpdfsdk/fpdfview_c_api_test.h', | |
| 1048 'fpdfsdk/fpdfview_embeddertest.cpp', | |
| 1049 'fpdfsdk/fsdk_baseform_embeddertest.cpp', | |
| 1050 'testing/embedder_test.cpp', | |
| 1051 'testing/embedder_test.h', | |
| 1052 'testing/embedder_test_mock_delegate.h', | |
| 1053 'testing/embedder_test_timer_handling_delegate.h', | |
| 1054 ], | |
| 1055 'conditions': [ | |
| 1056 ['pdf_enable_xfa==1', { | |
| 1057 'sources': [ | |
| 1058 'xfa/fxfa/parser/cxfa_simple_parser_embeddertest.cpp', | |
| 1059 ], | |
| 1060 }], | |
| 1061 ['pdf_enable_v8==1', { | |
| 1062 'include_dirs': [ | |
| 1063 '<(DEPTH)/v8', | |
| 1064 '<(DEPTH)/v8/include', | |
| 1065 ], | |
| 1066 'dependencies': [ | |
| 1067 '<(DEPTH)/v8/src/v8.gyp:v8', | |
| 1068 '<(DEPTH)/v8/src/v8.gyp:v8_libplatform', | |
| 1069 ], | |
| 1070 'sources': [ | |
| 1071 'fpdfsdk/javascript/public_methods_embeddertest.cpp', | |
| 1072 'fxjs/fxjs_v8_embeddertest.cpp', | |
| 1073 'testing/js_embedder_test.cpp', | |
| 1074 'testing/js_embedder_test.h', | |
| 1075 ], | |
| 1076 }], | |
| 1077 ], | |
| 1078 }, | |
| 1079 { | |
| 1080 'target_name': 'test_support', | |
| 1081 'type': 'static_library', | |
| 1082 'dependencies': [ | |
| 1083 '<(DEPTH)/testing/gmock.gyp:gmock', | |
| 1084 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 1085 ], | |
| 1086 'sources': [ | |
| 1087 'testing/fx_string_testhelpers.cpp', | |
| 1088 'testing/fx_string_testhelpers.h', | |
| 1089 'testing/test_support.cpp', | |
| 1090 'testing/test_support.h', | |
| 1091 'testing/utils/path_service.cpp', | |
| 1092 ], | |
| 1093 'conditions': [ | |
| 1094 ['pdf_enable_v8==1', { | |
| 1095 'include_dirs': [ | |
| 1096 '<(DEPTH)/v8', | |
| 1097 '<(DEPTH)/v8/include', | |
| 1098 ], | |
| 1099 'dependencies': [ | |
| 1100 '<(DEPTH)/v8/src/v8.gyp:v8', | |
| 1101 '<(DEPTH)/v8/src/v8.gyp:v8_libplatform', | |
| 1102 ], | |
| 1103 }], | |
| 1104 ], | |
| 1105 }, | |
| 1106 ], | |
| 1107 'conditions': [ | |
| 1108 ['pdf_enable_v8==1', { | |
| 1109 'targets': [ | |
| 1110 { | |
| 1111 "target_name": "fxjs", | |
| 1112 "type": "static_library", | |
| 1113 'include_dirs': [ | |
| 1114 # This is implicit in GN. | |
| 1115 '<(DEPTH)', | |
| 1116 '.', | |
| 1117 '<(DEPTH)/v8', | |
| 1118 '<(DEPTH)/v8/include', | |
| 1119 ], | |
| 1120 'dependencies': [ | |
| 1121 '<(DEPTH)/v8/src/v8.gyp:v8', | |
| 1122 ], | |
| 1123 'export_dependent_settings': [ | |
| 1124 '<(DEPTH)/v8/src/v8.gyp:v8', | |
| 1125 ], | |
| 1126 "sources": [ | |
| 1127 'fxjs/fxjs_v8.cpp', | |
| 1128 'fxjs/include/fxjs_v8.h', | |
| 1129 ], | |
| 1130 "conditions": [ | |
| 1131 ['pdf_enable_xfa==1', { | |
| 1132 'sources': [ | |
| 1133 'fxjs/cfxjse_arguments.cpp', | |
| 1134 'fxjs/cfxjse_class.cpp', | |
| 1135 'fxjs/cfxjse_context.cpp', | |
| 1136 'fxjs/cfxjse_isolatetracker.cpp', | |
| 1137 'fxjs/cfxjse_isolatetracker.h', | |
| 1138 'fxjs/cfxjse_runtimedata.cpp', | |
| 1139 'fxjs/cfxjse_runtimedata.h', | |
| 1140 'fxjs/cfxjse_value.cpp', | |
| 1141 'fxjs/include/cfxjse_arguments.h', | |
| 1142 'fxjs/include/cfxjse_class.h', | |
| 1143 'fxjs/include/cfxjse_context.h', | |
| 1144 'fxjs/include/cfxjse_value.h', | |
| 1145 'fxjs/include/fxjse.h', | |
| 1146 ] | |
| 1147 }], | |
| 1148 ], | |
| 1149 }, | |
| 1150 ] | |
| 1151 }], | |
| 1152 ['pdf_enable_xfa==1', { | |
| 1153 'targets': [ | |
| 1154 { | |
| 1155 'target_name': 'fpdfxfa', | |
| 1156 'type': 'static_library', | |
| 1157 'dependencies': [ | |
| 1158 'fxjs', | |
| 1159 'javascript', | |
| 1160 'xfa.gyp:xfa', | |
| 1161 ], | |
| 1162 'sources': [ | |
| 1163 'fpdfsdk/fpdfxfa/fpdfxfa_app.cpp', | |
| 1164 'fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp', | |
| 1165 'fpdfsdk/fpdfxfa/fpdfxfa_page.cpp', | |
| 1166 'fpdfsdk/fpdfxfa/fpdfxfa_util.cpp', | |
| 1167 'fpdfsdk/fpdfxfa/include/fpdfxfa_app.h', | |
| 1168 'fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h', | |
| 1169 'fpdfsdk/fpdfxfa/include/fpdfxfa_page.h', | |
| 1170 'fpdfsdk/fpdfxfa/include/fpdfxfa_util.h', | |
| 1171 ], | |
| 1172 }, | |
| 1173 ] | |
| 1174 }], | |
| 1175 ] | |
| 1176 } | |
| OLD | NEW |