blob: 57f9823aa9b0dacbe1ce85385f3e31a7ec228219 [file] [log] [blame]
Tom Sepezb5451592016-02-22 16:48:02 -08001# Copyright 2016 The Chromium Authors. All rights reserved.
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07002# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
Jochen Eisinger7ed503d2015-12-10 14:38:06 +01005import("//build_overrides/v8.gni")
Tom Sepeza32f7602015-01-15 09:34:34 -08006import("//testing/test.gni")
dsinclair038bf0b2016-04-30 06:00:05 -07007import("pdfium.gni")
John Abd-El-Malekef4dce42015-02-02 16:52:07 -08008
weili0abe6522016-06-06 14:41:22 -07009config("pdfium_common_config") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070010 cflags = []
Oliver Changcec3f682015-11-05 16:00:40 -080011 include_dirs = [
Lei Zhang8241df72015-11-06 14:38:48 -080012 ".",
Oliver Changcec3f682015-11-05 16:00:40 -080013 "third_party/freetype/include",
14 "third_party/freetype/include/freetype",
15 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070016 defines = [
John Abd-El-Malekef4dce42015-02-02 16:52:07 -080017 "OPJ_STATIC",
John Abd-El-Malek385729b2015-02-06 15:51:11 -080018 "PNG_PREFIX",
John Abd-El-Malek385729b2015-02-06 15:51:11 -080019 "PNG_USE_READ_MACROS",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070020 ]
21
22 if (pdf_use_skia) {
23 defines += [ "_SKIA_SUPPORT_" ]
24 }
25
Tom Sepez452b4f32015-10-13 09:27:27 -070026 if (pdf_enable_v8) {
27 defines += [ "PDF_ENABLE_V8" ]
28 }
29
Tom Sepeza8a39e22015-10-12 15:47:07 -070030 if (pdf_enable_xfa) {
31 defines += [ "PDF_ENABLE_XFA" ]
32 }
weili0abe6522016-06-06 14:41:22 -070033}
Tom Sepeza8a39e22015-10-12 15:47:07 -070034
weili0abe6522016-06-06 14:41:22 -070035config("pdfium_core_config") {
36 cflags = []
dsinclair8bd9ce02016-06-09 13:24:34 -070037 configs = [ ":pdfium_common_config" ]
38 defines = [ "V8_DEPRECATION_WARNINGS" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070039 if (is_linux) {
Tom Sepez25d5be62015-06-18 17:44:29 -070040 if (current_cpu == "x64") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070041 defines += [ "_FX_CPU_=_FX_X64_" ]
42 cflags += [ "-fPIC" ]
Tom Sepez25d5be62015-06-18 17:44:29 -070043 } else if (current_cpu == "x86") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070044 defines += [ "_FX_CPU_=_FX_X86_" ]
45 }
46 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070047 if (is_win) {
dsinclair5d9da0c2016-04-21 13:12:06 -070048 cflags += [ "/wd4267" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070049 }
weilidcc29b12016-05-27 17:58:23 -070050}
Lei Zhang476ac132015-11-05 20:07:27 -080051
weilidcc29b12016-05-27 17:58:23 -070052config("xfa_warnings") {
53 visibility = [ ":*" ]
Tom Sepez34209092016-03-18 09:00:33 -070054 if (is_posix && !is_clang) { # When GCC.
weilidcc29b12016-05-27 17:58:23 -070055 cflags = [ "-Wno-strict-overflow" ]
Tom Sepez34209092016-03-18 09:00:33 -070056 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070057}
58
59static_library("pdfium") {
60 sources = [
dsinclairb9590102016-04-27 06:38:59 -070061 "fpdfsdk/cfx_systemhandler.cpp",
62 "fpdfsdk/cfx_systemhandler.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -040063 "fpdfsdk/fpdf_dataavail.cpp",
64 "fpdfsdk/fpdf_ext.cpp",
65 "fpdfsdk/fpdf_flatten.cpp",
66 "fpdfsdk/fpdf_progressive.cpp",
67 "fpdfsdk/fpdf_searchex.cpp",
68 "fpdfsdk/fpdf_sysfontinfo.cpp",
69 "fpdfsdk/fpdf_transformpage.cpp",
70 "fpdfsdk/fpdfdoc.cpp",
71 "fpdfsdk/fpdfeditimg.cpp",
72 "fpdfsdk/fpdfeditpage.cpp",
73 "fpdfsdk/fpdfformfill.cpp",
74 "fpdfsdk/fpdfppo.cpp",
75 "fpdfsdk/fpdfsave.cpp",
76 "fpdfsdk/fpdftext.cpp",
77 "fpdfsdk/fpdfview.cpp",
78 "fpdfsdk/fsdk_actionhandler.cpp",
79 "fpdfsdk/fsdk_annothandler.cpp",
80 "fpdfsdk/fsdk_baseannot.cpp",
81 "fpdfsdk/fsdk_baseform.cpp",
82 "fpdfsdk/fsdk_mgr.cpp",
weili9f515bc2016-07-24 08:08:24 -070083 "fpdfsdk/fsdk_pauseadapter.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070084 "fpdfsdk/include/fsdk_actionhandler.h",
85 "fpdfsdk/include/fsdk_annothandler.h",
86 "fpdfsdk/include/fsdk_baseannot.h",
87 "fpdfsdk/include/fsdk_baseform.h",
weili9f515bc2016-07-24 08:08:24 -070088 "fpdfsdk/include/fsdk_pauseadapter.h",
Tom Sepez1ed8a212015-05-11 15:25:39 -070089 "public/fpdf_dataavail.h",
90 "public/fpdf_doc.h",
91 "public/fpdf_edit.h",
92 "public/fpdf_ext.h",
93 "public/fpdf_flatten.h",
94 "public/fpdf_formfill.h",
95 "public/fpdf_fwlevent.h",
96 "public/fpdf_ppo.h",
97 "public/fpdf_progressive.h",
98 "public/fpdf_save.h",
99 "public/fpdf_searchex.h",
100 "public/fpdf_sysfontinfo.h",
101 "public/fpdf_text.h",
102 "public/fpdf_transformpage.h",
103 "public/fpdfview.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700104 ]
105
106 libs = []
weili0abe6522016-06-06 14:41:22 -0700107 configs += [ ":pdfium_core_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700108
109 deps = [
110 ":fdrm",
111 ":formfiller",
112 ":fpdfapi",
113 ":fpdfdoc",
114 ":fpdftext",
115 ":fxcodec",
116 ":fxcrt",
117 ":fxedit",
118 ":fxge",
119 ":javascript",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700120 ":pdfwindow",
Dan Sinclairfffc9632016-03-08 08:57:05 -0500121 "third_party:bigint",
122 "third_party:pdfium_base",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700123 ]
124
Tom Sepeza8a39e22015-10-12 15:47:07 -0700125 if (pdf_enable_xfa) {
Tom Sepezb5451592016-02-22 16:48:02 -0800126 deps += [ ":fpdfxfa" ]
Tom Sepeza8a39e22015-10-12 15:47:07 -0700127 }
128
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700129 if (is_win) {
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400130 libs += [
131 "advapi32.lib",
132 "gdi32.lib",
133 "user32.lib",
134 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700135 }
136
137 if (is_mac) {
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400138 libs += [
139 "AppKit.framework",
140 "CoreFoundation.framework",
141 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700142 }
John Abd-El-Malekef4dce42015-02-02 16:52:07 -0800143
Tom Sepez0dfd0302015-10-12 15:38:22 -0700144 if (pdfium_bundle_freetype) {
145 deps += [ "third_party:fx_freetype" ]
John Abd-El-Malekef4dce42015-02-02 16:52:07 -0800146 } else {
147 libs += [ "freetype" ]
148 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700149}
150
brettwe283e472016-07-21 09:38:22 -0700151static_library("test_support") {
Tom Sepezd831dc72015-10-19 16:04:22 -0700152 testonly = true
153 sources = [
154 "testing/fx_string_testhelpers.cpp",
155 "testing/fx_string_testhelpers.h",
156 "testing/test_support.cpp",
157 "testing/test_support.h",
Oliver Changd46f1c82015-11-12 22:03:10 -0800158 "testing/utils/path_service.cpp",
Tom Sepezd831dc72015-10-19 16:04:22 -0700159 ]
160 deps = [
Dan Sinclairfffc9632016-03-08 08:57:05 -0500161 ":pdfium",
Tom Sepezd831dc72015-10-19 16:04:22 -0700162 "//testing/gmock",
163 "//testing/gtest",
Tom Sepezd831dc72015-10-19 16:04:22 -0700164 ]
Lei Zhang8241df72015-11-06 14:38:48 -0800165 include_dirs = []
Tom Sepezd831dc72015-10-19 16:04:22 -0700166 if (pdf_enable_v8) {
167 deps += [
168 "//v8",
169 "//v8:v8_libplatform",
170 ]
171 include_dirs += [
172 "//v8",
173 "//v8/include",
174 ]
Jochen Eisinger7ed503d2015-12-10 14:38:06 +0100175 configs += [ "//v8:external_startup_data" ]
Tom Sepezd831dc72015-10-19 16:04:22 -0700176 }
weili0abe6522016-06-06 14:41:22 -0700177 configs += [ ":pdfium_core_config" ]
Tom Sepezd831dc72015-10-19 16:04:22 -0700178}
179
180# Targets below this are only visible within this file (and to the
181# top-level gn_visibility target used to help gn_all build everything).
182visibility = [
183 ":*",
184 "//:gn_visibility",
185]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700186
187static_library("fdrm") {
188 sources = [
Dan Sinclair764ec512016-03-14 13:35:12 -0400189 "core/fdrm/crypto/fx_crypt.cpp",
190 "core/fdrm/crypto/fx_crypt_aes.cpp",
191 "core/fdrm/crypto/fx_crypt_sha.cpp",
Dan Sinclair13ee55a2016-03-14 15:56:00 -0400192 "core/fdrm/crypto/include/fx_crypt.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700193 ]
weili0abe6522016-06-06 14:41:22 -0700194 configs += [ ":pdfium_core_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700195}
196
197static_library("fpdfdoc") {
198 sources = [
weilif4bb5802016-06-14 17:21:14 -0700199 "core/fpdfdoc/clines.cpp",
200 "core/fpdfdoc/clines.h",
jaepark3b6c7e92016-07-20 14:18:04 -0700201 "core/fpdfdoc/cpdf_annot.cpp",
jaepark3b6c7e92016-07-20 14:18:04 -0700202 "core/fpdfdoc/cpdf_annotlist.cpp",
dsinclaircac704d2016-07-28 12:59:09 -0700203 "core/fpdfdoc/cpdf_apsettings.h",
204 "core/fpdfdoc/cpdf_pagelabel.h",
dsinclairc7a73492016-04-05 12:01:42 -0700205 "core/fpdfdoc/cpdf_variabletext.cpp",
dsinclair777b3332016-03-31 20:03:08 -0700206 "core/fpdfdoc/cpvt_color.cpp",
207 "core/fpdfdoc/cpvt_color.h",
208 "core/fpdfdoc/cpvt_dash.h",
dsinclairc7a73492016-04-05 12:01:42 -0700209 "core/fpdfdoc/cpvt_floatrect.h",
dsinclair777b3332016-03-31 20:03:08 -0700210 "core/fpdfdoc/cpvt_fontmap.cpp",
211 "core/fpdfdoc/cpvt_fontmap.h",
212 "core/fpdfdoc/cpvt_generateap.cpp",
213 "core/fpdfdoc/cpvt_generateap.h",
dsinclairc7a73492016-04-05 12:01:42 -0700214 "core/fpdfdoc/cpvt_lineinfo.h",
weili5a6c1392016-07-11 14:43:40 -0700215 "core/fpdfdoc/cpvt_sectioninfo.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700216 "core/fpdfdoc/cpvt_sectioninfo.h",
weili5a6c1392016-07-11 14:43:40 -0700217 "core/fpdfdoc/cpvt_wordinfo.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700218 "core/fpdfdoc/cpvt_wordinfo.h",
thestig9c845c32016-05-13 11:08:41 -0700219 "core/fpdfdoc/csection.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700220 "core/fpdfdoc/csection.h",
thestig9c845c32016-05-13 11:08:41 -0700221 "core/fpdfdoc/ctypeset.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700222 "core/fpdfdoc/ctypeset.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400223 "core/fpdfdoc/doc_action.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400224 "core/fpdfdoc/doc_basic.cpp",
225 "core/fpdfdoc/doc_bookmark.cpp",
226 "core/fpdfdoc/doc_form.cpp",
227 "core/fpdfdoc/doc_formcontrol.cpp",
228 "core/fpdfdoc/doc_formfield.cpp",
229 "core/fpdfdoc/doc_link.cpp",
230 "core/fpdfdoc/doc_metadata.cpp",
231 "core/fpdfdoc/doc_ocg.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400232 "core/fpdfdoc/doc_utils.cpp",
233 "core/fpdfdoc/doc_utils.h",
234 "core/fpdfdoc/doc_viewerPreferences.cpp",
235 "core/fpdfdoc/doc_vt.cpp",
dsinclaircac704d2016-07-28 12:59:09 -0700236 "core/fpdfdoc/include/cpdf_aaction.h",
237 "core/fpdfdoc/include/cpdf_action.h",
238 "core/fpdfdoc/include/cpdf_actionfields.h",
239 "core/fpdfdoc/include/cpdf_annot.h",
240 "core/fpdfdoc/include/cpdf_annotlist.h",
241 "core/fpdfdoc/include/cpdf_bookmark.h",
242 "core/fpdfdoc/include/cpdf_bookmarktree.h",
243 "core/fpdfdoc/include/cpdf_defaultappearance.h",
244 "core/fpdfdoc/include/cpdf_dest.h",
245 "core/fpdfdoc/include/cpdf_docjsactions.h",
246 "core/fpdfdoc/include/cpdf_filespec.h",
247 "core/fpdfdoc/include/cpdf_formcontrol.h",
248 "core/fpdfdoc/include/cpdf_formfield.h",
249 "core/fpdfdoc/include/cpdf_iconfit.h",
250 "core/fpdfdoc/include/cpdf_interform.h",
251 "core/fpdfdoc/include/cpdf_link.h",
252 "core/fpdfdoc/include/cpdf_linklist.h",
253 "core/fpdfdoc/include/cpdf_metadata.h",
254 "core/fpdfdoc/include/cpdf_nametree.h",
255 "core/fpdfdoc/include/cpdf_occontext.h",
dsinclairc7a73492016-04-05 12:01:42 -0700256 "core/fpdfdoc/include/cpdf_variabletext.h",
dsinclaircac704d2016-07-28 12:59:09 -0700257 "core/fpdfdoc/include/cpdf_viewerpreferences.h",
dsinclairc7a73492016-04-05 12:01:42 -0700258 "core/fpdfdoc/include/cpvt_line.h",
259 "core/fpdfdoc/include/cpvt_secprops.h",
260 "core/fpdfdoc/include/cpvt_section.h",
261 "core/fpdfdoc/include/cpvt_word.h",
262 "core/fpdfdoc/include/cpvt_wordplace.h",
263 "core/fpdfdoc/include/cpvt_wordprops.h",
264 "core/fpdfdoc/include/cpvt_wordrange.h",
dsinclaircac704d2016-07-28 12:59:09 -0700265 "core/fpdfdoc/include/ipdf_formnotify.h",
dsinclair777b3332016-03-31 20:03:08 -0700266 "core/fpdfdoc/ipvt_fontmap.h",
dsinclair696fc8b2016-05-04 07:52:55 -0700267 "core/fpdfdoc/pdf_vt.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700268 ]
weili0abe6522016-06-06 14:41:22 -0700269 configs += [ ":pdfium_core_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700270}
271
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700272static_library("fpdfapi") {
273 sources = [
tsepezddffb572016-05-24 16:20:29 -0700274 "core/fpdfapi/cpdf_modulemgr.cpp",
weili9f515bc2016-07-24 08:08:24 -0700275 "core/fpdfapi/cpdf_pagerendercontext.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400276 "core/fpdfapi/fpdf_cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp",
277 "core/fpdfapi/fpdf_cmaps/CNS1/B5pc-H_0.cpp",
278 "core/fpdfapi/fpdf_cmaps/CNS1/B5pc-V_0.cpp",
279 "core/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-H_0.cpp",
280 "core/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-V_0.cpp",
281 "core/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-H_0.cpp",
282 "core/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-V_0.cpp",
283 "core/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-H_0.cpp",
284 "core/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-V_0.cpp",
285 "core/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-H_5.cpp",
286 "core/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-V_5.cpp",
287 "core/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-H_3.cpp",
288 "core/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-V_3.cpp",
289 "core/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UTF16-H_0.cpp",
290 "core/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp",
291 "core/fpdfapi/fpdf_cmaps/GB1/Adobe-GB1-UCS2_5.cpp",
292 "core/fpdfapi/fpdf_cmaps/GB1/GB-EUC-H_0.cpp",
293 "core/fpdfapi/fpdf_cmaps/GB1/GB-EUC-V_0.cpp",
294 "core/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-H_2.cpp",
295 "core/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-V_2.cpp",
296 "core/fpdfapi/fpdf_cmaps/GB1/GBK2K-H_5.cpp",
297 "core/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp",
298 "core/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-H_2.cpp",
299 "core/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-V_2.cpp",
300 "core/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-H_0.cpp",
301 "core/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-V_0.cpp",
302 "core/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-H_4.cpp",
303 "core/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-V_4.cpp",
304 "core/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp",
305 "core/fpdfapi/fpdf_cmaps/Japan1/83pv-RKSJ-H_1.cpp",
306 "core/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-H_2.cpp",
307 "core/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-V_2.cpp",
308 "core/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-H_2.cpp",
309 "core/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-V_2.cpp",
310 "core/fpdfapi/fpdf_cmaps/Japan1/90pv-RKSJ-H_1.cpp",
311 "core/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-H_1.cpp",
312 "core/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-V_1.cpp",
313 "core/fpdfapi/fpdf_cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp",
314 "core/fpdfapi/fpdf_cmaps/Japan1/EUC-H_1.cpp",
315 "core/fpdfapi/fpdf_cmaps/Japan1/EUC-V_1.cpp",
316 "core/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-H_2.cpp",
317 "core/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-V_2.cpp",
318 "core/fpdfapi/fpdf_cmaps/Japan1/H_1.cpp",
319 "core/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp",
320 "core/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp",
321 "core/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-H_4.cpp",
322 "core/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-V_4.cpp",
323 "core/fpdfapi/fpdf_cmaps/Japan1/V_1.cpp",
324 "core/fpdfapi/fpdf_cmaps/Japan1/cmaps_japan1.cpp",
325 "core/fpdfapi/fpdf_cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp",
326 "core/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-H_0.cpp",
327 "core/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-V_0.cpp",
328 "core/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-H_1.cpp",
329 "core/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-V_1.cpp",
330 "core/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-H_1.cpp",
331 "core/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-V_1.cpp",
332 "core/fpdfapi/fpdf_cmaps/Korea1/KSCpc-EUC-H_0.cpp",
333 "core/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-H_1.cpp",
334 "core/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-V_1.cpp",
335 "core/fpdfapi/fpdf_cmaps/Korea1/UniKS-UTF16-H_0.cpp",
336 "core/fpdfapi/fpdf_cmaps/Korea1/cmaps_korea1.cpp",
337 "core/fpdfapi/fpdf_cmaps/cmap_int.h",
338 "core/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp",
Dan Sinclair455a4192016-03-16 09:48:56 -0400339 "core/fpdfapi/fpdf_edit/cpdf_pagecontentgenerator.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400340 "core/fpdfapi/fpdf_edit/editint.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400341 "core/fpdfapi/fpdf_edit/fpdf_edit_create.cpp",
Dan Sinclairaa403d32016-03-15 14:57:22 -0400342 "core/fpdfapi/fpdf_edit/include/cpdf_creator.h",
Dan Sinclair455a4192016-03-16 09:48:56 -0400343 "core/fpdfapi/fpdf_edit/include/cpdf_pagecontentgenerator.h",
dan sinclair61b2fc72016-03-23 19:21:44 -0400344 "core/fpdfapi/fpdf_font/cpdf_cidfont.cpp",
345 "core/fpdfapi/fpdf_font/cpdf_cidfont.h",
346 "core/fpdfapi/fpdf_font/cpdf_font.cpp",
347 "core/fpdfapi/fpdf_font/cpdf_fontencoding.cpp",
348 "core/fpdfapi/fpdf_font/cpdf_simplefont.cpp",
349 "core/fpdfapi/fpdf_font/cpdf_simplefont.h",
350 "core/fpdfapi/fpdf_font/cpdf_truetypefont.cpp",
351 "core/fpdfapi/fpdf_font/cpdf_truetypefont.h",
352 "core/fpdfapi/fpdf_font/cpdf_type1font.cpp",
353 "core/fpdfapi/fpdf_font/cpdf_type1font.h",
354 "core/fpdfapi/fpdf_font/cpdf_type3char.cpp",
355 "core/fpdfapi/fpdf_font/cpdf_type3char.h",
356 "core/fpdfapi/fpdf_font/cpdf_type3font.cpp",
357 "core/fpdfapi/fpdf_font/cpdf_type3font.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400358 "core/fpdfapi/fpdf_font/font_int.h",
359 "core/fpdfapi/fpdf_font/fpdf_font.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400360 "core/fpdfapi/fpdf_font/fpdf_font_cid.cpp",
dan sinclair61b2fc72016-03-23 19:21:44 -0400361 "core/fpdfapi/fpdf_font/include/cpdf_font.h",
362 "core/fpdfapi/fpdf_font/include/cpdf_fontencoding.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400363 "core/fpdfapi/fpdf_font/ttgsubtable.cpp",
364 "core/fpdfapi/fpdf_font/ttgsubtable.h",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400365 "core/fpdfapi/fpdf_page/cpdf_allstates.cpp",
366 "core/fpdfapi/fpdf_page/cpdf_allstates.h",
367 "core/fpdfapi/fpdf_page/cpdf_clippath.cpp",
368 "core/fpdfapi/fpdf_page/cpdf_clippathdata.cpp",
369 "core/fpdfapi/fpdf_page/cpdf_clippathdata.h",
dan sinclair61b2fc72016-03-23 19:21:44 -0400370 "core/fpdfapi/fpdf_page/cpdf_color.cpp",
371 "core/fpdfapi/fpdf_page/cpdf_colorspace.cpp",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400372 "core/fpdfapi/fpdf_page/cpdf_colorstate.cpp",
373 "core/fpdfapi/fpdf_page/cpdf_colorstate.h",
374 "core/fpdfapi/fpdf_page/cpdf_colorstatedata.cpp",
375 "core/fpdfapi/fpdf_page/cpdf_colorstatedata.h",
376 "core/fpdfapi/fpdf_page/cpdf_contentmark.cpp",
377 "core/fpdfapi/fpdf_page/cpdf_contentmark.h",
378 "core/fpdfapi/fpdf_page/cpdf_contentmarkdata.cpp",
379 "core/fpdfapi/fpdf_page/cpdf_contentmarkdata.h",
380 "core/fpdfapi/fpdf_page/cpdf_contentmarkitem.cpp",
381 "core/fpdfapi/fpdf_page/cpdf_contentmarkitem.h",
dan sinclair61b2fc72016-03-23 19:21:44 -0400382 "core/fpdfapi/fpdf_page/cpdf_countedobject.h",
Dan Sinclair455a4192016-03-16 09:48:56 -0400383 "core/fpdfapi/fpdf_page/cpdf_form.cpp",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400384 "core/fpdfapi/fpdf_page/cpdf_formobject.cpp",
385 "core/fpdfapi/fpdf_page/cpdf_generalstate.cpp",
386 "core/fpdfapi/fpdf_page/cpdf_generalstatedata.cpp",
387 "core/fpdfapi/fpdf_page/cpdf_graphicstates.cpp",
388 "core/fpdfapi/fpdf_page/cpdf_graphicstates.h",
389 "core/fpdfapi/fpdf_page/cpdf_graphstate.h",
dan sinclair61b2fc72016-03-23 19:21:44 -0400390 "core/fpdfapi/fpdf_page/cpdf_image.cpp",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400391 "core/fpdfapi/fpdf_page/cpdf_imageobject.cpp",
dan sinclair61b2fc72016-03-23 19:21:44 -0400392 "core/fpdfapi/fpdf_page/cpdf_meshstream.cpp",
393 "core/fpdfapi/fpdf_page/cpdf_meshstream.h",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400394 "core/fpdfapi/fpdf_page/cpdf_page.cpp",
dsinclaird647a6b2016-04-26 13:13:20 -0700395 "core/fpdfapi/fpdf_page/cpdf_pagemodule.cpp",
396 "core/fpdfapi/fpdf_page/cpdf_pagemodule.h",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400397 "core/fpdfapi/fpdf_page/cpdf_pageobject.cpp",
Dan Sinclair455a4192016-03-16 09:48:56 -0400398 "core/fpdfapi/fpdf_page/cpdf_pageobjectholder.cpp",
399 "core/fpdfapi/fpdf_page/cpdf_pageobjectlist.cpp",
400 "core/fpdfapi/fpdf_page/cpdf_pageobjectlist.h",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400401 "core/fpdfapi/fpdf_page/cpdf_pathobject.cpp",
dan sinclair61b2fc72016-03-23 19:21:44 -0400402 "core/fpdfapi/fpdf_page/cpdf_pattern.cpp",
403 "core/fpdfapi/fpdf_page/cpdf_pattern.h",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400404 "core/fpdfapi/fpdf_page/cpdf_shadingobject.cpp",
dan sinclair61b2fc72016-03-23 19:21:44 -0400405 "core/fpdfapi/fpdf_page/cpdf_shadingpattern.cpp",
406 "core/fpdfapi/fpdf_page/cpdf_shadingpattern.h",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400407 "core/fpdfapi/fpdf_page/cpdf_textobject.cpp",
408 "core/fpdfapi/fpdf_page/cpdf_textstate.cpp",
409 "core/fpdfapi/fpdf_page/cpdf_textstate.h",
410 "core/fpdfapi/fpdf_page/cpdf_textstatedata.cpp",
dan sinclair61b2fc72016-03-23 19:21:44 -0400411 "core/fpdfapi/fpdf_page/cpdf_tilingpattern.cpp",
412 "core/fpdfapi/fpdf_page/cpdf_tilingpattern.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400413 "core/fpdfapi/fpdf_page/fpdf_page_colors.cpp",
414 "core/fpdfapi/fpdf_page/fpdf_page_doc.cpp",
415 "core/fpdfapi/fpdf_page/fpdf_page_func.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400416 "core/fpdfapi/fpdf_page/fpdf_page_parser.cpp",
417 "core/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400418 "core/fpdfapi/fpdf_page/include/cpdf_clippath.h",
dan sinclair61b2fc72016-03-23 19:21:44 -0400419 "core/fpdfapi/fpdf_page/include/cpdf_color.h",
420 "core/fpdfapi/fpdf_page/include/cpdf_colorspace.h",
Dan Sinclair455a4192016-03-16 09:48:56 -0400421 "core/fpdfapi/fpdf_page/include/cpdf_form.h",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400422 "core/fpdfapi/fpdf_page/include/cpdf_formobject.h",
423 "core/fpdfapi/fpdf_page/include/cpdf_generalstate.h",
424 "core/fpdfapi/fpdf_page/include/cpdf_generalstatedata.h",
dan sinclair61b2fc72016-03-23 19:21:44 -0400425 "core/fpdfapi/fpdf_page/include/cpdf_image.h",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400426 "core/fpdfapi/fpdf_page/include/cpdf_imageobject.h",
Dan Sinclair455a4192016-03-16 09:48:56 -0400427 "core/fpdfapi/fpdf_page/include/cpdf_page.h",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400428 "core/fpdfapi/fpdf_page/include/cpdf_pageobject.h",
Dan Sinclair455a4192016-03-16 09:48:56 -0400429 "core/fpdfapi/fpdf_page/include/cpdf_pageobjectholder.h",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400430 "core/fpdfapi/fpdf_page/include/cpdf_path.h",
431 "core/fpdfapi/fpdf_page/include/cpdf_pathobject.h",
432 "core/fpdfapi/fpdf_page/include/cpdf_shadingobject.h",
433 "core/fpdfapi/fpdf_page/include/cpdf_textobject.h",
434 "core/fpdfapi/fpdf_page/include/cpdf_textstatedata.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400435 "core/fpdfapi/fpdf_page/pageint.h",
436 "core/fpdfapi/fpdf_parser/cfdf_document.cpp",
437 "core/fpdfapi/fpdf_parser/cpdf_array.cpp",
438 "core/fpdfapi/fpdf_parser/cpdf_boolean.cpp",
Dan Sinclairaa403d32016-03-15 14:57:22 -0400439 "core/fpdfapi/fpdf_parser/cpdf_boolean.h",
dsinclair2fa0e132016-04-19 10:32:45 -0700440 "core/fpdfapi/fpdf_parser/cpdf_crypto_handler.cpp",
441 "core/fpdfapi/fpdf_parser/cpdf_crypto_handler.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400442 "core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400443 "core/fpdfapi/fpdf_parser/cpdf_dictionary.cpp",
444 "core/fpdfapi/fpdf_parser/cpdf_document.cpp",
445 "core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp",
446 "core/fpdfapi/fpdf_parser/cpdf_hint_tables.h",
447 "core/fpdfapi/fpdf_parser/cpdf_indirect_object_holder.cpp",
448 "core/fpdfapi/fpdf_parser/cpdf_name.cpp",
449 "core/fpdfapi/fpdf_parser/cpdf_null.cpp",
Dan Sinclairaa403d32016-03-15 14:57:22 -0400450 "core/fpdfapi/fpdf_parser/cpdf_null.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400451 "core/fpdfapi/fpdf_parser/cpdf_number.cpp",
452 "core/fpdfapi/fpdf_parser/cpdf_object.cpp",
453 "core/fpdfapi/fpdf_parser/cpdf_parser.cpp",
454 "core/fpdfapi/fpdf_parser/cpdf_reference.cpp",
dsinclair2fa0e132016-04-19 10:32:45 -0700455 "core/fpdfapi/fpdf_parser/cpdf_security_handler.cpp",
456 "core/fpdfapi/fpdf_parser/cpdf_security_handler.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400457 "core/fpdfapi/fpdf_parser/cpdf_simple_parser.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400458 "core/fpdfapi/fpdf_parser/cpdf_stream.cpp",
Tom Sepez92bbb6f2016-03-15 09:33:58 -0700459 "core/fpdfapi/fpdf_parser/cpdf_stream_acc.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400460 "core/fpdfapi/fpdf_parser/cpdf_string.cpp",
461 "core/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp",
462 "core/fpdfapi/fpdf_parser/cpdf_syntax_parser.h",
463 "core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp",
464 "core/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp",
465 "core/fpdfapi/fpdf_parser/fpdf_parser_utility.h",
Dan Sinclairaa403d32016-03-15 14:57:22 -0400466 "core/fpdfapi/fpdf_parser/include/cfdf_document.h",
467 "core/fpdfapi/fpdf_parser/include/cpdf_array.h",
thestig979070b2016-06-14 10:44:01 -0700468 "core/fpdfapi/fpdf_parser/include/cpdf_data_avail.h",
Dan Sinclairaa403d32016-03-15 14:57:22 -0400469 "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h",
470 "core/fpdfapi/fpdf_parser/include/cpdf_document.h",
471 "core/fpdfapi/fpdf_parser/include/cpdf_indirect_object_holder.h",
472 "core/fpdfapi/fpdf_parser/include/cpdf_name.h",
473 "core/fpdfapi/fpdf_parser/include/cpdf_number.h",
474 "core/fpdfapi/fpdf_parser/include/cpdf_object.h",
475 "core/fpdfapi/fpdf_parser/include/cpdf_parser.h",
476 "core/fpdfapi/fpdf_parser/include/cpdf_reference.h",
477 "core/fpdfapi/fpdf_parser/include/cpdf_simple_parser.h",
478 "core/fpdfapi/fpdf_parser/include/cpdf_stream.h",
479 "core/fpdfapi/fpdf_parser/include/cpdf_stream_acc.h",
480 "core/fpdfapi/fpdf_parser/include/cpdf_string.h",
481 "core/fpdfapi/fpdf_parser/include/fpdf_parser_decode.h",
Dan Sinclairaa403d32016-03-15 14:57:22 -0400482 "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400483 "core/fpdfapi/fpdf_render/fpdf_render.cpp",
484 "core/fpdfapi/fpdf_render/fpdf_render_cache.cpp",
485 "core/fpdfapi/fpdf_render/fpdf_render_image.cpp",
486 "core/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp",
487 "core/fpdfapi/fpdf_render/fpdf_render_pattern.cpp",
488 "core/fpdfapi/fpdf_render/fpdf_render_text.cpp",
Dan Sinclairaa403d32016-03-15 14:57:22 -0400489 "core/fpdfapi/fpdf_render/include/cpdf_progressiverenderer.h",
490 "core/fpdfapi/fpdf_render/include/cpdf_rendercontext.h",
491 "core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h",
492 "core/fpdfapi/fpdf_render/include/cpdf_textrenderer.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400493 "core/fpdfapi/fpdf_render/render_int.h",
Dan Sinclairaa403d32016-03-15 14:57:22 -0400494 "core/fpdfapi/include/cpdf_modulemgr.h",
weili9f515bc2016-07-24 08:08:24 -0700495 "core/fpdfapi/include/cpdf_pagerendercontext.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700496 ]
weili0abe6522016-06-06 14:41:22 -0700497 configs += [ ":pdfium_core_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700498}
499
500static_library("fpdftext") {
501 sources = [
Dan Sinclair764ec512016-03-14 13:35:12 -0400502 "core/fpdftext/fpdf_text_int.cpp",
dsinclaira28ae382016-04-19 10:39:24 -0700503 "core/fpdftext/include/cpdf_linkextract.h",
504 "core/fpdftext/include/cpdf_textpage.h",
505 "core/fpdftext/include/cpdf_textpagefind.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400506 "core/fpdftext/text_int.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400507 "core/fpdftext/unicodenormalizationdata.cpp",
508 "core/fpdftext/unicodenormalizationdata.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700509 ]
weili0abe6522016-06-06 14:41:22 -0700510 configs += [ ":pdfium_core_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700511}
512
513static_library("fxcodec") {
Tom Sepez8be55752015-06-17 11:05:02 -0700514 deps = [
515 "third_party:fx_lcms2",
Tom Sepez6fd997b2015-06-18 17:51:37 -0700516 "third_party:fx_libopenjpeg",
Tom Sepez6f93de52015-06-19 12:57:10 -0700517 "third_party:fx_zlib",
Lei Zhang8241df72015-11-06 14:38:48 -0800518
519 # This is a generic JPEG library dependency.
520 "//third_party:jpeg",
Tom Sepez8be55752015-06-17 11:05:02 -0700521 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700522 sources = [
dsinclaird55e11e2016-04-12 11:21:22 -0700523 "core/fxcodec/codec/ccodec_basicmodule.h",
524 "core/fxcodec/codec/ccodec_faxmodule.h",
525 "core/fxcodec/codec/ccodec_flatemodule.h",
526 "core/fxcodec/codec/ccodec_iccmodule.h",
527 "core/fxcodec/codec/ccodec_jbig2module.h",
528 "core/fxcodec/codec/ccodec_jpegmodule.h",
529 "core/fxcodec/codec/ccodec_jpxmodule.h",
530 "core/fxcodec/codec/ccodec_scanlinedecoder.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400531 "core/fxcodec/codec/codec_int.h",
532 "core/fxcodec/codec/fx_codec.cpp",
533 "core/fxcodec/codec/fx_codec_fax.cpp",
534 "core/fxcodec/codec/fx_codec_flate.cpp",
535 "core/fxcodec/codec/fx_codec_icc.cpp",
536 "core/fxcodec/codec/fx_codec_jbig.cpp",
537 "core/fxcodec/codec/fx_codec_jpeg.cpp",
538 "core/fxcodec/codec/fx_codec_jpx_opj.cpp",
weili0024a222016-07-24 08:26:49 -0700539 "core/fxcodec/include/JBig2_DocumentContext.h",
dsinclair86e54742016-04-06 12:30:31 -0700540 "core/fxcodec/include/fx_codec.h",
541 "core/fxcodec/include/fx_codec_def.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400542 "core/fxcodec/jbig2/JBig2_ArithDecoder.cpp",
543 "core/fxcodec/jbig2/JBig2_ArithDecoder.h",
544 "core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp",
545 "core/fxcodec/jbig2/JBig2_ArithIntDecoder.h",
546 "core/fxcodec/jbig2/JBig2_BitStream.cpp",
547 "core/fxcodec/jbig2/JBig2_BitStream.h",
548 "core/fxcodec/jbig2/JBig2_Context.cpp",
549 "core/fxcodec/jbig2/JBig2_Context.h",
550 "core/fxcodec/jbig2/JBig2_Define.h",
551 "core/fxcodec/jbig2/JBig2_GrdProc.cpp",
552 "core/fxcodec/jbig2/JBig2_GrdProc.h",
553 "core/fxcodec/jbig2/JBig2_GrrdProc.cpp",
554 "core/fxcodec/jbig2/JBig2_GrrdProc.h",
555 "core/fxcodec/jbig2/JBig2_GsidProc.cpp",
556 "core/fxcodec/jbig2/JBig2_GsidProc.h",
557 "core/fxcodec/jbig2/JBig2_HtrdProc.cpp",
558 "core/fxcodec/jbig2/JBig2_HtrdProc.h",
559 "core/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp",
560 "core/fxcodec/jbig2/JBig2_HuffmanDecoder.h",
561 "core/fxcodec/jbig2/JBig2_HuffmanTable.cpp",
562 "core/fxcodec/jbig2/JBig2_HuffmanTable.h",
Tom Sepez4161c5c2016-03-21 12:26:54 -0700563 "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400564 "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h",
565 "core/fxcodec/jbig2/JBig2_Image.cpp",
566 "core/fxcodec/jbig2/JBig2_Image.h",
567 "core/fxcodec/jbig2/JBig2_List.h",
568 "core/fxcodec/jbig2/JBig2_Page.h",
569 "core/fxcodec/jbig2/JBig2_PatternDict.cpp",
570 "core/fxcodec/jbig2/JBig2_PatternDict.h",
571 "core/fxcodec/jbig2/JBig2_PddProc.cpp",
572 "core/fxcodec/jbig2/JBig2_PddProc.h",
573 "core/fxcodec/jbig2/JBig2_SddProc.cpp",
574 "core/fxcodec/jbig2/JBig2_SddProc.h",
575 "core/fxcodec/jbig2/JBig2_Segment.cpp",
576 "core/fxcodec/jbig2/JBig2_Segment.h",
577 "core/fxcodec/jbig2/JBig2_SymbolDict.cpp",
578 "core/fxcodec/jbig2/JBig2_SymbolDict.h",
579 "core/fxcodec/jbig2/JBig2_TrdProc.cpp",
580 "core/fxcodec/jbig2/JBig2_TrdProc.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700581 ]
Lei Zhang8241df72015-11-06 14:38:48 -0800582 include_dirs = []
Tom Sepezd2e023b2015-12-08 14:36:16 -0800583 if (pdf_enable_xfa) {
584 sources += [
dsinclaird55e11e2016-04-12 11:21:22 -0700585 "core/fxcodec/codec/ccodec_bmpmodule.h",
586 "core/fxcodec/codec/ccodec_gifmodule.h",
587 "core/fxcodec/codec/ccodec_pngmodule.h",
588 "core/fxcodec/codec/ccodec_tiffmodule.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400589 "core/fxcodec/codec/fx_codec_bmp.cpp",
590 "core/fxcodec/codec/fx_codec_gif.cpp",
591 "core/fxcodec/codec/fx_codec_png.cpp",
592 "core/fxcodec/codec/fx_codec_progress.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400593 "core/fxcodec/codec/fx_codec_tiff.cpp",
dsinclaird55e11e2016-04-12 11:21:22 -0700594 "core/fxcodec/codec/include/ccodec_progressivedecoder.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400595 "core/fxcodec/lbmp/fx_bmp.cpp",
596 "core/fxcodec/lbmp/fx_bmp.h",
597 "core/fxcodec/lgif/fx_gif.cpp",
598 "core/fxcodec/lgif/fx_gif.h",
Tom Sepezd2e023b2015-12-08 14:36:16 -0800599 ]
600 deps += [
601 "third_party:fx_lpng",
602 "third_party:fx_tiff",
603 ]
604 }
John Abd-El-Malekdef5c7d2014-06-09 16:07:18 -0700605 if (is_posix) {
Dan Sinclair764ec512016-03-14 13:35:12 -0400606 # core/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int
John Abd-El-Malekdef5c7d2014-06-09 16:07:18 -0700607 # conversion to check that an address is 16-bit aligned (benign).
608 cflags_c = [ "-Wno-pointer-to-int-cast" ]
609 }
weili0abe6522016-06-06 14:41:22 -0700610 configs += [ ":pdfium_core_config" ]
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400611}
612
613config("fxge_warnings") {
614 if (is_clang) {
615 cflags = [
616 # http://code.google.com/p/pdfium/issues/detail?id=188
617 "-Wno-switch",
618 ]
619 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700620}
621
622static_library("fxcrt") {
623 sources = [
tsepezf7036ba2016-05-13 15:02:43 -0700624 "core/fxcrt/cfx_string_c_template.h",
tsepez6fb598b2016-04-05 12:40:47 -0700625 "core/fxcrt/cfx_string_data_template.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400626 "core/fxcrt/extension.h",
627 "core/fxcrt/fx_basic_array.cpp",
628 "core/fxcrt/fx_basic_bstring.cpp",
629 "core/fxcrt/fx_basic_buffer.cpp",
630 "core/fxcrt/fx_basic_coords.cpp",
631 "core/fxcrt/fx_basic_gcc.cpp",
632 "core/fxcrt/fx_basic_list.cpp",
633 "core/fxcrt/fx_basic_memmgr.cpp",
634 "core/fxcrt/fx_basic_plex.cpp",
635 "core/fxcrt/fx_basic_utf.cpp",
636 "core/fxcrt/fx_basic_util.cpp",
637 "core/fxcrt/fx_basic_wstring.cpp",
638 "core/fxcrt/fx_bidi.cpp",
Dan Sinclaira8a28e02016-03-23 15:41:39 -0400639 "core/fxcrt/fx_bidi.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400640 "core/fxcrt/fx_extension.cpp",
641 "core/fxcrt/fx_ucddata.cpp",
642 "core/fxcrt/fx_unicode.cpp",
643 "core/fxcrt/fx_xml_composer.cpp",
644 "core/fxcrt/fx_xml_parser.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400645 "core/fxcrt/fxcrt_posix.cpp",
646 "core/fxcrt/fxcrt_posix.h",
647 "core/fxcrt/fxcrt_stream.cpp",
648 "core/fxcrt/fxcrt_windows.cpp",
649 "core/fxcrt/fxcrt_windows.h",
tsepez602aebc2016-03-29 15:04:21 -0700650 "core/fxcrt/include/cfx_retain_ptr.h",
Dan Sinclaira8a28e02016-03-23 15:41:39 -0400651 "core/fxcrt/include/fx_basic.h",
652 "core/fxcrt/include/fx_coordinates.h",
653 "core/fxcrt/include/fx_ext.h",
654 "core/fxcrt/include/fx_memory.h",
655 "core/fxcrt/include/fx_safe_types.h",
656 "core/fxcrt/include/fx_stream.h",
657 "core/fxcrt/include/fx_string.h",
658 "core/fxcrt/include/fx_system.h",
659 "core/fxcrt/include/fx_ucd.h",
660 "core/fxcrt/include/fx_xml.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400661 "core/fxcrt/plex.h",
662 "core/fxcrt/xml_int.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700663 ]
Tom Sepezd2e023b2015-12-08 14:36:16 -0800664 if (pdf_enable_xfa) {
665 sources += [
pcce3bbfa22016-04-19 12:40:07 -0700666 "core/fxcrt/fx_arabic.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400667 "core/fxcrt/fx_arabic.h",
668 "core/fxcrt/fx_basic_maps.cpp",
Dan Sinclaira8a28e02016-03-23 15:41:39 -0400669 "core/fxcrt/include/fx_arb.h",
Tom Sepezd2e023b2015-12-08 14:36:16 -0800670 ]
671 }
weili0abe6522016-06-06 14:41:22 -0700672 configs += [ ":pdfium_core_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700673}
674
675static_library("fxge") {
676 sources = [
Dan Sinclair764ec512016-03-14 13:35:12 -0400677 "core/fxge/android/fpf_skiafont.cpp",
678 "core/fxge/android/fpf_skiafont.h",
679 "core/fxge/android/fpf_skiafontmgr.cpp",
680 "core/fxge/android/fpf_skiafontmgr.h",
681 "core/fxge/android/fpf_skiamodule.cpp",
682 "core/fxge/android/fpf_skiamodule.h",
683 "core/fxge/android/fx_android_font.cpp",
684 "core/fxge/android/fx_android_font.h",
685 "core/fxge/android/fx_android_imp.cpp",
686 "core/fxge/apple/apple_int.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400687 "core/fxge/apple/fx_mac_imp.cpp",
688 "core/fxge/apple/fx_quartz_device.cpp",
689 "core/fxge/dib/dib_int.h",
690 "core/fxge/dib/fx_dib_composite.cpp",
691 "core/fxge/dib/fx_dib_convert.cpp",
692 "core/fxge/dib/fx_dib_engine.cpp",
693 "core/fxge/dib/fx_dib_main.cpp",
694 "core/fxge/dib/fx_dib_transform.cpp",
695 "core/fxge/fontdata/chromefontdata/FoxitDingbats.cpp",
696 "core/fxge/fontdata/chromefontdata/FoxitFixed.cpp",
697 "core/fxge/fontdata/chromefontdata/FoxitFixedBold.cpp",
698 "core/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.cpp",
699 "core/fxge/fontdata/chromefontdata/FoxitFixedItalic.cpp",
700 "core/fxge/fontdata/chromefontdata/FoxitSans.cpp",
701 "core/fxge/fontdata/chromefontdata/FoxitSansBold.cpp",
702 "core/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.cpp",
703 "core/fxge/fontdata/chromefontdata/FoxitSansItalic.cpp",
704 "core/fxge/fontdata/chromefontdata/FoxitSansMM.cpp",
705 "core/fxge/fontdata/chromefontdata/FoxitSerif.cpp",
706 "core/fxge/fontdata/chromefontdata/FoxitSerifBold.cpp",
707 "core/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.cpp",
708 "core/fxge/fontdata/chromefontdata/FoxitSerifItalic.cpp",
709 "core/fxge/fontdata/chromefontdata/FoxitSerifMM.cpp",
710 "core/fxge/fontdata/chromefontdata/FoxitSymbol.cpp",
711 "core/fxge/fontdata/chromefontdata/chromefontdata.h",
712 "core/fxge/freetype/fx_freetype.cpp",
npmf73893a2016-07-27 13:54:25 -0700713 "core/fxge/ge/cfx_folderfontinfo.cpp",
714 "core/fxge/ge/cfx_folderfontinfo.h",
715 "core/fxge/ge/cfx_fontmapper.cpp",
716 "core/fxge/ge/cfx_fontmgr.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400717 "core/fxge/ge/fx_ge.cpp",
718 "core/fxge/ge/fx_ge_device.cpp",
719 "core/fxge/ge/fx_ge_font.cpp",
720 "core/fxge/ge/fx_ge_fontmap.cpp",
721 "core/fxge/ge/fx_ge_linux.cpp",
722 "core/fxge/ge/fx_ge_path.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400723 "core/fxge/ge/fx_ge_text.cpp",
724 "core/fxge/ge/fx_text_int.h",
npmf73893a2016-07-27 13:54:25 -0700725 "core/fxge/ge/include/cfx_fontmapper.h",
726 "core/fxge/ge/include/cfx_fontmgr.h",
727 "core/fxge/ge/include/ifx_systemfontinfo.h",
weili095d3462016-06-21 11:24:24 -0700728 "core/fxge/ifx_renderdevicedriver.cpp",
dsinclair48baa5f2016-04-06 10:00:40 -0700729 "core/fxge/include/fx_dib.h",
730 "core/fxge/include/fx_font.h",
731 "core/fxge/include/fx_freetype.h",
732 "core/fxge/include/fx_ge.h",
733 "core/fxge/include/fx_ge_apple.h",
734 "core/fxge/include/fx_ge_win32.h",
weili095d3462016-06-21 11:24:24 -0700735 "core/fxge/include/ifx_renderdevicedriver.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700736 ]
737
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400738 configs += [
Lei Zhang7b16ba52015-10-26 17:06:53 -0700739 ":fxge_warnings",
weili0abe6522016-06-06 14:41:22 -0700740 ":pdfium_core_config",
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400741 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700742
743 if (pdf_use_skia) {
Cary Clark59b3a482016-03-17 12:00:39 -0400744 sources += [ "core/fxge/skia/fx_skia_device.cpp" ]
caryclark749c14c2016-05-19 07:01:03 -0700745 deps = [
746 "//skia",
747 ]
748 } else {
749 sources += [
750 "core/fxge/agg/fx_agg_driver.cpp",
751 "core/fxge/agg/fx_agg_driver.h",
caryclark8b301622016-07-21 06:12:33 -0700752 "core/fxge/apple/fx_apple_platform.cpp",
caryclark749c14c2016-05-19 07:01:03 -0700753 ]
754 deps = [
755 "third_party:fx_agg",
756 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700757 }
758
759 if (is_win) {
760 sources += [
Dan Sinclair764ec512016-03-14 13:35:12 -0400761 "core/fxge/win32/dwrite_int.h",
762 "core/fxge/win32/fx_win32_device.cpp",
763 "core/fxge/win32/fx_win32_dib.cpp",
764 "core/fxge/win32/fx_win32_dwrite.cpp",
765 "core/fxge/win32/fx_win32_gdipext.cpp",
766 "core/fxge/win32/fx_win32_print.cpp",
767 "core/fxge/win32/win32_int.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700768 ]
Tom Sepez465ed872015-12-09 14:55:41 -0800769 configs -= [ "//build/config/win:lean_and_mean" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700770 }
771}
772
773static_library("fxedit") {
774 sources = [
Dan Sinclairf766ad22016-03-14 13:51:24 -0400775 "fpdfsdk/fxedit/fxet_ap.cpp",
776 "fpdfsdk/fxedit/fxet_edit.cpp",
777 "fpdfsdk/fxedit/fxet_list.cpp",
dsinclair89bdd082016-04-06 10:47:54 -0700778 "fpdfsdk/fxedit/include/fx_edit.h",
779 "fpdfsdk/fxedit/include/fxet_edit.h",
780 "fpdfsdk/fxedit/include/fxet_list.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700781 ]
weili0abe6522016-06-06 14:41:22 -0700782 configs += [ ":pdfium_core_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700783}
784
785static_library("pdfwindow") {
786 sources = [
Dan Sinclairf766ad22016-03-14 13:51:24 -0400787 "fpdfsdk/pdfwindow/PWL_Button.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400788 "fpdfsdk/pdfwindow/PWL_Button.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400789 "fpdfsdk/pdfwindow/PWL_Caret.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400790 "fpdfsdk/pdfwindow/PWL_Caret.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400791 "fpdfsdk/pdfwindow/PWL_ComboBox.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400792 "fpdfsdk/pdfwindow/PWL_ComboBox.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400793 "fpdfsdk/pdfwindow/PWL_Edit.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400794 "fpdfsdk/pdfwindow/PWL_Edit.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400795 "fpdfsdk/pdfwindow/PWL_EditCtrl.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400796 "fpdfsdk/pdfwindow/PWL_EditCtrl.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400797 "fpdfsdk/pdfwindow/PWL_FontMap.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400798 "fpdfsdk/pdfwindow/PWL_FontMap.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400799 "fpdfsdk/pdfwindow/PWL_Icon.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400800 "fpdfsdk/pdfwindow/PWL_Icon.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400801 "fpdfsdk/pdfwindow/PWL_ListBox.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400802 "fpdfsdk/pdfwindow/PWL_ListBox.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400803 "fpdfsdk/pdfwindow/PWL_ScrollBar.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400804 "fpdfsdk/pdfwindow/PWL_ScrollBar.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400805 "fpdfsdk/pdfwindow/PWL_SpecialButton.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400806 "fpdfsdk/pdfwindow/PWL_SpecialButton.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400807 "fpdfsdk/pdfwindow/PWL_Utils.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400808 "fpdfsdk/pdfwindow/PWL_Utils.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400809 "fpdfsdk/pdfwindow/PWL_Wnd.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400810 "fpdfsdk/pdfwindow/PWL_Wnd.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700811 ]
weili0abe6522016-06-06 14:41:22 -0700812 configs += [ ":pdfium_core_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700813}
814
815static_library("javascript") {
816 sources = [
dsinclair64376be2016-03-31 20:03:24 -0700817 "fpdfsdk/javascript/ijs_context.h",
818 "fpdfsdk/javascript/ijs_runtime.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700819 ]
Tom Sepez452b4f32015-10-13 09:27:27 -0700820 if (pdf_enable_v8) {
821 sources += [
Dan Sinclairf766ad22016-03-14 13:51:24 -0400822 "fpdfsdk/javascript/Consts.cpp",
823 "fpdfsdk/javascript/Consts.h",
824 "fpdfsdk/javascript/Document.cpp",
825 "fpdfsdk/javascript/Document.h",
826 "fpdfsdk/javascript/Field.cpp",
827 "fpdfsdk/javascript/Field.h",
828 "fpdfsdk/javascript/Icon.cpp",
829 "fpdfsdk/javascript/Icon.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400830 "fpdfsdk/javascript/JS_Define.h",
831 "fpdfsdk/javascript/JS_EventHandler.cpp",
832 "fpdfsdk/javascript/JS_EventHandler.h",
833 "fpdfsdk/javascript/JS_GlobalData.cpp",
834 "fpdfsdk/javascript/JS_GlobalData.h",
weili47228ac2016-07-20 10:35:31 -0700835 "fpdfsdk/javascript/JS_KeyValue.cpp",
836 "fpdfsdk/javascript/JS_KeyValue.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400837 "fpdfsdk/javascript/JS_Object.cpp",
838 "fpdfsdk/javascript/JS_Object.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400839 "fpdfsdk/javascript/JS_Value.cpp",
840 "fpdfsdk/javascript/JS_Value.h",
841 "fpdfsdk/javascript/PublicMethods.cpp",
842 "fpdfsdk/javascript/PublicMethods.h",
843 "fpdfsdk/javascript/app.cpp",
844 "fpdfsdk/javascript/app.h",
dsinclair64376be2016-03-31 20:03:24 -0700845 "fpdfsdk/javascript/cjs_context.cpp",
846 "fpdfsdk/javascript/cjs_context.h",
847 "fpdfsdk/javascript/cjs_runtime.cpp",
848 "fpdfsdk/javascript/cjs_runtime.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400849 "fpdfsdk/javascript/color.cpp",
850 "fpdfsdk/javascript/color.h",
851 "fpdfsdk/javascript/console.cpp",
852 "fpdfsdk/javascript/console.h",
853 "fpdfsdk/javascript/event.cpp",
854 "fpdfsdk/javascript/event.h",
855 "fpdfsdk/javascript/global.cpp",
856 "fpdfsdk/javascript/global.h",
857 "fpdfsdk/javascript/report.cpp",
858 "fpdfsdk/javascript/report.h",
859 "fpdfsdk/javascript/resource.cpp",
860 "fpdfsdk/javascript/resource.h",
861 "fpdfsdk/javascript/util.cpp",
862 "fpdfsdk/javascript/util.h",
Tom Sepez452b4f32015-10-13 09:27:27 -0700863 ]
dsinclairb3f24672016-07-12 10:42:14 -0700864 deps = [
865 ":fxjs",
Tom Sepez452b4f32015-10-13 09:27:27 -0700866 ]
Jochen Eisinger7ed503d2015-12-10 14:38:06 +0100867 configs += [ "//v8:external_startup_data" ]
Tom Sepez452b4f32015-10-13 09:27:27 -0700868 } else {
Dan Sinclairf766ad22016-03-14 13:51:24 -0400869 sources += [ "fpdfsdk/javascript/JS_Runtime_Stub.cpp" ]
Tom Sepez452b4f32015-10-13 09:27:27 -0700870 }
weili0abe6522016-06-06 14:41:22 -0700871 configs += [ ":pdfium_core_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700872}
873
874static_library("formfiller") {
875 sources = [
Dan Sinclairedbb3192016-03-21 09:08:24 -0400876 "fpdfsdk/formfiller/cba_fontmap.cpp",
877 "fpdfsdk/formfiller/cba_fontmap.h",
878 "fpdfsdk/formfiller/cffl_checkbox.cpp",
879 "fpdfsdk/formfiller/cffl_checkbox.h",
880 "fpdfsdk/formfiller/cffl_combobox.cpp",
881 "fpdfsdk/formfiller/cffl_combobox.h",
882 "fpdfsdk/formfiller/cffl_formfiller.cpp",
883 "fpdfsdk/formfiller/cffl_formfiller.h",
884 "fpdfsdk/formfiller/cffl_iformfiller.cpp",
885 "fpdfsdk/formfiller/cffl_iformfiller.h",
886 "fpdfsdk/formfiller/cffl_listbox.cpp",
887 "fpdfsdk/formfiller/cffl_listbox.h",
888 "fpdfsdk/formfiller/cffl_pushbutton.cpp",
889 "fpdfsdk/formfiller/cffl_pushbutton.h",
890 "fpdfsdk/formfiller/cffl_radiobutton.cpp",
891 "fpdfsdk/formfiller/cffl_radiobutton.h",
892 "fpdfsdk/formfiller/cffl_textfield.cpp",
893 "fpdfsdk/formfiller/cffl_textfield.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700894 ]
weili0abe6522016-06-06 14:41:22 -0700895 configs += [ ":pdfium_core_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700896}
Tom Sepezc706fc02014-11-14 13:39:20 -0800897
dsinclairb3f24672016-07-12 10:42:14 -0700898if (pdf_enable_v8) {
dsinclair7f9c8602016-07-12 10:41:43 -0700899 static_library("fxjs") {
900 sources = [
dsinclairb3f24672016-07-12 10:42:14 -0700901 "fxjs/fxjs_v8.cpp",
902 "fxjs/include/fxjs_v8.h",
dsinclair7f9c8602016-07-12 10:41:43 -0700903 ]
dsinclairb3f24672016-07-12 10:42:14 -0700904 if (pdf_enable_xfa) {
905 sources += [
906 "fxjs/cfxjse_arguments.cpp",
907 "fxjs/cfxjse_class.cpp",
908 "fxjs/cfxjse_context.cpp",
909 "fxjs/cfxjse_isolatetracker.cpp",
910 "fxjs/cfxjse_isolatetracker.h",
911 "fxjs/cfxjse_runtimedata.cpp",
912 "fxjs/cfxjse_runtimedata.h",
913 "fxjs/cfxjse_value.cpp",
914 "fxjs/include/cfxjse_arguments.h",
915 "fxjs/include/cfxjse_class.h",
916 "fxjs/include/cfxjse_context.h",
917 "fxjs/include/cfxjse_value.h",
918 "fxjs/include/fxjse.h",
919 ]
920 }
dsinclair7f9c8602016-07-12 10:41:43 -0700921 deps = [
dsinclairb3f24672016-07-12 10:42:14 -0700922 "//v8",
923 "//v8:v8_libplatform",
dsinclair7f9c8602016-07-12 10:41:43 -0700924 ]
925 configs += [ ":pdfium_core_config" ]
926 include_dirs = [
927 "//v8",
928 "//v8/include",
929 ]
930 public_deps = [
931 "//v8",
932 ]
933 }
dsinclairb3f24672016-07-12 10:42:14 -0700934}
dsinclair7f9c8602016-07-12 10:41:43 -0700935
dsinclairb3f24672016-07-12 10:42:14 -0700936if (pdf_enable_xfa) {
Tom Sepezb36747d2015-12-08 15:49:25 -0800937 static_library("fpdfxfa") {
938 sources = [
Dan Sinclairf766ad22016-03-14 13:51:24 -0400939 "fpdfsdk/fpdfxfa/fpdfxfa_app.cpp",
940 "fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp",
941 "fpdfsdk/fpdfxfa/fpdfxfa_page.cpp",
942 "fpdfsdk/fpdfxfa/fpdfxfa_util.cpp",
dsinclair89bdd082016-04-06 10:47:54 -0700943 "fpdfsdk/fpdfxfa/include/fpdfxfa_app.h",
944 "fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h",
945 "fpdfsdk/fpdfxfa/include/fpdfxfa_page.h",
946 "fpdfsdk/fpdfxfa/include/fpdfxfa_util.h",
Tom Sepez452b4f32015-10-13 09:27:27 -0700947 ]
948 deps = [
Tom Sepezb36747d2015-12-08 15:49:25 -0800949 ":xfa",
950 ]
weili0abe6522016-06-06 14:41:22 -0700951 configs += [ ":pdfium_core_config" ]
Tom Sepezb36747d2015-12-08 15:49:25 -0800952 }
953
954 static_library("xfa") {
955 sources = [
dsinclairacd0d592016-04-21 11:06:27 -0700956 "xfa/fde/cfde_path.cpp",
957 "xfa/fde/cfde_path.h",
dsinclair65395182016-05-18 11:09:47 -0700958 "xfa/fde/cfde_txtedtbuf.cpp",
959 "xfa/fde/cfde_txtedtbuf.h",
960 "xfa/fde/cfde_txtedtbufiter.cpp",
961 "xfa/fde/cfde_txtedtbufiter.h",
962 "xfa/fde/cfde_txtedtdorecord_deleterange.cpp",
963 "xfa/fde/cfde_txtedtdorecord_deleterange.h",
964 "xfa/fde/cfde_txtedtdorecord_insert.cpp",
965 "xfa/fde/cfde_txtedtdorecord_insert.h",
966 "xfa/fde/cfde_txtedtengine.cpp",
967 "xfa/fde/cfde_txtedtengine.h",
968 "xfa/fde/cfde_txtedtpage.cpp",
969 "xfa/fde/cfde_txtedtpage.h",
970 "xfa/fde/cfde_txtedtparag.cpp",
971 "xfa/fde/cfde_txtedtparag.h",
972 "xfa/fde/cfde_txtedttextset.cpp",
973 "xfa/fde/cfde_txtedttextset.h",
974 "xfa/fde/cfx_chariter.cpp",
975 "xfa/fde/cfx_chariter.h",
976 "xfa/fde/cfx_wordbreak.cpp",
977 "xfa/fde/cfx_wordbreak.h",
npm69f160d2016-07-20 10:48:27 -0700978 "xfa/fde/css/cfde_cssrulecollection.cpp",
weilieec3a362016-06-18 06:25:37 -0700979 "xfa/fde/css/fde_css.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -0400980 "xfa/fde/css/fde_css.h",
981 "xfa/fde/css/fde_csscache.cpp",
982 "xfa/fde/css/fde_csscache.h",
983 "xfa/fde/css/fde_cssdatatable.cpp",
984 "xfa/fde/css/fde_cssdatatable.h",
985 "xfa/fde/css/fde_cssdeclaration.cpp",
986 "xfa/fde/css/fde_cssdeclaration.h",
987 "xfa/fde/css/fde_cssstyleselector.cpp",
988 "xfa/fde/css/fde_cssstyleselector.h",
989 "xfa/fde/css/fde_cssstylesheet.cpp",
990 "xfa/fde/css/fde_cssstylesheet.h",
991 "xfa/fde/css/fde_csssyntax.cpp",
992 "xfa/fde/css/fde_csssyntax.h",
Dan Sinclair1770c022016-03-14 14:14:16 -0400993 "xfa/fde/fde_gedevice.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -0400994 "xfa/fde/fde_geobject.h",
Dan Sinclair1770c022016-03-14 14:14:16 -0400995 "xfa/fde/fde_iterator.cpp",
996 "xfa/fde/fde_iterator.h",
Dan Sinclair1770c022016-03-14 14:14:16 -0400997 "xfa/fde/fde_object.h",
Dan Sinclair1770c022016-03-14 14:14:16 -0400998 "xfa/fde/fde_render.cpp",
999 "xfa/fde/fde_render.h",
dsinclair65395182016-05-18 11:09:47 -07001000 "xfa/fde/ifde_txtedtdorecord.h",
1001 "xfa/fde/ifde_txtedtengine.h",
1002 "xfa/fde/ifde_txtedtpage.h",
1003 "xfa/fde/ifx_chariter.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001004 "xfa/fde/tto/fde_textout.cpp",
1005 "xfa/fde/tto/fde_textout.h",
dsinclair6c93df82016-05-19 18:13:53 -07001006 "xfa/fde/xml/cfx_saxreader.cpp",
1007 "xfa/fde/xml/cfx_saxreader.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001008 "xfa/fde/xml/fde_xml.h",
1009 "xfa/fde/xml/fde_xml_imp.cpp",
1010 "xfa/fde/xml/fde_xml_imp.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001011 "xfa/fgas/crt/fgas_codepage.cpp",
1012 "xfa/fgas/crt/fgas_codepage.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001013 "xfa/fgas/crt/fgas_language.h",
1014 "xfa/fgas/crt/fgas_memory.cpp",
1015 "xfa/fgas/crt/fgas_memory.h",
1016 "xfa/fgas/crt/fgas_stream.cpp",
1017 "xfa/fgas/crt/fgas_stream.h",
1018 "xfa/fgas/crt/fgas_system.cpp",
1019 "xfa/fgas/crt/fgas_system.h",
1020 "xfa/fgas/crt/fgas_utils.cpp",
1021 "xfa/fgas/crt/fgas_utils.h",
1022 "xfa/fgas/font/fgas_font.h",
1023 "xfa/fgas/font/fgas_fontutils.cpp",
1024 "xfa/fgas/font/fgas_fontutils.h",
1025 "xfa/fgas/font/fgas_gefont.cpp",
1026 "xfa/fgas/font/fgas_gefont.h",
1027 "xfa/fgas/font/fgas_stdfontmgr.cpp",
1028 "xfa/fgas/font/fgas_stdfontmgr.h",
1029 "xfa/fgas/layout/fgas_linebreak.cpp",
1030 "xfa/fgas/layout/fgas_linebreak.h",
1031 "xfa/fgas/layout/fgas_rtfbreak.cpp",
1032 "xfa/fgas/layout/fgas_rtfbreak.h",
1033 "xfa/fgas/layout/fgas_textbreak.cpp",
1034 "xfa/fgas/layout/fgas_textbreak.h",
1035 "xfa/fgas/layout/fgas_unicode.cpp",
1036 "xfa/fgas/layout/fgas_unicode.h",
1037 "xfa/fgas/localization/fgas_datetime.cpp",
1038 "xfa/fgas/localization/fgas_datetime.h",
1039 "xfa/fgas/localization/fgas_locale.cpp",
1040 "xfa/fgas/localization/fgas_locale.h",
1041 "xfa/fgas/localization/fgas_localeimp.h",
dsinclair8320ee22016-06-16 11:01:19 -07001042 "xfa/fwl/basewidget/cfx_barcode.cpp",
1043 "xfa/fwl/basewidget/cfx_barcode.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001044 "xfa/fwl/basewidget/fwl_barcodeimp.cpp",
1045 "xfa/fwl/basewidget/fwl_barcodeimp.h",
1046 "xfa/fwl/basewidget/fwl_caretimp.cpp",
1047 "xfa/fwl/basewidget/fwl_caretimp.h",
1048 "xfa/fwl/basewidget/fwl_checkboximp.cpp",
1049 "xfa/fwl/basewidget/fwl_checkboximp.h",
1050 "xfa/fwl/basewidget/fwl_comboboximp.cpp",
1051 "xfa/fwl/basewidget/fwl_comboboximp.h",
1052 "xfa/fwl/basewidget/fwl_datetimepickerimp.cpp",
1053 "xfa/fwl/basewidget/fwl_datetimepickerimp.h",
1054 "xfa/fwl/basewidget/fwl_editimp.cpp",
1055 "xfa/fwl/basewidget/fwl_editimp.h",
1056 "xfa/fwl/basewidget/fwl_formproxyimp.cpp",
1057 "xfa/fwl/basewidget/fwl_formproxyimp.h",
1058 "xfa/fwl/basewidget/fwl_listboximp.cpp",
1059 "xfa/fwl/basewidget/fwl_listboximp.h",
1060 "xfa/fwl/basewidget/fwl_monthcalendarimp.cpp",
1061 "xfa/fwl/basewidget/fwl_monthcalendarimp.h",
1062 "xfa/fwl/basewidget/fwl_pictureboximp.cpp",
1063 "xfa/fwl/basewidget/fwl_pictureboximp.h",
1064 "xfa/fwl/basewidget/fwl_pushbuttonimp.cpp",
1065 "xfa/fwl/basewidget/fwl_pushbuttonimp.h",
1066 "xfa/fwl/basewidget/fwl_scrollbarimp.cpp",
1067 "xfa/fwl/basewidget/fwl_scrollbarimp.h",
1068 "xfa/fwl/basewidget/fwl_spinbuttonimp.cpp",
1069 "xfa/fwl/basewidget/fwl_spinbuttonimp.h",
1070 "xfa/fwl/basewidget/fwl_tooltipctrlimp.cpp",
1071 "xfa/fwl/basewidget/fwl_tooltipctrlimp.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001072 "xfa/fwl/basewidget/ifwl_barcode.h",
1073 "xfa/fwl/basewidget/ifwl_caret.h",
1074 "xfa/fwl/basewidget/ifwl_checkbox.h",
1075 "xfa/fwl/basewidget/ifwl_combobox.h",
1076 "xfa/fwl/basewidget/ifwl_datetimepicker.h",
1077 "xfa/fwl/basewidget/ifwl_edit.h",
1078 "xfa/fwl/basewidget/ifwl_listbox.h",
1079 "xfa/fwl/basewidget/ifwl_monthcalendar.h",
1080 "xfa/fwl/basewidget/ifwl_picturebox.h",
1081 "xfa/fwl/basewidget/ifwl_pushbutton.h",
1082 "xfa/fwl/basewidget/ifwl_scrollbar.h",
1083 "xfa/fwl/basewidget/ifwl_spinbutton.h",
1084 "xfa/fwl/basewidget/ifwl_tooltip.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001085 "xfa/fwl/core/cfwl_event.h",
1086 "xfa/fwl/core/cfwl_message.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001087 "xfa/fwl/core/cfwl_themebackground.h",
1088 "xfa/fwl/core/cfwl_themepart.h",
1089 "xfa/fwl/core/cfwl_themetext.h",
1090 "xfa/fwl/core/cfwl_widgetimpproperties.h",
tsepez648575a2016-05-25 15:24:31 -07001091 "xfa/fwl/core/cfwl_widgetmgr.cpp",
1092 "xfa/fwl/core/cfwl_widgetmgr.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001093 "xfa/fwl/core/fwl_appimp.cpp",
1094 "xfa/fwl/core/fwl_appimp.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001095 "xfa/fwl/core/fwl_error.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001096 "xfa/fwl/core/fwl_formimp.cpp",
1097 "xfa/fwl/core/fwl_formimp.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001098 "xfa/fwl/core/fwl_noteimp.cpp",
1099 "xfa/fwl/core/fwl_noteimp.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001100 "xfa/fwl/core/fwl_timerimp.cpp",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001101 "xfa/fwl/core/fwl_widgetdef.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001102 "xfa/fwl/core/fwl_widgetimp.cpp",
1103 "xfa/fwl/core/fwl_widgetimp.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001104 "xfa/fwl/core/ifwl_app.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001105 "xfa/fwl/core/ifwl_dataprovider.h",
1106 "xfa/fwl/core/ifwl_form.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001107 "xfa/fwl/core/ifwl_themeprovider.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001108 "xfa/fwl/core/ifwl_timer.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001109 "xfa/fwl/core/ifwl_widget.h",
1110 "xfa/fwl/core/ifwl_widgetdelegate.h",
dsinclair89fcde82016-05-03 13:00:25 -07001111 "xfa/fwl/core/include/fwl_widgethit.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001112 "xfa/fwl/core/include/ifwl_adaptertimermgr.h",
dsinclair7f432a12016-03-29 12:38:01 -07001113 "xfa/fwl/lightwidget/cfwl_barcode.cpp",
1114 "xfa/fwl/lightwidget/cfwl_barcode.h",
dsinclair7f432a12016-03-29 12:38:01 -07001115 "xfa/fwl/lightwidget/cfwl_checkbox.cpp",
1116 "xfa/fwl/lightwidget/cfwl_checkbox.h",
1117 "xfa/fwl/lightwidget/cfwl_combobox.cpp",
1118 "xfa/fwl/lightwidget/cfwl_combobox.h",
1119 "xfa/fwl/lightwidget/cfwl_datetimepicker.cpp",
1120 "xfa/fwl/lightwidget/cfwl_datetimepicker.h",
1121 "xfa/fwl/lightwidget/cfwl_edit.cpp",
1122 "xfa/fwl/lightwidget/cfwl_edit.h",
1123 "xfa/fwl/lightwidget/cfwl_listbox.cpp",
1124 "xfa/fwl/lightwidget/cfwl_listbox.h",
1125 "xfa/fwl/lightwidget/cfwl_picturebox.cpp",
1126 "xfa/fwl/lightwidget/cfwl_picturebox.h",
1127 "xfa/fwl/lightwidget/cfwl_pushbutton.cpp",
1128 "xfa/fwl/lightwidget/cfwl_pushbutton.h",
dsinclair7f432a12016-03-29 12:38:01 -07001129 "xfa/fwl/lightwidget/cfwl_widget.cpp",
1130 "xfa/fwl/lightwidget/cfwl_widget.h",
avallee62514d92016-03-31 10:23:19 -07001131 "xfa/fwl/lightwidget/cfwl_widgetproperties.cpp",
dsinclair7f432a12016-03-29 12:38:01 -07001132 "xfa/fwl/lightwidget/cfwl_widgetproperties.h",
weili47228ac2016-07-20 10:35:31 -07001133 "xfa/fwl/theme/cfwl_arrowdata.cpp",
1134 "xfa/fwl/theme/cfwl_arrowdata.h",
dsinclair7f432a12016-03-29 12:38:01 -07001135 "xfa/fwl/theme/cfwl_barcodetp.cpp",
1136 "xfa/fwl/theme/cfwl_barcodetp.h",
1137 "xfa/fwl/theme/cfwl_carettp.cpp",
1138 "xfa/fwl/theme/cfwl_carettp.h",
1139 "xfa/fwl/theme/cfwl_checkboxtp.cpp",
1140 "xfa/fwl/theme/cfwl_checkboxtp.h",
1141 "xfa/fwl/theme/cfwl_comboboxtp.cpp",
1142 "xfa/fwl/theme/cfwl_comboboxtp.h",
1143 "xfa/fwl/theme/cfwl_datetimepickedtp.cpp",
1144 "xfa/fwl/theme/cfwl_datetimepickertp.h",
1145 "xfa/fwl/theme/cfwl_edittp.cpp",
1146 "xfa/fwl/theme/cfwl_edittp.h",
dsinclair7f432a12016-03-29 12:38:01 -07001147 "xfa/fwl/theme/cfwl_listboxtp.cpp",
1148 "xfa/fwl/theme/cfwl_listboxtp.h",
1149 "xfa/fwl/theme/cfwl_monthcalendartp.cpp",
1150 "xfa/fwl/theme/cfwl_monthcalendartp.h",
1151 "xfa/fwl/theme/cfwl_pictureboxtp.cpp",
1152 "xfa/fwl/theme/cfwl_pictureboxtp.h",
1153 "xfa/fwl/theme/cfwl_pushbuttontp.cpp",
1154 "xfa/fwl/theme/cfwl_pushbuttontp.h",
1155 "xfa/fwl/theme/cfwl_scrollbartp.cpp",
1156 "xfa/fwl/theme/cfwl_scrollbartp.h",
1157 "xfa/fwl/theme/cfwl_utils.h",
1158 "xfa/fwl/theme/cfwl_widgettp.cpp",
1159 "xfa/fwl/theme/cfwl_widgettp.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001160 "xfa/fxbarcode/BC_Dimension.cpp",
1161 "xfa/fxbarcode/BC_Dimension.h",
1162 "xfa/fxbarcode/BC_Library.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001163 "xfa/fxbarcode/BC_TwoDimWriter.cpp",
1164 "xfa/fxbarcode/BC_TwoDimWriter.h",
1165 "xfa/fxbarcode/BC_UtilCodingConvert.cpp",
1166 "xfa/fxbarcode/BC_UtilCodingConvert.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001167 "xfa/fxbarcode/BC_Utils.cpp",
1168 "xfa/fxbarcode/BC_Writer.cpp",
1169 "xfa/fxbarcode/BC_Writer.h",
Dan Sinclaira8a28e02016-03-23 15:41:39 -04001170 "xfa/fxbarcode/cbc_codabar.cpp",
1171 "xfa/fxbarcode/cbc_codabar.h",
1172 "xfa/fxbarcode/cbc_code128.cpp",
1173 "xfa/fxbarcode/cbc_code128.h",
1174 "xfa/fxbarcode/cbc_code39.cpp",
1175 "xfa/fxbarcode/cbc_code39.h",
1176 "xfa/fxbarcode/cbc_codebase.cpp",
1177 "xfa/fxbarcode/cbc_codebase.h",
1178 "xfa/fxbarcode/cbc_datamatrix.cpp",
1179 "xfa/fxbarcode/cbc_datamatrix.h",
1180 "xfa/fxbarcode/cbc_ean13.cpp",
1181 "xfa/fxbarcode/cbc_ean13.h",
1182 "xfa/fxbarcode/cbc_ean8.cpp",
1183 "xfa/fxbarcode/cbc_ean8.h",
1184 "xfa/fxbarcode/cbc_onecode.cpp",
1185 "xfa/fxbarcode/cbc_onecode.h",
1186 "xfa/fxbarcode/cbc_pdf417i.cpp",
1187 "xfa/fxbarcode/cbc_pdf417i.h",
1188 "xfa/fxbarcode/cbc_qrcode.cpp",
1189 "xfa/fxbarcode/cbc_qrcode.h",
1190 "xfa/fxbarcode/cbc_upca.cpp",
1191 "xfa/fxbarcode/cbc_upca.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001192 "xfa/fxbarcode/common/BC_CommonBitArray.cpp",
1193 "xfa/fxbarcode/common/BC_CommonBitArray.h",
1194 "xfa/fxbarcode/common/BC_CommonBitMatrix.cpp",
1195 "xfa/fxbarcode/common/BC_CommonBitMatrix.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001196 "xfa/fxbarcode/common/BC_CommonByteArray.cpp",
1197 "xfa/fxbarcode/common/BC_CommonByteArray.h",
1198 "xfa/fxbarcode/common/BC_CommonByteMatrix.cpp",
1199 "xfa/fxbarcode/common/BC_CommonByteMatrix.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001200 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomon.cpp",
1201 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomon.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001202 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.cpp",
1203 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h",
1204 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp",
1205 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h",
1206 "xfa/fxbarcode/datamatrix/BC_ASCIIEncoder.cpp",
1207 "xfa/fxbarcode/datamatrix/BC_ASCIIEncoder.h",
1208 "xfa/fxbarcode/datamatrix/BC_Base256Encoder.cpp",
1209 "xfa/fxbarcode/datamatrix/BC_Base256Encoder.h",
1210 "xfa/fxbarcode/datamatrix/BC_C40Encoder.cpp",
1211 "xfa/fxbarcode/datamatrix/BC_C40Encoder.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001212 "xfa/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.cpp",
1213 "xfa/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001214 "xfa/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp",
1215 "xfa/fxbarcode/datamatrix/BC_DataMatrixWriter.h",
1216 "xfa/fxbarcode/datamatrix/BC_DefaultPlacement.cpp",
1217 "xfa/fxbarcode/datamatrix/BC_DefaultPlacement.h",
1218 "xfa/fxbarcode/datamatrix/BC_EdifactEncoder.cpp",
1219 "xfa/fxbarcode/datamatrix/BC_EdifactEncoder.h",
1220 "xfa/fxbarcode/datamatrix/BC_Encoder.cpp",
1221 "xfa/fxbarcode/datamatrix/BC_Encoder.h",
1222 "xfa/fxbarcode/datamatrix/BC_EncoderContext.cpp",
1223 "xfa/fxbarcode/datamatrix/BC_EncoderContext.h",
1224 "xfa/fxbarcode/datamatrix/BC_ErrorCorrection.cpp",
1225 "xfa/fxbarcode/datamatrix/BC_ErrorCorrection.h",
1226 "xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp",
1227 "xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.h",
1228 "xfa/fxbarcode/datamatrix/BC_SymbolInfo.cpp",
1229 "xfa/fxbarcode/datamatrix/BC_SymbolInfo.h",
1230 "xfa/fxbarcode/datamatrix/BC_SymbolShapeHint.cpp",
1231 "xfa/fxbarcode/datamatrix/BC_SymbolShapeHint.h",
1232 "xfa/fxbarcode/datamatrix/BC_TextEncoder.cpp",
1233 "xfa/fxbarcode/datamatrix/BC_TextEncoder.h",
1234 "xfa/fxbarcode/datamatrix/BC_X12Encoder.cpp",
1235 "xfa/fxbarcode/datamatrix/BC_X12Encoder.h",
Dan Sinclaira8a28e02016-03-23 15:41:39 -04001236 "xfa/fxbarcode/include/BC_Library.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001237 "xfa/fxbarcode/oned/BC_OneDimWriter.cpp",
1238 "xfa/fxbarcode/oned/BC_OneDimWriter.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001239 "xfa/fxbarcode/oned/BC_OnedCodaBarWriter.cpp",
1240 "xfa/fxbarcode/oned/BC_OnedCodaBarWriter.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001241 "xfa/fxbarcode/oned/BC_OnedCode128Writer.cpp",
1242 "xfa/fxbarcode/oned/BC_OnedCode128Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001243 "xfa/fxbarcode/oned/BC_OnedCode39Writer.cpp",
1244 "xfa/fxbarcode/oned/BC_OnedCode39Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001245 "xfa/fxbarcode/oned/BC_OnedEAN13Writer.cpp",
1246 "xfa/fxbarcode/oned/BC_OnedEAN13Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001247 "xfa/fxbarcode/oned/BC_OnedEAN8Writer.cpp",
1248 "xfa/fxbarcode/oned/BC_OnedEAN8Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001249 "xfa/fxbarcode/oned/BC_OnedUPCAWriter.cpp",
1250 "xfa/fxbarcode/oned/BC_OnedUPCAWriter.h",
1251 "xfa/fxbarcode/pdf417/BC_PDF417.cpp",
1252 "xfa/fxbarcode/pdf417/BC_PDF417.h",
1253 "xfa/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp",
1254 "xfa/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001255 "xfa/fxbarcode/pdf417/BC_PDF417BarcodeRow.cpp",
1256 "xfa/fxbarcode/pdf417/BC_PDF417BarcodeRow.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001257 "xfa/fxbarcode/pdf417/BC_PDF417Compaction.cpp",
1258 "xfa/fxbarcode/pdf417/BC_PDF417Compaction.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001259 "xfa/fxbarcode/pdf417/BC_PDF417ErrorCorrection.cpp",
1260 "xfa/fxbarcode/pdf417/BC_PDF417ErrorCorrection.h",
1261 "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.cpp",
1262 "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001263 "xfa/fxbarcode/pdf417/BC_PDF417Writer.cpp",
1264 "xfa/fxbarcode/pdf417/BC_PDF417Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001265 "xfa/fxbarcode/qrcode/BC_QRCodeWriter.cpp",
1266 "xfa/fxbarcode/qrcode/BC_QRCodeWriter.h",
1267 "xfa/fxbarcode/qrcode/BC_QRCoder.cpp",
1268 "xfa/fxbarcode/qrcode/BC_QRCoder.h",
1269 "xfa/fxbarcode/qrcode/BC_QRCoderBitVector.cpp",
1270 "xfa/fxbarcode/qrcode/BC_QRCoderBitVector.h",
1271 "xfa/fxbarcode/qrcode/BC_QRCoderBlockPair.cpp",
1272 "xfa/fxbarcode/qrcode/BC_QRCoderBlockPair.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001273 "xfa/fxbarcode/qrcode/BC_QRCoderECB.cpp",
1274 "xfa/fxbarcode/qrcode/BC_QRCoderECB.h",
1275 "xfa/fxbarcode/qrcode/BC_QRCoderECBlocks.cpp",
1276 "xfa/fxbarcode/qrcode/BC_QRCoderECBlocks.h",
1277 "xfa/fxbarcode/qrcode/BC_QRCoderEncoder.cpp",
1278 "xfa/fxbarcode/qrcode/BC_QRCoderEncoder.h",
1279 "xfa/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.cpp",
1280 "xfa/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001281 "xfa/fxbarcode/qrcode/BC_QRCoderMaskUtil.cpp",
1282 "xfa/fxbarcode/qrcode/BC_QRCoderMaskUtil.h",
1283 "xfa/fxbarcode/qrcode/BC_QRCoderMatrixUtil.cpp",
1284 "xfa/fxbarcode/qrcode/BC_QRCoderMatrixUtil.h",
1285 "xfa/fxbarcode/qrcode/BC_QRCoderMode.cpp",
1286 "xfa/fxbarcode/qrcode/BC_QRCoderMode.h",
1287 "xfa/fxbarcode/qrcode/BC_QRCoderVersion.cpp",
1288 "xfa/fxbarcode/qrcode/BC_QRCoderVersion.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001289 "xfa/fxbarcode/utils.h",
weili625ad662016-06-15 11:21:33 -07001290 "xfa/fxfa/app/cxfa_eventparam.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001291 "xfa/fxfa/app/xfa_checksum.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001292 "xfa/fxfa/app/xfa_ffapp.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001293 "xfa/fxfa/app/xfa_ffbarcode.cpp",
1294 "xfa/fxfa/app/xfa_ffbarcode.h",
1295 "xfa/fxfa/app/xfa_ffcheckbutton.cpp",
1296 "xfa/fxfa/app/xfa_ffcheckbutton.h",
1297 "xfa/fxfa/app/xfa_ffchoicelist.cpp",
1298 "xfa/fxfa/app/xfa_ffchoicelist.h",
1299 "xfa/fxfa/app/xfa_ffdoc.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001300 "xfa/fxfa/app/xfa_ffdochandler.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001301 "xfa/fxfa/app/xfa_ffdocview.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001302 "xfa/fxfa/app/xfa_ffdraw.cpp",
1303 "xfa/fxfa/app/xfa_ffdraw.h",
1304 "xfa/fxfa/app/xfa_ffexclgroup.cpp",
1305 "xfa/fxfa/app/xfa_ffexclgroup.h",
1306 "xfa/fxfa/app/xfa_fffield.cpp",
1307 "xfa/fxfa/app/xfa_fffield.h",
1308 "xfa/fxfa/app/xfa_ffimage.cpp",
1309 "xfa/fxfa/app/xfa_ffimage.h",
1310 "xfa/fxfa/app/xfa_ffimageedit.cpp",
1311 "xfa/fxfa/app/xfa_ffimageedit.h",
1312 "xfa/fxfa/app/xfa_ffnotify.cpp",
1313 "xfa/fxfa/app/xfa_ffnotify.h",
1314 "xfa/fxfa/app/xfa_ffpageview.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001315 "xfa/fxfa/app/xfa_ffpath.cpp",
1316 "xfa/fxfa/app/xfa_ffpath.h",
1317 "xfa/fxfa/app/xfa_ffpushbutton.cpp",
1318 "xfa/fxfa/app/xfa_ffpushbutton.h",
1319 "xfa/fxfa/app/xfa_ffsignature.cpp",
1320 "xfa/fxfa/app/xfa_ffsignature.h",
1321 "xfa/fxfa/app/xfa_ffsubform.cpp",
1322 "xfa/fxfa/app/xfa_ffsubform.h",
1323 "xfa/fxfa/app/xfa_fftext.cpp",
1324 "xfa/fxfa/app/xfa_fftext.h",
1325 "xfa/fxfa/app/xfa_fftextedit.cpp",
1326 "xfa/fxfa/app/xfa_fftextedit.h",
1327 "xfa/fxfa/app/xfa_ffwidget.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001328 "xfa/fxfa/app/xfa_ffwidgetacc.cpp",
1329 "xfa/fxfa/app/xfa_ffwidgetacc.h",
1330 "xfa/fxfa/app/xfa_ffwidgethandler.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001331 "xfa/fxfa/app/xfa_fontmgr.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001332 "xfa/fxfa/app/xfa_fwladapter.cpp",
1333 "xfa/fxfa/app/xfa_fwladapter.h",
1334 "xfa/fxfa/app/xfa_fwltheme.cpp",
1335 "xfa/fxfa/app/xfa_fwltheme.h",
1336 "xfa/fxfa/app/xfa_rendercontext.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001337 "xfa/fxfa/app/xfa_textlayout.cpp",
1338 "xfa/fxfa/app/xfa_textlayout.h",
1339 "xfa/fxfa/fm2js/xfa_error.cpp",
1340 "xfa/fxfa/fm2js/xfa_error.h",
1341 "xfa/fxfa/fm2js/xfa_expression.cpp",
1342 "xfa/fxfa/fm2js/xfa_expression.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001343 "xfa/fxfa/fm2js/xfa_fm2jscontext.cpp",
1344 "xfa/fxfa/fm2js/xfa_fm2jscontext.h",
1345 "xfa/fxfa/fm2js/xfa_fmparse.cpp",
1346 "xfa/fxfa/fm2js/xfa_fmparse.h",
1347 "xfa/fxfa/fm2js/xfa_lexer.cpp",
1348 "xfa/fxfa/fm2js/xfa_lexer.h",
1349 "xfa/fxfa/fm2js/xfa_program.cpp",
1350 "xfa/fxfa/fm2js/xfa_program.h",
1351 "xfa/fxfa/fm2js/xfa_simpleexpression.cpp",
1352 "xfa/fxfa/fm2js/xfa_simpleexpression.h",
weili625ad662016-06-15 11:21:33 -07001353 "xfa/fxfa/include/cxfa_eventparam.h",
dsinclair7222ea62016-04-06 14:33:07 -07001354 "xfa/fxfa/include/fxfa.h",
1355 "xfa/fxfa/include/fxfa_basic.h",
1356 "xfa/fxfa/include/fxfa_widget.h",
1357 "xfa/fxfa/include/xfa_checksum.h",
1358 "xfa/fxfa/include/xfa_ffapp.h",
1359 "xfa/fxfa/include/xfa_ffdoc.h",
1360 "xfa/fxfa/include/xfa_ffdochandler.h",
1361 "xfa/fxfa/include/xfa_ffdocview.h",
1362 "xfa/fxfa/include/xfa_ffpageview.h",
1363 "xfa/fxfa/include/xfa_ffwidget.h",
1364 "xfa/fxfa/include/xfa_ffwidgethandler.h",
1365 "xfa/fxfa/include/xfa_fontmgr.h",
1366 "xfa/fxfa/include/xfa_rendercontext.h",
dsinclairc1515ef2016-07-20 06:16:06 -07001367 "xfa/fxfa/parser/cscript_datawindow.cpp",
1368 "xfa/fxfa/parser/cscript_datawindow.h",
1369 "xfa/fxfa/parser/cscript_eventpseudomodel.cpp",
1370 "xfa/fxfa/parser/cscript_eventpseudomodel.h",
1371 "xfa/fxfa/parser/cscript_hostpseudomodel.cpp",
1372 "xfa/fxfa/parser/cscript_hostpseudomodel.h",
1373 "xfa/fxfa/parser/cscript_layoutpseudomodel.cpp",
1374 "xfa/fxfa/parser/cscript_layoutpseudomodel.h",
1375 "xfa/fxfa/parser/cscript_logpseudomodel.cpp",
1376 "xfa/fxfa/parser/cscript_logpseudomodel.h",
1377 "xfa/fxfa/parser/cscript_signaturepseudomodel.cpp",
1378 "xfa/fxfa/parser/cscript_signaturepseudomodel.h",
dsinclair44d054c2016-04-06 10:23:46 -07001379 "xfa/fxfa/parser/cxfa_arc.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001380 "xfa/fxfa/parser/cxfa_arraynodelist.cpp",
dsinclair44d054c2016-04-06 10:23:46 -07001381 "xfa/fxfa/parser/cxfa_assist.cpp",
1382 "xfa/fxfa/parser/cxfa_assist.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001383 "xfa/fxfa/parser/cxfa_attachnodelist.cpp",
dsinclair44d054c2016-04-06 10:23:46 -07001384 "xfa/fxfa/parser/cxfa_bind.cpp",
1385 "xfa/fxfa/parser/cxfa_bind.h",
1386 "xfa/fxfa/parser/cxfa_binditems.cpp",
1387 "xfa/fxfa/parser/cxfa_binditems.h",
1388 "xfa/fxfa/parser/cxfa_border.h",
1389 "xfa/fxfa/parser/cxfa_box.cpp",
1390 "xfa/fxfa/parser/cxfa_box.h",
1391 "xfa/fxfa/parser/cxfa_calculate.cpp",
1392 "xfa/fxfa/parser/cxfa_calculate.h",
1393 "xfa/fxfa/parser/cxfa_caption.cpp",
1394 "xfa/fxfa/parser/cxfa_caption.h",
dsinclair0b851ff2016-07-21 12:03:01 -07001395 "xfa/fxfa/parser/cxfa_containerlayoutitem.cpp",
1396 "xfa/fxfa/parser/cxfa_containerlayoutitem.h",
1397 "xfa/fxfa/parser/cxfa_contentlayoutitem.cpp",
1398 "xfa/fxfa/parser/cxfa_contentlayoutitem.h",
dsinclair44d054c2016-04-06 10:23:46 -07001399 "xfa/fxfa/parser/cxfa_corner.h",
1400 "xfa/fxfa/parser/cxfa_data.cpp",
1401 "xfa/fxfa/parser/cxfa_data.h",
dsinclair3a7cc732016-07-21 12:04:34 -07001402 "xfa/fxfa/parser/cxfa_dataexporter.cpp",
1403 "xfa/fxfa/parser/cxfa_dataexporter.h",
1404 "xfa/fxfa/parser/cxfa_dataimporter.cpp",
1405 "xfa/fxfa/parser/cxfa_dataimporter.h",
dsinclair16280242016-07-21 12:03:47 -07001406 "xfa/fxfa/parser/cxfa_document.cpp",
1407 "xfa/fxfa/parser/cxfa_document.h",
dsinclair34f86b02016-07-11 08:42:33 -07001408 "xfa/fxfa/parser/cxfa_document_parser.cpp",
1409 "xfa/fxfa/parser/cxfa_document_parser.h",
dsinclair44d054c2016-04-06 10:23:46 -07001410 "xfa/fxfa/parser/cxfa_edge.h",
1411 "xfa/fxfa/parser/cxfa_event.cpp",
1412 "xfa/fxfa/parser/cxfa_event.h",
1413 "xfa/fxfa/parser/cxfa_exdata.cpp",
1414 "xfa/fxfa/parser/cxfa_exdata.h",
1415 "xfa/fxfa/parser/cxfa_fill.cpp",
1416 "xfa/fxfa/parser/cxfa_fill.h",
1417 "xfa/fxfa/parser/cxfa_font.cpp",
1418 "xfa/fxfa/parser/cxfa_font.h",
1419 "xfa/fxfa/parser/cxfa_image.cpp",
1420 "xfa/fxfa/parser/cxfa_image.h",
dsinclair0b851ff2016-07-21 12:03:01 -07001421 "xfa/fxfa/parser/cxfa_layoutitem.cpp",
1422 "xfa/fxfa/parser/cxfa_layoutitem.h",
1423 "xfa/fxfa/parser/cxfa_layoutprocessor.cpp",
1424 "xfa/fxfa/parser/cxfa_layoutprocessor.h",
dsinclair44d054c2016-04-06 10:23:46 -07001425 "xfa/fxfa/parser/cxfa_line.cpp",
1426 "xfa/fxfa/parser/cxfa_line.h",
1427 "xfa/fxfa/parser/cxfa_margin.cpp",
1428 "xfa/fxfa/parser/cxfa_margin.h",
dsinclair9eb0db12016-07-21 12:01:39 -07001429 "xfa/fxfa/parser/cxfa_measurement.cpp",
1430 "xfa/fxfa/parser/cxfa_measurement.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001431 "xfa/fxfa/parser/cxfa_node.cpp",
dsinclair31f87402016-07-20 06:34:45 -07001432 "xfa/fxfa/parser/cxfa_nodehelper.cpp",
1433 "xfa/fxfa/parser/cxfa_nodehelper.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001434 "xfa/fxfa/parser/cxfa_nodelist.cpp",
1435 "xfa/fxfa/parser/cxfa_object.cpp",
dsinclair44d054c2016-04-06 10:23:46 -07001436 "xfa/fxfa/parser/cxfa_occur.cpp",
1437 "xfa/fxfa/parser/cxfa_occur.h",
1438 "xfa/fxfa/parser/cxfa_para.cpp",
1439 "xfa/fxfa/parser/cxfa_para.h",
1440 "xfa/fxfa/parser/cxfa_rectangle.h",
dsinclair31f87402016-07-20 06:34:45 -07001441 "xfa/fxfa/parser/cxfa_resolveprocessor.cpp",
1442 "xfa/fxfa/parser/cxfa_resolveprocessor.h",
dsinclair44d054c2016-04-06 10:23:46 -07001443 "xfa/fxfa/parser/cxfa_script.cpp",
1444 "xfa/fxfa/parser/cxfa_script.h",
dsinclair31f87402016-07-20 06:34:45 -07001445 "xfa/fxfa/parser/cxfa_scriptcontext.cpp",
1446 "xfa/fxfa/parser/cxfa_scriptcontext.h",
dsinclair34f86b02016-07-11 08:42:33 -07001447 "xfa/fxfa/parser/cxfa_simple_parser.cpp",
1448 "xfa/fxfa/parser/cxfa_simple_parser.h",
dsinclair44d054c2016-04-06 10:23:46 -07001449 "xfa/fxfa/parser/cxfa_stroke.cpp",
1450 "xfa/fxfa/parser/cxfa_stroke.h",
1451 "xfa/fxfa/parser/cxfa_submit.cpp",
1452 "xfa/fxfa/parser/cxfa_submit.h",
1453 "xfa/fxfa/parser/cxfa_text.cpp",
1454 "xfa/fxfa/parser/cxfa_text.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001455 "xfa/fxfa/parser/cxfa_thisproxy.cpp",
dsinclair44d054c2016-04-06 10:23:46 -07001456 "xfa/fxfa/parser/cxfa_tooltip.cpp",
1457 "xfa/fxfa/parser/cxfa_tooltip.h",
dsinclair0b851ff2016-07-21 12:03:01 -07001458 "xfa/fxfa/parser/cxfa_traversestrategy_layoutitem.h",
dsinclair44d054c2016-04-06 10:23:46 -07001459 "xfa/fxfa/parser/cxfa_validate.cpp",
1460 "xfa/fxfa/parser/cxfa_validate.h",
1461 "xfa/fxfa/parser/cxfa_value.cpp",
1462 "xfa/fxfa/parser/cxfa_value.h",
dsinclair8f3074b2016-06-02 17:45:25 -07001463 "xfa/fxfa/parser/cxfa_valuearray.cpp",
1464 "xfa/fxfa/parser/cxfa_valuearray.h",
dsinclair9eb0db12016-07-21 12:01:39 -07001465 "xfa/fxfa/parser/cxfa_widetextread.cpp",
1466 "xfa/fxfa/parser/cxfa_widetextread.h",
dsinclair44d054c2016-04-06 10:23:46 -07001467 "xfa/fxfa/parser/cxfa_widgetdata.cpp",
1468 "xfa/fxfa/parser/cxfa_widgetdata.h",
dsinclair34f86b02016-07-11 08:42:33 -07001469 "xfa/fxfa/parser/cxfa_xml_parser.cpp",
1470 "xfa/fxfa/parser/cxfa_xml_parser.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001471 "xfa/fxfa/parser/xfa_basic_data.cpp",
dsinclairf1494f02016-07-07 12:56:17 -07001472 "xfa/fxfa/parser/xfa_basic_data.h",
dsinclair8bdbc882016-07-07 07:55:39 -07001473 "xfa/fxfa/parser/xfa_basic_data_attributes.cpp",
1474 "xfa/fxfa/parser/xfa_basic_data_element_attributes.cpp",
1475 "xfa/fxfa/parser/xfa_basic_data_element_properties.cpp",
1476 "xfa/fxfa/parser/xfa_basic_data_element_script.cpp",
1477 "xfa/fxfa/parser/xfa_basic_data_enum.cpp",
1478 "xfa/fxfa/parser/xfa_basic_data_packets.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001479 "xfa/fxfa/parser/xfa_document_datamerger_imp.cpp",
1480 "xfa/fxfa/parser/xfa_document_datamerger_imp.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001481 "xfa/fxfa/parser/xfa_layout_appadapter.cpp",
1482 "xfa/fxfa/parser/xfa_layout_appadapter.h",
1483 "xfa/fxfa/parser/xfa_layout_itemlayout.cpp",
1484 "xfa/fxfa/parser/xfa_layout_itemlayout.h",
1485 "xfa/fxfa/parser/xfa_layout_pagemgr_new.cpp",
1486 "xfa/fxfa/parser/xfa_layout_pagemgr_new.h",
1487 "xfa/fxfa/parser/xfa_locale.cpp",
1488 "xfa/fxfa/parser/xfa_locale.h",
1489 "xfa/fxfa/parser/xfa_localemgr.cpp",
1490 "xfa/fxfa/parser/xfa_localemgr.h",
1491 "xfa/fxfa/parser/xfa_localevalue.cpp",
1492 "xfa/fxfa/parser/xfa_localevalue.h",
1493 "xfa/fxfa/parser/xfa_object.h",
dsinclair31f87402016-07-20 06:34:45 -07001494 "xfa/fxfa/parser/xfa_resolvenode_rs.h",
dsinclair39fdfc32016-07-21 12:09:45 -07001495 "xfa/fxfa/parser/xfa_utils.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001496 "xfa/fxfa/parser/xfa_utils.h",
Dan Sinclair811b8a42016-03-17 08:59:42 -04001497 "xfa/fxgraphics/cagg_graphics.cpp",
1498 "xfa/fxgraphics/cagg_graphics.h",
1499 "xfa/fxgraphics/cfx_color.cpp",
1500 "xfa/fxgraphics/cfx_color.h",
1501 "xfa/fxgraphics/cfx_graphics.cpp",
1502 "xfa/fxgraphics/cfx_path.cpp",
1503 "xfa/fxgraphics/cfx_path.h",
1504 "xfa/fxgraphics/cfx_path_generator.cpp",
1505 "xfa/fxgraphics/cfx_path_generator.h",
1506 "xfa/fxgraphics/cfx_pattern.cpp",
1507 "xfa/fxgraphics/cfx_pattern.h",
1508 "xfa/fxgraphics/cfx_shading.cpp",
1509 "xfa/fxgraphics/cfx_shading.h",
1510 "xfa/fxgraphics/include/cfx_graphics.h",
Tom Sepezb36747d2015-12-08 15:49:25 -08001511 ]
dsinclairb3f24672016-07-12 10:42:14 -07001512 include_dirs = [ "." ]
dsinclair8bd9ce02016-06-09 13:24:34 -07001513 deps = [
dsinclair7f9c8602016-07-12 10:41:43 -07001514 ":fxjs",
dsinclair8bd9ce02016-06-09 13:24:34 -07001515 ]
Tom Sepezb36747d2015-12-08 15:49:25 -08001516 configs += [
weili0abe6522016-06-06 14:41:22 -07001517 ":pdfium_core_config",
weilidcc29b12016-05-27 17:58:23 -07001518 ":xfa_warnings",
Tom Sepez452b4f32015-10-13 09:27:27 -07001519 ]
1520 }
Tom Sepezc706fc02014-11-14 13:39:20 -08001521}
Tom Sepez04681f32015-01-09 13:59:19 -08001522
1523test("pdfium_unittests") {
1524 sources = [
Dan Sinclair764ec512016-03-14 13:35:12 -04001525 "core/fpdfapi/fpdf_font/fpdf_font_cid_unittest.cpp",
1526 "core/fpdfapi/fpdf_font/fpdf_font_unittest.cpp",
1527 "core/fpdfapi/fpdf_page/fpdf_page_parser_old_unittest.cpp",
dsinclaird80e0a72016-04-04 09:38:55 -07001528 "core/fpdfapi/fpdf_page/fpdf_page_parser_unittest.cpp",
weilicdce7572016-04-13 14:40:10 -07001529 "core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001530 "core/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp",
1531 "core/fpdfapi/fpdf_parser/cpdf_parser_unittest.cpp",
1532 "core/fpdfapi/fpdf_parser/cpdf_simple_parser_unittest.cpp",
1533 "core/fpdfapi/fpdf_parser/cpdf_syntax_parser_unittest.cpp",
1534 "core/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp",
1535 "core/fpdfdoc/doc_basic_unittest.cpp",
1536 "core/fpdftext/fpdf_text_int_unittest.cpp",
1537 "core/fxcodec/codec/fx_codec_jpx_unittest.cpp",
tsepez602aebc2016-03-29 15:04:21 -07001538 "core/fxcrt/cfx_retain_ptr_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001539 "core/fxcrt/fx_basic_bstring_unittest.cpp",
1540 "core/fxcrt/fx_basic_gcc_unittest.cpp",
1541 "core/fxcrt/fx_basic_memmgr_unittest.cpp",
thestig1b99b2d2016-05-20 11:50:06 -07001542 "core/fxcrt/fx_basic_util_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001543 "core/fxcrt/fx_basic_wstring_unittest.cpp",
1544 "core/fxcrt/fx_bidi_unittest.cpp",
1545 "core/fxcrt/fx_extension_unittest.cpp",
1546 "core/fxcrt/fx_system_unittest.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001547 "fpdfsdk/fpdfdoc_unittest.cpp",
Tom Sepez04681f32015-01-09 13:59:19 -08001548 ]
1549 deps = [
Tom Sepezd831dc72015-10-19 16:04:22 -07001550 ":pdfium",
1551 ":test_support",
Dan Sinclairfffc9632016-03-08 08:57:05 -05001552 "//testing/gtest",
1553 "//testing/gtest:gtest_main",
Tom Sepez04681f32015-01-09 13:59:19 -08001554 ]
Dan Sinclair30410ce2016-03-16 10:20:24 -04001555 include_dirs = []
Tom Sepezd2e023b2015-12-08 14:36:16 -08001556 if (pdf_enable_xfa) {
1557 sources += [
dsinclairfc2cdf82016-05-19 18:07:11 -07001558 "xfa/fde/css/fde_cssdatatable_unittest.cpp",
dsinclair11ac93c2016-03-31 09:45:20 -07001559 "xfa/fde/xml/fde_xml_imp_unittest.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001560 "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp",
dsinclairc7600f92016-05-19 14:12:30 -07001561 "xfa/fxfa/app/xfa_textlayout_unittest.cpp",
dsinclair39fdfc32016-07-21 12:09:45 -07001562 "xfa/fxfa/parser/xfa_utils_unittest.cpp",
Tom Sepezd2e023b2015-12-08 14:36:16 -08001563 ]
1564 }
caryclarke89391e2016-06-29 07:10:49 -07001565 if (pdf_use_skia) {
1566 sources += [ "core/fxge/skia/fx_skia_device_unittest.cpp" ]
1567 deps += [ "//skia" ]
1568 }
Wei Li614d20a2016-03-15 13:55:12 -07001569 if (pdf_enable_v8) {
Dan Sinclair811b8a42016-03-17 08:59:42 -04001570 sources += [ "fpdfsdk/javascript/public_methods_unittest.cpp" ]
Wei Li614d20a2016-03-15 13:55:12 -07001571 include_dirs += [
1572 "//v8",
1573 "//v8/include",
1574 ]
1575 }
weili0abe6522016-06-06 14:41:22 -07001576 configs += [ ":pdfium_core_config" ]
jbudorick7f3a15f2016-06-10 06:28:40 -07001577 if (is_android) {
1578 ignore_all_data_deps = true
1579 use_raw_android_executable = true
1580 }
Tom Sepez04681f32015-01-09 13:59:19 -08001581}
Tom Sepez1b1bb492015-01-22 17:36:32 -08001582
1583test("pdfium_embeddertests") {
1584 sources = [
Dan Sinclair764ec512016-03-14 13:35:12 -04001585 "core/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp",
1586 "core/fpdfapi/fpdf_parser/cpdf_parser_embeddertest.cpp",
thestig27ddf162016-05-23 15:06:59 -07001587 "core/fpdfapi/fpdf_parser/cpdf_security_handler_embeddertest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001588 "core/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp",
1589 "core/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp",
1590 "core/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp",
ochangb8627c92016-04-11 13:47:41 -07001591 "core/fxge/ge/fx_ge_text_embeddertest.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001592 "fpdfsdk/fpdf_dataavail_embeddertest.cpp",
1593 "fpdfsdk/fpdfdoc_embeddertest.cpp",
1594 "fpdfsdk/fpdfedit_embeddertest.cpp",
1595 "fpdfsdk/fpdfext_embeddertest.cpp",
1596 "fpdfsdk/fpdfformfill_embeddertest.cpp",
1597 "fpdfsdk/fpdfsave_embeddertest.cpp",
1598 "fpdfsdk/fpdftext_embeddertest.cpp",
1599 "fpdfsdk/fpdfview_c_api_test.c",
1600 "fpdfsdk/fpdfview_c_api_test.h",
1601 "fpdfsdk/fpdfview_embeddertest.cpp",
1602 "fpdfsdk/fsdk_baseform_embeddertest.cpp",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001603 "testing/embedder_test.cpp",
1604 "testing/embedder_test.h",
Tom Sepeza310e002015-02-27 13:03:07 -08001605 "testing/embedder_test_mock_delegate.h",
Tom Sepez6efc0ad2015-06-02 17:11:18 -07001606 "testing/embedder_test_timer_handling_delegate.h",
dsinclair34f86b02016-07-11 08:42:33 -07001607 "xfa/fxfa/parser/cxfa_simple_parser_embeddertest.cpp",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001608 ]
1609 deps = [
Tom Sepez452b4f32015-10-13 09:27:27 -07001610 ":pdfium",
Tom Sepezd831dc72015-10-19 16:04:22 -07001611 ":test_support",
Dan Sinclairfffc9632016-03-08 08:57:05 -05001612 "//testing/gmock",
1613 "//testing/gtest",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001614 ]
dsinclair685bb882016-04-20 07:32:39 -07001615 include_dirs = [ "testing/gmock/include" ]
Tom Sepez452b4f32015-10-13 09:27:27 -07001616 if (pdf_enable_v8) {
Lei Zhang1ac47eb2015-12-21 11:04:44 -08001617 sources += [
Dan Sinclairf766ad22016-03-14 13:51:24 -04001618 "fpdfsdk/javascript/public_methods_embeddertest.cpp",
dsinclairb3f24672016-07-12 10:42:14 -07001619 "fxjs/fxjs_v8_embeddertest.cpp",
Lei Zhang1ac47eb2015-12-21 11:04:44 -08001620 "testing/js_embedder_test.cpp",
1621 "testing/js_embedder_test.h",
1622 ]
dsinclairb3f24672016-07-12 10:42:14 -07001623 deps += [ ":fxjs" ]
Jochen Eisinger7ed503d2015-12-10 14:38:06 +01001624 configs += [ "//v8:external_startup_data" ]
Tom Sepez452b4f32015-10-13 09:27:27 -07001625 }
weili0abe6522016-06-06 14:41:22 -07001626 configs += [ ":pdfium_core_config" ]
jbudorick7f3a15f2016-06-10 06:28:40 -07001627 if (is_android) {
1628 ignore_all_data_deps = true
1629 use_raw_android_executable = true
1630 }
Tom Sepez1b1bb492015-01-22 17:36:32 -08001631}
dsinclair685bb882016-04-20 07:32:39 -07001632
1633if (pdf_is_standalone) {
1634 source_set("samples") {
1635 testonly = true
1636 deps = [
1637 "//samples",
1638 ]
1639 }
1640}