John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 1 | { |
| 2 | 'variables': { |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 3 | 'pdf_use_skia%': 0, |
John Abd-El-Malek | ef4dce4 | 2015-02-02 16:52:07 -0800 | [diff] [blame] | 4 | '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, |
Tom Sepez | d8bc3d5 | 2015-02-24 15:07:41 -0800 | [diff] [blame] | 10 | }], |
John Abd-El-Malek | ef4dce4 | 2015-02-02 16:52:07 -0800 | [diff] [blame] | 11 | ], |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 12 | }, |
| 13 | 'target_defaults': { |
| 14 | 'defines' : [ |
Bo Xu | 043f07f | 2014-10-03 11:06:35 -0700 | [diff] [blame] | 15 | 'OPJ_STATIC', |
John Abd-El-Malek | 385729b | 2015-02-06 15:51:11 -0800 | [diff] [blame] | 16 | 'PNG_PREFIX', |
| 17 | 'PNGPREFIX_H', |
| 18 | 'PNG_USE_READ_MACROS', |
Tom Sepez | 6fd997b | 2015-06-18 17:51:37 -0700 | [diff] [blame] | 19 | 'V8_DEPRECATION_WARNINGS', |
| 20 | '_CRT_SECURE_NO_WARNINGS', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 21 | ], |
Bo Xu | 4c764f3 | 2014-12-19 14:29:17 -0800 | [diff] [blame] | 22 | 'include_dirs': [ |
| 23 | 'third_party/freetype/include', |
| 24 | ], |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 25 | 'conditions': [ |
| 26 | ['pdf_use_skia==1', { |
| 27 | 'defines': ['_SKIA_SUPPORT_'], |
| 28 | }], |
| 29 | ['OS=="linux"', { |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 30 | 'conditions': [ |
| 31 | ['target_arch=="x64"', { |
Nico Weber | b72977f | 2014-07-18 15:50:30 -0700 | [diff] [blame] | 32 | 'defines' : [ '_FX_CPU_=_FX_X64_', ], |
| 33 | 'cflags': [ '-fPIC', ], |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 34 | }], |
| 35 | ['target_arch=="ia32"', { |
Nico Weber | b72977f | 2014-07-18 15:50:30 -0700 | [diff] [blame] | 36 | 'defines' : [ '_FX_CPU_=_FX_X86_', ], |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 37 | }], |
| 38 | ], |
| 39 | }], |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 40 | ], |
| 41 | 'msvs_disabled_warnings': [ |
Nico Weber | 8f75c67 | 2014-07-16 17:31:56 -0700 | [diff] [blame] | 42 | 4005, 4018, 4146, 4333, 4345, 4267 |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 43 | ], |
| 44 | }, |
| 45 | 'targets': [ |
| 46 | { |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 47 | 'target_name': 'pdfium', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 48 | 'type': 'static_library', |
| 49 | 'dependencies': [ |
Bo Xu | 4c764f3 | 2014-12-19 14:29:17 -0800 | [diff] [blame] | 50 | 'third_party/third_party.gyp:bigint', |
Tom Sepez | 3542589 | 2015-02-05 10:03:18 -0800 | [diff] [blame] | 51 | 'third_party/third_party.gyp:pdfium_base', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 52 | 'fdrm', |
| 53 | 'fpdfdoc', |
| 54 | 'fpdfapi', |
| 55 | 'fpdftext', |
| 56 | 'formfiller', |
| 57 | 'fxcodec', |
| 58 | 'fxcrt', |
| 59 | 'fxedit', |
| 60 | 'fxge', |
| 61 | 'javascript', |
| 62 | 'jsapi', |
| 63 | 'pdfwindow', |
Bo Xu | fdc00a7 | 2014-10-28 23:03:33 -0700 | [diff] [blame] | 64 | 'fpdfxfa', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 65 | ], |
| 66 | 'ldflags': [ '-L<(PRODUCT_DIR)',], |
| 67 | 'sources': [ |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 68 | 'fpdfsdk/include/fsdk_actionhandler.h', |
| 69 | 'fpdfsdk/include/fsdk_annothandler.h', |
| 70 | 'fpdfsdk/include/fsdk_baseannot.h', |
| 71 | 'fpdfsdk/include/fsdk_baseform.h', |
| 72 | 'fpdfsdk/src/fpdfdoc.cpp', |
| 73 | 'fpdfsdk/src/fpdfeditimg.cpp', |
| 74 | 'fpdfsdk/src/fpdfeditpage.cpp', |
| 75 | 'fpdfsdk/src/fpdfformfill.cpp', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 76 | 'fpdfsdk/src/fpdfppo.cpp', |
| 77 | 'fpdfsdk/src/fpdfsave.cpp', |
| 78 | 'fpdfsdk/src/fpdftext.cpp', |
| 79 | 'fpdfsdk/src/fpdfview.cpp', |
| 80 | 'fpdfsdk/src/fpdf_dataavail.cpp', |
| 81 | 'fpdfsdk/src/fpdf_ext.cpp', |
| 82 | 'fpdfsdk/src/fpdf_flatten.cpp', |
| 83 | 'fpdfsdk/src/fpdf_progressive.cpp', |
| 84 | 'fpdfsdk/src/fpdf_searchex.cpp', |
| 85 | 'fpdfsdk/src/fpdf_sysfontinfo.cpp', |
Tom Sepez | 1ed8a21 | 2015-05-11 15:25:39 -0700 | [diff] [blame] | 86 | 'fpdfsdk/src/fpdf_transformpage.cpp', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 87 | 'fpdfsdk/src/fsdk_actionhandler.cpp', |
| 88 | 'fpdfsdk/src/fsdk_annothandler.cpp', |
| 89 | 'fpdfsdk/src/fsdk_baseannot.cpp', |
| 90 | 'fpdfsdk/src/fsdk_baseform.cpp', |
| 91 | 'fpdfsdk/src/fsdk_mgr.cpp', |
| 92 | 'fpdfsdk/src/fsdk_rendercontext.cpp', |
| 93 | 'fpdfsdk/src/fpdfsdkdll.rc', |
| 94 | 'fpdfsdk/src/resource.h', |
Tom Sepez | 1ed8a21 | 2015-05-11 15:25:39 -0700 | [diff] [blame] | 95 | 'public/fpdf_dataavail.h', |
| 96 | 'public/fpdf_doc.h', |
| 97 | 'public/fpdf_edit.h', |
| 98 | 'public/fpdf_ext.h', |
| 99 | 'public/fpdf_flatten.h', |
| 100 | 'public/fpdf_formfill.h', |
| 101 | 'public/fpdf_fwlevent.h', |
| 102 | 'public/fpdf_ppo.h', |
| 103 | 'public/fpdf_progressive.h', |
| 104 | 'public/fpdf_save.h', |
| 105 | 'public/fpdf_searchex.h', |
| 106 | 'public/fpdf_sysfontinfo.h', |
| 107 | 'public/fpdf_text.h', |
| 108 | 'public/fpdf_transformpage.h', |
| 109 | 'public/fpdfview.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 110 | ], |
| 111 | 'conditions': [ |
| 112 | ['OS!="win"', { |
| 113 | 'sources!': [ |
| 114 | 'fpdfsdk/src/fpdfsdkdll.rc', |
| 115 | ], |
| 116 | }], |
John Abd-El-Malek | ef4dce4 | 2015-02-02 16:52:07 -0800 | [diff] [blame] | 117 | ['bundle_freetype==1', { |
| 118 | 'dependencies': [ |
| 119 | 'third_party/third_party.gyp:freetype', |
| 120 | ], |
| 121 | }, { |
| 122 | 'link_settings': { |
| 123 | 'libraries': [ |
| 124 | '-lfreetype', |
| 125 | ], |
| 126 | }, |
| 127 | }], |
John Abd-El-Malek | 2611932 | 2014-05-26 18:27:11 -0700 | [diff] [blame] | 128 | ], |
| 129 | 'all_dependent_settings': { |
| 130 | 'msvs_settings': { |
| 131 | 'VCLinkerTool': { |
| 132 | 'AdditionalDependencies': [ |
| 133 | 'advapi32.lib', |
| 134 | 'gdi32.lib', |
| 135 | 'user32.lib', |
John Abd-El-Malek | 75392b3 | 2014-05-26 11:48:05 -0700 | [diff] [blame] | 136 | ], |
| 137 | }, |
John Abd-El-Malek | 75392b3 | 2014-05-26 11:48:05 -0700 | [diff] [blame] | 138 | }, |
John Abd-El-Malek | 2611932 | 2014-05-26 18:27:11 -0700 | [diff] [blame] | 139 | 'conditions': [ |
| 140 | ['OS=="mac"', { |
| 141 | 'link_settings': { |
| 142 | 'libraries': [ |
| 143 | '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', |
| 144 | '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
| 145 | ], |
| 146 | }, |
| 147 | }], |
| 148 | ], |
John Abd-El-Malek | 75392b3 | 2014-05-26 11:48:05 -0700 | [diff] [blame] | 149 | }, |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 150 | }, |
| 151 | { |
| 152 | 'target_name': 'fdrm', |
| 153 | 'type': 'static_library', |
| 154 | 'ldflags': [ '-L<(PRODUCT_DIR)',], |
| 155 | 'sources': [ |
| 156 | 'core/include/fdrm/fx_crypt.h', |
| 157 | 'core/src/fdrm/crypto/fx_crypt.cpp', |
| 158 | 'core/src/fdrm/crypto/fx_crypt_aes.cpp', |
| 159 | 'core/src/fdrm/crypto/fx_crypt_sha.cpp', |
| 160 | ], |
| 161 | }, |
| 162 | { |
| 163 | 'target_name': 'fpdfdoc', |
| 164 | 'type': 'static_library', |
| 165 | 'ldflags': [ '-L<(PRODUCT_DIR)',], |
| 166 | 'sources': [ |
| 167 | 'core/include/fpdfdoc/fpdf_ap.h', |
| 168 | 'core/include/fpdfdoc/fpdf_doc.h', |
| 169 | 'core/include/fpdfdoc/fpdf_tagged.h', |
| 170 | 'core/include/fpdfdoc/fpdf_vt.h', |
| 171 | 'core/src/fpdfdoc/doc_action.cpp', |
| 172 | 'core/src/fpdfdoc/doc_annot.cpp', |
| 173 | 'core/src/fpdfdoc/doc_ap.cpp', |
| 174 | 'core/src/fpdfdoc/doc_basic.cpp', |
| 175 | 'core/src/fpdfdoc/doc_bookmark.cpp', |
| 176 | 'core/src/fpdfdoc/doc_form.cpp', |
| 177 | 'core/src/fpdfdoc/doc_formcontrol.cpp', |
| 178 | 'core/src/fpdfdoc/doc_formfield.cpp', |
| 179 | 'core/src/fpdfdoc/doc_link.cpp', |
| 180 | 'core/src/fpdfdoc/doc_metadata.cpp', |
| 181 | 'core/src/fpdfdoc/doc_ocg.cpp', |
| 182 | 'core/src/fpdfdoc/doc_tagged.cpp', |
| 183 | 'core/src/fpdfdoc/doc_utils.cpp', |
Tom Sepez | eff208f | 2015-05-08 13:45:01 -0700 | [diff] [blame] | 184 | 'core/src/fpdfdoc/doc_utils.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 185 | 'core/src/fpdfdoc/doc_viewerPreferences.cpp', |
| 186 | 'core/src/fpdfdoc/doc_vt.cpp', |
| 187 | 'core/src/fpdfdoc/doc_vtmodule.cpp', |
| 188 | 'core/src/fpdfdoc/pdf_vt.h', |
| 189 | 'core/src/fpdfdoc/tagged_int.h', |
| 190 | ], |
| 191 | }, |
| 192 | { |
| 193 | 'target_name': 'fpdfapi', |
| 194 | 'type': 'static_library', |
| 195 | 'ldflags': [ '-L<(PRODUCT_DIR)',], |
| 196 | 'sources': [ |
| 197 | 'core/include/fpdfapi/fpdfapi.h', |
| 198 | 'core/include/fpdfapi/fpdf_module.h', |
| 199 | 'core/include/fpdfapi/fpdf_objects.h', |
| 200 | 'core/include/fpdfapi/fpdf_page.h', |
| 201 | 'core/include/fpdfapi/fpdf_pageobj.h', |
| 202 | 'core/include/fpdfapi/fpdf_parser.h', |
| 203 | 'core/include/fpdfapi/fpdf_render.h', |
| 204 | 'core/include/fpdfapi/fpdf_resource.h', |
| 205 | 'core/include/fpdfapi/fpdf_serial.h', |
| 206 | 'core/src/fpdfapi/fpdf_basic_module.cpp', |
| 207 | 'core/src/fpdfapi/fpdf_cmaps/cmap_int.h', |
| 208 | 'core/src/fpdfapi/fpdf_cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp', |
| 209 | 'core/src/fpdfapi/fpdf_cmaps/CNS1/B5pc-H_0.cpp', |
| 210 | 'core/src/fpdfapi/fpdf_cmaps/CNS1/B5pc-V_0.cpp', |
| 211 | 'core/src/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp', |
| 212 | 'core/src/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-H_0.cpp', |
| 213 | 'core/src/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-V_0.cpp', |
| 214 | 'core/src/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-H_0.cpp', |
| 215 | 'core/src/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-V_0.cpp', |
| 216 | 'core/src/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-H_0.cpp', |
| 217 | 'core/src/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-V_0.cpp', |
| 218 | 'core/src/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-H_5.cpp', |
| 219 | 'core/src/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-V_5.cpp', |
| 220 | 'core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-H_3.cpp', |
| 221 | 'core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-V_3.cpp', |
| 222 | 'core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UTF16-H_0.cpp', |
| 223 | 'core/src/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp', |
| 224 | 'core/src/fpdfapi/fpdf_cmaps/GB1/Adobe-GB1-UCS2_5.cpp', |
| 225 | 'core/src/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp', |
| 226 | 'core/src/fpdfapi/fpdf_cmaps/GB1/GB-EUC-H_0.cpp', |
| 227 | 'core/src/fpdfapi/fpdf_cmaps/GB1/GB-EUC-V_0.cpp', |
| 228 | 'core/src/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-H_2.cpp', |
| 229 | 'core/src/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-V_2.cpp', |
| 230 | 'core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-H_5.cpp', |
| 231 | 'core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp', |
| 232 | 'core/src/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-H_2.cpp', |
| 233 | 'core/src/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-V_2.cpp', |
| 234 | 'core/src/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-H_0.cpp', |
| 235 | 'core/src/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-V_0.cpp', |
| 236 | 'core/src/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-H_4.cpp', |
| 237 | 'core/src/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-V_4.cpp', |
| 238 | 'core/src/fpdfapi/fpdf_cmaps/Japan1/83pv-RKSJ-H_1.cpp', |
| 239 | 'core/src/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-H_2.cpp', |
| 240 | 'core/src/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-V_2.cpp', |
| 241 | 'core/src/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-H_2.cpp', |
| 242 | 'core/src/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-V_2.cpp', |
| 243 | 'core/src/fpdfapi/fpdf_cmaps/Japan1/90pv-RKSJ-H_1.cpp', |
| 244 | 'core/src/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-H_1.cpp', |
| 245 | 'core/src/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-V_1.cpp', |
| 246 | 'core/src/fpdfapi/fpdf_cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp', |
| 247 | 'core/src/fpdfapi/fpdf_cmaps/Japan1/cmaps_japan1.cpp', |
| 248 | 'core/src/fpdfapi/fpdf_cmaps/Japan1/EUC-H_1.cpp', |
| 249 | 'core/src/fpdfapi/fpdf_cmaps/Japan1/EUC-V_1.cpp', |
| 250 | 'core/src/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-H_2.cpp', |
| 251 | 'core/src/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-V_2.cpp', |
| 252 | 'core/src/fpdfapi/fpdf_cmaps/Japan1/H_1.cpp', |
| 253 | 'core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp', |
| 254 | 'core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp', |
| 255 | 'core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-H_4.cpp', |
| 256 | 'core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-V_4.cpp', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 257 | 'core/src/fpdfapi/fpdf_cmaps/Japan1/V_1.cpp', |
| 258 | 'core/src/fpdfapi/fpdf_cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp', |
| 259 | 'core/src/fpdfapi/fpdf_cmaps/Korea1/cmaps_korea1.cpp', |
| 260 | 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-H_0.cpp', |
| 261 | 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-V_0.cpp', |
| 262 | 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-H_1.cpp', |
| 263 | 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-V_1.cpp', |
| 264 | 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-H_1.cpp', |
| 265 | 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-V_1.cpp', |
| 266 | 'core/src/fpdfapi/fpdf_cmaps/Korea1/KSCpc-EUC-H_0.cpp', |
| 267 | 'core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-H_1.cpp', |
| 268 | 'core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-V_1.cpp', |
| 269 | 'core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UTF16-H_0.cpp', |
| 270 | 'core/src/fpdfapi/fpdf_edit/editint.h', |
| 271 | 'core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp', |
| 272 | 'core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp', |
| 273 | 'core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp', |
| 274 | 'core/src/fpdfapi/fpdf_edit/fpdf_edit_image.cpp', |
| 275 | 'core/src/fpdfapi/fpdf_font/common.h', |
| 276 | 'core/src/fpdfapi/fpdf_font/font_int.h', |
| 277 | 'core/src/fpdfapi/fpdf_font/fpdf_font.cpp', |
| 278 | 'core/src/fpdfapi/fpdf_font/fpdf_font_charset.cpp', |
| 279 | 'core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 280 | 'core/src/fpdfapi/fpdf_font/ttgsubtable.cpp', |
| 281 | 'core/src/fpdfapi/fpdf_font/ttgsubtable.h', |
| 282 | 'core/src/fpdfapi/fpdf_page/fpdf_page.cpp', |
| 283 | 'core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp', |
| 284 | 'core/src/fpdfapi/fpdf_page/fpdf_page_doc.cpp', |
| 285 | 'core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp', |
| 286 | 'core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp', |
| 287 | 'core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp', |
| 288 | 'core/src/fpdfapi/fpdf_page/fpdf_page_parser.cpp', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 289 | 'core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp', |
| 290 | 'core/src/fpdfapi/fpdf_page/fpdf_page_path.cpp', |
| 291 | 'core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp', |
| 292 | 'core/src/fpdfapi/fpdf_page/pageint.h', |
| 293 | 'core/src/fpdfapi/fpdf_parser/filters_int.h', |
| 294 | 'core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp', |
| 295 | 'core/src/fpdfapi/fpdf_parser/fpdf_parser_document.cpp', |
| 296 | 'core/src/fpdfapi/fpdf_parser/fpdf_parser_encrypt.cpp', |
| 297 | 'core/src/fpdfapi/fpdf_parser/fpdf_parser_fdf.cpp', |
| 298 | 'core/src/fpdfapi/fpdf_parser/fpdf_parser_filters.cpp', |
| 299 | 'core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp', |
| 300 | 'core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp', |
| 301 | 'core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp', |
| 302 | 'core/src/fpdfapi/fpdf_render/fpdf_render.cpp', |
| 303 | 'core/src/fpdfapi/fpdf_render/fpdf_render_cache.cpp', |
| 304 | 'core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp', |
| 305 | 'core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp', |
| 306 | 'core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp', |
| 307 | 'core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp', |
| 308 | 'core/src/fpdfapi/fpdf_render/render_int.h', |
| 309 | ], |
| 310 | }, |
| 311 | { |
| 312 | 'target_name': 'fpdftext', |
| 313 | 'type': 'static_library', |
| 314 | 'ldflags': [ '-L<(PRODUCT_DIR)',], |
| 315 | 'sources': [ |
| 316 | 'core/include/fpdftext/fpdf_text.h', |
| 317 | 'core/src/fpdftext/fpdf_text.cpp', |
| 318 | 'core/src/fpdftext/fpdf_text_int.cpp', |
| 319 | 'core/src/fpdftext/fpdf_text_search.cpp', |
| 320 | 'core/src/fpdftext/text_int.h', |
| 321 | 'core/src/fpdftext/txtproc.h', |
| 322 | 'core/src/fpdftext/unicodenormalization.cpp', |
| 323 | 'core/src/fpdftext/unicodenormalizationdata.cpp', |
Tom Sepez | 7da9803 | 2015-08-19 10:42:45 -0700 | [diff] [blame] | 324 | 'core/src/fpdftext/unicodenormalizationdata.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 325 | ], |
| 326 | }, |
| 327 | { |
| 328 | 'target_name': 'fxcodec', |
| 329 | 'type': 'static_library', |
Tom Sepez | 8be5575 | 2015-06-17 11:05:02 -0700 | [diff] [blame] | 330 | 'dependencies': [ |
| 331 | 'third_party/third_party.gyp:fx_lcms2', |
Tom Sepez | 0a11975 | 2015-06-17 15:46:03 -0700 | [diff] [blame] | 332 | 'third_party/third_party.gyp:fx_libjpeg', |
Tom Sepez | 6fd997b | 2015-06-18 17:51:37 -0700 | [diff] [blame] | 333 | 'third_party/third_party.gyp:fx_libopenjpeg', |
Tom Sepez | 6f93de5 | 2015-06-19 12:57:10 -0700 | [diff] [blame] | 334 | 'third_party/third_party.gyp:fx_zlib', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 335 | ], |
| 336 | 'ldflags': [ '-L<(PRODUCT_DIR)',], |
| 337 | 'sources': [ |
| 338 | 'core/include/fxcodec/fx_codec.h', |
| 339 | 'core/include/fxcodec/fx_codec_def.h', |
Tom Sepez | b255202 | 2015-07-14 16:43:54 -0700 | [diff] [blame] | 340 | 'core/include/fxcodec/fx_codec_flate.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 341 | 'core/include/fxcodec/fx_codec_provider.h', |
| 342 | 'core/src/fxcodec/codec/codec_int.h', |
| 343 | 'core/src/fxcodec/codec/fx_codec.cpp', |
Bo Xu | fdc00a7 | 2014-10-28 23:03:33 -0700 | [diff] [blame] | 344 | 'core/src/fxcodec/codec/fx_codec_bmp.cpp', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 345 | 'core/src/fxcodec/codec/fx_codec_fax.cpp', |
| 346 | 'core/src/fxcodec/codec/fx_codec_flate.cpp', |
Bo Xu | fdc00a7 | 2014-10-28 23:03:33 -0700 | [diff] [blame] | 347 | 'core/src/fxcodec/codec/fx_codec_gif.cpp', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 348 | 'core/src/fxcodec/codec/fx_codec_icc.cpp', |
| 349 | 'core/src/fxcodec/codec/fx_codec_jbig.cpp', |
| 350 | 'core/src/fxcodec/codec/fx_codec_jbig_enc.cpp', |
| 351 | 'core/src/fxcodec/codec/fx_codec_jpeg.cpp', |
| 352 | 'core/src/fxcodec/codec/fx_codec_jpx_opj.cpp', |
Bo Xu | fdc00a7 | 2014-10-28 23:03:33 -0700 | [diff] [blame] | 353 | 'core/src/fxcodec/codec/fx_codec_png.cpp', |
| 354 | 'core/src/fxcodec/codec/fx_codec_progress.cpp', |
| 355 | 'core/src/fxcodec/codec/fx_codec_progress.h', |
| 356 | 'core/src/fxcodec/codec/fx_codec_tiff.cpp', |
Bo Xu | fdc00a7 | 2014-10-28 23:03:33 -0700 | [diff] [blame] | 357 | 'core/src/fxcodec/fx_lpng/include/fx_png.h', |
| 358 | 'core/src/fxcodec/fx_lpng/src/fx_png.c', |
| 359 | 'core/src/fxcodec/fx_lpng/src/fx_pngerror.c', |
| 360 | 'core/src/fxcodec/fx_lpng/src/fx_pngget.c', |
| 361 | 'core/src/fxcodec/fx_lpng/src/fx_pngmem.c', |
| 362 | 'core/src/fxcodec/fx_lpng/src/fx_pngpread.c', |
| 363 | 'core/src/fxcodec/fx_lpng/src/fx_pngread.c', |
| 364 | 'core/src/fxcodec/fx_lpng/src/fx_pngrio.c', |
| 365 | 'core/src/fxcodec/fx_lpng/src/fx_pngrtran.c', |
| 366 | 'core/src/fxcodec/fx_lpng/src/fx_pngrutil.c', |
| 367 | 'core/src/fxcodec/fx_lpng/src/fx_pngset.c', |
| 368 | 'core/src/fxcodec/fx_lpng/src/fx_pngtrans.c', |
| 369 | 'core/src/fxcodec/fx_lpng/src/fx_pngwio.c', |
| 370 | 'core/src/fxcodec/fx_lpng/src/fx_pngwrite.c', |
| 371 | 'core/src/fxcodec/fx_lpng/src/fx_pngwtran.c', |
| 372 | 'core/src/fxcodec/fx_lpng/src/fx_pngwutil.c', |
| 373 | 'core/src/fxcodec/fx_tiff/include/fx_tiffiop.h', |
| 374 | 'core/src/fxcodec/fx_tiff/src/fx_tif_aux.c', |
| 375 | 'core/src/fxcodec/fx_tiff/src/fx_tif_close.c', |
| 376 | 'core/src/fxcodec/fx_tiff/src/fx_tif_codec.c', |
| 377 | 'core/src/fxcodec/fx_tiff/src/fx_tif_color.c', |
| 378 | 'core/src/fxcodec/fx_tiff/src/fx_tif_compress.c', |
| 379 | 'core/src/fxcodec/fx_tiff/src/fx_tif_dir.c', |
| 380 | 'core/src/fxcodec/fx_tiff/src/fx_tif_dirinfo.c', |
| 381 | 'core/src/fxcodec/fx_tiff/src/fx_tif_dirread.c', |
| 382 | 'core/src/fxcodec/fx_tiff/src/fx_tif_dirwrite.c', |
| 383 | 'core/src/fxcodec/fx_tiff/src/fx_tif_dumpmode.c', |
| 384 | 'core/src/fxcodec/fx_tiff/src/fx_tif_error.c', |
| 385 | 'core/src/fxcodec/fx_tiff/src/fx_tif_extension.c', |
| 386 | 'core/src/fxcodec/fx_tiff/src/fx_tif_fax3.c', |
| 387 | 'core/src/fxcodec/fx_tiff/src/fx_tif_fax3sm.c', |
| 388 | 'core/src/fxcodec/fx_tiff/src/fx_tif_flush.c', |
| 389 | 'core/src/fxcodec/fx_tiff/src/fx_tif_getimage.c', |
| 390 | 'core/src/fxcodec/fx_tiff/src/fx_tif_jpeg.c', |
| 391 | 'core/src/fxcodec/fx_tiff/src/fx_tif_luv.c', |
| 392 | 'core/src/fxcodec/fx_tiff/src/fx_tif_lzw.c', |
| 393 | 'core/src/fxcodec/fx_tiff/src/fx_tif_next.c', |
| 394 | 'core/src/fxcodec/fx_tiff/src/fx_tif_ojpeg.c', |
| 395 | 'core/src/fxcodec/fx_tiff/src/fx_tif_open.c', |
| 396 | 'core/src/fxcodec/fx_tiff/src/fx_tif_packbits.c', |
| 397 | 'core/src/fxcodec/fx_tiff/src/fx_tif_pixarlog.c', |
| 398 | 'core/src/fxcodec/fx_tiff/src/fx_tif_predict.c', |
| 399 | 'core/src/fxcodec/fx_tiff/src/fx_tif_print.c', |
| 400 | 'core/src/fxcodec/fx_tiff/src/fx_tif_read.c', |
| 401 | 'core/src/fxcodec/fx_tiff/src/fx_tif_strip.c', |
| 402 | 'core/src/fxcodec/fx_tiff/src/fx_tif_swab.c', |
| 403 | 'core/src/fxcodec/fx_tiff/src/fx_tif_thunder.c', |
| 404 | 'core/src/fxcodec/fx_tiff/src/fx_tif_tile.c', |
| 405 | 'core/src/fxcodec/fx_tiff/src/fx_tif_version.c', |
| 406 | 'core/src/fxcodec/fx_tiff/src/fx_tif_warning.c', |
| 407 | 'core/src/fxcodec/fx_tiff/src/fx_tif_write.c', |
| 408 | 'core/src/fxcodec/fx_tiff/src/fx_tif_zip.c', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 409 | 'core/src/fxcodec/jbig2/JBig2_ArithDecoder.h', |
| 410 | 'core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp', |
| 411 | 'core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.h', |
| 412 | 'core/src/fxcodec/jbig2/JBig2_ArithQe.h', |
| 413 | 'core/src/fxcodec/jbig2/JBig2_BitStream.h', |
| 414 | 'core/src/fxcodec/jbig2/JBig2_Context.cpp', |
| 415 | 'core/src/fxcodec/jbig2/JBig2_Context.h', |
| 416 | 'core/src/fxcodec/jbig2/JBig2_Define.h', |
| 417 | 'core/src/fxcodec/jbig2/JBig2_GeneralDecoder.cpp', |
| 418 | 'core/src/fxcodec/jbig2/JBig2_GeneralDecoder.h', |
| 419 | 'core/src/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp', |
| 420 | 'core/src/fxcodec/jbig2/JBig2_HuffmanDecoder.h', |
| 421 | 'core/src/fxcodec/jbig2/JBig2_HuffmanTable.cpp', |
| 422 | 'core/src/fxcodec/jbig2/JBig2_HuffmanTable.h', |
| 423 | 'core/src/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h', |
| 424 | 'core/src/fxcodec/jbig2/JBig2_Image.cpp', |
| 425 | 'core/src/fxcodec/jbig2/JBig2_Image.h', |
| 426 | 'core/src/fxcodec/jbig2/JBig2_List.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 427 | 'core/src/fxcodec/jbig2/JBig2_Page.h', |
| 428 | 'core/src/fxcodec/jbig2/JBig2_PatternDict.cpp', |
| 429 | 'core/src/fxcodec/jbig2/JBig2_PatternDict.h', |
| 430 | 'core/src/fxcodec/jbig2/JBig2_Segment.cpp', |
| 431 | 'core/src/fxcodec/jbig2/JBig2_Segment.h', |
| 432 | 'core/src/fxcodec/jbig2/JBig2_SymbolDict.cpp', |
| 433 | 'core/src/fxcodec/jbig2/JBig2_SymbolDict.h', |
Bo Xu | fdc00a7 | 2014-10-28 23:03:33 -0700 | [diff] [blame] | 434 | 'core/src/fxcodec/lbmp/fx_bmp.cpp', |
| 435 | 'core/src/fxcodec/lbmp/fx_bmp.h', |
Bo Xu | fdc00a7 | 2014-10-28 23:03:33 -0700 | [diff] [blame] | 436 | 'core/src/fxcodec/lgif/fx_gif.cpp', |
| 437 | 'core/src/fxcodec/lgif/fx_gif.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 438 | ], |
Tom Sepez | 8be5575 | 2015-06-17 11:05:02 -0700 | [diff] [blame] | 439 | 'msvs_settings': { |
| 440 | 'VCCLCompilerTool': { |
| 441 | # Unresolved warnings in fx_codec_jpx_opj.cpp |
| 442 | # https://code.google.com/p/pdfium/issues/detail?id=100 |
| 443 | 'WarnAsError': 'false', |
| 444 | }, |
| 445 | }, |
John Abd-El-Malek | def5c7d | 2014-06-09 16:07:18 -0700 | [diff] [blame] | 446 | 'conditions': [ |
| 447 | ['os_posix==1', { |
| 448 | # core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int |
| 449 | # conversion to check that an address is 16-bit aligned (benign). |
| 450 | 'cflags_c': [ '-Wno-pointer-to-int-cast' ], |
| 451 | }], |
| 452 | ], |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 453 | }, |
| 454 | { |
| 455 | 'target_name': 'fxcrt', |
| 456 | 'type': 'static_library', |
| 457 | 'ldflags': [ '-L<(PRODUCT_DIR)',], |
| 458 | 'sources': [ |
| 459 | 'core/include/fxcrt/fx_arb.h', |
| 460 | 'core/include/fxcrt/fx_basic.h', |
| 461 | 'core/include/fxcrt/fx_coordinates.h', |
| 462 | 'core/include/fxcrt/fx_ext.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 463 | 'core/include/fxcrt/fx_memory.h', |
Tom Sepez | 6675a80 | 2015-06-04 19:05:21 -0700 | [diff] [blame] | 464 | 'core/include/fxcrt/fx_safe_types.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 465 | 'core/include/fxcrt/fx_stream.h', |
| 466 | 'core/include/fxcrt/fx_string.h', |
| 467 | 'core/include/fxcrt/fx_system.h', |
| 468 | 'core/include/fxcrt/fx_ucd.h', |
| 469 | 'core/include/fxcrt/fx_xml.h', |
| 470 | 'core/src/fxcrt/extension.h', |
| 471 | 'core/src/fxcrt/fxcrt_platforms.cpp', |
| 472 | 'core/src/fxcrt/fxcrt_platforms.h', |
| 473 | 'core/src/fxcrt/fxcrt_posix.cpp', |
| 474 | 'core/src/fxcrt/fxcrt_posix.h', |
| 475 | 'core/src/fxcrt/fxcrt_windows.cpp', |
| 476 | 'core/src/fxcrt/fxcrt_windows.h', |
| 477 | 'core/src/fxcrt/fx_arabic.cpp', |
| 478 | 'core/src/fxcrt/fx_arabic.h', |
| 479 | 'core/src/fxcrt/fx_basic_array.cpp', |
| 480 | 'core/src/fxcrt/fx_basic_bstring.cpp', |
| 481 | 'core/src/fxcrt/fx_basic_buffer.cpp', |
| 482 | 'core/src/fxcrt/fx_basic_coords.cpp', |
| 483 | 'core/src/fxcrt/fx_basic_gcc.cpp', |
| 484 | 'core/src/fxcrt/fx_basic_list.cpp', |
| 485 | 'core/src/fxcrt/fx_basic_maps.cpp', |
| 486 | 'core/src/fxcrt/fx_basic_memmgr.cpp', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 487 | 'core/src/fxcrt/fx_basic_plex.cpp', |
| 488 | 'core/src/fxcrt/fx_basic_utf.cpp', |
| 489 | 'core/src/fxcrt/fx_basic_util.cpp', |
| 490 | 'core/src/fxcrt/fx_basic_wstring.cpp', |
| 491 | 'core/src/fxcrt/fx_extension.cpp', |
| 492 | 'core/src/fxcrt/fx_ucddata.cpp', |
| 493 | 'core/src/fxcrt/fx_unicode.cpp', |
| 494 | 'core/src/fxcrt/fx_xml_composer.cpp', |
| 495 | 'core/src/fxcrt/fx_xml_parser.cpp', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 496 | 'core/src/fxcrt/plex.h', |
| 497 | 'core/src/fxcrt/xml_int.h', |
| 498 | ], |
| 499 | }, |
| 500 | { |
| 501 | 'target_name': 'fxge', |
| 502 | 'type': 'static_library', |
Tom Sepez | b7d358b | 2015-06-17 10:01:00 -0700 | [diff] [blame] | 503 | 'ldflags': [ |
| 504 | '-L<(PRODUCT_DIR)', |
| 505 | ], |
| 506 | 'dependencies': [ |
| 507 | 'third_party/third_party.gyp:fx_agg', |
| 508 | ], |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 509 | 'sources': [ |
| 510 | 'core/include/fxge/fpf.h', |
| 511 | 'core/include/fxge/fx_dib.h', |
| 512 | 'core/include/fxge/fx_font.h', |
| 513 | 'core/include/fxge/fx_freetype.h', |
| 514 | 'core/include/fxge/fx_ge.h', |
| 515 | 'core/include/fxge/fx_ge_apple.h', |
| 516 | 'core/include/fxge/fx_ge_win32.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 517 | 'core/src/fxge/agg/include/fx_agg_driver.h', |
Tom Sepez | b7d358b | 2015-06-17 10:01:00 -0700 | [diff] [blame] | 518 | 'core/src/fxge/agg/src/fx_agg_driver.cpp', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 519 | 'core/src/fxge/android/fpf_skiafont.cpp', |
| 520 | 'core/src/fxge/android/fpf_skiafont.h', |
| 521 | 'core/src/fxge/android/fpf_skiafontmgr.cpp', |
| 522 | 'core/src/fxge/android/fpf_skiafontmgr.h', |
| 523 | 'core/src/fxge/android/fpf_skiamodule.cpp', |
| 524 | 'core/src/fxge/android/fpf_skiamodule.h', |
| 525 | 'core/src/fxge/android/fx_android_font.cpp', |
| 526 | 'core/src/fxge/android/fx_android_font.h', |
| 527 | 'core/src/fxge/android/fx_android_imp.cpp', |
| 528 | 'core/src/fxge/android/fx_fpf.h', |
| 529 | 'core/src/fxge/apple/apple_int.h', |
| 530 | 'core/src/fxge/apple/fx_apple_platform.cpp', |
| 531 | 'core/src/fxge/apple/fx_mac_imp.cpp', |
| 532 | 'core/src/fxge/apple/fx_quartz_device.cpp', |
| 533 | 'core/src/fxge/dib/dib_int.h', |
| 534 | 'core/src/fxge/dib/fx_dib_composite.cpp', |
| 535 | 'core/src/fxge/dib/fx_dib_convert.cpp', |
| 536 | 'core/src/fxge/dib/fx_dib_engine.cpp', |
| 537 | 'core/src/fxge/dib/fx_dib_main.cpp', |
| 538 | 'core/src/fxge/dib/fx_dib_transform.cpp', |
Tom Sepez | 7da9803 | 2015-08-19 10:42:45 -0700 | [diff] [blame] | 539 | 'core/src/fxge/fontdata/chromefontdata/chromefontdata.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 540 | 'core/src/fxge/fontdata/chromefontdata/FoxitDingbats.c', |
| 541 | 'core/src/fxge/fontdata/chromefontdata/FoxitFixed.c', |
| 542 | 'core/src/fxge/fontdata/chromefontdata/FoxitFixedBold.c', |
| 543 | 'core/src/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.c', |
| 544 | 'core/src/fxge/fontdata/chromefontdata/FoxitFixedItalic.c', |
| 545 | 'core/src/fxge/fontdata/chromefontdata/FoxitSans.c', |
| 546 | 'core/src/fxge/fontdata/chromefontdata/FoxitSansBold.c', |
| 547 | 'core/src/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.c', |
| 548 | 'core/src/fxge/fontdata/chromefontdata/FoxitSansItalic.c', |
| 549 | 'core/src/fxge/fontdata/chromefontdata/FoxitSansMM.c', |
| 550 | 'core/src/fxge/fontdata/chromefontdata/FoxitSerif.c', |
| 551 | 'core/src/fxge/fontdata/chromefontdata/FoxitSerifBold.c', |
| 552 | 'core/src/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.c', |
| 553 | 'core/src/fxge/fontdata/chromefontdata/FoxitSerifItalic.c', |
| 554 | 'core/src/fxge/fontdata/chromefontdata/FoxitSerifMM.c', |
| 555 | 'core/src/fxge/fontdata/chromefontdata/FoxitSymbol.c', |
Bo Xu | 4c764f3 | 2014-12-19 14:29:17 -0800 | [diff] [blame] | 556 | 'core/src/fxge/freetype/fx_freetype.c', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 557 | 'core/src/fxge/ge/fx_ge.cpp', |
| 558 | 'core/src/fxge/ge/fx_ge_device.cpp', |
| 559 | 'core/src/fxge/ge/fx_ge_font.cpp', |
| 560 | 'core/src/fxge/ge/fx_ge_fontmap.cpp', |
| 561 | 'core/src/fxge/ge/fx_ge_linux.cpp', |
| 562 | 'core/src/fxge/ge/fx_ge_path.cpp', |
| 563 | 'core/src/fxge/ge/fx_ge_ps.cpp', |
| 564 | 'core/src/fxge/ge/fx_ge_text.cpp', |
| 565 | 'core/src/fxge/ge/text_int.h', |
| 566 | ], |
| 567 | 'conditions': [ |
| 568 | ['pdf_use_skia==1', { |
| 569 | 'sources': [ |
| 570 | 'core/src/fxge/skia/fx_skia_blitter_new.cpp', |
| 571 | 'core/src/fxge/skia/fx_skia_device.cpp', |
| 572 | ], |
| 573 | 'dependencies': [ |
| 574 | '<(DEPTH)/skia/skia.gyp:skia', |
| 575 | ], |
| 576 | 'include_dirs': [ |
| 577 | '<(DEPTH)/third_party/skia/include/config', |
| 578 | '<(DEPTH)/third_party/skia/include/core', |
| 579 | '<(DEPTH)/third_party/skia/include/effects', |
| 580 | '<(DEPTH)/third_party/skia/include/images', |
| 581 | '<(DEPTH)/third_party/skia/include/lazy', |
| 582 | '<(DEPTH)/third_party/skia/include/pathops', |
| 583 | '<(DEPTH)/third_party/skia/include/utils', |
| 584 | '<(DEPTH)/third_party/skia/src/core', |
| 585 | ], |
| 586 | }], |
| 587 | ['OS=="win"', { |
| 588 | 'defines!': [ |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 589 | 'WIN32_LEAN_AND_MEAN' |
| 590 | ], |
| 591 | 'sources': [ |
| 592 | 'core/src/fxge/win32/dwrite_int.h', |
| 593 | 'core/src/fxge/win32/fx_win32_device.cpp', |
| 594 | 'core/src/fxge/win32/fx_win32_dib.cpp', |
| 595 | 'core/src/fxge/win32/fx_win32_dwrite.cpp', |
| 596 | 'core/src/fxge/win32/fx_win32_gdipext.cpp', |
| 597 | 'core/src/fxge/win32/fx_win32_print.cpp', |
| 598 | 'core/src/fxge/win32/win32_int.h', |
| 599 | ], |
| 600 | }], |
| 601 | ], |
| 602 | }, |
| 603 | { |
| 604 | 'target_name': 'fxedit', |
| 605 | 'type': 'static_library', |
| 606 | 'ldflags': [ '-L<(PRODUCT_DIR)',], |
| 607 | 'sources': [ |
| 608 | 'fpdfsdk/include/fxedit/fx_edit.h', |
| 609 | 'fpdfsdk/include/fxedit/fxet_edit.h', |
| 610 | 'fpdfsdk/include/fxedit/fxet_list.h', |
| 611 | 'fpdfsdk/include/fxedit/fxet_stub.h', |
| 612 | 'fpdfsdk/src/fxedit/fxet_ap.cpp', |
| 613 | 'fpdfsdk/src/fxedit/fxet_edit.cpp', |
| 614 | 'fpdfsdk/src/fxedit/fxet_list.cpp', |
| 615 | 'fpdfsdk/src/fxedit/fxet_module.cpp', |
| 616 | 'fpdfsdk/src/fxedit/fxet_pageobjs.cpp', |
| 617 | ], |
| 618 | }, |
| 619 | { |
| 620 | 'target_name': 'pdfwindow', |
| 621 | 'type': 'static_library', |
| 622 | 'ldflags': [ '-L<(PRODUCT_DIR)',], |
| 623 | 'sources': [ |
| 624 | 'fpdfsdk/include/pdfwindow/IPDFWindow.h', |
| 625 | 'fpdfsdk/include/pdfwindow/PDFWindow.h', |
| 626 | 'fpdfsdk/include/pdfwindow/PWL_Button.h', |
| 627 | 'fpdfsdk/include/pdfwindow/PWL_Caret.h', |
| 628 | 'fpdfsdk/include/pdfwindow/PWL_ComboBox.h', |
| 629 | 'fpdfsdk/include/pdfwindow/PWL_Edit.h', |
| 630 | 'fpdfsdk/include/pdfwindow/PWL_EditCtrl.h', |
| 631 | 'fpdfsdk/include/pdfwindow/PWL_FontMap.h', |
| 632 | 'fpdfsdk/include/pdfwindow/PWL_Icon.h', |
| 633 | 'fpdfsdk/include/pdfwindow/PWL_IconList.h', |
| 634 | 'fpdfsdk/include/pdfwindow/PWL_Label.h', |
| 635 | 'fpdfsdk/include/pdfwindow/PWL_ListBox.h', |
| 636 | 'fpdfsdk/include/pdfwindow/PWL_ListCtrl.h', |
| 637 | 'fpdfsdk/include/pdfwindow/PWL_Note.h', |
| 638 | 'fpdfsdk/include/pdfwindow/PWL_ScrollBar.h', |
| 639 | 'fpdfsdk/include/pdfwindow/PWL_Signature.h', |
| 640 | 'fpdfsdk/include/pdfwindow/PWL_SpecialButton.h', |
| 641 | 'fpdfsdk/include/pdfwindow/PWL_Utils.h', |
| 642 | 'fpdfsdk/include/pdfwindow/PWL_Wnd.h', |
| 643 | 'fpdfsdk/src/pdfwindow/PWL_Button.cpp', |
| 644 | 'fpdfsdk/src/pdfwindow/PWL_Caret.cpp', |
| 645 | 'fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp', |
| 646 | 'fpdfsdk/src/pdfwindow/PWL_Edit.cpp', |
| 647 | 'fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp', |
| 648 | 'fpdfsdk/src/pdfwindow/PWL_FontMap.cpp', |
| 649 | 'fpdfsdk/src/pdfwindow/PWL_Icon.cpp', |
| 650 | 'fpdfsdk/src/pdfwindow/PWL_IconList.cpp', |
| 651 | 'fpdfsdk/src/pdfwindow/PWL_Label.cpp', |
| 652 | 'fpdfsdk/src/pdfwindow/PWL_ListBox.cpp', |
| 653 | 'fpdfsdk/src/pdfwindow/PWL_ListCtrl.cpp', |
| 654 | 'fpdfsdk/src/pdfwindow/PWL_Note.cpp', |
| 655 | 'fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp', |
| 656 | 'fpdfsdk/src/pdfwindow/PWL_Signature.cpp', |
| 657 | 'fpdfsdk/src/pdfwindow/PWL_SpecialButton.cpp', |
| 658 | 'fpdfsdk/src/pdfwindow/PWL_Utils.cpp', |
| 659 | 'fpdfsdk/src/pdfwindow/PWL_Wnd.cpp', |
| 660 | ], |
| 661 | }, |
| 662 | { |
Bo Xu | fdc00a7 | 2014-10-28 23:03:33 -0700 | [diff] [blame] | 663 | 'target_name': 'fpdfxfa', |
| 664 | 'type': 'static_library', |
| 665 | 'ldflags': [ '-L<(PRODUCT_DIR)',], |
| 666 | 'dependencies': [ |
| 667 | 'xfa.gyp:xfa', |
| 668 | ], |
| 669 | 'sources': [ |
| 670 | 'fpdfsdk/src/fpdfxfa/fpdfxfa_app.cpp', |
| 671 | 'fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp', |
| 672 | 'fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp', |
| 673 | 'fpdfsdk/src/fpdfxfa/fpdfxfa_util.cpp', |
| 674 | 'fpdfsdk/include/fpdfxfa/fpdfxfa_app.h', |
| 675 | 'fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h', |
| 676 | 'fpdfsdk/include/fpdfxfa/fpdfxfa_page.h', |
| 677 | 'fpdfsdk/include/fpdfxfa/fpdfxfa_util.h', |
| 678 | ], |
| 679 | }, |
| 680 | { |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 681 | 'target_name': 'javascript', |
| 682 | 'type': 'static_library', |
John Abd-El-Malek | b045ed2 | 2015-02-10 09:15:12 -0800 | [diff] [blame] | 683 | 'include_dirs': [ |
| 684 | '<(DEPTH)/v8', |
| 685 | '<(DEPTH)/v8/include', |
| 686 | ], |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 687 | 'dependencies': [ |
| 688 | '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
| 689 | ], |
| 690 | 'export_dependent_settings': [ |
| 691 | '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
| 692 | ], |
| 693 | 'ldflags': [ '-L<(PRODUCT_DIR)',], |
| 694 | 'sources': [ |
| 695 | 'fpdfsdk/include/javascript/app.h', |
| 696 | 'fpdfsdk/include/javascript/color.h', |
| 697 | 'fpdfsdk/include/javascript/console.h', |
| 698 | 'fpdfsdk/include/javascript/Consts.h', |
| 699 | 'fpdfsdk/include/javascript/Document.h', |
| 700 | 'fpdfsdk/include/javascript/event.h', |
| 701 | 'fpdfsdk/include/javascript/Field.h', |
| 702 | 'fpdfsdk/include/javascript/global.h', |
| 703 | 'fpdfsdk/include/javascript/Icon.h', |
| 704 | 'fpdfsdk/include/javascript/IJavaScript.h', |
| 705 | 'fpdfsdk/include/javascript/JavaScript.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 706 | 'fpdfsdk/include/javascript/JS_Context.h', |
| 707 | 'fpdfsdk/include/javascript/JS_Define.h', |
| 708 | 'fpdfsdk/include/javascript/JS_EventHandler.h', |
| 709 | 'fpdfsdk/include/javascript/JS_GlobalData.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 710 | 'fpdfsdk/include/javascript/JS_Object.h', |
| 711 | 'fpdfsdk/include/javascript/JS_Runtime.h', |
| 712 | 'fpdfsdk/include/javascript/JS_Value.h', |
| 713 | 'fpdfsdk/include/javascript/PublicMethods.h', |
| 714 | 'fpdfsdk/include/javascript/report.h', |
| 715 | 'fpdfsdk/include/javascript/resource.h', |
| 716 | 'fpdfsdk/include/javascript/util.h', |
| 717 | 'fpdfsdk/src/javascript/app.cpp', |
| 718 | 'fpdfsdk/src/javascript/color.cpp', |
| 719 | 'fpdfsdk/src/javascript/console.cpp', |
| 720 | 'fpdfsdk/src/javascript/Consts.cpp', |
| 721 | 'fpdfsdk/src/javascript/Document.cpp', |
| 722 | 'fpdfsdk/src/javascript/event.cpp', |
| 723 | 'fpdfsdk/src/javascript/Field.cpp', |
| 724 | 'fpdfsdk/src/javascript/global.cpp', |
| 725 | 'fpdfsdk/src/javascript/Icon.cpp', |
| 726 | 'fpdfsdk/src/javascript/JS_Context.cpp', |
| 727 | 'fpdfsdk/src/javascript/JS_EventHandler.cpp', |
| 728 | 'fpdfsdk/src/javascript/JS_GlobalData.cpp', |
| 729 | 'fpdfsdk/src/javascript/JS_Object.cpp', |
| 730 | 'fpdfsdk/src/javascript/JS_Runtime.cpp', |
| 731 | 'fpdfsdk/src/javascript/JS_Value.cpp', |
| 732 | 'fpdfsdk/src/javascript/PublicMethods.cpp', |
| 733 | 'fpdfsdk/src/javascript/report.cpp', |
Tom Sepez | 2b0ed94 | 2015-02-27 13:58:29 -0800 | [diff] [blame] | 734 | 'fpdfsdk/src/javascript/resource.cpp', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 735 | 'fpdfsdk/src/javascript/util.cpp', |
| 736 | ], |
| 737 | }, |
| 738 | { |
| 739 | 'target_name': 'jsapi', |
| 740 | 'type': 'static_library', |
| 741 | 'dependencies': [ |
| 742 | '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
| 743 | ], |
| 744 | 'export_dependent_settings': [ |
| 745 | '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
| 746 | ], |
| 747 | 'include_dirs': [ |
Jochen Eisinger | 3fb18f4 | 2014-07-17 08:46:45 +0200 | [diff] [blame] | 748 | '<(DEPTH)/v8', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 749 | '<(DEPTH)/v8/include', |
| 750 | ], |
| 751 | 'ldflags': [ '-L<(PRODUCT_DIR)',], |
| 752 | 'sources': [ |
| 753 | 'fpdfsdk/include/jsapi/fxjs_v8.h', |
| 754 | 'fpdfsdk/src/jsapi/fxjs_v8.cpp', |
| 755 | ], |
| 756 | }, |
| 757 | { |
| 758 | 'target_name': 'formfiller', |
| 759 | 'type': 'static_library', |
| 760 | 'ldflags': [ '-L<(PRODUCT_DIR)',], |
| 761 | 'sources': [ |
| 762 | 'fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h', |
| 763 | 'fpdfsdk/include/formfiller/FFL_CheckBox.h', |
| 764 | 'fpdfsdk/include/formfiller/FFL_ComboBox.h', |
| 765 | 'fpdfsdk/include/formfiller/FFL_FormFiller.h', |
| 766 | 'fpdfsdk/include/formfiller/FFL_IFormFiller.h', |
| 767 | 'fpdfsdk/include/formfiller/FFL_ListBox.h', |
| 768 | 'fpdfsdk/include/formfiller/FFL_Notify.h', |
| 769 | 'fpdfsdk/include/formfiller/FFL_PushButton.h', |
| 770 | 'fpdfsdk/include/formfiller/FFL_RadioButton.h', |
| 771 | 'fpdfsdk/include/formfiller/FFL_TextField.h', |
| 772 | 'fpdfsdk/include/formfiller/FFL_Utils.h', |
| 773 | 'fpdfsdk/include/formfiller/FormFiller.h', |
| 774 | 'fpdfsdk/src/formfiller/FFL_CBA_Fontmap.cpp', |
| 775 | 'fpdfsdk/src/formfiller/FFL_CheckBox.cpp', |
| 776 | 'fpdfsdk/src/formfiller/FFL_ComboBox.cpp', |
| 777 | 'fpdfsdk/src/formfiller/FFL_FormFiller.cpp', |
| 778 | 'fpdfsdk/src/formfiller/FFL_IFormFiller.cpp', |
| 779 | 'fpdfsdk/src/formfiller/FFL_ListBox.cpp', |
| 780 | 'fpdfsdk/src/formfiller/FFL_Notify.cpp', |
| 781 | 'fpdfsdk/src/formfiller/FFL_PushButton.cpp', |
| 782 | 'fpdfsdk/src/formfiller/FFL_RadioButton.cpp', |
| 783 | 'fpdfsdk/src/formfiller/FFL_TextField.cpp', |
| 784 | 'fpdfsdk/src/formfiller/FFL_Utils.cpp', |
| 785 | ], |
| 786 | }, |
Tom Sepez | 22ee248 | 2015-01-07 10:04:16 -0800 | [diff] [blame] | 787 | { |
| 788 | 'target_name': 'pdfium_unittests', |
| 789 | 'type': 'executable', |
| 790 | 'dependencies': [ |
| 791 | '<(DEPTH)/testing/gtest.gyp:gtest_main', |
| 792 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 793 | 'pdfium', |
| 794 | ], |
| 795 | 'include_dirs': [ |
| 796 | '<(DEPTH)' |
| 797 | ], |
| 798 | 'sources': [ |
Tom Sepez | db20582 | 2015-03-19 13:02:23 -0700 | [diff] [blame] | 799 | 'core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp', |
Tom Sepez | 22ee248 | 2015-01-07 10:04:16 -0800 | [diff] [blame] | 800 | 'core/src/fxcrt/fx_basic_bstring_unittest.cpp', |
Tom Sepez | ed099be | 2015-05-15 16:30:52 -0700 | [diff] [blame] | 801 | 'core/src/fxcrt/fx_basic_memmgr_unittest.cpp', |
Bo Xu | a6f95eb | 2015-01-21 12:17:23 -0800 | [diff] [blame] | 802 | 'core/src/fxcrt/fx_basic_wstring_unittest.cpp', |
Tom Sepez | d8bc3d5 | 2015-02-24 15:07:41 -0800 | [diff] [blame] | 803 | 'testing/fx_string_testhelpers.h', |
| 804 | 'testing/fx_string_testhelpers.cpp', |
Bo Xu | a902979 | 2015-01-09 17:27:21 -0800 | [diff] [blame] | 805 | 'xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp', |
JUN FANG | 130c7d1 | 2015-05-13 14:34:28 -0700 | [diff] [blame] | 806 | 'xfa/src/fxfa/src/parser/xfa_utils_imp_unittest.cpp', |
Tom Sepez | 22ee248 | 2015-01-07 10:04:16 -0800 | [diff] [blame] | 807 | ], |
| 808 | }, |
Tom Sepez | 96d1334 | 2015-01-16 14:59:26 -0800 | [diff] [blame] | 809 | { |
| 810 | 'target_name': 'pdfium_embeddertests', |
| 811 | 'type': 'executable', |
| 812 | 'dependencies': [ |
Tom Sepez | a310e00 | 2015-02-27 13:03:07 -0800 | [diff] [blame] | 813 | '<(DEPTH)/testing/gmock.gyp:gmock', |
Tom Sepez | 96d1334 | 2015-01-16 14:59:26 -0800 | [diff] [blame] | 814 | '<(DEPTH)/testing/gtest.gyp:gtest', |
Tom Sepez | 2785fb4 | 2015-03-03 09:49:29 -0800 | [diff] [blame] | 815 | '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform', |
Tom Sepez | 96d1334 | 2015-01-16 14:59:26 -0800 | [diff] [blame] | 816 | 'pdfium', |
| 817 | ], |
| 818 | 'include_dirs': [ |
Tom Sepez | 2785fb4 | 2015-03-03 09:49:29 -0800 | [diff] [blame] | 819 | '<(DEPTH)', |
| 820 | '<(DEPTH)/v8', |
| 821 | '<(DEPTH)/v8/include', |
Tom Sepez | 96d1334 | 2015-01-16 14:59:26 -0800 | [diff] [blame] | 822 | ], |
| 823 | 'sources': [ |
Tom Sepez | 441932f | 2015-04-10 10:40:55 -0700 | [diff] [blame] | 824 | 'core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp', |
JUN FANG | fbc7449 | 2015-04-03 11:35:50 -0700 | [diff] [blame] | 825 | 'core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp', |
Tom Sepez | 2255a1b | 2015-01-23 15:33:44 -0800 | [diff] [blame] | 826 | 'fpdfsdk/src/fpdf_dataavail_embeddertest.cpp', |
Tom Sepez | c8f6ab6 | 2015-01-22 11:20:06 -0800 | [diff] [blame] | 827 | 'fpdfsdk/src/fpdfdoc_embeddertest.cpp', |
Tom Sepez | a310e00 | 2015-02-27 13:03:07 -0800 | [diff] [blame] | 828 | 'fpdfsdk/src/fpdfformfill_embeddertest.cpp', |
Tom Sepez | 26b8a5b | 2015-01-27 12:42:36 -0800 | [diff] [blame] | 829 | 'fpdfsdk/src/fpdftext_embeddertest.cpp', |
Tom Sepez | cf22eb8 | 2015-05-12 17:28:08 -0700 | [diff] [blame] | 830 | 'fpdfsdk/src/fpdfview_c_api_test.c', |
| 831 | 'fpdfsdk/src/fpdfview_c_api_test.h', |
Tom Sepez | 96d1334 | 2015-01-16 14:59:26 -0800 | [diff] [blame] | 832 | 'fpdfsdk/src/fpdfview_embeddertest.cpp', |
Tom Sepez | 7d0fcbf | 2015-09-15 15:30:34 -0700 | [diff] [blame^] | 833 | 'fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp', |
Tom Sepez | 96d1334 | 2015-01-16 14:59:26 -0800 | [diff] [blame] | 834 | 'testing/embedder_test.cpp', |
| 835 | 'testing/embedder_test.h', |
Tom Sepez | a310e00 | 2015-02-27 13:03:07 -0800 | [diff] [blame] | 836 | 'testing/embedder_test_mock_delegate.h', |
Tom Sepez | 6efc0ad | 2015-06-02 17:11:18 -0700 | [diff] [blame] | 837 | 'testing/embedder_test_timer_handling_delegate.h', |
Tom Sepez | 96d1334 | 2015-01-16 14:59:26 -0800 | [diff] [blame] | 838 | 'testing/fx_string_testhelpers.cpp', |
| 839 | 'testing/fx_string_testhelpers.h', |
| 840 | ], |
| 841 | }, |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 842 | ], |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 843 | } |