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, |
Tom Sepez | 452b4f3 | 2015-10-13 09:27:27 -0700 | [diff] [blame] | 4 | 'pdf_enable_v8%': 1, |
Tom Sepez | a8a39e2 | 2015-10-12 15:47:07 -0700 | [diff] [blame] | 5 | 'pdf_enable_xfa%': 1, |
John Abd-El-Malek | ef4dce4 | 2015-02-02 16:52:07 -0800 | [diff] [blame] | 6 | 'conditions': [ |
| 7 | ['OS=="linux"', { |
| 8 | 'bundle_freetype%': 0, |
| 9 | }, { # On Android there's no system FreeType. On Windows and Mac, only a |
| 10 | # few methods are used from it. |
| 11 | 'bundle_freetype%': 1, |
Tom Sepez | d8bc3d5 | 2015-02-24 15:07:41 -0800 | [diff] [blame] | 12 | }], |
John Abd-El-Malek | ef4dce4 | 2015-02-02 16:52:07 -0800 | [diff] [blame] | 13 | ], |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 14 | }, |
| 15 | 'target_defaults': { |
| 16 | 'defines' : [ |
Bo Xu | 043f07f | 2014-10-03 11:06:35 -0700 | [diff] [blame] | 17 | 'OPJ_STATIC', |
John Abd-El-Malek | 385729b | 2015-02-06 15:51:11 -0800 | [diff] [blame] | 18 | 'PNG_PREFIX', |
| 19 | 'PNGPREFIX_H', |
| 20 | 'PNG_USE_READ_MACROS', |
Tom Sepez | 6fd997b | 2015-06-18 17:51:37 -0700 | [diff] [blame] | 21 | 'V8_DEPRECATION_WARNINGS', |
| 22 | '_CRT_SECURE_NO_WARNINGS', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 23 | ], |
Bo Xu | 4c764f3 | 2014-12-19 14:29:17 -0800 | [diff] [blame] | 24 | 'include_dirs': [ |
| 25 | 'third_party/freetype/include', |
| 26 | ], |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 27 | 'conditions': [ |
| 28 | ['pdf_use_skia==1', { |
| 29 | 'defines': ['_SKIA_SUPPORT_'], |
| 30 | }], |
Tom Sepez | 452b4f3 | 2015-10-13 09:27:27 -0700 | [diff] [blame] | 31 | ['pdf_enable_v8==1', { |
| 32 | 'defines': ['PDF_ENABLE_V8'], |
| 33 | }], |
Tom Sepez | a8a39e2 | 2015-10-12 15:47:07 -0700 | [diff] [blame] | 34 | ['pdf_enable_xfa==1', { |
| 35 | 'defines': ['PDF_ENABLE_XFA'], |
| 36 | }], |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 37 | ['OS=="linux"', { |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 38 | 'conditions': [ |
| 39 | ['target_arch=="x64"', { |
Nico Weber | b72977f | 2014-07-18 15:50:30 -0700 | [diff] [blame] | 40 | 'defines' : [ '_FX_CPU_=_FX_X64_', ], |
| 41 | 'cflags': [ '-fPIC', ], |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 42 | }], |
| 43 | ['target_arch=="ia32"', { |
Nico Weber | b72977f | 2014-07-18 15:50:30 -0700 | [diff] [blame] | 44 | 'defines' : [ '_FX_CPU_=_FX_X86_', ], |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 45 | }], |
| 46 | ], |
| 47 | }], |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 48 | ], |
| 49 | 'msvs_disabled_warnings': [ |
Nico Weber | 8f75c67 | 2014-07-16 17:31:56 -0700 | [diff] [blame] | 50 | 4005, 4018, 4146, 4333, 4345, 4267 |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 51 | ], |
| 52 | }, |
| 53 | 'targets': [ |
| 54 | { |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 55 | 'target_name': 'pdfium', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 56 | 'type': 'static_library', |
| 57 | 'dependencies': [ |
Bo Xu | 4c764f3 | 2014-12-19 14:29:17 -0800 | [diff] [blame] | 58 | 'third_party/third_party.gyp:bigint', |
Tom Sepez | 3542589 | 2015-02-05 10:03:18 -0800 | [diff] [blame] | 59 | 'third_party/third_party.gyp:pdfium_base', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 60 | 'fdrm', |
| 61 | 'fpdfdoc', |
| 62 | 'fpdfapi', |
| 63 | 'fpdftext', |
| 64 | 'formfiller', |
| 65 | 'fxcodec', |
| 66 | 'fxcrt', |
| 67 | 'fxedit', |
| 68 | 'fxge', |
| 69 | 'javascript', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 70 | 'pdfwindow', |
Bo Xu | fdc00a7 | 2014-10-28 23:03:33 -0700 | [diff] [blame] | 71 | 'fpdfxfa', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 72 | ], |
| 73 | 'ldflags': [ '-L<(PRODUCT_DIR)',], |
| 74 | 'sources': [ |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 75 | 'fpdfsdk/include/fsdk_actionhandler.h', |
| 76 | 'fpdfsdk/include/fsdk_annothandler.h', |
| 77 | 'fpdfsdk/include/fsdk_baseannot.h', |
| 78 | 'fpdfsdk/include/fsdk_baseform.h', |
| 79 | 'fpdfsdk/src/fpdfdoc.cpp', |
| 80 | 'fpdfsdk/src/fpdfeditimg.cpp', |
| 81 | 'fpdfsdk/src/fpdfeditpage.cpp', |
| 82 | 'fpdfsdk/src/fpdfformfill.cpp', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 83 | 'fpdfsdk/src/fpdfppo.cpp', |
| 84 | 'fpdfsdk/src/fpdfsave.cpp', |
| 85 | 'fpdfsdk/src/fpdftext.cpp', |
| 86 | 'fpdfsdk/src/fpdfview.cpp', |
| 87 | 'fpdfsdk/src/fpdf_dataavail.cpp', |
| 88 | 'fpdfsdk/src/fpdf_ext.cpp', |
| 89 | 'fpdfsdk/src/fpdf_flatten.cpp', |
| 90 | 'fpdfsdk/src/fpdf_progressive.cpp', |
| 91 | 'fpdfsdk/src/fpdf_searchex.cpp', |
| 92 | 'fpdfsdk/src/fpdf_sysfontinfo.cpp', |
Tom Sepez | 1ed8a21 | 2015-05-11 15:25:39 -0700 | [diff] [blame] | 93 | 'fpdfsdk/src/fpdf_transformpage.cpp', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 94 | 'fpdfsdk/src/fsdk_actionhandler.cpp', |
| 95 | 'fpdfsdk/src/fsdk_annothandler.cpp', |
| 96 | 'fpdfsdk/src/fsdk_baseannot.cpp', |
| 97 | 'fpdfsdk/src/fsdk_baseform.cpp', |
| 98 | 'fpdfsdk/src/fsdk_mgr.cpp', |
| 99 | 'fpdfsdk/src/fsdk_rendercontext.cpp', |
Tom Sepez | 1ed8a21 | 2015-05-11 15:25:39 -0700 | [diff] [blame] | 100 | 'public/fpdf_dataavail.h', |
| 101 | 'public/fpdf_doc.h', |
| 102 | 'public/fpdf_edit.h', |
| 103 | 'public/fpdf_ext.h', |
| 104 | 'public/fpdf_flatten.h', |
| 105 | 'public/fpdf_formfill.h', |
| 106 | 'public/fpdf_fwlevent.h', |
| 107 | 'public/fpdf_ppo.h', |
| 108 | 'public/fpdf_progressive.h', |
| 109 | 'public/fpdf_save.h', |
| 110 | 'public/fpdf_searchex.h', |
| 111 | 'public/fpdf_sysfontinfo.h', |
| 112 | 'public/fpdf_text.h', |
| 113 | 'public/fpdf_transformpage.h', |
| 114 | 'public/fpdfview.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 115 | ], |
| 116 | 'conditions': [ |
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', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 293 | 'core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp', |
| 294 | 'core/src/fpdfapi/fpdf_parser/fpdf_parser_document.cpp', |
| 295 | 'core/src/fpdfapi/fpdf_parser/fpdf_parser_encrypt.cpp', |
| 296 | 'core/src/fpdfapi/fpdf_parser/fpdf_parser_fdf.cpp', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 297 | 'core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp', |
| 298 | 'core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp', |
| 299 | 'core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp', |
| 300 | 'core/src/fpdfapi/fpdf_render/fpdf_render.cpp', |
| 301 | 'core/src/fpdfapi/fpdf_render/fpdf_render_cache.cpp', |
| 302 | 'core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp', |
| 303 | 'core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp', |
| 304 | 'core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp', |
| 305 | 'core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp', |
| 306 | 'core/src/fpdfapi/fpdf_render/render_int.h', |
| 307 | ], |
| 308 | }, |
| 309 | { |
| 310 | 'target_name': 'fpdftext', |
| 311 | 'type': 'static_library', |
| 312 | 'ldflags': [ '-L<(PRODUCT_DIR)',], |
| 313 | 'sources': [ |
| 314 | 'core/include/fpdftext/fpdf_text.h', |
| 315 | 'core/src/fpdftext/fpdf_text.cpp', |
| 316 | 'core/src/fpdftext/fpdf_text_int.cpp', |
| 317 | 'core/src/fpdftext/fpdf_text_search.cpp', |
| 318 | 'core/src/fpdftext/text_int.h', |
| 319 | 'core/src/fpdftext/txtproc.h', |
| 320 | 'core/src/fpdftext/unicodenormalization.cpp', |
| 321 | 'core/src/fpdftext/unicodenormalizationdata.cpp', |
Tom Sepez | 7da9803 | 2015-08-19 10:42:45 -0700 | [diff] [blame] | 322 | 'core/src/fpdftext/unicodenormalizationdata.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 323 | ], |
| 324 | }, |
| 325 | { |
| 326 | 'target_name': 'fxcodec', |
| 327 | 'type': 'static_library', |
Tom Sepez | 8be5575 | 2015-06-17 11:05:02 -0700 | [diff] [blame] | 328 | 'dependencies': [ |
| 329 | 'third_party/third_party.gyp:fx_lcms2', |
Tom Sepez | 0a11975 | 2015-06-17 15:46:03 -0700 | [diff] [blame] | 330 | 'third_party/third_party.gyp:fx_libjpeg', |
Tom Sepez | 6fd997b | 2015-06-18 17:51:37 -0700 | [diff] [blame] | 331 | 'third_party/third_party.gyp:fx_libopenjpeg', |
Tom Sepez | 5ef9faa | 2015-10-12 15:43:01 -0700 | [diff] [blame] | 332 | 'third_party/third_party.gyp:fx_lpng', |
| 333 | 'third_party/third_party.gyp:fx_tiff', |
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', |
Lei Zhang | b060a55 | 2015-09-24 01:13:26 -0700 | [diff] [blame] | 357 | 'core/src/fxcodec/jbig2/JBig2_ArithDecoder.cpp', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 358 | 'core/src/fxcodec/jbig2/JBig2_ArithDecoder.h', |
| 359 | 'core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp', |
| 360 | 'core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.h', |
Lei Zhang | 4e56867 | 2015-10-07 21:33:55 -0700 | [diff] [blame] | 361 | 'core/src/fxcodec/jbig2/JBig2_BitStream.cpp', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 362 | 'core/src/fxcodec/jbig2/JBig2_BitStream.h', |
| 363 | 'core/src/fxcodec/jbig2/JBig2_Context.cpp', |
| 364 | 'core/src/fxcodec/jbig2/JBig2_Context.h', |
| 365 | 'core/src/fxcodec/jbig2/JBig2_Define.h', |
Lei Zhang | b060a55 | 2015-09-24 01:13:26 -0700 | [diff] [blame] | 366 | 'core/src/fxcodec/jbig2/JBig2_GrdProc.cpp', |
| 367 | 'core/src/fxcodec/jbig2/JBig2_GrdProc.h', |
| 368 | 'core/src/fxcodec/jbig2/JBig2_GrrdProc.cpp', |
| 369 | 'core/src/fxcodec/jbig2/JBig2_GrrdProc.h', |
| 370 | 'core/src/fxcodec/jbig2/JBig2_GsidProc.cpp', |
| 371 | 'core/src/fxcodec/jbig2/JBig2_GsidProc.h', |
| 372 | 'core/src/fxcodec/jbig2/JBig2_HtrdProc.cpp', |
| 373 | 'core/src/fxcodec/jbig2/JBig2_HtrdProc.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 374 | 'core/src/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp', |
| 375 | 'core/src/fxcodec/jbig2/JBig2_HuffmanDecoder.h', |
| 376 | 'core/src/fxcodec/jbig2/JBig2_HuffmanTable.cpp', |
| 377 | 'core/src/fxcodec/jbig2/JBig2_HuffmanTable.h', |
| 378 | 'core/src/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h', |
| 379 | 'core/src/fxcodec/jbig2/JBig2_Image.cpp', |
| 380 | 'core/src/fxcodec/jbig2/JBig2_Image.h', |
| 381 | 'core/src/fxcodec/jbig2/JBig2_List.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 382 | 'core/src/fxcodec/jbig2/JBig2_Page.h', |
| 383 | 'core/src/fxcodec/jbig2/JBig2_PatternDict.cpp', |
| 384 | 'core/src/fxcodec/jbig2/JBig2_PatternDict.h', |
Lei Zhang | b060a55 | 2015-09-24 01:13:26 -0700 | [diff] [blame] | 385 | 'core/src/fxcodec/jbig2/JBig2_PddProc.cpp', |
| 386 | 'core/src/fxcodec/jbig2/JBig2_PddProc.h', |
| 387 | 'core/src/fxcodec/jbig2/JBig2_SddProc.cpp', |
| 388 | 'core/src/fxcodec/jbig2/JBig2_SddProc.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 389 | 'core/src/fxcodec/jbig2/JBig2_Segment.cpp', |
| 390 | 'core/src/fxcodec/jbig2/JBig2_Segment.h', |
| 391 | 'core/src/fxcodec/jbig2/JBig2_SymbolDict.cpp', |
| 392 | 'core/src/fxcodec/jbig2/JBig2_SymbolDict.h', |
Lei Zhang | b060a55 | 2015-09-24 01:13:26 -0700 | [diff] [blame] | 393 | 'core/src/fxcodec/jbig2/JBig2_TrdProc.cpp', |
| 394 | 'core/src/fxcodec/jbig2/JBig2_TrdProc.h', |
Bo Xu | fdc00a7 | 2014-10-28 23:03:33 -0700 | [diff] [blame] | 395 | 'core/src/fxcodec/lbmp/fx_bmp.cpp', |
| 396 | 'core/src/fxcodec/lbmp/fx_bmp.h', |
Bo Xu | fdc00a7 | 2014-10-28 23:03:33 -0700 | [diff] [blame] | 397 | 'core/src/fxcodec/lgif/fx_gif.cpp', |
| 398 | 'core/src/fxcodec/lgif/fx_gif.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 399 | ], |
Tom Sepez | 8be5575 | 2015-06-17 11:05:02 -0700 | [diff] [blame] | 400 | 'msvs_settings': { |
| 401 | 'VCCLCompilerTool': { |
| 402 | # Unresolved warnings in fx_codec_jpx_opj.cpp |
| 403 | # https://code.google.com/p/pdfium/issues/detail?id=100 |
| 404 | 'WarnAsError': 'false', |
| 405 | }, |
| 406 | }, |
John Abd-El-Malek | def5c7d | 2014-06-09 16:07:18 -0700 | [diff] [blame] | 407 | 'conditions': [ |
| 408 | ['os_posix==1', { |
| 409 | # core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int |
| 410 | # conversion to check that an address is 16-bit aligned (benign). |
| 411 | 'cflags_c': [ '-Wno-pointer-to-int-cast' ], |
| 412 | }], |
| 413 | ], |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 414 | }, |
| 415 | { |
| 416 | 'target_name': 'fxcrt', |
| 417 | 'type': 'static_library', |
| 418 | 'ldflags': [ '-L<(PRODUCT_DIR)',], |
| 419 | 'sources': [ |
| 420 | 'core/include/fxcrt/fx_arb.h', |
| 421 | 'core/include/fxcrt/fx_basic.h', |
Lei Zhang | ee02ea3 | 2015-10-29 15:01:55 -0700 | [diff] [blame] | 422 | 'core/include/fxcrt/fx_bidi.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 423 | 'core/include/fxcrt/fx_coordinates.h', |
| 424 | 'core/include/fxcrt/fx_ext.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 425 | 'core/include/fxcrt/fx_memory.h', |
Tom Sepez | 6675a80 | 2015-06-04 19:05:21 -0700 | [diff] [blame] | 426 | 'core/include/fxcrt/fx_safe_types.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 427 | 'core/include/fxcrt/fx_stream.h', |
| 428 | 'core/include/fxcrt/fx_string.h', |
| 429 | 'core/include/fxcrt/fx_system.h', |
| 430 | 'core/include/fxcrt/fx_ucd.h', |
| 431 | 'core/include/fxcrt/fx_xml.h', |
| 432 | 'core/src/fxcrt/extension.h', |
| 433 | 'core/src/fxcrt/fxcrt_platforms.cpp', |
| 434 | 'core/src/fxcrt/fxcrt_platforms.h', |
| 435 | 'core/src/fxcrt/fxcrt_posix.cpp', |
| 436 | 'core/src/fxcrt/fxcrt_posix.h', |
| 437 | 'core/src/fxcrt/fxcrt_windows.cpp', |
| 438 | 'core/src/fxcrt/fxcrt_windows.h', |
| 439 | 'core/src/fxcrt/fx_arabic.cpp', |
| 440 | 'core/src/fxcrt/fx_arabic.h', |
| 441 | 'core/src/fxcrt/fx_basic_array.cpp', |
| 442 | 'core/src/fxcrt/fx_basic_bstring.cpp', |
| 443 | 'core/src/fxcrt/fx_basic_buffer.cpp', |
| 444 | 'core/src/fxcrt/fx_basic_coords.cpp', |
| 445 | 'core/src/fxcrt/fx_basic_gcc.cpp', |
| 446 | 'core/src/fxcrt/fx_basic_list.cpp', |
| 447 | 'core/src/fxcrt/fx_basic_maps.cpp', |
| 448 | 'core/src/fxcrt/fx_basic_memmgr.cpp', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 449 | 'core/src/fxcrt/fx_basic_plex.cpp', |
| 450 | 'core/src/fxcrt/fx_basic_utf.cpp', |
| 451 | 'core/src/fxcrt/fx_basic_util.cpp', |
| 452 | 'core/src/fxcrt/fx_basic_wstring.cpp', |
Lei Zhang | ee02ea3 | 2015-10-29 15:01:55 -0700 | [diff] [blame] | 453 | 'core/src/fxcrt/fx_bidi.cpp', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 454 | 'core/src/fxcrt/fx_extension.cpp', |
| 455 | 'core/src/fxcrt/fx_ucddata.cpp', |
| 456 | 'core/src/fxcrt/fx_unicode.cpp', |
| 457 | 'core/src/fxcrt/fx_xml_composer.cpp', |
| 458 | 'core/src/fxcrt/fx_xml_parser.cpp', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 459 | 'core/src/fxcrt/plex.h', |
| 460 | 'core/src/fxcrt/xml_int.h', |
| 461 | ], |
| 462 | }, |
| 463 | { |
| 464 | 'target_name': 'fxge', |
| 465 | 'type': 'static_library', |
Tom Sepez | b7d358b | 2015-06-17 10:01:00 -0700 | [diff] [blame] | 466 | 'ldflags': [ |
| 467 | '-L<(PRODUCT_DIR)', |
| 468 | ], |
| 469 | 'dependencies': [ |
| 470 | 'third_party/third_party.gyp:fx_agg', |
| 471 | ], |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 472 | 'sources': [ |
| 473 | 'core/include/fxge/fpf.h', |
| 474 | 'core/include/fxge/fx_dib.h', |
| 475 | 'core/include/fxge/fx_font.h', |
| 476 | 'core/include/fxge/fx_freetype.h', |
| 477 | 'core/include/fxge/fx_ge.h', |
| 478 | 'core/include/fxge/fx_ge_apple.h', |
| 479 | 'core/include/fxge/fx_ge_win32.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 480 | 'core/src/fxge/agg/include/fx_agg_driver.h', |
Tom Sepez | b7d358b | 2015-06-17 10:01:00 -0700 | [diff] [blame] | 481 | 'core/src/fxge/agg/src/fx_agg_driver.cpp', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 482 | 'core/src/fxge/android/fpf_skiafont.cpp', |
| 483 | 'core/src/fxge/android/fpf_skiafont.h', |
| 484 | 'core/src/fxge/android/fpf_skiafontmgr.cpp', |
| 485 | 'core/src/fxge/android/fpf_skiafontmgr.h', |
| 486 | 'core/src/fxge/android/fpf_skiamodule.cpp', |
| 487 | 'core/src/fxge/android/fpf_skiamodule.h', |
| 488 | 'core/src/fxge/android/fx_android_font.cpp', |
| 489 | 'core/src/fxge/android/fx_android_font.h', |
| 490 | 'core/src/fxge/android/fx_android_imp.cpp', |
| 491 | 'core/src/fxge/android/fx_fpf.h', |
| 492 | 'core/src/fxge/apple/apple_int.h', |
| 493 | 'core/src/fxge/apple/fx_apple_platform.cpp', |
| 494 | 'core/src/fxge/apple/fx_mac_imp.cpp', |
| 495 | 'core/src/fxge/apple/fx_quartz_device.cpp', |
| 496 | 'core/src/fxge/dib/dib_int.h', |
| 497 | 'core/src/fxge/dib/fx_dib_composite.cpp', |
| 498 | 'core/src/fxge/dib/fx_dib_convert.cpp', |
| 499 | 'core/src/fxge/dib/fx_dib_engine.cpp', |
| 500 | 'core/src/fxge/dib/fx_dib_main.cpp', |
| 501 | 'core/src/fxge/dib/fx_dib_transform.cpp', |
Tom Sepez | 7da9803 | 2015-08-19 10:42:45 -0700 | [diff] [blame] | 502 | 'core/src/fxge/fontdata/chromefontdata/chromefontdata.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 503 | 'core/src/fxge/fontdata/chromefontdata/FoxitDingbats.c', |
| 504 | 'core/src/fxge/fontdata/chromefontdata/FoxitFixed.c', |
| 505 | 'core/src/fxge/fontdata/chromefontdata/FoxitFixedBold.c', |
| 506 | 'core/src/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.c', |
| 507 | 'core/src/fxge/fontdata/chromefontdata/FoxitFixedItalic.c', |
| 508 | 'core/src/fxge/fontdata/chromefontdata/FoxitSans.c', |
| 509 | 'core/src/fxge/fontdata/chromefontdata/FoxitSansBold.c', |
| 510 | 'core/src/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.c', |
| 511 | 'core/src/fxge/fontdata/chromefontdata/FoxitSansItalic.c', |
| 512 | 'core/src/fxge/fontdata/chromefontdata/FoxitSansMM.c', |
| 513 | 'core/src/fxge/fontdata/chromefontdata/FoxitSerif.c', |
| 514 | 'core/src/fxge/fontdata/chromefontdata/FoxitSerifBold.c', |
| 515 | 'core/src/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.c', |
| 516 | 'core/src/fxge/fontdata/chromefontdata/FoxitSerifItalic.c', |
| 517 | 'core/src/fxge/fontdata/chromefontdata/FoxitSerifMM.c', |
| 518 | 'core/src/fxge/fontdata/chromefontdata/FoxitSymbol.c', |
Bo Xu | 4c764f3 | 2014-12-19 14:29:17 -0800 | [diff] [blame] | 519 | 'core/src/fxge/freetype/fx_freetype.c', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 520 | 'core/src/fxge/ge/fx_ge.cpp', |
| 521 | 'core/src/fxge/ge/fx_ge_device.cpp', |
| 522 | 'core/src/fxge/ge/fx_ge_font.cpp', |
| 523 | 'core/src/fxge/ge/fx_ge_fontmap.cpp', |
| 524 | 'core/src/fxge/ge/fx_ge_linux.cpp', |
| 525 | 'core/src/fxge/ge/fx_ge_path.cpp', |
| 526 | 'core/src/fxge/ge/fx_ge_ps.cpp', |
| 527 | 'core/src/fxge/ge/fx_ge_text.cpp', |
| 528 | 'core/src/fxge/ge/text_int.h', |
| 529 | ], |
Dan Sinclair | bc6c672 | 2015-10-22 14:58:54 -0400 | [diff] [blame] | 530 | 'variables': { |
| 531 | 'clang_warning_flags': [ |
| 532 | # http://code.google.com/p/pdfium/issues/detail?id=188 |
| 533 | '-Wno-switch', |
| 534 | ], |
| 535 | }, |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 536 | 'conditions': [ |
| 537 | ['pdf_use_skia==1', { |
| 538 | 'sources': [ |
| 539 | 'core/src/fxge/skia/fx_skia_blitter_new.cpp', |
| 540 | 'core/src/fxge/skia/fx_skia_device.cpp', |
| 541 | ], |
| 542 | 'dependencies': [ |
| 543 | '<(DEPTH)/skia/skia.gyp:skia', |
| 544 | ], |
| 545 | 'include_dirs': [ |
| 546 | '<(DEPTH)/third_party/skia/include/config', |
| 547 | '<(DEPTH)/third_party/skia/include/core', |
| 548 | '<(DEPTH)/third_party/skia/include/effects', |
| 549 | '<(DEPTH)/third_party/skia/include/images', |
| 550 | '<(DEPTH)/third_party/skia/include/lazy', |
| 551 | '<(DEPTH)/third_party/skia/include/pathops', |
| 552 | '<(DEPTH)/third_party/skia/include/utils', |
| 553 | '<(DEPTH)/third_party/skia/src/core', |
| 554 | ], |
| 555 | }], |
| 556 | ['OS=="win"', { |
| 557 | 'defines!': [ |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 558 | 'WIN32_LEAN_AND_MEAN' |
| 559 | ], |
| 560 | 'sources': [ |
| 561 | 'core/src/fxge/win32/dwrite_int.h', |
| 562 | 'core/src/fxge/win32/fx_win32_device.cpp', |
| 563 | 'core/src/fxge/win32/fx_win32_dib.cpp', |
| 564 | 'core/src/fxge/win32/fx_win32_dwrite.cpp', |
| 565 | 'core/src/fxge/win32/fx_win32_gdipext.cpp', |
| 566 | 'core/src/fxge/win32/fx_win32_print.cpp', |
| 567 | 'core/src/fxge/win32/win32_int.h', |
| 568 | ], |
| 569 | }], |
| 570 | ], |
| 571 | }, |
| 572 | { |
| 573 | 'target_name': 'fxedit', |
| 574 | 'type': 'static_library', |
| 575 | 'ldflags': [ '-L<(PRODUCT_DIR)',], |
| 576 | 'sources': [ |
| 577 | 'fpdfsdk/include/fxedit/fx_edit.h', |
| 578 | 'fpdfsdk/include/fxedit/fxet_edit.h', |
| 579 | 'fpdfsdk/include/fxedit/fxet_list.h', |
| 580 | 'fpdfsdk/include/fxedit/fxet_stub.h', |
| 581 | 'fpdfsdk/src/fxedit/fxet_ap.cpp', |
| 582 | 'fpdfsdk/src/fxedit/fxet_edit.cpp', |
| 583 | 'fpdfsdk/src/fxedit/fxet_list.cpp', |
| 584 | 'fpdfsdk/src/fxedit/fxet_module.cpp', |
| 585 | 'fpdfsdk/src/fxedit/fxet_pageobjs.cpp', |
| 586 | ], |
| 587 | }, |
| 588 | { |
| 589 | 'target_name': 'pdfwindow', |
| 590 | 'type': 'static_library', |
| 591 | 'ldflags': [ '-L<(PRODUCT_DIR)',], |
| 592 | 'sources': [ |
| 593 | 'fpdfsdk/include/pdfwindow/IPDFWindow.h', |
| 594 | 'fpdfsdk/include/pdfwindow/PDFWindow.h', |
| 595 | 'fpdfsdk/include/pdfwindow/PWL_Button.h', |
| 596 | 'fpdfsdk/include/pdfwindow/PWL_Caret.h', |
| 597 | 'fpdfsdk/include/pdfwindow/PWL_ComboBox.h', |
| 598 | 'fpdfsdk/include/pdfwindow/PWL_Edit.h', |
| 599 | 'fpdfsdk/include/pdfwindow/PWL_EditCtrl.h', |
| 600 | 'fpdfsdk/include/pdfwindow/PWL_FontMap.h', |
| 601 | 'fpdfsdk/include/pdfwindow/PWL_Icon.h', |
| 602 | 'fpdfsdk/include/pdfwindow/PWL_IconList.h', |
| 603 | 'fpdfsdk/include/pdfwindow/PWL_Label.h', |
| 604 | 'fpdfsdk/include/pdfwindow/PWL_ListBox.h', |
| 605 | 'fpdfsdk/include/pdfwindow/PWL_ListCtrl.h', |
| 606 | 'fpdfsdk/include/pdfwindow/PWL_Note.h', |
| 607 | 'fpdfsdk/include/pdfwindow/PWL_ScrollBar.h', |
| 608 | 'fpdfsdk/include/pdfwindow/PWL_Signature.h', |
| 609 | 'fpdfsdk/include/pdfwindow/PWL_SpecialButton.h', |
| 610 | 'fpdfsdk/include/pdfwindow/PWL_Utils.h', |
| 611 | 'fpdfsdk/include/pdfwindow/PWL_Wnd.h', |
| 612 | 'fpdfsdk/src/pdfwindow/PWL_Button.cpp', |
| 613 | 'fpdfsdk/src/pdfwindow/PWL_Caret.cpp', |
| 614 | 'fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp', |
| 615 | 'fpdfsdk/src/pdfwindow/PWL_Edit.cpp', |
| 616 | 'fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp', |
| 617 | 'fpdfsdk/src/pdfwindow/PWL_FontMap.cpp', |
| 618 | 'fpdfsdk/src/pdfwindow/PWL_Icon.cpp', |
| 619 | 'fpdfsdk/src/pdfwindow/PWL_IconList.cpp', |
| 620 | 'fpdfsdk/src/pdfwindow/PWL_Label.cpp', |
| 621 | 'fpdfsdk/src/pdfwindow/PWL_ListBox.cpp', |
| 622 | 'fpdfsdk/src/pdfwindow/PWL_ListCtrl.cpp', |
| 623 | 'fpdfsdk/src/pdfwindow/PWL_Note.cpp', |
| 624 | 'fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp', |
| 625 | 'fpdfsdk/src/pdfwindow/PWL_Signature.cpp', |
| 626 | 'fpdfsdk/src/pdfwindow/PWL_SpecialButton.cpp', |
| 627 | 'fpdfsdk/src/pdfwindow/PWL_Utils.cpp', |
| 628 | 'fpdfsdk/src/pdfwindow/PWL_Wnd.cpp', |
| 629 | ], |
| 630 | }, |
| 631 | { |
Bo Xu | fdc00a7 | 2014-10-28 23:03:33 -0700 | [diff] [blame] | 632 | 'target_name': 'fpdfxfa', |
| 633 | 'type': 'static_library', |
Bo Xu | fdc00a7 | 2014-10-28 23:03:33 -0700 | [diff] [blame] | 634 | 'dependencies': [ |
Tom Sepez | a8a39e2 | 2015-10-12 15:47:07 -0700 | [diff] [blame] | 635 | 'javascript' |
Bo Xu | fdc00a7 | 2014-10-28 23:03:33 -0700 | [diff] [blame] | 636 | ], |
| 637 | 'sources': [ |
| 638 | 'fpdfsdk/src/fpdfxfa/fpdfxfa_app.cpp', |
| 639 | 'fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp', |
| 640 | 'fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp', |
| 641 | 'fpdfsdk/src/fpdfxfa/fpdfxfa_util.cpp', |
| 642 | 'fpdfsdk/include/fpdfxfa/fpdfxfa_app.h', |
| 643 | 'fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h', |
| 644 | 'fpdfsdk/include/fpdfxfa/fpdfxfa_page.h', |
| 645 | 'fpdfsdk/include/fpdfxfa/fpdfxfa_util.h', |
| 646 | ], |
Tom Sepez | a8a39e2 | 2015-10-12 15:47:07 -0700 | [diff] [blame] | 647 | 'ldflags': [ '-L<(PRODUCT_DIR)',], |
| 648 | 'conditions': [ |
| 649 | [ "pdf_enable_xfa==1", { |
| 650 | 'dependencies': [ |
| 651 | 'xfa.gyp:xfa', |
| 652 | ], |
| 653 | }], |
| 654 | ], |
Bo Xu | fdc00a7 | 2014-10-28 23:03:33 -0700 | [diff] [blame] | 655 | }, |
| 656 | { |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 657 | 'target_name': 'javascript', |
| 658 | 'type': 'static_library', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 659 | 'ldflags': [ '-L<(PRODUCT_DIR)',], |
| 660 | 'sources': [ |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 661 | 'fpdfsdk/include/javascript/IJavaScript.h', |
Tom Sepez | 452b4f3 | 2015-10-13 09:27:27 -0700 | [diff] [blame] | 662 | 'fpdfsdk/src/javascript/JS_Runtime_Stub.cpp', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 663 | ], |
Tom Sepez | 452b4f3 | 2015-10-13 09:27:27 -0700 | [diff] [blame] | 664 | 'conditions': [ |
| 665 | ['pdf_enable_v8==1', { |
| 666 | 'include_dirs': [ |
| 667 | '<(DEPTH)/v8', |
| 668 | '<(DEPTH)/v8/include', |
| 669 | ], |
| 670 | 'dependencies': [ |
| 671 | '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
| 672 | ], |
| 673 | 'export_dependent_settings': [ |
| 674 | '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
| 675 | ], |
| 676 | 'sources!': [ |
| 677 | 'fpdfsdk/src/javascript/JS_Runtime_Stub.cpp', |
| 678 | ], |
| 679 | 'sources': [ |
| 680 | 'fpdfsdk/src/javascript/Consts.cpp', |
| 681 | 'fpdfsdk/src/javascript/Consts.h', |
| 682 | 'fpdfsdk/src/javascript/Document.cpp', |
| 683 | 'fpdfsdk/src/javascript/Document.h', |
| 684 | 'fpdfsdk/src/javascript/Field.cpp', |
| 685 | 'fpdfsdk/src/javascript/Field.h', |
| 686 | 'fpdfsdk/src/javascript/Icon.cpp', |
| 687 | 'fpdfsdk/src/javascript/Icon.h', |
| 688 | 'fpdfsdk/src/javascript/JS_Context.cpp', |
| 689 | 'fpdfsdk/src/javascript/JS_Context.h', |
| 690 | 'fpdfsdk/src/javascript/JS_Define.h', |
| 691 | 'fpdfsdk/src/javascript/JS_EventHandler.cpp', |
| 692 | 'fpdfsdk/src/javascript/JS_EventHandler.h', |
| 693 | 'fpdfsdk/src/javascript/JS_GlobalData.cpp', |
| 694 | 'fpdfsdk/src/javascript/JS_GlobalData.h', |
| 695 | 'fpdfsdk/src/javascript/JS_Object.cpp', |
| 696 | 'fpdfsdk/src/javascript/JS_Object.h', |
| 697 | 'fpdfsdk/src/javascript/JS_Runtime.cpp', |
| 698 | 'fpdfsdk/src/javascript/JS_Runtime.h', |
| 699 | 'fpdfsdk/src/javascript/JS_Value.cpp', |
| 700 | 'fpdfsdk/src/javascript/JS_Value.h', |
| 701 | 'fpdfsdk/src/javascript/PublicMethods.cpp', |
| 702 | 'fpdfsdk/src/javascript/PublicMethods.h', |
| 703 | 'fpdfsdk/src/javascript/app.cpp', |
| 704 | 'fpdfsdk/src/javascript/app.cpp', |
| 705 | 'fpdfsdk/src/javascript/app.h', |
| 706 | 'fpdfsdk/src/javascript/color.cpp', |
| 707 | 'fpdfsdk/src/javascript/color.cpp', |
| 708 | 'fpdfsdk/src/javascript/color.h', |
| 709 | 'fpdfsdk/src/javascript/console.cpp', |
| 710 | 'fpdfsdk/src/javascript/console.cpp', |
| 711 | 'fpdfsdk/src/javascript/console.h', |
| 712 | 'fpdfsdk/src/javascript/event.cpp', |
| 713 | 'fpdfsdk/src/javascript/event.h', |
| 714 | 'fpdfsdk/src/javascript/global.cpp', |
| 715 | 'fpdfsdk/src/javascript/global.h', |
| 716 | 'fpdfsdk/src/javascript/report.cpp', |
| 717 | 'fpdfsdk/src/javascript/report.h', |
| 718 | 'fpdfsdk/src/javascript/resource.cpp', |
| 719 | 'fpdfsdk/src/javascript/resource.h', |
| 720 | 'fpdfsdk/src/javascript/util.cpp', |
| 721 | 'fpdfsdk/src/javascript/util.h', |
| 722 | 'fpdfsdk/include/jsapi/fxjs_v8.h', |
| 723 | 'fpdfsdk/src/jsapi/fxjs_v8.cpp', |
| 724 | ], |
| 725 | }], |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 726 | ], |
| 727 | }, |
| 728 | { |
| 729 | 'target_name': 'formfiller', |
| 730 | 'type': 'static_library', |
| 731 | 'ldflags': [ '-L<(PRODUCT_DIR)',], |
| 732 | 'sources': [ |
| 733 | 'fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h', |
| 734 | 'fpdfsdk/include/formfiller/FFL_CheckBox.h', |
| 735 | 'fpdfsdk/include/formfiller/FFL_ComboBox.h', |
| 736 | 'fpdfsdk/include/formfiller/FFL_FormFiller.h', |
| 737 | 'fpdfsdk/include/formfiller/FFL_IFormFiller.h', |
| 738 | 'fpdfsdk/include/formfiller/FFL_ListBox.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 739 | 'fpdfsdk/include/formfiller/FFL_PushButton.h', |
| 740 | 'fpdfsdk/include/formfiller/FFL_RadioButton.h', |
| 741 | 'fpdfsdk/include/formfiller/FFL_TextField.h', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 742 | 'fpdfsdk/include/formfiller/FormFiller.h', |
| 743 | 'fpdfsdk/src/formfiller/FFL_CBA_Fontmap.cpp', |
| 744 | 'fpdfsdk/src/formfiller/FFL_CheckBox.cpp', |
| 745 | 'fpdfsdk/src/formfiller/FFL_ComboBox.cpp', |
| 746 | 'fpdfsdk/src/formfiller/FFL_FormFiller.cpp', |
| 747 | 'fpdfsdk/src/formfiller/FFL_IFormFiller.cpp', |
| 748 | 'fpdfsdk/src/formfiller/FFL_ListBox.cpp', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 749 | 'fpdfsdk/src/formfiller/FFL_PushButton.cpp', |
| 750 | 'fpdfsdk/src/formfiller/FFL_RadioButton.cpp', |
| 751 | 'fpdfsdk/src/formfiller/FFL_TextField.cpp', |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 752 | ], |
| 753 | }, |
Tom Sepez | 22ee248 | 2015-01-07 10:04:16 -0800 | [diff] [blame] | 754 | { |
| 755 | 'target_name': 'pdfium_unittests', |
| 756 | 'type': 'executable', |
| 757 | 'dependencies': [ |
| 758 | '<(DEPTH)/testing/gtest.gyp:gtest_main', |
| 759 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 760 | 'pdfium', |
Tom Sepez | d831dc7 | 2015-10-19 16:04:22 -0700 | [diff] [blame] | 761 | 'test_support', |
Tom Sepez | 22ee248 | 2015-01-07 10:04:16 -0800 | [diff] [blame] | 762 | ], |
| 763 | 'include_dirs': [ |
| 764 | '<(DEPTH)' |
| 765 | ], |
| 766 | 'sources': [ |
Tom Sepez | db20582 | 2015-03-19 13:02:23 -0700 | [diff] [blame] | 767 | 'core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp', |
Tom Sepez | 22ee248 | 2015-01-07 10:04:16 -0800 | [diff] [blame] | 768 | 'core/src/fxcrt/fx_basic_bstring_unittest.cpp', |
Tom Sepez | ed099be | 2015-05-15 16:30:52 -0700 | [diff] [blame] | 769 | 'core/src/fxcrt/fx_basic_memmgr_unittest.cpp', |
Bo Xu | a6f95eb | 2015-01-21 12:17:23 -0800 | [diff] [blame] | 770 | 'core/src/fxcrt/fx_basic_wstring_unittest.cpp', |
Lei Zhang | ee02ea3 | 2015-10-29 15:01:55 -0700 | [diff] [blame] | 771 | 'core/src/fxcrt/fx_bidi_unittest.cpp', |
Tom Sepez | 24e733e | 2015-10-16 14:18:50 -0700 | [diff] [blame] | 772 | 'core/src/fxcrt/fx_system_unittest.cpp', |
Tom Sepez | 24e733e | 2015-10-16 14:18:50 -0700 | [diff] [blame] | 773 | 'testing/fx_string_testhelpers.h', |
Dan Sinclair | bc6c672 | 2015-10-22 14:58:54 -0400 | [diff] [blame] | 774 | 'testing/fx_string_testhelpers.cpp', |
Tom Sepez | 7cfadd9 | 2015-09-22 15:22:48 -0700 | [diff] [blame] | 775 | 'third_party/base/nonstd_unique_ptr_unittest.cpp', |
Tom Sepez | a8a39e2 | 2015-10-12 15:47:07 -0700 | [diff] [blame] | 776 | ], |
| 777 | 'conditions': [ |
| 778 | ['pdf_enable_xfa==1', { |
| 779 | 'sources': [ |
| 780 | 'xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp', |
| 781 | 'xfa/src/fxfa/src/parser/xfa_utils_imp_unittest.cpp', |
| 782 | ], |
| 783 | }], |
Tom Sepez | 22ee248 | 2015-01-07 10:04:16 -0800 | [diff] [blame] | 784 | ], |
| 785 | }, |
Tom Sepez | 96d1334 | 2015-01-16 14:59:26 -0800 | [diff] [blame] | 786 | { |
| 787 | 'target_name': 'pdfium_embeddertests', |
| 788 | 'type': 'executable', |
| 789 | 'dependencies': [ |
Tom Sepez | a310e00 | 2015-02-27 13:03:07 -0800 | [diff] [blame] | 790 | '<(DEPTH)/testing/gmock.gyp:gmock', |
Tom Sepez | 96d1334 | 2015-01-16 14:59:26 -0800 | [diff] [blame] | 791 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 792 | 'pdfium', |
Tom Sepez | d831dc7 | 2015-10-19 16:04:22 -0700 | [diff] [blame] | 793 | 'test_support', |
Tom Sepez | 96d1334 | 2015-01-16 14:59:26 -0800 | [diff] [blame] | 794 | ], |
| 795 | 'include_dirs': [ |
Tom Sepez | 2785fb4 | 2015-03-03 09:49:29 -0800 | [diff] [blame] | 796 | '<(DEPTH)', |
Tom Sepez | 96d1334 | 2015-01-16 14:59:26 -0800 | [diff] [blame] | 797 | ], |
| 798 | 'sources': [ |
Tom Sepez | 441932f | 2015-04-10 10:40:55 -0700 | [diff] [blame] | 799 | 'core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp', |
JUN FANG | fbc7449 | 2015-04-03 11:35:50 -0700 | [diff] [blame] | 800 | 'core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp', |
Dan Sinclair | 431ba18 | 2015-10-27 12:19:11 -0400 | [diff] [blame] | 801 | 'core/src/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp', |
Tom Sepez | 2255a1b | 2015-01-23 15:33:44 -0800 | [diff] [blame] | 802 | 'fpdfsdk/src/fpdf_dataavail_embeddertest.cpp', |
Tom Sepez | c8f6ab6 | 2015-01-22 11:20:06 -0800 | [diff] [blame] | 803 | 'fpdfsdk/src/fpdfdoc_embeddertest.cpp', |
Tom Sepez | a310e00 | 2015-02-27 13:03:07 -0800 | [diff] [blame] | 804 | 'fpdfsdk/src/fpdfformfill_embeddertest.cpp', |
Tom Sepez | 26b8a5b | 2015-01-27 12:42:36 -0800 | [diff] [blame] | 805 | 'fpdfsdk/src/fpdftext_embeddertest.cpp', |
Tom Sepez | cf22eb8 | 2015-05-12 17:28:08 -0700 | [diff] [blame] | 806 | 'fpdfsdk/src/fpdfview_c_api_test.c', |
| 807 | 'fpdfsdk/src/fpdfview_c_api_test.h', |
Tom Sepez | 96d1334 | 2015-01-16 14:59:26 -0800 | [diff] [blame] | 808 | 'fpdfsdk/src/fpdfview_embeddertest.cpp', |
| 809 | 'testing/embedder_test.cpp', |
| 810 | 'testing/embedder_test.h', |
Tom Sepez | a310e00 | 2015-02-27 13:03:07 -0800 | [diff] [blame] | 811 | 'testing/embedder_test_mock_delegate.h', |
Tom Sepez | 6efc0ad | 2015-06-02 17:11:18 -0700 | [diff] [blame] | 812 | 'testing/embedder_test_timer_handling_delegate.h', |
Jun Fang | bf18cb6 | 2015-10-28 18:36:28 +0800 | [diff] [blame] | 813 | 'xfa/src/fxfa/src/parser/xfa_parser_imp_embeddertest.cpp', |
Tom Sepez | 96d1334 | 2015-01-16 14:59:26 -0800 | [diff] [blame] | 814 | ], |
Tom Sepez | 452b4f3 | 2015-10-13 09:27:27 -0700 | [diff] [blame] | 815 | 'conditions': [ |
| 816 | ['pdf_enable_v8==1', { |
| 817 | 'include_dirs': [ |
| 818 | '<(DEPTH)/v8', |
| 819 | '<(DEPTH)/v8/include', |
| 820 | ], |
| 821 | 'dependencies': [ |
| 822 | '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
| 823 | '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform', |
| 824 | ], |
| 825 | 'sources': [ |
| 826 | 'fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp', |
| 827 | ], |
| 828 | }], |
| 829 | ], |
Tom Sepez | 96d1334 | 2015-01-16 14:59:26 -0800 | [diff] [blame] | 830 | }, |
Tom Sepez | d831dc7 | 2015-10-19 16:04:22 -0700 | [diff] [blame] | 831 | { |
| 832 | 'target_name': 'test_support', |
| 833 | 'type': 'static_library', |
| 834 | 'dependencies': [ |
| 835 | '<(DEPTH)/testing/gmock.gyp:gmock', |
| 836 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 837 | ], |
| 838 | 'include_dirs': [ |
| 839 | '<(DEPTH)', |
| 840 | ], |
| 841 | 'sources': [ |
| 842 | 'testing/fx_string_testhelpers.cpp', |
| 843 | 'testing/fx_string_testhelpers.h', |
| 844 | 'testing/test_support.cpp', |
| 845 | 'testing/test_support.h', |
| 846 | ], |
| 847 | 'conditions': [ |
| 848 | ['pdf_enable_v8==1', { |
| 849 | 'include_dirs': [ |
| 850 | '<(DEPTH)/v8', |
| 851 | '<(DEPTH)/v8/include', |
| 852 | ], |
| 853 | 'dependencies': [ |
| 854 | '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
| 855 | '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform', |
| 856 | ], |
| 857 | }], |
| 858 | ], |
| 859 | }, |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 860 | ], |
John Abd-El-Malek | 5110c47 | 2014-05-17 22:33:34 -0700 | [diff] [blame] | 861 | } |