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