blob: df8cdbaaad34573de12a0b5e313c38da4c816a8e [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 }
thestig3e454bf2016-07-29 16:29:04 -070033
34 if (pdf_use_win32_gdi) {
35 defines += [ "PDFIUM_PRINT_TEXT_WITH_GDI" ]
36 }
weili0abe6522016-06-06 14:41:22 -070037}
Tom Sepeza8a39e22015-10-12 15:47:07 -070038
weili0abe6522016-06-06 14:41:22 -070039config("pdfium_core_config") {
40 cflags = []
dsinclair8bd9ce02016-06-09 13:24:34 -070041 configs = [ ":pdfium_common_config" ]
42 defines = [ "V8_DEPRECATION_WARNINGS" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070043 if (is_linux) {
Tom Sepez25d5be62015-06-18 17:44:29 -070044 if (current_cpu == "x64") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070045 defines += [ "_FX_CPU_=_FX_X64_" ]
46 cflags += [ "-fPIC" ]
Tom Sepez25d5be62015-06-18 17:44:29 -070047 } else if (current_cpu == "x86") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070048 defines += [ "_FX_CPU_=_FX_X86_" ]
49 }
50 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070051 if (is_win) {
dsinclair5d9da0c2016-04-21 13:12:06 -070052 cflags += [ "/wd4267" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070053 }
weilidcc29b12016-05-27 17:58:23 -070054}
Lei Zhang476ac132015-11-05 20:07:27 -080055
weilidcc29b12016-05-27 17:58:23 -070056config("xfa_warnings") {
57 visibility = [ ":*" ]
Tom Sepez34209092016-03-18 09:00:33 -070058 if (is_posix && !is_clang) { # When GCC.
weilidcc29b12016-05-27 17:58:23 -070059 cflags = [ "-Wno-strict-overflow" ]
Tom Sepez34209092016-03-18 09:00:33 -070060 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070061}
62
63static_library("pdfium") {
64 sources = [
jaepark611adb82016-08-17 11:34:36 -070065 "fpdfsdk/cba_annotiterator.cpp",
dsinclairb9590102016-04-27 06:38:59 -070066 "fpdfsdk/cfx_systemhandler.cpp",
67 "fpdfsdk/cfx_systemhandler.h",
jaepark27362762016-08-11 13:10:39 -070068 "fpdfsdk/cpdfsdk_annot.cpp",
jaepark98e10192016-08-15 10:51:11 -070069 "fpdfsdk/cpdfsdk_annothandlermgr.cpp",
70 "fpdfsdk/cpdfsdk_annotiterator.cpp",
jaepark27362762016-08-11 13:10:39 -070071 "fpdfsdk/cpdfsdk_baannot.cpp",
jaepark35512aa2016-08-29 17:15:08 -070072 "fpdfsdk/cpdfsdk_baannothandler.cpp",
jaepark27362762016-08-11 13:10:39 -070073 "fpdfsdk/cpdfsdk_datetime.cpp",
dsinclairf34518b2016-09-13 12:03:48 -070074 "fpdfsdk/cpdfsdk_document.cpp",
dsinclair79db6092016-09-14 07:27:21 -070075 "fpdfsdk/cpdfsdk_environment.cpp",
jaepark611adb82016-08-17 11:34:36 -070076 "fpdfsdk/cpdfsdk_interform.cpp",
dsinclairf34518b2016-09-13 12:03:48 -070077 "fpdfsdk/cpdfsdk_pageview.cpp",
jaepark611adb82016-08-17 11:34:36 -070078 "fpdfsdk/cpdfsdk_widget.cpp",
jaepark8c541822016-08-30 13:43:05 -070079 "fpdfsdk/cpdfsdk_widgethandler.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -040080 "fpdfsdk/fpdf_dataavail.cpp",
81 "fpdfsdk/fpdf_ext.cpp",
82 "fpdfsdk/fpdf_flatten.cpp",
83 "fpdfsdk/fpdf_progressive.cpp",
84 "fpdfsdk/fpdf_searchex.cpp",
85 "fpdfsdk/fpdf_sysfontinfo.cpp",
86 "fpdfsdk/fpdf_transformpage.cpp",
87 "fpdfsdk/fpdfdoc.cpp",
88 "fpdfsdk/fpdfeditimg.cpp",
89 "fpdfsdk/fpdfeditpage.cpp",
90 "fpdfsdk/fpdfformfill.cpp",
91 "fpdfsdk/fpdfppo.cpp",
92 "fpdfsdk/fpdfsave.cpp",
93 "fpdfsdk/fpdftext.cpp",
94 "fpdfsdk/fpdfview.cpp",
95 "fpdfsdk/fsdk_actionhandler.cpp",
weili9f515bc2016-07-24 08:08:24 -070096 "fpdfsdk/fsdk_pauseadapter.cpp",
jaepark611adb82016-08-17 11:34:36 -070097 "fpdfsdk/include/cba_annotiterator.h",
jaepark27362762016-08-11 13:10:39 -070098 "fpdfsdk/include/cpdfsdk_annot.h",
jaepark98e10192016-08-15 10:51:11 -070099 "fpdfsdk/include/cpdfsdk_annothandlermgr.h",
100 "fpdfsdk/include/cpdfsdk_annotiterator.h",
jaepark27362762016-08-11 13:10:39 -0700101 "fpdfsdk/include/cpdfsdk_baannot.h",
jaepark35512aa2016-08-29 17:15:08 -0700102 "fpdfsdk/include/cpdfsdk_baannothandler.h",
jaepark27362762016-08-11 13:10:39 -0700103 "fpdfsdk/include/cpdfsdk_datetime.h",
dsinclairf34518b2016-09-13 12:03:48 -0700104 "fpdfsdk/include/cpdfsdk_document.h",
dsinclair79db6092016-09-14 07:27:21 -0700105 "fpdfsdk/include/cpdfsdk_environment.h",
jaepark611adb82016-08-17 11:34:36 -0700106 "fpdfsdk/include/cpdfsdk_interform.h",
dsinclairf34518b2016-09-13 12:03:48 -0700107 "fpdfsdk/include/cpdfsdk_pageview.h",
jaepark611adb82016-08-17 11:34:36 -0700108 "fpdfsdk/include/cpdfsdk_widget.h",
jaepark8c541822016-08-30 13:43:05 -0700109 "fpdfsdk/include/cpdfsdk_widgethandler.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700110 "fpdfsdk/include/fsdk_actionhandler.h",
weili9f515bc2016-07-24 08:08:24 -0700111 "fpdfsdk/include/fsdk_pauseadapter.h",
jaepark611adb82016-08-17 11:34:36 -0700112 "fpdfsdk/include/pdfsdk_fieldaction.h",
113 "fpdfsdk/pdfsdk_fieldaction.cpp",
Tom Sepez1ed8a212015-05-11 15:25:39 -0700114 "public/fpdf_dataavail.h",
115 "public/fpdf_doc.h",
116 "public/fpdf_edit.h",
117 "public/fpdf_ext.h",
118 "public/fpdf_flatten.h",
119 "public/fpdf_formfill.h",
120 "public/fpdf_fwlevent.h",
121 "public/fpdf_ppo.h",
122 "public/fpdf_progressive.h",
123 "public/fpdf_save.h",
124 "public/fpdf_searchex.h",
125 "public/fpdf_sysfontinfo.h",
126 "public/fpdf_text.h",
127 "public/fpdf_transformpage.h",
128 "public/fpdfview.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700129 ]
130
131 libs = []
weili0abe6522016-06-06 14:41:22 -0700132 configs += [ ":pdfium_core_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700133
134 deps = [
135 ":fdrm",
136 ":formfiller",
137 ":fpdfapi",
138 ":fpdfdoc",
139 ":fpdftext",
140 ":fxcodec",
141 ":fxcrt",
142 ":fxedit",
143 ":fxge",
144 ":javascript",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700145 ":pdfwindow",
Dan Sinclairfffc9632016-03-08 08:57:05 -0500146 "third_party:bigint",
147 "third_party:pdfium_base",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700148 ]
149
thestig73c48562016-09-06 14:07:17 -0700150 public_deps = [
151 ":fxcrt",
152 ]
Tom Sepeza8a39e22015-10-12 15:47:07 -0700153 if (pdf_enable_xfa) {
jaepark611adb82016-08-17 11:34:36 -0700154 sources += [
155 "fpdfsdk/cpdfsdk_xfawidget.cpp",
jaepark8c541822016-08-30 13:43:05 -0700156 "fpdfsdk/cpdfsdk_xfawidgethandler.cpp",
jaepark611adb82016-08-17 11:34:36 -0700157 "fpdfsdk/include/cpdfsdk_xfawidget.h",
jaepark8c541822016-08-30 13:43:05 -0700158 "fpdfsdk/include/cpdfsdk_xfawidgethandler.h",
jaepark611adb82016-08-17 11:34:36 -0700159 ]
160
Tom Sepezb5451592016-02-22 16:48:02 -0800161 deps += [ ":fpdfxfa" ]
Tom Sepeza8a39e22015-10-12 15:47:07 -0700162 }
163
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700164 if (is_win) {
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400165 libs += [
166 "advapi32.lib",
167 "gdi32.lib",
168 "user32.lib",
169 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700170 }
171
172 if (is_mac) {
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400173 libs += [
174 "AppKit.framework",
175 "CoreFoundation.framework",
176 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700177 }
John Abd-El-Malekef4dce42015-02-02 16:52:07 -0800178
Tom Sepez0dfd0302015-10-12 15:38:22 -0700179 if (pdfium_bundle_freetype) {
180 deps += [ "third_party:fx_freetype" ]
John Abd-El-Malekef4dce42015-02-02 16:52:07 -0800181 } else {
182 libs += [ "freetype" ]
183 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700184}
185
brettwe283e472016-07-21 09:38:22 -0700186static_library("test_support") {
Tom Sepezd831dc72015-10-19 16:04:22 -0700187 testonly = true
188 sources = [
189 "testing/fx_string_testhelpers.cpp",
190 "testing/fx_string_testhelpers.h",
191 "testing/test_support.cpp",
192 "testing/test_support.h",
Oliver Changd46f1c82015-11-12 22:03:10 -0800193 "testing/utils/path_service.cpp",
Tom Sepezd831dc72015-10-19 16:04:22 -0700194 ]
195 deps = [
Dan Sinclairfffc9632016-03-08 08:57:05 -0500196 ":pdfium",
Tom Sepezd831dc72015-10-19 16:04:22 -0700197 "//testing/gmock",
198 "//testing/gtest",
Tom Sepezd831dc72015-10-19 16:04:22 -0700199 ]
Lei Zhang8241df72015-11-06 14:38:48 -0800200 include_dirs = []
Tom Sepezd831dc72015-10-19 16:04:22 -0700201 if (pdf_enable_v8) {
202 deps += [
203 "//v8",
204 "//v8:v8_libplatform",
205 ]
206 include_dirs += [
207 "//v8",
208 "//v8/include",
209 ]
Jochen Eisinger7ed503d2015-12-10 14:38:06 +0100210 configs += [ "//v8:external_startup_data" ]
Tom Sepezd831dc72015-10-19 16:04:22 -0700211 }
weili0abe6522016-06-06 14:41:22 -0700212 configs += [ ":pdfium_core_config" ]
Tom Sepezd831dc72015-10-19 16:04:22 -0700213}
214
215# Targets below this are only visible within this file (and to the
216# top-level gn_visibility target used to help gn_all build everything).
217visibility = [
218 ":*",
219 "//:gn_visibility",
220]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700221
222static_library("fdrm") {
223 sources = [
Dan Sinclair764ec512016-03-14 13:35:12 -0400224 "core/fdrm/crypto/fx_crypt.cpp",
225 "core/fdrm/crypto/fx_crypt_aes.cpp",
226 "core/fdrm/crypto/fx_crypt_sha.cpp",
Dan Sinclair13ee55a2016-03-14 15:56:00 -0400227 "core/fdrm/crypto/include/fx_crypt.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700228 ]
weili0abe6522016-06-06 14:41:22 -0700229 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700230 deps = [
231 ":fxcrt",
232 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700233}
234
235static_library("fpdfdoc") {
236 sources = [
dsinclair448c4332016-08-02 12:07:35 -0700237 "core/fpdfdoc/cline.cpp",
238 "core/fpdfdoc/cline.h",
weilif4bb5802016-06-14 17:21:14 -0700239 "core/fpdfdoc/clines.cpp",
240 "core/fpdfdoc/clines.h",
dsinclair02e6f592016-08-02 11:25:48 -0700241 "core/fpdfdoc/cpdf_aaction.cpp",
242 "core/fpdfdoc/cpdf_action.cpp",
243 "core/fpdfdoc/cpdf_actionfields.cpp",
jaepark3b6c7e92016-07-20 14:18:04 -0700244 "core/fpdfdoc/cpdf_annot.cpp",
jaepark3b6c7e92016-07-20 14:18:04 -0700245 "core/fpdfdoc/cpdf_annotlist.cpp",
dsinclair27053d82016-08-02 15:43:46 -0700246 "core/fpdfdoc/cpdf_apsettings.cpp",
dsinclaircac704d2016-07-28 12:59:09 -0700247 "core/fpdfdoc/cpdf_apsettings.h",
dsinclair02e6f592016-08-02 11:25:48 -0700248 "core/fpdfdoc/cpdf_bookmark.cpp",
249 "core/fpdfdoc/cpdf_bookmarktree.cpp",
dsinclair27053d82016-08-02 15:43:46 -0700250 "core/fpdfdoc/cpdf_defaultappearance.cpp",
dsinclair448c4332016-08-02 12:07:35 -0700251 "core/fpdfdoc/cpdf_dest.cpp",
dsinclair02e6f592016-08-02 11:25:48 -0700252 "core/fpdfdoc/cpdf_docjsactions.cpp",
dsinclair448c4332016-08-02 12:07:35 -0700253 "core/fpdfdoc/cpdf_filespec.cpp",
dsinclair27053d82016-08-02 15:43:46 -0700254 "core/fpdfdoc/cpdf_formcontrol.cpp",
255 "core/fpdfdoc/cpdf_formfield.cpp",
256 "core/fpdfdoc/cpdf_iconfit.cpp",
257 "core/fpdfdoc/cpdf_interform.cpp",
dsinclair02e6f592016-08-02 11:25:48 -0700258 "core/fpdfdoc/cpdf_link.cpp",
259 "core/fpdfdoc/cpdf_linklist.cpp",
260 "core/fpdfdoc/cpdf_metadata.cpp",
dsinclair448c4332016-08-02 12:07:35 -0700261 "core/fpdfdoc/cpdf_nametree.cpp",
dsinclair27053d82016-08-02 15:43:46 -0700262 "core/fpdfdoc/cpdf_numbertree.cpp",
263 "core/fpdfdoc/cpdf_numbertree.h",
dsinclair448c4332016-08-02 12:07:35 -0700264 "core/fpdfdoc/cpdf_occontext.cpp",
265 "core/fpdfdoc/cpdf_pagelabel.cpp",
dsinclaircac704d2016-07-28 12:59:09 -0700266 "core/fpdfdoc/cpdf_pagelabel.h",
dsinclairc7a73492016-04-05 12:01:42 -0700267 "core/fpdfdoc/cpdf_variabletext.cpp",
dsinclair02e6f592016-08-02 11:25:48 -0700268 "core/fpdfdoc/cpdf_viewerpreferences.cpp",
dsinclair448c4332016-08-02 12:07:35 -0700269 "core/fpdfdoc/cpvt_arraytemplate.h",
dsinclair777b3332016-03-31 20:03:08 -0700270 "core/fpdfdoc/cpvt_color.cpp",
271 "core/fpdfdoc/cpvt_color.h",
272 "core/fpdfdoc/cpvt_dash.h",
dsinclairc7a73492016-04-05 12:01:42 -0700273 "core/fpdfdoc/cpvt_floatrect.h",
dsinclair777b3332016-03-31 20:03:08 -0700274 "core/fpdfdoc/cpvt_fontmap.cpp",
275 "core/fpdfdoc/cpvt_fontmap.h",
276 "core/fpdfdoc/cpvt_generateap.cpp",
277 "core/fpdfdoc/cpvt_generateap.h",
dsinclairc7a73492016-04-05 12:01:42 -0700278 "core/fpdfdoc/cpvt_lineinfo.h",
weili5a6c1392016-07-11 14:43:40 -0700279 "core/fpdfdoc/cpvt_sectioninfo.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700280 "core/fpdfdoc/cpvt_sectioninfo.h",
weili5a6c1392016-07-11 14:43:40 -0700281 "core/fpdfdoc/cpvt_wordinfo.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700282 "core/fpdfdoc/cpvt_wordinfo.h",
thestig9c845c32016-05-13 11:08:41 -0700283 "core/fpdfdoc/csection.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700284 "core/fpdfdoc/csection.h",
thestig9c845c32016-05-13 11:08:41 -0700285 "core/fpdfdoc/ctypeset.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700286 "core/fpdfdoc/ctypeset.h",
npm0c2d0a52016-08-26 11:32:09 -0700287 "core/fpdfdoc/doc_tagged.cpp",
dsinclaircac704d2016-07-28 12:59:09 -0700288 "core/fpdfdoc/include/cpdf_aaction.h",
289 "core/fpdfdoc/include/cpdf_action.h",
290 "core/fpdfdoc/include/cpdf_actionfields.h",
291 "core/fpdfdoc/include/cpdf_annot.h",
292 "core/fpdfdoc/include/cpdf_annotlist.h",
293 "core/fpdfdoc/include/cpdf_bookmark.h",
294 "core/fpdfdoc/include/cpdf_bookmarktree.h",
295 "core/fpdfdoc/include/cpdf_defaultappearance.h",
296 "core/fpdfdoc/include/cpdf_dest.h",
297 "core/fpdfdoc/include/cpdf_docjsactions.h",
298 "core/fpdfdoc/include/cpdf_filespec.h",
299 "core/fpdfdoc/include/cpdf_formcontrol.h",
300 "core/fpdfdoc/include/cpdf_formfield.h",
301 "core/fpdfdoc/include/cpdf_iconfit.h",
302 "core/fpdfdoc/include/cpdf_interform.h",
303 "core/fpdfdoc/include/cpdf_link.h",
304 "core/fpdfdoc/include/cpdf_linklist.h",
305 "core/fpdfdoc/include/cpdf_metadata.h",
306 "core/fpdfdoc/include/cpdf_nametree.h",
307 "core/fpdfdoc/include/cpdf_occontext.h",
dsinclairc7a73492016-04-05 12:01:42 -0700308 "core/fpdfdoc/include/cpdf_variabletext.h",
dsinclaircac704d2016-07-28 12:59:09 -0700309 "core/fpdfdoc/include/cpdf_viewerpreferences.h",
dsinclairc7a73492016-04-05 12:01:42 -0700310 "core/fpdfdoc/include/cpvt_line.h",
311 "core/fpdfdoc/include/cpvt_secprops.h",
312 "core/fpdfdoc/include/cpvt_section.h",
313 "core/fpdfdoc/include/cpvt_word.h",
314 "core/fpdfdoc/include/cpvt_wordplace.h",
315 "core/fpdfdoc/include/cpvt_wordprops.h",
316 "core/fpdfdoc/include/cpvt_wordrange.h",
npm0c2d0a52016-08-26 11:32:09 -0700317 "core/fpdfdoc/include/fpdf_tagged.h",
dsinclaircac704d2016-07-28 12:59:09 -0700318 "core/fpdfdoc/include/ipdf_formnotify.h",
thestig5fec5972016-08-30 06:39:40 -0700319 "core/fpdfdoc/include/ipvt_fontmap.h",
npm0c2d0a52016-08-26 11:32:09 -0700320 "core/fpdfdoc/tagged_int.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700321 ]
weili0abe6522016-06-06 14:41:22 -0700322 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700323 deps = [
324 ":fxcrt",
325 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700326}
327
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700328static_library("fpdfapi") {
329 sources = [
tsepezddffb572016-05-24 16:20:29 -0700330 "core/fpdfapi/cpdf_modulemgr.cpp",
weili9f515bc2016-07-24 08:08:24 -0700331 "core/fpdfapi/cpdf_pagerendercontext.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400332 "core/fpdfapi/fpdf_cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp",
333 "core/fpdfapi/fpdf_cmaps/CNS1/B5pc-H_0.cpp",
334 "core/fpdfapi/fpdf_cmaps/CNS1/B5pc-V_0.cpp",
335 "core/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-H_0.cpp",
336 "core/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-V_0.cpp",
337 "core/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-H_0.cpp",
338 "core/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-V_0.cpp",
339 "core/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-H_0.cpp",
340 "core/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-V_0.cpp",
341 "core/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-H_5.cpp",
342 "core/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-V_5.cpp",
343 "core/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-H_3.cpp",
344 "core/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-V_3.cpp",
345 "core/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UTF16-H_0.cpp",
346 "core/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp",
347 "core/fpdfapi/fpdf_cmaps/GB1/Adobe-GB1-UCS2_5.cpp",
348 "core/fpdfapi/fpdf_cmaps/GB1/GB-EUC-H_0.cpp",
349 "core/fpdfapi/fpdf_cmaps/GB1/GB-EUC-V_0.cpp",
350 "core/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-H_2.cpp",
351 "core/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-V_2.cpp",
352 "core/fpdfapi/fpdf_cmaps/GB1/GBK2K-H_5.cpp",
353 "core/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp",
354 "core/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-H_2.cpp",
355 "core/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-V_2.cpp",
356 "core/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-H_0.cpp",
357 "core/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-V_0.cpp",
358 "core/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-H_4.cpp",
359 "core/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-V_4.cpp",
360 "core/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp",
361 "core/fpdfapi/fpdf_cmaps/Japan1/83pv-RKSJ-H_1.cpp",
362 "core/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-H_2.cpp",
363 "core/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-V_2.cpp",
364 "core/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-H_2.cpp",
365 "core/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-V_2.cpp",
366 "core/fpdfapi/fpdf_cmaps/Japan1/90pv-RKSJ-H_1.cpp",
367 "core/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-H_1.cpp",
368 "core/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-V_1.cpp",
369 "core/fpdfapi/fpdf_cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp",
370 "core/fpdfapi/fpdf_cmaps/Japan1/EUC-H_1.cpp",
371 "core/fpdfapi/fpdf_cmaps/Japan1/EUC-V_1.cpp",
372 "core/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-H_2.cpp",
373 "core/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-V_2.cpp",
374 "core/fpdfapi/fpdf_cmaps/Japan1/H_1.cpp",
375 "core/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp",
376 "core/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp",
377 "core/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-H_4.cpp",
378 "core/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-V_4.cpp",
379 "core/fpdfapi/fpdf_cmaps/Japan1/V_1.cpp",
380 "core/fpdfapi/fpdf_cmaps/Japan1/cmaps_japan1.cpp",
381 "core/fpdfapi/fpdf_cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp",
382 "core/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-H_0.cpp",
383 "core/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-V_0.cpp",
384 "core/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-H_1.cpp",
385 "core/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-V_1.cpp",
386 "core/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-H_1.cpp",
387 "core/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-V_1.cpp",
388 "core/fpdfapi/fpdf_cmaps/Korea1/KSCpc-EUC-H_0.cpp",
389 "core/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-H_1.cpp",
390 "core/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-V_1.cpp",
391 "core/fpdfapi/fpdf_cmaps/Korea1/UniKS-UTF16-H_0.cpp",
392 "core/fpdfapi/fpdf_cmaps/Korea1/cmaps_korea1.cpp",
393 "core/fpdfapi/fpdf_cmaps/cmap_int.h",
394 "core/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp",
Dan Sinclair455a4192016-03-16 09:48:56 -0400395 "core/fpdfapi/fpdf_edit/cpdf_pagecontentgenerator.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400396 "core/fpdfapi/fpdf_edit/editint.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400397 "core/fpdfapi/fpdf_edit/fpdf_edit_create.cpp",
Dan Sinclairaa403d32016-03-15 14:57:22 -0400398 "core/fpdfapi/fpdf_edit/include/cpdf_creator.h",
Dan Sinclair455a4192016-03-16 09:48:56 -0400399 "core/fpdfapi/fpdf_edit/include/cpdf_pagecontentgenerator.h",
dan sinclair61b2fc72016-03-23 19:21:44 -0400400 "core/fpdfapi/fpdf_font/cpdf_cidfont.cpp",
401 "core/fpdfapi/fpdf_font/cpdf_cidfont.h",
402 "core/fpdfapi/fpdf_font/cpdf_font.cpp",
403 "core/fpdfapi/fpdf_font/cpdf_fontencoding.cpp",
404 "core/fpdfapi/fpdf_font/cpdf_simplefont.cpp",
405 "core/fpdfapi/fpdf_font/cpdf_simplefont.h",
406 "core/fpdfapi/fpdf_font/cpdf_truetypefont.cpp",
407 "core/fpdfapi/fpdf_font/cpdf_truetypefont.h",
408 "core/fpdfapi/fpdf_font/cpdf_type1font.cpp",
409 "core/fpdfapi/fpdf_font/cpdf_type1font.h",
410 "core/fpdfapi/fpdf_font/cpdf_type3char.cpp",
411 "core/fpdfapi/fpdf_font/cpdf_type3char.h",
412 "core/fpdfapi/fpdf_font/cpdf_type3font.cpp",
413 "core/fpdfapi/fpdf_font/cpdf_type3font.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400414 "core/fpdfapi/fpdf_font/font_int.h",
415 "core/fpdfapi/fpdf_font/fpdf_font.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400416 "core/fpdfapi/fpdf_font/fpdf_font_cid.cpp",
dan sinclair61b2fc72016-03-23 19:21:44 -0400417 "core/fpdfapi/fpdf_font/include/cpdf_font.h",
418 "core/fpdfapi/fpdf_font/include/cpdf_fontencoding.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400419 "core/fpdfapi/fpdf_font/ttgsubtable.cpp",
420 "core/fpdfapi/fpdf_font/ttgsubtable.h",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400421 "core/fpdfapi/fpdf_page/cpdf_allstates.cpp",
422 "core/fpdfapi/fpdf_page/cpdf_allstates.h",
423 "core/fpdfapi/fpdf_page/cpdf_clippath.cpp",
dan sinclair61b2fc72016-03-23 19:21:44 -0400424 "core/fpdfapi/fpdf_page/cpdf_color.cpp",
425 "core/fpdfapi/fpdf_page/cpdf_colorspace.cpp",
tsepezadbd3292016-08-29 14:07:28 -0700426 "core/fpdfapi/fpdf_page/cpdf_colorstate.cpp",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400427 "core/fpdfapi/fpdf_page/cpdf_colorstate.h",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400428 "core/fpdfapi/fpdf_page/cpdf_contentmark.cpp",
429 "core/fpdfapi/fpdf_page/cpdf_contentmark.h",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400430 "core/fpdfapi/fpdf_page/cpdf_contentmarkitem.cpp",
431 "core/fpdfapi/fpdf_page/cpdf_contentmarkitem.h",
dan sinclair61b2fc72016-03-23 19:21:44 -0400432 "core/fpdfapi/fpdf_page/cpdf_countedobject.h",
Dan Sinclair455a4192016-03-16 09:48:56 -0400433 "core/fpdfapi/fpdf_page/cpdf_form.cpp",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400434 "core/fpdfapi/fpdf_page/cpdf_formobject.cpp",
435 "core/fpdfapi/fpdf_page/cpdf_generalstate.cpp",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400436 "core/fpdfapi/fpdf_page/cpdf_graphicstates.cpp",
437 "core/fpdfapi/fpdf_page/cpdf_graphicstates.h",
dan sinclair61b2fc72016-03-23 19:21:44 -0400438 "core/fpdfapi/fpdf_page/cpdf_image.cpp",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400439 "core/fpdfapi/fpdf_page/cpdf_imageobject.cpp",
dan sinclair61b2fc72016-03-23 19:21:44 -0400440 "core/fpdfapi/fpdf_page/cpdf_meshstream.cpp",
441 "core/fpdfapi/fpdf_page/cpdf_meshstream.h",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400442 "core/fpdfapi/fpdf_page/cpdf_page.cpp",
dsinclaird647a6b2016-04-26 13:13:20 -0700443 "core/fpdfapi/fpdf_page/cpdf_pagemodule.cpp",
444 "core/fpdfapi/fpdf_page/cpdf_pagemodule.h",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400445 "core/fpdfapi/fpdf_page/cpdf_pageobject.cpp",
Dan Sinclair455a4192016-03-16 09:48:56 -0400446 "core/fpdfapi/fpdf_page/cpdf_pageobjectholder.cpp",
447 "core/fpdfapi/fpdf_page/cpdf_pageobjectlist.cpp",
448 "core/fpdfapi/fpdf_page/cpdf_pageobjectlist.h",
tsepezfc1d16f2016-09-02 15:45:22 -0700449 "core/fpdfapi/fpdf_page/cpdf_path.cpp",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400450 "core/fpdfapi/fpdf_page/cpdf_pathobject.cpp",
dan sinclair61b2fc72016-03-23 19:21:44 -0400451 "core/fpdfapi/fpdf_page/cpdf_pattern.cpp",
452 "core/fpdfapi/fpdf_page/cpdf_pattern.h",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400453 "core/fpdfapi/fpdf_page/cpdf_shadingobject.cpp",
dan sinclair61b2fc72016-03-23 19:21:44 -0400454 "core/fpdfapi/fpdf_page/cpdf_shadingpattern.cpp",
455 "core/fpdfapi/fpdf_page/cpdf_shadingpattern.h",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400456 "core/fpdfapi/fpdf_page/cpdf_textobject.cpp",
tsepez59601432016-08-29 14:26:57 -0700457 "core/fpdfapi/fpdf_page/cpdf_textstate.cpp",
dan sinclair61b2fc72016-03-23 19:21:44 -0400458 "core/fpdfapi/fpdf_page/cpdf_tilingpattern.cpp",
459 "core/fpdfapi/fpdf_page/cpdf_tilingpattern.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400460 "core/fpdfapi/fpdf_page/fpdf_page_colors.cpp",
461 "core/fpdfapi/fpdf_page/fpdf_page_doc.cpp",
462 "core/fpdfapi/fpdf_page/fpdf_page_func.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400463 "core/fpdfapi/fpdf_page/fpdf_page_parser.cpp",
464 "core/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400465 "core/fpdfapi/fpdf_page/include/cpdf_clippath.h",
dan sinclair61b2fc72016-03-23 19:21:44 -0400466 "core/fpdfapi/fpdf_page/include/cpdf_color.h",
467 "core/fpdfapi/fpdf_page/include/cpdf_colorspace.h",
Dan Sinclair455a4192016-03-16 09:48:56 -0400468 "core/fpdfapi/fpdf_page/include/cpdf_form.h",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400469 "core/fpdfapi/fpdf_page/include/cpdf_formobject.h",
470 "core/fpdfapi/fpdf_page/include/cpdf_generalstate.h",
dan sinclair61b2fc72016-03-23 19:21:44 -0400471 "core/fpdfapi/fpdf_page/include/cpdf_image.h",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400472 "core/fpdfapi/fpdf_page/include/cpdf_imageobject.h",
Dan Sinclair455a4192016-03-16 09:48:56 -0400473 "core/fpdfapi/fpdf_page/include/cpdf_page.h",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400474 "core/fpdfapi/fpdf_page/include/cpdf_pageobject.h",
Dan Sinclair455a4192016-03-16 09:48:56 -0400475 "core/fpdfapi/fpdf_page/include/cpdf_pageobjectholder.h",
Dan Sinclair584b1e62016-03-21 09:15:45 -0400476 "core/fpdfapi/fpdf_page/include/cpdf_path.h",
477 "core/fpdfapi/fpdf_page/include/cpdf_pathobject.h",
478 "core/fpdfapi/fpdf_page/include/cpdf_shadingobject.h",
479 "core/fpdfapi/fpdf_page/include/cpdf_textobject.h",
tsepez0a765b82016-09-06 14:51:40 -0700480 "core/fpdfapi/fpdf_page/include/cpdf_textstate.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400481 "core/fpdfapi/fpdf_page/pageint.h",
482 "core/fpdfapi/fpdf_parser/cfdf_document.cpp",
483 "core/fpdfapi/fpdf_parser/cpdf_array.cpp",
484 "core/fpdfapi/fpdf_parser/cpdf_boolean.cpp",
Dan Sinclairaa403d32016-03-15 14:57:22 -0400485 "core/fpdfapi/fpdf_parser/cpdf_boolean.h",
dsinclair2fa0e132016-04-19 10:32:45 -0700486 "core/fpdfapi/fpdf_parser/cpdf_crypto_handler.cpp",
487 "core/fpdfapi/fpdf_parser/cpdf_crypto_handler.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400488 "core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400489 "core/fpdfapi/fpdf_parser/cpdf_dictionary.cpp",
490 "core/fpdfapi/fpdf_parser/cpdf_document.cpp",
491 "core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp",
492 "core/fpdfapi/fpdf_parser/cpdf_hint_tables.h",
493 "core/fpdfapi/fpdf_parser/cpdf_indirect_object_holder.cpp",
494 "core/fpdfapi/fpdf_parser/cpdf_name.cpp",
495 "core/fpdfapi/fpdf_parser/cpdf_null.cpp",
Dan Sinclairaa403d32016-03-15 14:57:22 -0400496 "core/fpdfapi/fpdf_parser/cpdf_null.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400497 "core/fpdfapi/fpdf_parser/cpdf_number.cpp",
498 "core/fpdfapi/fpdf_parser/cpdf_object.cpp",
499 "core/fpdfapi/fpdf_parser/cpdf_parser.cpp",
500 "core/fpdfapi/fpdf_parser/cpdf_reference.cpp",
dsinclair2fa0e132016-04-19 10:32:45 -0700501 "core/fpdfapi/fpdf_parser/cpdf_security_handler.cpp",
502 "core/fpdfapi/fpdf_parser/cpdf_security_handler.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400503 "core/fpdfapi/fpdf_parser/cpdf_simple_parser.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400504 "core/fpdfapi/fpdf_parser/cpdf_stream.cpp",
Tom Sepez92bbb6f2016-03-15 09:33:58 -0700505 "core/fpdfapi/fpdf_parser/cpdf_stream_acc.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400506 "core/fpdfapi/fpdf_parser/cpdf_string.cpp",
507 "core/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp",
508 "core/fpdfapi/fpdf_parser/cpdf_syntax_parser.h",
509 "core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp",
510 "core/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp",
511 "core/fpdfapi/fpdf_parser/fpdf_parser_utility.h",
Dan Sinclairaa403d32016-03-15 14:57:22 -0400512 "core/fpdfapi/fpdf_parser/include/cfdf_document.h",
513 "core/fpdfapi/fpdf_parser/include/cpdf_array.h",
thestig979070b2016-06-14 10:44:01 -0700514 "core/fpdfapi/fpdf_parser/include/cpdf_data_avail.h",
Dan Sinclairaa403d32016-03-15 14:57:22 -0400515 "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h",
516 "core/fpdfapi/fpdf_parser/include/cpdf_document.h",
517 "core/fpdfapi/fpdf_parser/include/cpdf_indirect_object_holder.h",
518 "core/fpdfapi/fpdf_parser/include/cpdf_name.h",
519 "core/fpdfapi/fpdf_parser/include/cpdf_number.h",
520 "core/fpdfapi/fpdf_parser/include/cpdf_object.h",
521 "core/fpdfapi/fpdf_parser/include/cpdf_parser.h",
522 "core/fpdfapi/fpdf_parser/include/cpdf_reference.h",
523 "core/fpdfapi/fpdf_parser/include/cpdf_simple_parser.h",
524 "core/fpdfapi/fpdf_parser/include/cpdf_stream.h",
525 "core/fpdfapi/fpdf_parser/include/cpdf_stream_acc.h",
526 "core/fpdfapi/fpdf_parser/include/cpdf_string.h",
527 "core/fpdfapi/fpdf_parser/include/fpdf_parser_decode.h",
Dan Sinclairaa403d32016-03-15 14:57:22 -0400528 "core/fpdfapi/fpdf_render/cpdf_pagerendercache.h",
npmeadff192016-09-01 13:21:37 -0700529 "core/fpdfapi/fpdf_render/cpdf_type3cache.cpp",
530 "core/fpdfapi/fpdf_render/cpdf_type3cache.h",
531 "core/fpdfapi/fpdf_render/cpdf_type3glyphs.cpp",
532 "core/fpdfapi/fpdf_render/cpdf_type3glyphs.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400533 "core/fpdfapi/fpdf_render/fpdf_render.cpp",
534 "core/fpdfapi/fpdf_render/fpdf_render_cache.cpp",
535 "core/fpdfapi/fpdf_render/fpdf_render_image.cpp",
536 "core/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp",
537 "core/fpdfapi/fpdf_render/fpdf_render_pattern.cpp",
538 "core/fpdfapi/fpdf_render/fpdf_render_text.cpp",
Dan Sinclairaa403d32016-03-15 14:57:22 -0400539 "core/fpdfapi/fpdf_render/include/cpdf_progressiverenderer.h",
540 "core/fpdfapi/fpdf_render/include/cpdf_rendercontext.h",
541 "core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h",
542 "core/fpdfapi/fpdf_render/include/cpdf_textrenderer.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400543 "core/fpdfapi/fpdf_render/render_int.h",
Dan Sinclairaa403d32016-03-15 14:57:22 -0400544 "core/fpdfapi/include/cpdf_modulemgr.h",
weili9f515bc2016-07-24 08:08:24 -0700545 "core/fpdfapi/include/cpdf_pagerendercontext.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700546 ]
weili0abe6522016-06-06 14:41:22 -0700547 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700548 deps = [
549 ":fxcrt",
550 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700551}
552
553static_library("fpdftext") {
554 sources = [
npm2d396ac2016-08-26 10:00:25 -0700555 "core/fpdftext/cpdf_linkextract.cpp",
556 "core/fpdftext/cpdf_textpage.cpp",
557 "core/fpdftext/cpdf_textpagefind.cpp",
dsinclaira28ae382016-04-19 10:39:24 -0700558 "core/fpdftext/include/cpdf_linkextract.h",
559 "core/fpdftext/include/cpdf_textpage.h",
560 "core/fpdftext/include/cpdf_textpagefind.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400561 "core/fpdftext/unicodenormalizationdata.cpp",
562 "core/fpdftext/unicodenormalizationdata.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700563 ]
weili0abe6522016-06-06 14:41:22 -0700564 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700565 deps = [
566 ":fxcrt",
567 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700568}
569
570static_library("fxcodec") {
571 sources = [
dsinclaird55e11e2016-04-12 11:21:22 -0700572 "core/fxcodec/codec/ccodec_basicmodule.h",
573 "core/fxcodec/codec/ccodec_faxmodule.h",
574 "core/fxcodec/codec/ccodec_flatemodule.h",
575 "core/fxcodec/codec/ccodec_iccmodule.h",
576 "core/fxcodec/codec/ccodec_jbig2module.h",
577 "core/fxcodec/codec/ccodec_jpegmodule.h",
578 "core/fxcodec/codec/ccodec_jpxmodule.h",
579 "core/fxcodec/codec/ccodec_scanlinedecoder.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400580 "core/fxcodec/codec/codec_int.h",
581 "core/fxcodec/codec/fx_codec.cpp",
582 "core/fxcodec/codec/fx_codec_fax.cpp",
583 "core/fxcodec/codec/fx_codec_flate.cpp",
584 "core/fxcodec/codec/fx_codec_icc.cpp",
585 "core/fxcodec/codec/fx_codec_jbig.cpp",
586 "core/fxcodec/codec/fx_codec_jpeg.cpp",
587 "core/fxcodec/codec/fx_codec_jpx_opj.cpp",
weili0024a222016-07-24 08:26:49 -0700588 "core/fxcodec/include/JBig2_DocumentContext.h",
dsinclair86e54742016-04-06 12:30:31 -0700589 "core/fxcodec/include/fx_codec.h",
590 "core/fxcodec/include/fx_codec_def.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400591 "core/fxcodec/jbig2/JBig2_ArithDecoder.cpp",
592 "core/fxcodec/jbig2/JBig2_ArithDecoder.h",
593 "core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp",
594 "core/fxcodec/jbig2/JBig2_ArithIntDecoder.h",
595 "core/fxcodec/jbig2/JBig2_BitStream.cpp",
596 "core/fxcodec/jbig2/JBig2_BitStream.h",
597 "core/fxcodec/jbig2/JBig2_Context.cpp",
598 "core/fxcodec/jbig2/JBig2_Context.h",
599 "core/fxcodec/jbig2/JBig2_Define.h",
600 "core/fxcodec/jbig2/JBig2_GrdProc.cpp",
601 "core/fxcodec/jbig2/JBig2_GrdProc.h",
602 "core/fxcodec/jbig2/JBig2_GrrdProc.cpp",
603 "core/fxcodec/jbig2/JBig2_GrrdProc.h",
604 "core/fxcodec/jbig2/JBig2_GsidProc.cpp",
605 "core/fxcodec/jbig2/JBig2_GsidProc.h",
606 "core/fxcodec/jbig2/JBig2_HtrdProc.cpp",
607 "core/fxcodec/jbig2/JBig2_HtrdProc.h",
608 "core/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp",
609 "core/fxcodec/jbig2/JBig2_HuffmanDecoder.h",
610 "core/fxcodec/jbig2/JBig2_HuffmanTable.cpp",
611 "core/fxcodec/jbig2/JBig2_HuffmanTable.h",
Tom Sepez4161c5c2016-03-21 12:26:54 -0700612 "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400613 "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h",
614 "core/fxcodec/jbig2/JBig2_Image.cpp",
615 "core/fxcodec/jbig2/JBig2_Image.h",
616 "core/fxcodec/jbig2/JBig2_List.h",
617 "core/fxcodec/jbig2/JBig2_Page.h",
618 "core/fxcodec/jbig2/JBig2_PatternDict.cpp",
619 "core/fxcodec/jbig2/JBig2_PatternDict.h",
620 "core/fxcodec/jbig2/JBig2_PddProc.cpp",
621 "core/fxcodec/jbig2/JBig2_PddProc.h",
622 "core/fxcodec/jbig2/JBig2_SddProc.cpp",
623 "core/fxcodec/jbig2/JBig2_SddProc.h",
624 "core/fxcodec/jbig2/JBig2_Segment.cpp",
625 "core/fxcodec/jbig2/JBig2_Segment.h",
626 "core/fxcodec/jbig2/JBig2_SymbolDict.cpp",
627 "core/fxcodec/jbig2/JBig2_SymbolDict.h",
628 "core/fxcodec/jbig2/JBig2_TrdProc.cpp",
629 "core/fxcodec/jbig2/JBig2_TrdProc.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700630 ]
thestig73c48562016-09-06 14:07:17 -0700631 configs += [ ":pdfium_core_config" ]
Lei Zhang8241df72015-11-06 14:38:48 -0800632 include_dirs = []
thestig73c48562016-09-06 14:07:17 -0700633 deps = [
634 ":fxcrt",
635 "third_party:fx_lcms2",
636 "third_party:fx_libopenjpeg",
637 "third_party:fx_zlib",
638
639 # This is a generic JPEG library dependency.
640 "//third_party:jpeg",
641 ]
642
Tom Sepezd2e023b2015-12-08 14:36:16 -0800643 if (pdf_enable_xfa) {
644 sources += [
dsinclaird55e11e2016-04-12 11:21:22 -0700645 "core/fxcodec/codec/ccodec_bmpmodule.h",
646 "core/fxcodec/codec/ccodec_gifmodule.h",
647 "core/fxcodec/codec/ccodec_pngmodule.h",
648 "core/fxcodec/codec/ccodec_tiffmodule.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400649 "core/fxcodec/codec/fx_codec_bmp.cpp",
650 "core/fxcodec/codec/fx_codec_gif.cpp",
651 "core/fxcodec/codec/fx_codec_png.cpp",
652 "core/fxcodec/codec/fx_codec_progress.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400653 "core/fxcodec/codec/fx_codec_tiff.cpp",
dsinclaird55e11e2016-04-12 11:21:22 -0700654 "core/fxcodec/codec/include/ccodec_progressivedecoder.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400655 "core/fxcodec/lbmp/fx_bmp.cpp",
656 "core/fxcodec/lbmp/fx_bmp.h",
657 "core/fxcodec/lgif/fx_gif.cpp",
658 "core/fxcodec/lgif/fx_gif.h",
Tom Sepezd2e023b2015-12-08 14:36:16 -0800659 ]
660 deps += [
661 "third_party:fx_lpng",
662 "third_party:fx_tiff",
663 ]
664 }
John Abd-El-Malekdef5c7d2014-06-09 16:07:18 -0700665 if (is_posix) {
Dan Sinclair764ec512016-03-14 13:35:12 -0400666 # core/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int
John Abd-El-Malekdef5c7d2014-06-09 16:07:18 -0700667 # conversion to check that an address is 16-bit aligned (benign).
668 cflags_c = [ "-Wno-pointer-to-int-cast" ]
669 }
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400670}
671
672config("fxge_warnings") {
673 if (is_clang) {
674 cflags = [
675 # http://code.google.com/p/pdfium/issues/detail?id=188
676 "-Wno-switch",
677 ]
678 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700679}
680
681static_library("fxcrt") {
682 sources = [
tsepezf7036ba2016-05-13 15:02:43 -0700683 "core/fxcrt/cfx_string_c_template.h",
tsepez6fb598b2016-04-05 12:40:47 -0700684 "core/fxcrt/cfx_string_data_template.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400685 "core/fxcrt/extension.h",
686 "core/fxcrt/fx_basic_array.cpp",
687 "core/fxcrt/fx_basic_bstring.cpp",
688 "core/fxcrt/fx_basic_buffer.cpp",
689 "core/fxcrt/fx_basic_coords.cpp",
690 "core/fxcrt/fx_basic_gcc.cpp",
691 "core/fxcrt/fx_basic_list.cpp",
692 "core/fxcrt/fx_basic_memmgr.cpp",
693 "core/fxcrt/fx_basic_plex.cpp",
694 "core/fxcrt/fx_basic_utf.cpp",
695 "core/fxcrt/fx_basic_util.cpp",
696 "core/fxcrt/fx_basic_wstring.cpp",
697 "core/fxcrt/fx_bidi.cpp",
Dan Sinclaira8a28e02016-03-23 15:41:39 -0400698 "core/fxcrt/fx_bidi.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400699 "core/fxcrt/fx_extension.cpp",
700 "core/fxcrt/fx_ucddata.cpp",
701 "core/fxcrt/fx_unicode.cpp",
702 "core/fxcrt/fx_xml_composer.cpp",
703 "core/fxcrt/fx_xml_parser.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400704 "core/fxcrt/fxcrt_posix.cpp",
705 "core/fxcrt/fxcrt_posix.h",
706 "core/fxcrt/fxcrt_stream.cpp",
707 "core/fxcrt/fxcrt_windows.cpp",
708 "core/fxcrt/fxcrt_windows.h",
tsepez80f99572016-08-26 10:59:04 -0700709 "core/fxcrt/include/cfx_count_ref.h",
tsepez1c620542016-09-12 09:47:52 -0700710 "core/fxcrt/include/cfx_observable.h",
tsepez602aebc2016-03-29 15:04:21 -0700711 "core/fxcrt/include/cfx_retain_ptr.h",
tsepezd9871432016-09-15 14:01:31 -0700712 "core/fxcrt/include/cfx_string_pool_template.h",
Dan Sinclaira8a28e02016-03-23 15:41:39 -0400713 "core/fxcrt/include/fx_basic.h",
714 "core/fxcrt/include/fx_coordinates.h",
715 "core/fxcrt/include/fx_ext.h",
716 "core/fxcrt/include/fx_memory.h",
717 "core/fxcrt/include/fx_safe_types.h",
718 "core/fxcrt/include/fx_stream.h",
719 "core/fxcrt/include/fx_string.h",
720 "core/fxcrt/include/fx_system.h",
721 "core/fxcrt/include/fx_ucd.h",
722 "core/fxcrt/include/fx_xml.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400723 "core/fxcrt/plex.h",
724 "core/fxcrt/xml_int.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700725 ]
thestigc65e11e2016-08-30 21:56:33 -0700726 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700727 visibility += [ "third_party:*" ]
728 deps = [
729 "third_party:pdfium_base",
730 ]
731 public_deps = [
732 "third_party:pdfium_base",
733 ]
thestigc65e11e2016-08-30 21:56:33 -0700734
Tom Sepezd2e023b2015-12-08 14:36:16 -0800735 if (pdf_enable_xfa) {
736 sources += [
pcce3bbfa22016-04-19 12:40:07 -0700737 "core/fxcrt/fx_arabic.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400738 "core/fxcrt/fx_basic_maps.cpp",
thestig5fec5972016-08-30 06:39:40 -0700739 "core/fxcrt/include/fx_arabic.h",
Dan Sinclaira8a28e02016-03-23 15:41:39 -0400740 "core/fxcrt/include/fx_arb.h",
Tom Sepezd2e023b2015-12-08 14:36:16 -0800741 ]
742 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700743}
744
745static_library("fxge") {
746 sources = [
Dan Sinclair764ec512016-03-14 13:35:12 -0400747 "core/fxge/android/fpf_skiafont.cpp",
748 "core/fxge/android/fpf_skiafont.h",
749 "core/fxge/android/fpf_skiafontmgr.cpp",
750 "core/fxge/android/fpf_skiafontmgr.h",
751 "core/fxge/android/fpf_skiamodule.cpp",
752 "core/fxge/android/fpf_skiamodule.h",
753 "core/fxge/android/fx_android_font.cpp",
754 "core/fxge/android/fx_android_font.h",
755 "core/fxge/android/fx_android_imp.cpp",
756 "core/fxge/apple/apple_int.h",
npm74847622016-07-29 15:20:25 -0700757 "core/fxge/apple/cfx_quartzdevice.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400758 "core/fxge/apple/fx_mac_imp.cpp",
759 "core/fxge/apple/fx_quartz_device.cpp",
760 "core/fxge/dib/dib_int.h",
761 "core/fxge/dib/fx_dib_composite.cpp",
762 "core/fxge/dib/fx_dib_convert.cpp",
763 "core/fxge/dib/fx_dib_engine.cpp",
764 "core/fxge/dib/fx_dib_main.cpp",
765 "core/fxge/dib/fx_dib_transform.cpp",
766 "core/fxge/fontdata/chromefontdata/FoxitDingbats.cpp",
767 "core/fxge/fontdata/chromefontdata/FoxitFixed.cpp",
768 "core/fxge/fontdata/chromefontdata/FoxitFixedBold.cpp",
769 "core/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.cpp",
770 "core/fxge/fontdata/chromefontdata/FoxitFixedItalic.cpp",
771 "core/fxge/fontdata/chromefontdata/FoxitSans.cpp",
772 "core/fxge/fontdata/chromefontdata/FoxitSansBold.cpp",
773 "core/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.cpp",
774 "core/fxge/fontdata/chromefontdata/FoxitSansItalic.cpp",
775 "core/fxge/fontdata/chromefontdata/FoxitSansMM.cpp",
776 "core/fxge/fontdata/chromefontdata/FoxitSerif.cpp",
777 "core/fxge/fontdata/chromefontdata/FoxitSerifBold.cpp",
778 "core/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.cpp",
779 "core/fxge/fontdata/chromefontdata/FoxitSerifItalic.cpp",
780 "core/fxge/fontdata/chromefontdata/FoxitSerifMM.cpp",
781 "core/fxge/fontdata/chromefontdata/FoxitSymbol.cpp",
782 "core/fxge/fontdata/chromefontdata/chromefontdata.h",
783 "core/fxge/freetype/fx_freetype.cpp",
npmd6918992016-08-17 13:22:16 -0700784 "core/fxge/ge/cfx_autofontcache.cpp",
npm660de3c2016-08-08 08:18:29 -0700785 "core/fxge/ge/cfx_cliprgn.cpp",
786 "core/fxge/ge/cfx_cliprgn.h",
npm19ecc232016-08-19 16:17:57 -0700787 "core/fxge/ge/cfx_facecache.cpp",
npmf73893a2016-07-27 13:54:25 -0700788 "core/fxge/ge/cfx_folderfontinfo.cpp",
789 "core/fxge/ge/cfx_folderfontinfo.h",
npm155c8802016-09-06 07:31:02 -0700790 "core/fxge/ge/cfx_font.cpp",
npmd6918992016-08-17 13:22:16 -0700791 "core/fxge/ge/cfx_fontcache.cpp",
npmf73893a2016-07-27 13:54:25 -0700792 "core/fxge/ge/cfx_fontmapper.cpp",
793 "core/fxge/ge/cfx_fontmgr.cpp",
npm26b86e62016-08-04 17:22:14 -0700794 "core/fxge/ge/cfx_gemodule.cpp",
tsepez7c9f0a12016-09-06 13:02:55 -0700795 "core/fxge/ge/cfx_graphstate.cpp",
npm9ada2d82016-08-10 07:51:38 -0700796 "core/fxge/ge/cfx_graphstatedata.cpp",
npm660de3c2016-08-08 08:18:29 -0700797 "core/fxge/ge/cfx_pathdata.cpp",
npm9ada2d82016-08-10 07:51:38 -0700798 "core/fxge/ge/cfx_renderdevice.cpp",
npm81ee14d2016-08-29 09:35:12 -0700799 "core/fxge/ge/cfx_substfont.cpp",
npm1a8946b2016-08-18 10:55:29 -0700800 "core/fxge/ge/cfx_unicodeencoding.cpp",
npm81ee14d2016-08-29 09:35:12 -0700801 "core/fxge/ge/cttfontdesc.cpp",
802 "core/fxge/ge/cttfontdesc.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400803 "core/fxge/ge/fx_ge_fontmap.cpp",
804 "core/fxge/ge/fx_ge_linux.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400805 "core/fxge/ge/fx_ge_text.cpp",
806 "core/fxge/ge/fx_text_int.h",
weili095d3462016-06-21 11:24:24 -0700807 "core/fxge/ifx_renderdevicedriver.cpp",
npmd6918992016-08-17 13:22:16 -0700808 "core/fxge/include/cfx_autofontcache.h",
npm19ecc232016-08-19 16:17:57 -0700809 "core/fxge/include/cfx_facecache.h",
npmd6918992016-08-17 13:22:16 -0700810 "core/fxge/include/cfx_fontcache.h",
thestig5fec5972016-08-30 06:39:40 -0700811 "core/fxge/include/cfx_fontmapper.h",
812 "core/fxge/include/cfx_fontmgr.h",
npm9ada2d82016-08-10 07:51:38 -0700813 "core/fxge/include/cfx_fxgedevice.h",
npm26b86e62016-08-04 17:22:14 -0700814 "core/fxge/include/cfx_gemodule.h",
tsepez7c9f0a12016-09-06 13:02:55 -0700815 "core/fxge/include/cfx_graphstate.h",
npm9ada2d82016-08-10 07:51:38 -0700816 "core/fxge/include/cfx_graphstatedata.h",
npm660de3c2016-08-08 08:18:29 -0700817 "core/fxge/include/cfx_pathdata.h",
npm9ada2d82016-08-10 07:51:38 -0700818 "core/fxge/include/cfx_renderdevice.h",
npm81ee14d2016-08-29 09:35:12 -0700819 "core/fxge/include/cfx_substfont.h",
npm1a8946b2016-08-18 10:55:29 -0700820 "core/fxge/include/cfx_unicodeencoding.h",
npm74847622016-07-29 15:20:25 -0700821 "core/fxge/include/cfx_windowsdevice.h",
dsinclair48baa5f2016-04-06 10:00:40 -0700822 "core/fxge/include/fx_dib.h",
823 "core/fxge/include/fx_font.h",
824 "core/fxge/include/fx_freetype.h",
weili095d3462016-06-21 11:24:24 -0700825 "core/fxge/include/ifx_renderdevicedriver.h",
thestig5fec5972016-08-30 06:39:40 -0700826 "core/fxge/include/ifx_systemfontinfo.h",
npm74847622016-07-29 15:20:25 -0700827 "core/fxge/win32/cfx_windowsdib.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700828 ]
829
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400830 configs += [
Lei Zhang7b16ba52015-10-26 17:06:53 -0700831 ":fxge_warnings",
weili0abe6522016-06-06 14:41:22 -0700832 ":pdfium_core_config",
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400833 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700834
thestig73c48562016-09-06 14:07:17 -0700835 deps = [
836 ":fxcrt",
837 ]
838
npm1a8946b2016-08-18 10:55:29 -0700839 if (pdf_enable_xfa) {
840 sources += [
841 "core/fxge/ge/cfx_unicodeencodingex.cpp",
842 "core/fxge/include/cfx_unicodeencodingex.h",
843 ]
844 }
845
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700846 if (pdf_use_skia) {
Cary Clark59b3a482016-03-17 12:00:39 -0400847 sources += [ "core/fxge/skia/fx_skia_device.cpp" ]
thestig73c48562016-09-06 14:07:17 -0700848 deps += [ "//skia" ]
caryclark749c14c2016-05-19 07:01:03 -0700849 } else {
850 sources += [
851 "core/fxge/agg/fx_agg_driver.cpp",
852 "core/fxge/agg/fx_agg_driver.h",
caryclark8b301622016-07-21 06:12:33 -0700853 "core/fxge/apple/fx_apple_platform.cpp",
caryclark749c14c2016-05-19 07:01:03 -0700854 ]
thestig73c48562016-09-06 14:07:17 -0700855 deps += [ "third_party:fx_agg" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700856 }
857
858 if (is_win) {
859 sources += [
Dan Sinclair764ec512016-03-14 13:35:12 -0400860 "core/fxge/win32/dwrite_int.h",
861 "core/fxge/win32/fx_win32_device.cpp",
862 "core/fxge/win32/fx_win32_dib.cpp",
863 "core/fxge/win32/fx_win32_dwrite.cpp",
864 "core/fxge/win32/fx_win32_gdipext.cpp",
865 "core/fxge/win32/fx_win32_print.cpp",
866 "core/fxge/win32/win32_int.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700867 ]
Tom Sepez465ed872015-12-09 14:55:41 -0800868 configs -= [ "//build/config/win:lean_and_mean" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700869 }
870}
871
872static_library("fxedit") {
873 sources = [
Dan Sinclairf766ad22016-03-14 13:51:24 -0400874 "fpdfsdk/fxedit/fxet_ap.cpp",
875 "fpdfsdk/fxedit/fxet_edit.cpp",
876 "fpdfsdk/fxedit/fxet_list.cpp",
dsinclair89bdd082016-04-06 10:47:54 -0700877 "fpdfsdk/fxedit/include/fx_edit.h",
878 "fpdfsdk/fxedit/include/fxet_edit.h",
879 "fpdfsdk/fxedit/include/fxet_list.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700880 ]
weili0abe6522016-06-06 14:41:22 -0700881 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700882 deps = [
883 ":fxcrt",
884 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700885}
886
887static_library("pdfwindow") {
888 sources = [
Dan Sinclairf766ad22016-03-14 13:51:24 -0400889 "fpdfsdk/pdfwindow/PWL_Button.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400890 "fpdfsdk/pdfwindow/PWL_Button.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400891 "fpdfsdk/pdfwindow/PWL_Caret.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400892 "fpdfsdk/pdfwindow/PWL_Caret.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400893 "fpdfsdk/pdfwindow/PWL_ComboBox.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400894 "fpdfsdk/pdfwindow/PWL_ComboBox.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400895 "fpdfsdk/pdfwindow/PWL_Edit.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400896 "fpdfsdk/pdfwindow/PWL_Edit.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400897 "fpdfsdk/pdfwindow/PWL_EditCtrl.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400898 "fpdfsdk/pdfwindow/PWL_EditCtrl.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400899 "fpdfsdk/pdfwindow/PWL_FontMap.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400900 "fpdfsdk/pdfwindow/PWL_FontMap.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400901 "fpdfsdk/pdfwindow/PWL_Icon.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400902 "fpdfsdk/pdfwindow/PWL_Icon.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400903 "fpdfsdk/pdfwindow/PWL_ListBox.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400904 "fpdfsdk/pdfwindow/PWL_ListBox.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400905 "fpdfsdk/pdfwindow/PWL_ScrollBar.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400906 "fpdfsdk/pdfwindow/PWL_ScrollBar.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400907 "fpdfsdk/pdfwindow/PWL_SpecialButton.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400908 "fpdfsdk/pdfwindow/PWL_SpecialButton.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400909 "fpdfsdk/pdfwindow/PWL_Utils.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400910 "fpdfsdk/pdfwindow/PWL_Utils.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400911 "fpdfsdk/pdfwindow/PWL_Wnd.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400912 "fpdfsdk/pdfwindow/PWL_Wnd.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700913 ]
weili0abe6522016-06-06 14:41:22 -0700914 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700915 deps = [
916 ":fxcrt",
917 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700918}
919
920static_library("javascript") {
921 sources = [
dsinclair64376be2016-03-31 20:03:24 -0700922 "fpdfsdk/javascript/ijs_context.h",
923 "fpdfsdk/javascript/ijs_runtime.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700924 ]
thestig73c48562016-09-06 14:07:17 -0700925 configs += [ ":pdfium_core_config" ]
926 deps = [
927 ":fxcrt",
928 ]
929
Tom Sepez452b4f32015-10-13 09:27:27 -0700930 if (pdf_enable_v8) {
931 sources += [
tonikitoo618cb1f2016-08-18 20:10:17 -0700932 "fpdfsdk/javascript/Annot.cpp",
933 "fpdfsdk/javascript/Annot.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400934 "fpdfsdk/javascript/Consts.cpp",
935 "fpdfsdk/javascript/Consts.h",
936 "fpdfsdk/javascript/Document.cpp",
937 "fpdfsdk/javascript/Document.h",
938 "fpdfsdk/javascript/Field.cpp",
939 "fpdfsdk/javascript/Field.h",
940 "fpdfsdk/javascript/Icon.cpp",
941 "fpdfsdk/javascript/Icon.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400942 "fpdfsdk/javascript/JS_Define.h",
943 "fpdfsdk/javascript/JS_EventHandler.cpp",
944 "fpdfsdk/javascript/JS_EventHandler.h",
945 "fpdfsdk/javascript/JS_GlobalData.cpp",
946 "fpdfsdk/javascript/JS_GlobalData.h",
weili47228ac2016-07-20 10:35:31 -0700947 "fpdfsdk/javascript/JS_KeyValue.cpp",
948 "fpdfsdk/javascript/JS_KeyValue.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400949 "fpdfsdk/javascript/JS_Object.cpp",
950 "fpdfsdk/javascript/JS_Object.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400951 "fpdfsdk/javascript/JS_Value.cpp",
952 "fpdfsdk/javascript/JS_Value.h",
953 "fpdfsdk/javascript/PublicMethods.cpp",
954 "fpdfsdk/javascript/PublicMethods.h",
955 "fpdfsdk/javascript/app.cpp",
956 "fpdfsdk/javascript/app.h",
dsinclair64376be2016-03-31 20:03:24 -0700957 "fpdfsdk/javascript/cjs_context.cpp",
958 "fpdfsdk/javascript/cjs_context.h",
959 "fpdfsdk/javascript/cjs_runtime.cpp",
960 "fpdfsdk/javascript/cjs_runtime.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400961 "fpdfsdk/javascript/color.cpp",
962 "fpdfsdk/javascript/color.h",
963 "fpdfsdk/javascript/console.cpp",
964 "fpdfsdk/javascript/console.h",
965 "fpdfsdk/javascript/event.cpp",
966 "fpdfsdk/javascript/event.h",
967 "fpdfsdk/javascript/global.cpp",
968 "fpdfsdk/javascript/global.h",
969 "fpdfsdk/javascript/report.cpp",
970 "fpdfsdk/javascript/report.h",
971 "fpdfsdk/javascript/resource.cpp",
972 "fpdfsdk/javascript/resource.h",
973 "fpdfsdk/javascript/util.cpp",
974 "fpdfsdk/javascript/util.h",
Tom Sepez452b4f32015-10-13 09:27:27 -0700975 ]
thestig73c48562016-09-06 14:07:17 -0700976 deps += [ ":fxjs" ]
Jochen Eisinger7ed503d2015-12-10 14:38:06 +0100977 configs += [ "//v8:external_startup_data" ]
Tom Sepez452b4f32015-10-13 09:27:27 -0700978 } else {
Dan Sinclairf766ad22016-03-14 13:51:24 -0400979 sources += [ "fpdfsdk/javascript/JS_Runtime_Stub.cpp" ]
Tom Sepez452b4f32015-10-13 09:27:27 -0700980 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700981}
982
983static_library("formfiller") {
984 sources = [
Dan Sinclairedbb3192016-03-21 09:08:24 -0400985 "fpdfsdk/formfiller/cba_fontmap.cpp",
986 "fpdfsdk/formfiller/cba_fontmap.h",
987 "fpdfsdk/formfiller/cffl_checkbox.cpp",
988 "fpdfsdk/formfiller/cffl_checkbox.h",
989 "fpdfsdk/formfiller/cffl_combobox.cpp",
990 "fpdfsdk/formfiller/cffl_combobox.h",
991 "fpdfsdk/formfiller/cffl_formfiller.cpp",
992 "fpdfsdk/formfiller/cffl_formfiller.h",
993 "fpdfsdk/formfiller/cffl_iformfiller.cpp",
994 "fpdfsdk/formfiller/cffl_iformfiller.h",
995 "fpdfsdk/formfiller/cffl_listbox.cpp",
996 "fpdfsdk/formfiller/cffl_listbox.h",
997 "fpdfsdk/formfiller/cffl_pushbutton.cpp",
998 "fpdfsdk/formfiller/cffl_pushbutton.h",
999 "fpdfsdk/formfiller/cffl_radiobutton.cpp",
1000 "fpdfsdk/formfiller/cffl_radiobutton.h",
1001 "fpdfsdk/formfiller/cffl_textfield.cpp",
1002 "fpdfsdk/formfiller/cffl_textfield.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001003 ]
weili0abe6522016-06-06 14:41:22 -07001004 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -07001005 deps = [
1006 ":fxcrt",
1007 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001008}
Tom Sepezc706fc02014-11-14 13:39:20 -08001009
dsinclairb3f24672016-07-12 10:42:14 -07001010if (pdf_enable_v8) {
dsinclair7f9c8602016-07-12 10:41:43 -07001011 static_library("fxjs") {
1012 sources = [
dsinclairb3f24672016-07-12 10:42:14 -07001013 "fxjs/fxjs_v8.cpp",
1014 "fxjs/include/fxjs_v8.h",
dsinclair7f9c8602016-07-12 10:41:43 -07001015 ]
thestig73c48562016-09-06 14:07:17 -07001016 configs += [ ":pdfium_core_config" ]
1017 deps = [
1018 ":fxcrt",
1019 "//v8",
1020 "//v8:v8_libplatform",
1021 ]
1022 include_dirs = [
1023 "//v8",
1024 "//v8/include",
1025 ]
1026 public_deps = [
1027 "//v8",
1028 ]
1029
dsinclairb3f24672016-07-12 10:42:14 -07001030 if (pdf_enable_xfa) {
1031 sources += [
1032 "fxjs/cfxjse_arguments.cpp",
1033 "fxjs/cfxjse_class.cpp",
1034 "fxjs/cfxjse_context.cpp",
1035 "fxjs/cfxjse_isolatetracker.cpp",
1036 "fxjs/cfxjse_isolatetracker.h",
1037 "fxjs/cfxjse_runtimedata.cpp",
1038 "fxjs/cfxjse_runtimedata.h",
1039 "fxjs/cfxjse_value.cpp",
1040 "fxjs/include/cfxjse_arguments.h",
1041 "fxjs/include/cfxjse_class.h",
1042 "fxjs/include/cfxjse_context.h",
1043 "fxjs/include/cfxjse_value.h",
1044 "fxjs/include/fxjse.h",
1045 ]
1046 }
dsinclair7f9c8602016-07-12 10:41:43 -07001047 }
dsinclairb3f24672016-07-12 10:42:14 -07001048}
dsinclair7f9c8602016-07-12 10:41:43 -07001049
dsinclairb3f24672016-07-12 10:42:14 -07001050if (pdf_enable_xfa) {
Tom Sepezb36747d2015-12-08 15:49:25 -08001051 static_library("fpdfxfa") {
1052 sources = [
dsinclaira440bb32016-09-14 07:01:54 -07001053 "fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001054 "fpdfsdk/fpdfxfa/fpdfxfa_app.cpp",
1055 "fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp",
1056 "fpdfsdk/fpdfxfa/fpdfxfa_page.cpp",
1057 "fpdfsdk/fpdfxfa/fpdfxfa_util.cpp",
dsinclaira440bb32016-09-14 07:01:54 -07001058 "fpdfsdk/fpdfxfa/include/cpdfxfa_docenvironment.h",
dsinclair89bdd082016-04-06 10:47:54 -07001059 "fpdfsdk/fpdfxfa/include/fpdfxfa_app.h",
1060 "fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h",
1061 "fpdfsdk/fpdfxfa/include/fpdfxfa_page.h",
1062 "fpdfsdk/fpdfxfa/include/fpdfxfa_util.h",
Tom Sepez452b4f32015-10-13 09:27:27 -07001063 ]
1064 deps = [
thestig73c48562016-09-06 14:07:17 -07001065 ":fxcrt",
Tom Sepezb36747d2015-12-08 15:49:25 -08001066 ":xfa",
1067 ]
weili0abe6522016-06-06 14:41:22 -07001068 configs += [ ":pdfium_core_config" ]
Tom Sepezb36747d2015-12-08 15:49:25 -08001069 }
1070
1071 static_library("xfa") {
1072 sources = [
dsinclairacd0d592016-04-21 11:06:27 -07001073 "xfa/fde/cfde_path.cpp",
1074 "xfa/fde/cfde_path.h",
dsinclair65395182016-05-18 11:09:47 -07001075 "xfa/fde/cfde_txtedtbuf.cpp",
1076 "xfa/fde/cfde_txtedtbuf.h",
1077 "xfa/fde/cfde_txtedtbufiter.cpp",
1078 "xfa/fde/cfde_txtedtbufiter.h",
1079 "xfa/fde/cfde_txtedtdorecord_deleterange.cpp",
1080 "xfa/fde/cfde_txtedtdorecord_deleterange.h",
1081 "xfa/fde/cfde_txtedtdorecord_insert.cpp",
1082 "xfa/fde/cfde_txtedtdorecord_insert.h",
1083 "xfa/fde/cfde_txtedtengine.cpp",
1084 "xfa/fde/cfde_txtedtengine.h",
1085 "xfa/fde/cfde_txtedtpage.cpp",
1086 "xfa/fde/cfde_txtedtpage.h",
1087 "xfa/fde/cfde_txtedtparag.cpp",
1088 "xfa/fde/cfde_txtedtparag.h",
1089 "xfa/fde/cfde_txtedttextset.cpp",
1090 "xfa/fde/cfde_txtedttextset.h",
1091 "xfa/fde/cfx_chariter.cpp",
1092 "xfa/fde/cfx_chariter.h",
1093 "xfa/fde/cfx_wordbreak.cpp",
1094 "xfa/fde/cfx_wordbreak.h",
npm69f160d2016-07-20 10:48:27 -07001095 "xfa/fde/css/cfde_cssrulecollection.cpp",
weilieec3a362016-06-18 06:25:37 -07001096 "xfa/fde/css/fde_css.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001097 "xfa/fde/css/fde_css.h",
1098 "xfa/fde/css/fde_csscache.cpp",
1099 "xfa/fde/css/fde_csscache.h",
1100 "xfa/fde/css/fde_cssdatatable.cpp",
1101 "xfa/fde/css/fde_cssdatatable.h",
1102 "xfa/fde/css/fde_cssdeclaration.cpp",
1103 "xfa/fde/css/fde_cssdeclaration.h",
1104 "xfa/fde/css/fde_cssstyleselector.cpp",
1105 "xfa/fde/css/fde_cssstyleselector.h",
1106 "xfa/fde/css/fde_cssstylesheet.cpp",
1107 "xfa/fde/css/fde_cssstylesheet.h",
1108 "xfa/fde/css/fde_csssyntax.cpp",
1109 "xfa/fde/css/fde_csssyntax.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001110 "xfa/fde/fde_gedevice.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001111 "xfa/fde/fde_iterator.cpp",
1112 "xfa/fde/fde_iterator.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001113 "xfa/fde/fde_object.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001114 "xfa/fde/fde_render.cpp",
1115 "xfa/fde/fde_render.h",
dsinclair65395182016-05-18 11:09:47 -07001116 "xfa/fde/ifde_txtedtdorecord.h",
1117 "xfa/fde/ifde_txtedtengine.h",
1118 "xfa/fde/ifde_txtedtpage.h",
1119 "xfa/fde/ifx_chariter.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001120 "xfa/fde/tto/fde_textout.cpp",
1121 "xfa/fde/tto/fde_textout.h",
dsinclair6c93df82016-05-19 18:13:53 -07001122 "xfa/fde/xml/cfx_saxreader.cpp",
1123 "xfa/fde/xml/cfx_saxreader.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001124 "xfa/fde/xml/fde_xml.h",
1125 "xfa/fde/xml/fde_xml_imp.cpp",
1126 "xfa/fde/xml/fde_xml_imp.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001127 "xfa/fgas/crt/fgas_codepage.cpp",
1128 "xfa/fgas/crt/fgas_codepage.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001129 "xfa/fgas/crt/fgas_language.h",
1130 "xfa/fgas/crt/fgas_memory.cpp",
1131 "xfa/fgas/crt/fgas_memory.h",
1132 "xfa/fgas/crt/fgas_stream.cpp",
1133 "xfa/fgas/crt/fgas_stream.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001134 "xfa/fgas/crt/fgas_utils.cpp",
1135 "xfa/fgas/crt/fgas_utils.h",
1136 "xfa/fgas/font/fgas_font.h",
1137 "xfa/fgas/font/fgas_fontutils.cpp",
1138 "xfa/fgas/font/fgas_fontutils.h",
1139 "xfa/fgas/font/fgas_gefont.cpp",
1140 "xfa/fgas/font/fgas_gefont.h",
1141 "xfa/fgas/font/fgas_stdfontmgr.cpp",
1142 "xfa/fgas/font/fgas_stdfontmgr.h",
1143 "xfa/fgas/layout/fgas_linebreak.cpp",
1144 "xfa/fgas/layout/fgas_linebreak.h",
1145 "xfa/fgas/layout/fgas_rtfbreak.cpp",
1146 "xfa/fgas/layout/fgas_rtfbreak.h",
1147 "xfa/fgas/layout/fgas_textbreak.cpp",
1148 "xfa/fgas/layout/fgas_textbreak.h",
1149 "xfa/fgas/layout/fgas_unicode.cpp",
1150 "xfa/fgas/layout/fgas_unicode.h",
1151 "xfa/fgas/localization/fgas_datetime.cpp",
1152 "xfa/fgas/localization/fgas_datetime.h",
1153 "xfa/fgas/localization/fgas_locale.cpp",
1154 "xfa/fgas/localization/fgas_locale.h",
1155 "xfa/fgas/localization/fgas_localeimp.h",
dsinclair8320ee22016-06-16 11:01:19 -07001156 "xfa/fwl/basewidget/cfx_barcode.cpp",
1157 "xfa/fwl/basewidget/cfx_barcode.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001158 "xfa/fwl/basewidget/fwl_barcodeimp.cpp",
1159 "xfa/fwl/basewidget/fwl_barcodeimp.h",
1160 "xfa/fwl/basewidget/fwl_caretimp.cpp",
1161 "xfa/fwl/basewidget/fwl_caretimp.h",
1162 "xfa/fwl/basewidget/fwl_checkboximp.cpp",
1163 "xfa/fwl/basewidget/fwl_checkboximp.h",
1164 "xfa/fwl/basewidget/fwl_comboboximp.cpp",
1165 "xfa/fwl/basewidget/fwl_comboboximp.h",
1166 "xfa/fwl/basewidget/fwl_datetimepickerimp.cpp",
1167 "xfa/fwl/basewidget/fwl_datetimepickerimp.h",
1168 "xfa/fwl/basewidget/fwl_editimp.cpp",
1169 "xfa/fwl/basewidget/fwl_editimp.h",
1170 "xfa/fwl/basewidget/fwl_formproxyimp.cpp",
1171 "xfa/fwl/basewidget/fwl_formproxyimp.h",
1172 "xfa/fwl/basewidget/fwl_listboximp.cpp",
1173 "xfa/fwl/basewidget/fwl_listboximp.h",
1174 "xfa/fwl/basewidget/fwl_monthcalendarimp.cpp",
1175 "xfa/fwl/basewidget/fwl_monthcalendarimp.h",
1176 "xfa/fwl/basewidget/fwl_pictureboximp.cpp",
1177 "xfa/fwl/basewidget/fwl_pictureboximp.h",
1178 "xfa/fwl/basewidget/fwl_pushbuttonimp.cpp",
1179 "xfa/fwl/basewidget/fwl_pushbuttonimp.h",
1180 "xfa/fwl/basewidget/fwl_scrollbarimp.cpp",
1181 "xfa/fwl/basewidget/fwl_scrollbarimp.h",
1182 "xfa/fwl/basewidget/fwl_spinbuttonimp.cpp",
1183 "xfa/fwl/basewidget/fwl_spinbuttonimp.h",
1184 "xfa/fwl/basewidget/fwl_tooltipctrlimp.cpp",
1185 "xfa/fwl/basewidget/fwl_tooltipctrlimp.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001186 "xfa/fwl/basewidget/ifwl_barcode.h",
1187 "xfa/fwl/basewidget/ifwl_caret.h",
1188 "xfa/fwl/basewidget/ifwl_checkbox.h",
1189 "xfa/fwl/basewidget/ifwl_combobox.h",
1190 "xfa/fwl/basewidget/ifwl_datetimepicker.h",
1191 "xfa/fwl/basewidget/ifwl_edit.h",
1192 "xfa/fwl/basewidget/ifwl_listbox.h",
1193 "xfa/fwl/basewidget/ifwl_monthcalendar.h",
1194 "xfa/fwl/basewidget/ifwl_picturebox.h",
1195 "xfa/fwl/basewidget/ifwl_pushbutton.h",
1196 "xfa/fwl/basewidget/ifwl_scrollbar.h",
1197 "xfa/fwl/basewidget/ifwl_spinbutton.h",
1198 "xfa/fwl/basewidget/ifwl_tooltip.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001199 "xfa/fwl/core/cfwl_event.h",
1200 "xfa/fwl/core/cfwl_message.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001201 "xfa/fwl/core/cfwl_themebackground.h",
1202 "xfa/fwl/core/cfwl_themepart.h",
1203 "xfa/fwl/core/cfwl_themetext.h",
1204 "xfa/fwl/core/cfwl_widgetimpproperties.h",
tsepez648575a2016-05-25 15:24:31 -07001205 "xfa/fwl/core/cfwl_widgetmgr.cpp",
1206 "xfa/fwl/core/cfwl_widgetmgr.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001207 "xfa/fwl/core/fwl_appimp.cpp",
1208 "xfa/fwl/core/fwl_appimp.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001209 "xfa/fwl/core/fwl_error.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001210 "xfa/fwl/core/fwl_formimp.cpp",
1211 "xfa/fwl/core/fwl_formimp.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001212 "xfa/fwl/core/fwl_noteimp.cpp",
1213 "xfa/fwl/core/fwl_noteimp.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001214 "xfa/fwl/core/fwl_timerimp.cpp",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001215 "xfa/fwl/core/fwl_widgetdef.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001216 "xfa/fwl/core/fwl_widgetimp.cpp",
1217 "xfa/fwl/core/fwl_widgetimp.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001218 "xfa/fwl/core/ifwl_app.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001219 "xfa/fwl/core/ifwl_dataprovider.h",
1220 "xfa/fwl/core/ifwl_form.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001221 "xfa/fwl/core/ifwl_themeprovider.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001222 "xfa/fwl/core/ifwl_timer.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001223 "xfa/fwl/core/ifwl_widget.h",
1224 "xfa/fwl/core/ifwl_widgetdelegate.h",
dsinclair89fcde82016-05-03 13:00:25 -07001225 "xfa/fwl/core/include/fwl_widgethit.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001226 "xfa/fwl/core/include/ifwl_adaptertimermgr.h",
dsinclair7f432a12016-03-29 12:38:01 -07001227 "xfa/fwl/lightwidget/cfwl_barcode.cpp",
1228 "xfa/fwl/lightwidget/cfwl_barcode.h",
dsinclair7f432a12016-03-29 12:38:01 -07001229 "xfa/fwl/lightwidget/cfwl_checkbox.cpp",
1230 "xfa/fwl/lightwidget/cfwl_checkbox.h",
1231 "xfa/fwl/lightwidget/cfwl_combobox.cpp",
1232 "xfa/fwl/lightwidget/cfwl_combobox.h",
1233 "xfa/fwl/lightwidget/cfwl_datetimepicker.cpp",
1234 "xfa/fwl/lightwidget/cfwl_datetimepicker.h",
1235 "xfa/fwl/lightwidget/cfwl_edit.cpp",
1236 "xfa/fwl/lightwidget/cfwl_edit.h",
1237 "xfa/fwl/lightwidget/cfwl_listbox.cpp",
1238 "xfa/fwl/lightwidget/cfwl_listbox.h",
1239 "xfa/fwl/lightwidget/cfwl_picturebox.cpp",
1240 "xfa/fwl/lightwidget/cfwl_picturebox.h",
1241 "xfa/fwl/lightwidget/cfwl_pushbutton.cpp",
1242 "xfa/fwl/lightwidget/cfwl_pushbutton.h",
dsinclair7f432a12016-03-29 12:38:01 -07001243 "xfa/fwl/lightwidget/cfwl_widget.cpp",
1244 "xfa/fwl/lightwidget/cfwl_widget.h",
avallee62514d92016-03-31 10:23:19 -07001245 "xfa/fwl/lightwidget/cfwl_widgetproperties.cpp",
dsinclair7f432a12016-03-29 12:38:01 -07001246 "xfa/fwl/lightwidget/cfwl_widgetproperties.h",
weili47228ac2016-07-20 10:35:31 -07001247 "xfa/fwl/theme/cfwl_arrowdata.cpp",
1248 "xfa/fwl/theme/cfwl_arrowdata.h",
dsinclair7f432a12016-03-29 12:38:01 -07001249 "xfa/fwl/theme/cfwl_barcodetp.cpp",
1250 "xfa/fwl/theme/cfwl_barcodetp.h",
1251 "xfa/fwl/theme/cfwl_carettp.cpp",
1252 "xfa/fwl/theme/cfwl_carettp.h",
1253 "xfa/fwl/theme/cfwl_checkboxtp.cpp",
1254 "xfa/fwl/theme/cfwl_checkboxtp.h",
1255 "xfa/fwl/theme/cfwl_comboboxtp.cpp",
1256 "xfa/fwl/theme/cfwl_comboboxtp.h",
weilibeecc342016-08-04 11:57:22 -07001257 "xfa/fwl/theme/cfwl_datetimepickertp.cpp",
dsinclair7f432a12016-03-29 12:38:01 -07001258 "xfa/fwl/theme/cfwl_datetimepickertp.h",
1259 "xfa/fwl/theme/cfwl_edittp.cpp",
1260 "xfa/fwl/theme/cfwl_edittp.h",
dsinclair7f432a12016-03-29 12:38:01 -07001261 "xfa/fwl/theme/cfwl_listboxtp.cpp",
1262 "xfa/fwl/theme/cfwl_listboxtp.h",
1263 "xfa/fwl/theme/cfwl_monthcalendartp.cpp",
1264 "xfa/fwl/theme/cfwl_monthcalendartp.h",
1265 "xfa/fwl/theme/cfwl_pictureboxtp.cpp",
1266 "xfa/fwl/theme/cfwl_pictureboxtp.h",
1267 "xfa/fwl/theme/cfwl_pushbuttontp.cpp",
1268 "xfa/fwl/theme/cfwl_pushbuttontp.h",
1269 "xfa/fwl/theme/cfwl_scrollbartp.cpp",
1270 "xfa/fwl/theme/cfwl_scrollbartp.h",
1271 "xfa/fwl/theme/cfwl_utils.h",
1272 "xfa/fwl/theme/cfwl_widgettp.cpp",
1273 "xfa/fwl/theme/cfwl_widgettp.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001274 "xfa/fxbarcode/BC_Dimension.cpp",
1275 "xfa/fxbarcode/BC_Dimension.h",
1276 "xfa/fxbarcode/BC_Library.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001277 "xfa/fxbarcode/BC_TwoDimWriter.cpp",
1278 "xfa/fxbarcode/BC_TwoDimWriter.h",
1279 "xfa/fxbarcode/BC_UtilCodingConvert.cpp",
1280 "xfa/fxbarcode/BC_UtilCodingConvert.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001281 "xfa/fxbarcode/BC_Utils.cpp",
1282 "xfa/fxbarcode/BC_Writer.cpp",
1283 "xfa/fxbarcode/BC_Writer.h",
Dan Sinclaira8a28e02016-03-23 15:41:39 -04001284 "xfa/fxbarcode/cbc_codabar.cpp",
1285 "xfa/fxbarcode/cbc_codabar.h",
1286 "xfa/fxbarcode/cbc_code128.cpp",
1287 "xfa/fxbarcode/cbc_code128.h",
1288 "xfa/fxbarcode/cbc_code39.cpp",
1289 "xfa/fxbarcode/cbc_code39.h",
1290 "xfa/fxbarcode/cbc_codebase.cpp",
1291 "xfa/fxbarcode/cbc_codebase.h",
1292 "xfa/fxbarcode/cbc_datamatrix.cpp",
1293 "xfa/fxbarcode/cbc_datamatrix.h",
1294 "xfa/fxbarcode/cbc_ean13.cpp",
1295 "xfa/fxbarcode/cbc_ean13.h",
1296 "xfa/fxbarcode/cbc_ean8.cpp",
1297 "xfa/fxbarcode/cbc_ean8.h",
1298 "xfa/fxbarcode/cbc_onecode.cpp",
1299 "xfa/fxbarcode/cbc_onecode.h",
1300 "xfa/fxbarcode/cbc_pdf417i.cpp",
1301 "xfa/fxbarcode/cbc_pdf417i.h",
1302 "xfa/fxbarcode/cbc_qrcode.cpp",
1303 "xfa/fxbarcode/cbc_qrcode.h",
1304 "xfa/fxbarcode/cbc_upca.cpp",
1305 "xfa/fxbarcode/cbc_upca.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001306 "xfa/fxbarcode/common/BC_CommonBitArray.cpp",
1307 "xfa/fxbarcode/common/BC_CommonBitArray.h",
1308 "xfa/fxbarcode/common/BC_CommonBitMatrix.cpp",
1309 "xfa/fxbarcode/common/BC_CommonBitMatrix.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001310 "xfa/fxbarcode/common/BC_CommonByteArray.cpp",
1311 "xfa/fxbarcode/common/BC_CommonByteArray.h",
1312 "xfa/fxbarcode/common/BC_CommonByteMatrix.cpp",
1313 "xfa/fxbarcode/common/BC_CommonByteMatrix.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001314 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomon.cpp",
1315 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomon.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001316 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.cpp",
1317 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h",
1318 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp",
1319 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h",
1320 "xfa/fxbarcode/datamatrix/BC_ASCIIEncoder.cpp",
1321 "xfa/fxbarcode/datamatrix/BC_ASCIIEncoder.h",
1322 "xfa/fxbarcode/datamatrix/BC_Base256Encoder.cpp",
1323 "xfa/fxbarcode/datamatrix/BC_Base256Encoder.h",
1324 "xfa/fxbarcode/datamatrix/BC_C40Encoder.cpp",
1325 "xfa/fxbarcode/datamatrix/BC_C40Encoder.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001326 "xfa/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.cpp",
1327 "xfa/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001328 "xfa/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp",
1329 "xfa/fxbarcode/datamatrix/BC_DataMatrixWriter.h",
1330 "xfa/fxbarcode/datamatrix/BC_DefaultPlacement.cpp",
1331 "xfa/fxbarcode/datamatrix/BC_DefaultPlacement.h",
1332 "xfa/fxbarcode/datamatrix/BC_EdifactEncoder.cpp",
1333 "xfa/fxbarcode/datamatrix/BC_EdifactEncoder.h",
1334 "xfa/fxbarcode/datamatrix/BC_Encoder.cpp",
1335 "xfa/fxbarcode/datamatrix/BC_Encoder.h",
1336 "xfa/fxbarcode/datamatrix/BC_EncoderContext.cpp",
1337 "xfa/fxbarcode/datamatrix/BC_EncoderContext.h",
1338 "xfa/fxbarcode/datamatrix/BC_ErrorCorrection.cpp",
1339 "xfa/fxbarcode/datamatrix/BC_ErrorCorrection.h",
1340 "xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp",
1341 "xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.h",
1342 "xfa/fxbarcode/datamatrix/BC_SymbolInfo.cpp",
1343 "xfa/fxbarcode/datamatrix/BC_SymbolInfo.h",
1344 "xfa/fxbarcode/datamatrix/BC_SymbolShapeHint.cpp",
1345 "xfa/fxbarcode/datamatrix/BC_SymbolShapeHint.h",
1346 "xfa/fxbarcode/datamatrix/BC_TextEncoder.cpp",
1347 "xfa/fxbarcode/datamatrix/BC_TextEncoder.h",
1348 "xfa/fxbarcode/datamatrix/BC_X12Encoder.cpp",
1349 "xfa/fxbarcode/datamatrix/BC_X12Encoder.h",
Dan Sinclaira8a28e02016-03-23 15:41:39 -04001350 "xfa/fxbarcode/include/BC_Library.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001351 "xfa/fxbarcode/oned/BC_OneDimWriter.cpp",
1352 "xfa/fxbarcode/oned/BC_OneDimWriter.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001353 "xfa/fxbarcode/oned/BC_OnedCodaBarWriter.cpp",
1354 "xfa/fxbarcode/oned/BC_OnedCodaBarWriter.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001355 "xfa/fxbarcode/oned/BC_OnedCode128Writer.cpp",
1356 "xfa/fxbarcode/oned/BC_OnedCode128Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001357 "xfa/fxbarcode/oned/BC_OnedCode39Writer.cpp",
1358 "xfa/fxbarcode/oned/BC_OnedCode39Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001359 "xfa/fxbarcode/oned/BC_OnedEAN13Writer.cpp",
1360 "xfa/fxbarcode/oned/BC_OnedEAN13Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001361 "xfa/fxbarcode/oned/BC_OnedEAN8Writer.cpp",
1362 "xfa/fxbarcode/oned/BC_OnedEAN8Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001363 "xfa/fxbarcode/oned/BC_OnedUPCAWriter.cpp",
1364 "xfa/fxbarcode/oned/BC_OnedUPCAWriter.h",
1365 "xfa/fxbarcode/pdf417/BC_PDF417.cpp",
1366 "xfa/fxbarcode/pdf417/BC_PDF417.h",
1367 "xfa/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp",
1368 "xfa/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001369 "xfa/fxbarcode/pdf417/BC_PDF417BarcodeRow.cpp",
1370 "xfa/fxbarcode/pdf417/BC_PDF417BarcodeRow.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001371 "xfa/fxbarcode/pdf417/BC_PDF417Compaction.cpp",
1372 "xfa/fxbarcode/pdf417/BC_PDF417Compaction.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001373 "xfa/fxbarcode/pdf417/BC_PDF417ErrorCorrection.cpp",
1374 "xfa/fxbarcode/pdf417/BC_PDF417ErrorCorrection.h",
1375 "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.cpp",
1376 "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001377 "xfa/fxbarcode/pdf417/BC_PDF417Writer.cpp",
1378 "xfa/fxbarcode/pdf417/BC_PDF417Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001379 "xfa/fxbarcode/qrcode/BC_QRCodeWriter.cpp",
1380 "xfa/fxbarcode/qrcode/BC_QRCodeWriter.h",
1381 "xfa/fxbarcode/qrcode/BC_QRCoder.cpp",
1382 "xfa/fxbarcode/qrcode/BC_QRCoder.h",
1383 "xfa/fxbarcode/qrcode/BC_QRCoderBitVector.cpp",
1384 "xfa/fxbarcode/qrcode/BC_QRCoderBitVector.h",
1385 "xfa/fxbarcode/qrcode/BC_QRCoderBlockPair.cpp",
1386 "xfa/fxbarcode/qrcode/BC_QRCoderBlockPair.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001387 "xfa/fxbarcode/qrcode/BC_QRCoderECB.cpp",
1388 "xfa/fxbarcode/qrcode/BC_QRCoderECB.h",
1389 "xfa/fxbarcode/qrcode/BC_QRCoderECBlocks.cpp",
1390 "xfa/fxbarcode/qrcode/BC_QRCoderECBlocks.h",
1391 "xfa/fxbarcode/qrcode/BC_QRCoderEncoder.cpp",
1392 "xfa/fxbarcode/qrcode/BC_QRCoderEncoder.h",
1393 "xfa/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.cpp",
1394 "xfa/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001395 "xfa/fxbarcode/qrcode/BC_QRCoderMaskUtil.cpp",
1396 "xfa/fxbarcode/qrcode/BC_QRCoderMaskUtil.h",
1397 "xfa/fxbarcode/qrcode/BC_QRCoderMatrixUtil.cpp",
1398 "xfa/fxbarcode/qrcode/BC_QRCoderMatrixUtil.h",
1399 "xfa/fxbarcode/qrcode/BC_QRCoderMode.cpp",
1400 "xfa/fxbarcode/qrcode/BC_QRCoderMode.h",
1401 "xfa/fxbarcode/qrcode/BC_QRCoderVersion.cpp",
1402 "xfa/fxbarcode/qrcode/BC_QRCoderVersion.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001403 "xfa/fxbarcode/utils.h",
weili625ad662016-06-15 11:21:33 -07001404 "xfa/fxfa/app/cxfa_eventparam.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001405 "xfa/fxfa/app/xfa_checksum.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001406 "xfa/fxfa/app/xfa_ffapp.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001407 "xfa/fxfa/app/xfa_ffbarcode.cpp",
1408 "xfa/fxfa/app/xfa_ffbarcode.h",
1409 "xfa/fxfa/app/xfa_ffcheckbutton.cpp",
1410 "xfa/fxfa/app/xfa_ffcheckbutton.h",
1411 "xfa/fxfa/app/xfa_ffchoicelist.cpp",
1412 "xfa/fxfa/app/xfa_ffchoicelist.h",
1413 "xfa/fxfa/app/xfa_ffdoc.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001414 "xfa/fxfa/app/xfa_ffdochandler.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001415 "xfa/fxfa/app/xfa_ffdocview.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001416 "xfa/fxfa/app/xfa_ffdraw.cpp",
1417 "xfa/fxfa/app/xfa_ffdraw.h",
1418 "xfa/fxfa/app/xfa_ffexclgroup.cpp",
1419 "xfa/fxfa/app/xfa_ffexclgroup.h",
1420 "xfa/fxfa/app/xfa_fffield.cpp",
1421 "xfa/fxfa/app/xfa_fffield.h",
1422 "xfa/fxfa/app/xfa_ffimage.cpp",
1423 "xfa/fxfa/app/xfa_ffimage.h",
1424 "xfa/fxfa/app/xfa_ffimageedit.cpp",
1425 "xfa/fxfa/app/xfa_ffimageedit.h",
1426 "xfa/fxfa/app/xfa_ffnotify.cpp",
1427 "xfa/fxfa/app/xfa_ffnotify.h",
1428 "xfa/fxfa/app/xfa_ffpageview.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001429 "xfa/fxfa/app/xfa_ffpath.cpp",
1430 "xfa/fxfa/app/xfa_ffpath.h",
1431 "xfa/fxfa/app/xfa_ffpushbutton.cpp",
1432 "xfa/fxfa/app/xfa_ffpushbutton.h",
1433 "xfa/fxfa/app/xfa_ffsignature.cpp",
1434 "xfa/fxfa/app/xfa_ffsignature.h",
1435 "xfa/fxfa/app/xfa_ffsubform.cpp",
1436 "xfa/fxfa/app/xfa_ffsubform.h",
1437 "xfa/fxfa/app/xfa_fftext.cpp",
1438 "xfa/fxfa/app/xfa_fftext.h",
1439 "xfa/fxfa/app/xfa_fftextedit.cpp",
1440 "xfa/fxfa/app/xfa_fftextedit.h",
1441 "xfa/fxfa/app/xfa_ffwidget.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001442 "xfa/fxfa/app/xfa_ffwidgetacc.cpp",
1443 "xfa/fxfa/app/xfa_ffwidgetacc.h",
1444 "xfa/fxfa/app/xfa_ffwidgethandler.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001445 "xfa/fxfa/app/xfa_fontmgr.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001446 "xfa/fxfa/app/xfa_fwladapter.cpp",
1447 "xfa/fxfa/app/xfa_fwladapter.h",
1448 "xfa/fxfa/app/xfa_fwltheme.cpp",
1449 "xfa/fxfa/app/xfa_fwltheme.h",
1450 "xfa/fxfa/app/xfa_rendercontext.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001451 "xfa/fxfa/app/xfa_textlayout.cpp",
1452 "xfa/fxfa/app/xfa_textlayout.h",
1453 "xfa/fxfa/fm2js/xfa_error.cpp",
1454 "xfa/fxfa/fm2js/xfa_error.h",
1455 "xfa/fxfa/fm2js/xfa_expression.cpp",
1456 "xfa/fxfa/fm2js/xfa_expression.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001457 "xfa/fxfa/fm2js/xfa_fm2jscontext.cpp",
1458 "xfa/fxfa/fm2js/xfa_fm2jscontext.h",
1459 "xfa/fxfa/fm2js/xfa_fmparse.cpp",
1460 "xfa/fxfa/fm2js/xfa_fmparse.h",
1461 "xfa/fxfa/fm2js/xfa_lexer.cpp",
1462 "xfa/fxfa/fm2js/xfa_lexer.h",
1463 "xfa/fxfa/fm2js/xfa_program.cpp",
1464 "xfa/fxfa/fm2js/xfa_program.h",
1465 "xfa/fxfa/fm2js/xfa_simpleexpression.cpp",
1466 "xfa/fxfa/fm2js/xfa_simpleexpression.h",
weili625ad662016-06-15 11:21:33 -07001467 "xfa/fxfa/include/cxfa_eventparam.h",
dsinclair7222ea62016-04-06 14:33:07 -07001468 "xfa/fxfa/include/fxfa.h",
1469 "xfa/fxfa/include/fxfa_basic.h",
1470 "xfa/fxfa/include/fxfa_widget.h",
1471 "xfa/fxfa/include/xfa_checksum.h",
1472 "xfa/fxfa/include/xfa_ffapp.h",
1473 "xfa/fxfa/include/xfa_ffdoc.h",
1474 "xfa/fxfa/include/xfa_ffdochandler.h",
1475 "xfa/fxfa/include/xfa_ffdocview.h",
1476 "xfa/fxfa/include/xfa_ffpageview.h",
1477 "xfa/fxfa/include/xfa_ffwidget.h",
1478 "xfa/fxfa/include/xfa_ffwidgethandler.h",
1479 "xfa/fxfa/include/xfa_fontmgr.h",
1480 "xfa/fxfa/include/xfa_rendercontext.h",
dsinclairc1515ef2016-07-20 06:16:06 -07001481 "xfa/fxfa/parser/cscript_datawindow.cpp",
1482 "xfa/fxfa/parser/cscript_datawindow.h",
1483 "xfa/fxfa/parser/cscript_eventpseudomodel.cpp",
1484 "xfa/fxfa/parser/cscript_eventpseudomodel.h",
1485 "xfa/fxfa/parser/cscript_hostpseudomodel.cpp",
1486 "xfa/fxfa/parser/cscript_hostpseudomodel.h",
1487 "xfa/fxfa/parser/cscript_layoutpseudomodel.cpp",
1488 "xfa/fxfa/parser/cscript_layoutpseudomodel.h",
1489 "xfa/fxfa/parser/cscript_logpseudomodel.cpp",
1490 "xfa/fxfa/parser/cscript_logpseudomodel.h",
1491 "xfa/fxfa/parser/cscript_signaturepseudomodel.cpp",
1492 "xfa/fxfa/parser/cscript_signaturepseudomodel.h",
dsinclair44d054c2016-04-06 10:23:46 -07001493 "xfa/fxfa/parser/cxfa_arc.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001494 "xfa/fxfa/parser/cxfa_arraynodelist.cpp",
dsinclair44d054c2016-04-06 10:23:46 -07001495 "xfa/fxfa/parser/cxfa_assist.cpp",
1496 "xfa/fxfa/parser/cxfa_assist.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001497 "xfa/fxfa/parser/cxfa_attachnodelist.cpp",
dsinclair44d054c2016-04-06 10:23:46 -07001498 "xfa/fxfa/parser/cxfa_bind.cpp",
1499 "xfa/fxfa/parser/cxfa_bind.h",
1500 "xfa/fxfa/parser/cxfa_binditems.cpp",
1501 "xfa/fxfa/parser/cxfa_binditems.h",
1502 "xfa/fxfa/parser/cxfa_border.h",
1503 "xfa/fxfa/parser/cxfa_box.cpp",
1504 "xfa/fxfa/parser/cxfa_box.h",
1505 "xfa/fxfa/parser/cxfa_calculate.cpp",
1506 "xfa/fxfa/parser/cxfa_calculate.h",
1507 "xfa/fxfa/parser/cxfa_caption.cpp",
1508 "xfa/fxfa/parser/cxfa_caption.h",
dsinclair0b851ff2016-07-21 12:03:01 -07001509 "xfa/fxfa/parser/cxfa_containerlayoutitem.cpp",
1510 "xfa/fxfa/parser/cxfa_containerlayoutitem.h",
1511 "xfa/fxfa/parser/cxfa_contentlayoutitem.cpp",
1512 "xfa/fxfa/parser/cxfa_contentlayoutitem.h",
dsinclair44d054c2016-04-06 10:23:46 -07001513 "xfa/fxfa/parser/cxfa_corner.h",
1514 "xfa/fxfa/parser/cxfa_data.cpp",
1515 "xfa/fxfa/parser/cxfa_data.h",
dsinclair3a7cc732016-07-21 12:04:34 -07001516 "xfa/fxfa/parser/cxfa_dataexporter.cpp",
1517 "xfa/fxfa/parser/cxfa_dataexporter.h",
1518 "xfa/fxfa/parser/cxfa_dataimporter.cpp",
1519 "xfa/fxfa/parser/cxfa_dataimporter.h",
dsinclair16280242016-07-21 12:03:47 -07001520 "xfa/fxfa/parser/cxfa_document.cpp",
1521 "xfa/fxfa/parser/cxfa_document.h",
dsinclair34f86b02016-07-11 08:42:33 -07001522 "xfa/fxfa/parser/cxfa_document_parser.cpp",
1523 "xfa/fxfa/parser/cxfa_document_parser.h",
dsinclair44d054c2016-04-06 10:23:46 -07001524 "xfa/fxfa/parser/cxfa_edge.h",
1525 "xfa/fxfa/parser/cxfa_event.cpp",
1526 "xfa/fxfa/parser/cxfa_event.h",
1527 "xfa/fxfa/parser/cxfa_exdata.cpp",
1528 "xfa/fxfa/parser/cxfa_exdata.h",
1529 "xfa/fxfa/parser/cxfa_fill.cpp",
1530 "xfa/fxfa/parser/cxfa_fill.h",
1531 "xfa/fxfa/parser/cxfa_font.cpp",
1532 "xfa/fxfa/parser/cxfa_font.h",
1533 "xfa/fxfa/parser/cxfa_image.cpp",
1534 "xfa/fxfa/parser/cxfa_image.h",
dsinclair0b851ff2016-07-21 12:03:01 -07001535 "xfa/fxfa/parser/cxfa_layoutitem.cpp",
1536 "xfa/fxfa/parser/cxfa_layoutitem.h",
dsinclair8d0cc672016-08-03 12:58:53 -07001537 "xfa/fxfa/parser/cxfa_layoutpagemgr.cpp",
1538 "xfa/fxfa/parser/cxfa_layoutpagemgr.h",
dsinclair0b851ff2016-07-21 12:03:01 -07001539 "xfa/fxfa/parser/cxfa_layoutprocessor.cpp",
1540 "xfa/fxfa/parser/cxfa_layoutprocessor.h",
dsinclair44d054c2016-04-06 10:23:46 -07001541 "xfa/fxfa/parser/cxfa_line.cpp",
1542 "xfa/fxfa/parser/cxfa_line.h",
1543 "xfa/fxfa/parser/cxfa_margin.cpp",
1544 "xfa/fxfa/parser/cxfa_margin.h",
dsinclair9eb0db12016-07-21 12:01:39 -07001545 "xfa/fxfa/parser/cxfa_measurement.cpp",
1546 "xfa/fxfa/parser/cxfa_measurement.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001547 "xfa/fxfa/parser/cxfa_node.cpp",
dsinclair31f87402016-07-20 06:34:45 -07001548 "xfa/fxfa/parser/cxfa_nodehelper.cpp",
1549 "xfa/fxfa/parser/cxfa_nodehelper.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001550 "xfa/fxfa/parser/cxfa_nodelist.cpp",
1551 "xfa/fxfa/parser/cxfa_object.cpp",
dsinclair44d054c2016-04-06 10:23:46 -07001552 "xfa/fxfa/parser/cxfa_occur.cpp",
1553 "xfa/fxfa/parser/cxfa_occur.h",
1554 "xfa/fxfa/parser/cxfa_para.cpp",
1555 "xfa/fxfa/parser/cxfa_para.h",
1556 "xfa/fxfa/parser/cxfa_rectangle.h",
dsinclair31f87402016-07-20 06:34:45 -07001557 "xfa/fxfa/parser/cxfa_resolveprocessor.cpp",
1558 "xfa/fxfa/parser/cxfa_resolveprocessor.h",
dsinclair44d054c2016-04-06 10:23:46 -07001559 "xfa/fxfa/parser/cxfa_script.cpp",
1560 "xfa/fxfa/parser/cxfa_script.h",
dsinclair31f87402016-07-20 06:34:45 -07001561 "xfa/fxfa/parser/cxfa_scriptcontext.cpp",
1562 "xfa/fxfa/parser/cxfa_scriptcontext.h",
dsinclair34f86b02016-07-11 08:42:33 -07001563 "xfa/fxfa/parser/cxfa_simple_parser.cpp",
1564 "xfa/fxfa/parser/cxfa_simple_parser.h",
dsinclair44d054c2016-04-06 10:23:46 -07001565 "xfa/fxfa/parser/cxfa_stroke.cpp",
1566 "xfa/fxfa/parser/cxfa_stroke.h",
1567 "xfa/fxfa/parser/cxfa_submit.cpp",
1568 "xfa/fxfa/parser/cxfa_submit.h",
1569 "xfa/fxfa/parser/cxfa_text.cpp",
1570 "xfa/fxfa/parser/cxfa_text.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001571 "xfa/fxfa/parser/cxfa_thisproxy.cpp",
dsinclair44d054c2016-04-06 10:23:46 -07001572 "xfa/fxfa/parser/cxfa_tooltip.cpp",
1573 "xfa/fxfa/parser/cxfa_tooltip.h",
dsinclair6ea5ba02016-08-03 10:20:32 -07001574 "xfa/fxfa/parser/cxfa_traversestrategy_contentareacontainerlayoutitem.h",
1575 "xfa/fxfa/parser/cxfa_traversestrategy_contentlayoutitem.h",
dsinclair0b851ff2016-07-21 12:03:01 -07001576 "xfa/fxfa/parser/cxfa_traversestrategy_layoutitem.h",
dsinclair44d054c2016-04-06 10:23:46 -07001577 "xfa/fxfa/parser/cxfa_validate.cpp",
1578 "xfa/fxfa/parser/cxfa_validate.h",
1579 "xfa/fxfa/parser/cxfa_value.cpp",
1580 "xfa/fxfa/parser/cxfa_value.h",
dsinclair8f3074b2016-06-02 17:45:25 -07001581 "xfa/fxfa/parser/cxfa_valuearray.cpp",
1582 "xfa/fxfa/parser/cxfa_valuearray.h",
dsinclair9eb0db12016-07-21 12:01:39 -07001583 "xfa/fxfa/parser/cxfa_widetextread.cpp",
1584 "xfa/fxfa/parser/cxfa_widetextread.h",
dsinclair44d054c2016-04-06 10:23:46 -07001585 "xfa/fxfa/parser/cxfa_widgetdata.cpp",
1586 "xfa/fxfa/parser/cxfa_widgetdata.h",
dsinclair34f86b02016-07-11 08:42:33 -07001587 "xfa/fxfa/parser/cxfa_xml_parser.cpp",
1588 "xfa/fxfa/parser/cxfa_xml_parser.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001589 "xfa/fxfa/parser/xfa_basic_data.cpp",
dsinclairf1494f02016-07-07 12:56:17 -07001590 "xfa/fxfa/parser/xfa_basic_data.h",
dsinclair8bdbc882016-07-07 07:55:39 -07001591 "xfa/fxfa/parser/xfa_basic_data_attributes.cpp",
1592 "xfa/fxfa/parser/xfa_basic_data_element_attributes.cpp",
1593 "xfa/fxfa/parser/xfa_basic_data_element_properties.cpp",
1594 "xfa/fxfa/parser/xfa_basic_data_element_script.cpp",
1595 "xfa/fxfa/parser/xfa_basic_data_enum.cpp",
1596 "xfa/fxfa/parser/xfa_basic_data_packets.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001597 "xfa/fxfa/parser/xfa_document_datamerger_imp.cpp",
1598 "xfa/fxfa/parser/xfa_document_datamerger_imp.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001599 "xfa/fxfa/parser/xfa_layout_itemlayout.cpp",
1600 "xfa/fxfa/parser/xfa_layout_itemlayout.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001601 "xfa/fxfa/parser/xfa_locale.cpp",
1602 "xfa/fxfa/parser/xfa_locale.h",
1603 "xfa/fxfa/parser/xfa_localemgr.cpp",
1604 "xfa/fxfa/parser/xfa_localemgr.h",
1605 "xfa/fxfa/parser/xfa_localevalue.cpp",
1606 "xfa/fxfa/parser/xfa_localevalue.h",
1607 "xfa/fxfa/parser/xfa_object.h",
dsinclair31f87402016-07-20 06:34:45 -07001608 "xfa/fxfa/parser/xfa_resolvenode_rs.h",
dsinclair39fdfc32016-07-21 12:09:45 -07001609 "xfa/fxfa/parser/xfa_utils.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001610 "xfa/fxfa/parser/xfa_utils.h",
Dan Sinclair811b8a42016-03-17 08:59:42 -04001611 "xfa/fxgraphics/cagg_graphics.cpp",
1612 "xfa/fxgraphics/cagg_graphics.h",
1613 "xfa/fxgraphics/cfx_color.cpp",
1614 "xfa/fxgraphics/cfx_color.h",
1615 "xfa/fxgraphics/cfx_graphics.cpp",
1616 "xfa/fxgraphics/cfx_path.cpp",
1617 "xfa/fxgraphics/cfx_path.h",
1618 "xfa/fxgraphics/cfx_path_generator.cpp",
1619 "xfa/fxgraphics/cfx_path_generator.h",
1620 "xfa/fxgraphics/cfx_pattern.cpp",
1621 "xfa/fxgraphics/cfx_pattern.h",
1622 "xfa/fxgraphics/cfx_shading.cpp",
1623 "xfa/fxgraphics/cfx_shading.h",
1624 "xfa/fxgraphics/include/cfx_graphics.h",
Tom Sepezb36747d2015-12-08 15:49:25 -08001625 ]
dsinclairb3f24672016-07-12 10:42:14 -07001626 include_dirs = [ "." ]
dsinclair8bd9ce02016-06-09 13:24:34 -07001627 deps = [
thestig73c48562016-09-06 14:07:17 -07001628 ":fxcrt",
dsinclair7f9c8602016-07-12 10:41:43 -07001629 ":fxjs",
dsinclair8bd9ce02016-06-09 13:24:34 -07001630 ]
Tom Sepezb36747d2015-12-08 15:49:25 -08001631 configs += [
weili0abe6522016-06-06 14:41:22 -07001632 ":pdfium_core_config",
weilidcc29b12016-05-27 17:58:23 -07001633 ":xfa_warnings",
Tom Sepez452b4f32015-10-13 09:27:27 -07001634 ]
1635 }
Tom Sepezc706fc02014-11-14 13:39:20 -08001636}
Tom Sepez04681f32015-01-09 13:59:19 -08001637
1638test("pdfium_unittests") {
1639 sources = [
Dan Sinclair764ec512016-03-14 13:35:12 -04001640 "core/fpdfapi/fpdf_font/fpdf_font_cid_unittest.cpp",
1641 "core/fpdfapi/fpdf_font/fpdf_font_unittest.cpp",
1642 "core/fpdfapi/fpdf_page/fpdf_page_parser_old_unittest.cpp",
dsinclaird80e0a72016-04-04 09:38:55 -07001643 "core/fpdfapi/fpdf_page/fpdf_page_parser_unittest.cpp",
weilicdce7572016-04-13 14:40:10 -07001644 "core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001645 "core/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp",
1646 "core/fpdfapi/fpdf_parser/cpdf_parser_unittest.cpp",
1647 "core/fpdfapi/fpdf_parser/cpdf_simple_parser_unittest.cpp",
1648 "core/fpdfapi/fpdf_parser/cpdf_syntax_parser_unittest.cpp",
1649 "core/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp",
dsinclair448c4332016-08-02 12:07:35 -07001650 "core/fpdfdoc/cpdf_filespec_unittest.cpp",
thestig695aac52016-08-25 09:13:52 -07001651 "core/fpdfdoc/cpdf_formfield_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001652 "core/fpdftext/fpdf_text_int_unittest.cpp",
1653 "core/fxcodec/codec/fx_codec_jpx_unittest.cpp",
tsepeze21501d2016-08-02 13:36:16 -07001654 "core/fxcodec/jbig2/JBig2_Image_unittest.cpp",
tsepez80f99572016-08-26 10:59:04 -07001655 "core/fxcrt/cfx_count_ref_unittest.cpp",
tsepez1c620542016-09-12 09:47:52 -07001656 "core/fxcrt/cfx_observable_unittest.cpp",
tsepez602aebc2016-03-29 15:04:21 -07001657 "core/fxcrt/cfx_retain_ptr_unittest.cpp",
tsepezd9871432016-09-15 14:01:31 -07001658 "core/fxcrt/cfx_string_pool_template_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001659 "core/fxcrt/fx_basic_bstring_unittest.cpp",
1660 "core/fxcrt/fx_basic_gcc_unittest.cpp",
1661 "core/fxcrt/fx_basic_memmgr_unittest.cpp",
thestig1b99b2d2016-05-20 11:50:06 -07001662 "core/fxcrt/fx_basic_util_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001663 "core/fxcrt/fx_basic_wstring_unittest.cpp",
1664 "core/fxcrt/fx_bidi_unittest.cpp",
1665 "core/fxcrt/fx_extension_unittest.cpp",
1666 "core/fxcrt/fx_system_unittest.cpp",
weili229d05d2016-08-11 19:43:58 -07001667 "core/fxge/dib/fx_dib_engine_unittest.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001668 "fpdfsdk/fpdfdoc_unittest.cpp",
thestigdc359b02016-08-09 15:46:20 -07001669 "fpdfsdk/fpdfeditimg_unittest.cpp",
Tom Sepez04681f32015-01-09 13:59:19 -08001670 ]
1671 deps = [
Tom Sepezd831dc72015-10-19 16:04:22 -07001672 ":pdfium",
1673 ":test_support",
Dan Sinclairfffc9632016-03-08 08:57:05 -05001674 "//testing/gtest",
1675 "//testing/gtest:gtest_main",
Tom Sepez04681f32015-01-09 13:59:19 -08001676 ]
Dan Sinclair30410ce2016-03-16 10:20:24 -04001677 include_dirs = []
Tom Sepezd2e023b2015-12-08 14:36:16 -08001678 if (pdf_enable_xfa) {
1679 sources += [
dsinclairfc2cdf82016-05-19 18:07:11 -07001680 "xfa/fde/css/fde_cssdatatable_unittest.cpp",
dsinclair11ac93c2016-03-31 09:45:20 -07001681 "xfa/fde/xml/fde_xml_imp_unittest.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001682 "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp",
dsinclairc7600f92016-05-19 14:12:30 -07001683 "xfa/fxfa/app/xfa_textlayout_unittest.cpp",
dsinclaire85f9712016-08-03 10:08:13 -07001684 "xfa/fxfa/fm2js/xfa_simpleexpression_unittest.cpp",
dsinclair39fdfc32016-07-21 12:09:45 -07001685 "xfa/fxfa/parser/xfa_utils_unittest.cpp",
Tom Sepezd2e023b2015-12-08 14:36:16 -08001686 ]
1687 }
caryclarke89391e2016-06-29 07:10:49 -07001688 if (pdf_use_skia) {
1689 sources += [ "core/fxge/skia/fx_skia_device_unittest.cpp" ]
1690 deps += [ "//skia" ]
1691 }
Wei Li614d20a2016-03-15 13:55:12 -07001692 if (pdf_enable_v8) {
Dan Sinclair811b8a42016-03-17 08:59:42 -04001693 sources += [ "fpdfsdk/javascript/public_methods_unittest.cpp" ]
Wei Li614d20a2016-03-15 13:55:12 -07001694 include_dirs += [
1695 "//v8",
1696 "//v8/include",
1697 ]
1698 }
weili0abe6522016-06-06 14:41:22 -07001699 configs += [ ":pdfium_core_config" ]
jbudorick7f3a15f2016-06-10 06:28:40 -07001700 if (is_android) {
1701 ignore_all_data_deps = true
1702 use_raw_android_executable = true
1703 }
Tom Sepez04681f32015-01-09 13:59:19 -08001704}
Tom Sepez1b1bb492015-01-22 17:36:32 -08001705
1706test("pdfium_embeddertests") {
1707 sources = [
Dan Sinclair764ec512016-03-14 13:35:12 -04001708 "core/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp",
1709 "core/fpdfapi/fpdf_parser/cpdf_parser_embeddertest.cpp",
thestig27ddf162016-05-23 15:06:59 -07001710 "core/fpdfapi/fpdf_parser/cpdf_security_handler_embeddertest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001711 "core/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp",
1712 "core/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp",
1713 "core/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp",
weili6faf9f92016-08-02 11:34:08 -07001714 "core/fxcodec/codec/fx_codec_embeddertest.cpp",
ochangb8627c92016-04-11 13:47:41 -07001715 "core/fxge/ge/fx_ge_text_embeddertest.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001716 "fpdfsdk/fpdf_dataavail_embeddertest.cpp",
1717 "fpdfsdk/fpdfdoc_embeddertest.cpp",
1718 "fpdfsdk/fpdfedit_embeddertest.cpp",
1719 "fpdfsdk/fpdfext_embeddertest.cpp",
1720 "fpdfsdk/fpdfformfill_embeddertest.cpp",
1721 "fpdfsdk/fpdfsave_embeddertest.cpp",
1722 "fpdfsdk/fpdftext_embeddertest.cpp",
1723 "fpdfsdk/fpdfview_c_api_test.c",
1724 "fpdfsdk/fpdfview_c_api_test.h",
1725 "fpdfsdk/fpdfview_embeddertest.cpp",
1726 "fpdfsdk/fsdk_baseform_embeddertest.cpp",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001727 "testing/embedder_test.cpp",
1728 "testing/embedder_test.h",
Tom Sepeza310e002015-02-27 13:03:07 -08001729 "testing/embedder_test_mock_delegate.h",
Tom Sepez6efc0ad2015-06-02 17:11:18 -07001730 "testing/embedder_test_timer_handling_delegate.h",
dsinclair34f86b02016-07-11 08:42:33 -07001731 "xfa/fxfa/parser/cxfa_simple_parser_embeddertest.cpp",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001732 ]
1733 deps = [
Tom Sepez452b4f32015-10-13 09:27:27 -07001734 ":pdfium",
Tom Sepezd831dc72015-10-19 16:04:22 -07001735 ":test_support",
Dan Sinclairfffc9632016-03-08 08:57:05 -05001736 "//testing/gmock",
1737 "//testing/gtest",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001738 ]
dsinclair685bb882016-04-20 07:32:39 -07001739 include_dirs = [ "testing/gmock/include" ]
thestigc65e11e2016-08-30 21:56:33 -07001740 configs += [ ":pdfium_core_config" ]
1741
Tom Sepez452b4f32015-10-13 09:27:27 -07001742 if (pdf_enable_v8) {
Lei Zhang1ac47eb2015-12-21 11:04:44 -08001743 sources += [
Dan Sinclairf766ad22016-03-14 13:51:24 -04001744 "fpdfsdk/javascript/public_methods_embeddertest.cpp",
dsinclairb3f24672016-07-12 10:42:14 -07001745 "fxjs/fxjs_v8_embeddertest.cpp",
Lei Zhang1ac47eb2015-12-21 11:04:44 -08001746 "testing/js_embedder_test.cpp",
1747 "testing/js_embedder_test.h",
1748 ]
dsinclairb3f24672016-07-12 10:42:14 -07001749 deps += [ ":fxjs" ]
Jochen Eisinger7ed503d2015-12-10 14:38:06 +01001750 configs += [ "//v8:external_startup_data" ]
Tom Sepez452b4f32015-10-13 09:27:27 -07001751 }
jbudorick7f3a15f2016-06-10 06:28:40 -07001752 if (is_android) {
1753 ignore_all_data_deps = true
1754 use_raw_android_executable = true
1755 }
Tom Sepez1b1bb492015-01-22 17:36:32 -08001756}
dsinclair685bb882016-04-20 07:32:39 -07001757
1758if (pdf_is_standalone) {
1759 source_set("samples") {
1760 testonly = true
1761 deps = [
1762 "//samples",
1763 ]
1764 }
1765}