blob: c6663ec8f30ac6588399ec0e51ecae80f073dc05 [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
Bruce Dawsonaeac9512017-08-12 21:45:12 -07005import("//build/config/freetype/freetype.gni")
Lei Zhang81a1ac42017-12-21 21:49:55 -08006import("//build/config/jumbo.gni")
Tom Sepeza32f7602015-01-15 09:34:34 -08007import("//testing/test.gni")
dsinclair038bf0b2016-04-30 06:00:05 -07008import("pdfium.gni")
John Abd-El-Malekef4dce42015-02-02 16:52:07 -08009
Dominik Röttsches4b0671a2017-03-30 11:07:43 +030010group("freetype_common") {
11 public_deps = []
12 if (pdf_bundle_freetype) {
13 public_deps += [ "third_party:fx_freetype" ]
14 } else {
15 public_deps += [ "//build/config/freetype" ]
16 }
17}
18
weili0abe6522016-06-06 14:41:22 -070019config("pdfium_common_config") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070020 cflags = []
dsinclair6e162b52017-01-24 11:18:16 -080021 ldflags = []
Dominik Röttsches4b0671a2017-03-30 11:07:43 +030022 include_dirs = [ "." ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070023 defines = [
John Abd-El-Malekef4dce42015-02-02 16:52:07 -080024 "OPJ_STATIC",
John Abd-El-Malek385729b2015-02-06 15:51:11 -080025 "PNG_PREFIX",
John Abd-El-Malek385729b2015-02-06 15:51:11 -080026 "PNG_USE_READ_MACROS",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070027 ]
28
Tom Sepez452b4f32015-10-13 09:27:27 -070029 if (pdf_enable_v8) {
30 defines += [ "PDF_ENABLE_V8" ]
31 }
32
Tom Sepeza8a39e22015-10-12 15:47:07 -070033 if (pdf_enable_xfa) {
34 defines += [ "PDF_ENABLE_XFA" ]
Tom Sepez73c9f3b2017-02-27 10:12:59 -080035 if (pdf_enable_xfa_bmp) {
36 defines += [ "PDF_ENABLE_XFA_BMP" ]
37 }
38 if (pdf_enable_xfa_gif) {
39 defines += [ "PDF_ENABLE_XFA_GIF" ]
40 }
41 if (pdf_enable_xfa_png) {
42 defines += [ "PDF_ENABLE_XFA_PNG" ]
43 }
44 if (pdf_enable_xfa_tiff) {
45 defines += [ "PDF_ENABLE_XFA_TIFF" ]
46 }
Tom Sepeza8a39e22015-10-12 15:47:07 -070047 }
thestig3e454bf2016-07-29 16:29:04 -070048
Lei Zhang360edeb2017-12-19 18:06:35 +000049 if (pdf_use_skia) {
50 defines += [ "_SKIA_SUPPORT_" ]
51 }
52
53 if (pdf_use_skia_paths) {
54 defines += [ "_SKIA_SUPPORT_PATHS_" ]
55 }
56
thestig3e454bf2016-07-29 16:29:04 -070057 if (pdf_use_win32_gdi) {
58 defines += [ "PDFIUM_PRINT_TEXT_WITH_GDI" ]
59 }
dsinclair6e162b52017-01-24 11:18:16 -080060
61 if (use_coverage && is_clang) {
62 cflags += [
63 "--coverage",
64 "-g",
65 "-O0",
66 ]
67 ldflags += [ "--coverage" ]
68 }
Dan Sinclair77e2a6c2017-03-13 09:35:12 -040069
70 if (is_win) {
71 # Assume UTF-8 by default to avoid code page dependencies.
72 cflags += [ "/utf-8" ]
73 }
weili0abe6522016-06-06 14:41:22 -070074}
Tom Sepeza8a39e22015-10-12 15:47:07 -070075
weili0abe6522016-06-06 14:41:22 -070076config("pdfium_core_config") {
77 cflags = []
dsinclair8bd9ce02016-06-09 13:24:34 -070078 configs = [ ":pdfium_common_config" ]
79 defines = [ "V8_DEPRECATION_WARNINGS" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070080 if (is_linux) {
Tom Sepez25d5be62015-06-18 17:44:29 -070081 if (current_cpu == "x64") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070082 defines += [ "_FX_CPU_=_FX_X64_" ]
83 cflags += [ "-fPIC" ]
Tom Sepez25d5be62015-06-18 17:44:29 -070084 } else if (current_cpu == "x86") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070085 defines += [ "_FX_CPU_=_FX_X86_" ]
86 }
87 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070088 if (is_win) {
Tom Sepez3bb57512017-03-28 14:09:43 -070089 cflags += [
90 "/wd4267",
Tom Sepez5171a272017-06-01 12:29:09 -070091 "/wd4324",
Tom Sepez3bb57512017-03-28 14:09:43 -070092 "/wd4577",
93 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070094 }
weilidcc29b12016-05-27 17:58:23 -070095}
Lei Zhang476ac132015-11-05 20:07:27 -080096
weilidcc29b12016-05-27 17:58:23 -070097config("xfa_warnings") {
98 visibility = [ ":*" ]
Tom Sepez34209092016-03-18 09:00:33 -070099 if (is_posix && !is_clang) { # When GCC.
weilidcc29b12016-05-27 17:58:23 -0700100 cflags = [ "-Wno-strict-overflow" ]
Tom Sepez34209092016-03-18 09:00:33 -0700101 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700102}
103
Lei Zhang81a1ac42017-12-21 21:49:55 -0800104jumbo_static_library("pdfium") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700105 sources = [
dsinclairb9590102016-04-27 06:38:59 -0700106 "fpdfsdk/cfx_systemhandler.cpp",
107 "fpdfsdk/cfx_systemhandler.h",
Tom Sepez525147a2018-05-03 17:19:53 +0000108 "fpdfsdk/cpdf_annotcontext.cpp",
109 "fpdfsdk/cpdf_annotcontext.h",
Dan Sinclair7d125322018-03-28 18:49:34 +0000110 "fpdfsdk/cpdfsdk_actionhandler.cpp",
111 "fpdfsdk/cpdfsdk_actionhandler.h",
jaepark27362762016-08-11 13:10:39 -0700112 "fpdfsdk/cpdfsdk_annot.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700113 "fpdfsdk/cpdfsdk_annot.h",
jaepark98e10192016-08-15 10:51:11 -0700114 "fpdfsdk/cpdfsdk_annothandlermgr.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700115 "fpdfsdk/cpdfsdk_annothandlermgr.h",
tsepezd805eec2017-01-11 14:03:54 -0800116 "fpdfsdk/cpdfsdk_annotiteration.cpp",
117 "fpdfsdk/cpdfsdk_annotiteration.h",
Dan Sinclaircbf76e62018-03-28 21:00:35 +0000118 "fpdfsdk/cpdfsdk_annotiterator.cpp",
119 "fpdfsdk/cpdfsdk_annotiterator.h",
jaepark27362762016-08-11 13:10:39 -0700120 "fpdfsdk/cpdfsdk_baannot.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700121 "fpdfsdk/cpdfsdk_baannot.h",
jaepark35512aa2016-08-29 17:15:08 -0700122 "fpdfsdk/cpdfsdk_baannothandler.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700123 "fpdfsdk/cpdfsdk_baannothandler.h",
Dan Sinclair00d47a62018-03-28 18:39:04 +0000124 "fpdfsdk/cpdfsdk_common.h",
Dan Sinclair7aba4722018-03-28 17:04:16 +0000125 "fpdfsdk/cpdfsdk_customaccess.cpp",
126 "fpdfsdk/cpdfsdk_customaccess.h",
jaepark27362762016-08-11 13:10:39 -0700127 "fpdfsdk/cpdfsdk_datetime.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700128 "fpdfsdk/cpdfsdk_datetime.h",
Dan Sinclair7d125322018-03-28 18:49:34 +0000129 "fpdfsdk/cpdfsdk_fieldaction.cpp",
130 "fpdfsdk/cpdfsdk_fieldaction.h",
131 "fpdfsdk/cpdfsdk_filewriteadapter.cpp",
132 "fpdfsdk/cpdfsdk_filewriteadapter.h",
dsinclair735606d2016-10-05 15:47:02 -0700133 "fpdfsdk/cpdfsdk_formfillenvironment.cpp",
134 "fpdfsdk/cpdfsdk_formfillenvironment.h",
Dan Sinclair00d47a62018-03-28 18:39:04 +0000135 "fpdfsdk/cpdfsdk_helpers.cpp",
136 "fpdfsdk/cpdfsdk_helpers.h",
jaepark611adb82016-08-17 11:34:36 -0700137 "fpdfsdk/cpdfsdk_interform.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700138 "fpdfsdk/cpdfsdk_interform.h",
Dan Sinclair7aba4722018-03-28 17:04:16 +0000139 "fpdfsdk/cpdfsdk_memoryaccess.cpp",
140 "fpdfsdk/cpdfsdk_memoryaccess.h",
dsinclairf34518b2016-09-13 12:03:48 -0700141 "fpdfsdk/cpdfsdk_pageview.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700142 "fpdfsdk/cpdfsdk_pageview.h",
jaepark611adb82016-08-17 11:34:36 -0700143 "fpdfsdk/cpdfsdk_widget.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700144 "fpdfsdk/cpdfsdk_widget.h",
jaepark8c541822016-08-30 13:43:05 -0700145 "fpdfsdk/cpdfsdk_widgethandler.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700146 "fpdfsdk/cpdfsdk_widgethandler.h",
Dan Sinclair971a6742018-03-28 19:23:25 +0000147 "fpdfsdk/fpdf_annot.cpp",
148 "fpdfsdk/fpdf_attachment.cpp",
149 "fpdfsdk/fpdf_catalog.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400150 "fpdfsdk/fpdf_dataavail.cpp",
Dan Sinclair971a6742018-03-28 19:23:25 +0000151 "fpdfsdk/fpdf_doc.cpp",
152 "fpdfsdk/fpdf_editimg.cpp",
153 "fpdfsdk/fpdf_editpage.cpp",
154 "fpdfsdk/fpdf_editpath.cpp",
155 "fpdfsdk/fpdf_edittext.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400156 "fpdfsdk/fpdf_ext.cpp",
157 "fpdfsdk/fpdf_flatten.cpp",
Dan Sinclair971a6742018-03-28 19:23:25 +0000158 "fpdfsdk/fpdf_formfill.cpp",
Lei Zhangf7c84e92018-02-02 00:01:39 +0000159 "fpdfsdk/fpdf_ppo.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400160 "fpdfsdk/fpdf_progressive.cpp",
Dan Sinclair971a6742018-03-28 19:23:25 +0000161 "fpdfsdk/fpdf_save.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400162 "fpdfsdk/fpdf_searchex.cpp",
thestig9067fd62016-11-23 14:10:06 -0800163 "fpdfsdk/fpdf_structtree.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400164 "fpdfsdk/fpdf_sysfontinfo.cpp",
Dan Sinclair971a6742018-03-28 19:23:25 +0000165 "fpdfsdk/fpdf_text.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400166 "fpdfsdk/fpdf_transformpage.cpp",
Dan Sinclair971a6742018-03-28 19:23:25 +0000167 "fpdfsdk/fpdf_view.cpp",
Dan Sinclair7aba4722018-03-28 17:04:16 +0000168 "fpdfsdk/ipdfsdk_annothandler.h",
Dan Sinclair7d125322018-03-28 18:49:34 +0000169 "fpdfsdk/ipdfsdk_pauseadapter.cpp",
170 "fpdfsdk/ipdfsdk_pauseadapter.h",
Tom Sepez1d17a042017-03-16 13:22:47 -0700171 "public/cpp/fpdf_deleters.h",
Tom Sepeze08d2b12018-04-25 18:49:32 +0000172 "public/cpp/fpdf_scopers.h",
Jane Liu4fd9a472017-06-01 18:56:09 -0400173 "public/fpdf_annot.h",
Jane Liu53aafa92017-07-12 19:55:02 -0400174 "public/fpdf_attachment.h",
Henrique Nakashima077f6432017-10-16 13:32:01 -0400175 "public/fpdf_catalog.h",
Tom Sepez1ed8a212015-05-11 15:25:39 -0700176 "public/fpdf_dataavail.h",
177 "public/fpdf_doc.h",
178 "public/fpdf_edit.h",
179 "public/fpdf_ext.h",
180 "public/fpdf_flatten.h",
181 "public/fpdf_formfill.h",
182 "public/fpdf_fwlevent.h",
183 "public/fpdf_ppo.h",
184 "public/fpdf_progressive.h",
185 "public/fpdf_save.h",
186 "public/fpdf_searchex.h",
thestig9067fd62016-11-23 14:10:06 -0800187 "public/fpdf_structtree.h",
Tom Sepez1ed8a212015-05-11 15:25:39 -0700188 "public/fpdf_sysfontinfo.h",
189 "public/fpdf_text.h",
190 "public/fpdf_transformpage.h",
191 "public/fpdfview.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700192 ]
193
194 libs = []
weili0abe6522016-06-06 14:41:22 -0700195 configs += [ ":pdfium_core_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700196
197 deps = [
Lei Zhang26170562018-04-17 17:01:52 +0000198 ":constants",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700199 ":fdrm",
200 ":formfiller",
201 ":fpdfapi",
202 ":fpdfdoc",
203 ":fpdftext",
204 ":fxcodec",
205 ":fxcrt",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700206 ":fxge",
Dan Sinclaire0345a42017-10-30 20:20:42 +0000207 ":fxjs",
Dan Sinclairc411eb92017-07-25 09:39:30 -0400208 ":pwl",
Dan Sinclairfffc9632016-03-08 08:57:05 -0500209 "third_party:bigint",
210 "third_party:pdfium_base",
Dan Sinclair844d79e2018-02-16 03:46:26 +0000211 "third_party:skia_shared",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700212 ]
213
thestig73c48562016-09-06 14:07:17 -0700214 public_deps = [
215 ":fxcrt",
216 ]
Tom Sepeza8a39e22015-10-12 15:47:07 -0700217 if (pdf_enable_xfa) {
jaepark611adb82016-08-17 11:34:36 -0700218 sources += [
219 "fpdfsdk/cpdfsdk_xfawidget.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700220 "fpdfsdk/cpdfsdk_xfawidget.h",
jaepark8c541822016-08-30 13:43:05 -0700221 "fpdfsdk/cpdfsdk_xfawidgethandler.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700222 "fpdfsdk/cpdfsdk_xfawidgethandler.h",
jaepark611adb82016-08-17 11:34:36 -0700223 ]
224
Tom Sepezb5451592016-02-22 16:48:02 -0800225 deps += [ ":fpdfxfa" ]
Tom Sepeza8a39e22015-10-12 15:47:07 -0700226 }
227
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700228 if (is_win) {
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400229 libs += [
230 "advapi32.lib",
231 "gdi32.lib",
232 "user32.lib",
233 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700234 }
235
236 if (is_mac) {
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400237 libs += [
238 "AppKit.framework",
239 "CoreFoundation.framework",
240 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700241 }
John Abd-El-Malekef4dce42015-02-02 16:52:07 -0800242
dan sinclairfa171d22017-03-26 22:38:17 -0400243 if (pdf_is_complete_lib) {
244 complete_static_lib = true
Tom Andersonda89ac42018-03-21 03:56:15 +0000245 configs -= [ "//build/config/compiler:thin_archive" ]
dan sinclairfa171d22017-03-26 22:38:17 -0400246 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700247}
248
Lei Zhang81a1ac42017-12-21 21:49:55 -0800249jumbo_static_library("test_support") {
Tom Sepezd831dc72015-10-19 16:04:22 -0700250 testonly = true
251 sources = [
Henrique Nakashimab9776c72017-06-23 15:03:50 -0400252 "testing/fx_string_testhelpers.cpp",
253 "testing/fx_string_testhelpers.h",
Dan Sinclair048afc62018-05-01 17:01:54 +0000254 "testing/string_write_stream.cpp",
255 "testing/string_write_stream.h",
Tom Sepezd831dc72015-10-19 16:04:22 -0700256 "testing/test_support.cpp",
257 "testing/test_support.h",
Oliver Changd46f1c82015-11-12 22:03:10 -0800258 "testing/utils/path_service.cpp",
thestigbcd3e532016-11-21 13:37:28 -0800259 "testing/utils/path_service.h",
Tom Sepezd831dc72015-10-19 16:04:22 -0700260 ]
jbudorickf6ee8202016-12-05 06:50:50 -0800261 data = [
262 "testing/resources/",
263 ]
Tom Sepezd831dc72015-10-19 16:04:22 -0700264 deps = [
Dan Sinclairfffc9632016-03-08 08:57:05 -0500265 ":pdfium",
Tom Sepezd831dc72015-10-19 16:04:22 -0700266 "//testing/gmock",
267 "//testing/gtest",
Tom Sepezd831dc72015-10-19 16:04:22 -0700268 ]
Lei Zhang8241df72015-11-06 14:38:48 -0800269 include_dirs = []
Tom Sepezd831dc72015-10-19 16:04:22 -0700270 if (pdf_enable_v8) {
271 deps += [
272 "//v8",
273 "//v8:v8_libplatform",
274 ]
Jochen Eisinger7ed503d2015-12-10 14:38:06 +0100275 configs += [ "//v8:external_startup_data" ]
Tom Sepezd831dc72015-10-19 16:04:22 -0700276 }
weili0abe6522016-06-06 14:41:22 -0700277 configs += [ ":pdfium_core_config" ]
Tom Sepezd831dc72015-10-19 16:04:22 -0700278}
279
Lei Zhang81a1ac42017-12-21 21:49:55 -0800280jumbo_static_library("image_diff") {
Lei Zhang143959d2017-06-22 12:20:58 -0700281 testonly = true
282 sources = [
283 "testing/image_diff/image_diff_png.cpp",
284 "testing/image_diff/image_diff_png.h",
285 ]
Lei Zhangba57b6c2017-06-26 11:50:54 -0700286 configs += [ ":pdfium_core_config" ]
Lei Zhang143959d2017-06-22 12:20:58 -0700287 deps = []
288 if (!pdf_enable_xfa) {
Andrew Weintraub98b56332017-11-29 23:27:10 +0000289 deps += [ "third_party:png" ]
Lei Zhang143959d2017-06-22 12:20:58 -0700290 }
291}
292
Tom Sepezd831dc72015-10-19 16:04:22 -0700293# Targets below this are only visible within this file (and to the
294# top-level gn_visibility target used to help gn_all build everything).
295visibility = [
296 ":*",
297 "//:gn_visibility",
298]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700299
Lei Zhang26170562018-04-17 17:01:52 +0000300source_set("constants") {
301 sources = [
302 "constants/stream_dict_common.h",
Lei Zhangfdd0ef62018-05-08 19:06:38 +0000303 "constants/transparency.h",
Lei Zhang26170562018-04-17 17:01:52 +0000304 ]
305}
306
Lei Zhang7981d152018-01-11 14:26:01 +0000307jumbo_static_library("fdrm") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700308 sources = [
Dan Sinclair764ec512016-03-14 13:35:12 -0400309 "core/fdrm/crypto/fx_crypt.cpp",
dsinclairb1469a22016-09-29 10:00:05 -0700310 "core/fdrm/crypto/fx_crypt.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400311 "core/fdrm/crypto/fx_crypt_aes.cpp",
312 "core/fdrm/crypto/fx_crypt_sha.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700313 ]
weili0abe6522016-06-06 14:41:22 -0700314 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700315 deps = [
316 ":fxcrt",
317 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700318}
319
Lei Zhang7981d152018-01-11 14:26:01 +0000320jumbo_static_library("fpdfdoc") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700321 sources = [
dsinclair448c4332016-08-02 12:07:35 -0700322 "core/fpdfdoc/cline.cpp",
323 "core/fpdfdoc/cline.h",
dsinclair02e6f592016-08-02 11:25:48 -0700324 "core/fpdfdoc/cpdf_aaction.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700325 "core/fpdfdoc/cpdf_aaction.h",
dsinclair02e6f592016-08-02 11:25:48 -0700326 "core/fpdfdoc/cpdf_action.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700327 "core/fpdfdoc/cpdf_action.h",
dsinclair02e6f592016-08-02 11:25:48 -0700328 "core/fpdfdoc/cpdf_actionfields.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700329 "core/fpdfdoc/cpdf_actionfields.h",
jaepark3b6c7e92016-07-20 14:18:04 -0700330 "core/fpdfdoc/cpdf_annot.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700331 "core/fpdfdoc/cpdf_annot.h",
jaepark3b6c7e92016-07-20 14:18:04 -0700332 "core/fpdfdoc/cpdf_annotlist.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700333 "core/fpdfdoc/cpdf_annotlist.h",
dsinclair27053d82016-08-02 15:43:46 -0700334 "core/fpdfdoc/cpdf_apsettings.cpp",
dsinclaircac704d2016-07-28 12:59:09 -0700335 "core/fpdfdoc/cpdf_apsettings.h",
dsinclair02e6f592016-08-02 11:25:48 -0700336 "core/fpdfdoc/cpdf_bookmark.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700337 "core/fpdfdoc/cpdf_bookmark.h",
dsinclair02e6f592016-08-02 11:25:48 -0700338 "core/fpdfdoc/cpdf_bookmarktree.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700339 "core/fpdfdoc/cpdf_bookmarktree.h",
dsinclair27053d82016-08-02 15:43:46 -0700340 "core/fpdfdoc/cpdf_defaultappearance.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700341 "core/fpdfdoc/cpdf_defaultappearance.h",
dsinclair448c4332016-08-02 12:07:35 -0700342 "core/fpdfdoc/cpdf_dest.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700343 "core/fpdfdoc/cpdf_dest.h",
dsinclair02e6f592016-08-02 11:25:48 -0700344 "core/fpdfdoc/cpdf_docjsactions.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700345 "core/fpdfdoc/cpdf_docjsactions.h",
dsinclair448c4332016-08-02 12:07:35 -0700346 "core/fpdfdoc/cpdf_filespec.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700347 "core/fpdfdoc/cpdf_filespec.h",
dsinclair27053d82016-08-02 15:43:46 -0700348 "core/fpdfdoc/cpdf_formcontrol.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700349 "core/fpdfdoc/cpdf_formcontrol.h",
dsinclair27053d82016-08-02 15:43:46 -0700350 "core/fpdfdoc/cpdf_formfield.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700351 "core/fpdfdoc/cpdf_formfield.h",
dsinclair27053d82016-08-02 15:43:46 -0700352 "core/fpdfdoc/cpdf_iconfit.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700353 "core/fpdfdoc/cpdf_iconfit.h",
dsinclair27053d82016-08-02 15:43:46 -0700354 "core/fpdfdoc/cpdf_interform.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700355 "core/fpdfdoc/cpdf_interform.h",
dsinclair02e6f592016-08-02 11:25:48 -0700356 "core/fpdfdoc/cpdf_link.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700357 "core/fpdfdoc/cpdf_link.h",
dsinclair02e6f592016-08-02 11:25:48 -0700358 "core/fpdfdoc/cpdf_linklist.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700359 "core/fpdfdoc/cpdf_linklist.h",
dsinclair02e6f592016-08-02 11:25:48 -0700360 "core/fpdfdoc/cpdf_metadata.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700361 "core/fpdfdoc/cpdf_metadata.h",
dsinclair448c4332016-08-02 12:07:35 -0700362 "core/fpdfdoc/cpdf_nametree.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700363 "core/fpdfdoc/cpdf_nametree.h",
dsinclair27053d82016-08-02 15:43:46 -0700364 "core/fpdfdoc/cpdf_numbertree.cpp",
365 "core/fpdfdoc/cpdf_numbertree.h",
dsinclair448c4332016-08-02 12:07:35 -0700366 "core/fpdfdoc/cpdf_occontext.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700367 "core/fpdfdoc/cpdf_occontext.h",
dsinclair448c4332016-08-02 12:07:35 -0700368 "core/fpdfdoc/cpdf_pagelabel.cpp",
dsinclaircac704d2016-07-28 12:59:09 -0700369 "core/fpdfdoc/cpdf_pagelabel.h",
dan sinclair7f389612017-04-06 13:38:54 -0400370 "core/fpdfdoc/cpdf_structelement.cpp",
371 "core/fpdfdoc/cpdf_structelement.h",
372 "core/fpdfdoc/cpdf_structtree.cpp",
373 "core/fpdfdoc/cpdf_structtree.h",
dsinclairc7a73492016-04-05 12:01:42 -0700374 "core/fpdfdoc/cpdf_variabletext.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700375 "core/fpdfdoc/cpdf_variabletext.h",
dsinclair02e6f592016-08-02 11:25:48 -0700376 "core/fpdfdoc/cpdf_viewerpreferences.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700377 "core/fpdfdoc/cpdf_viewerpreferences.h",
dsinclairc7a73492016-04-05 12:01:42 -0700378 "core/fpdfdoc/cpvt_floatrect.h",
dsinclair777b3332016-03-31 20:03:08 -0700379 "core/fpdfdoc/cpvt_fontmap.cpp",
380 "core/fpdfdoc/cpvt_fontmap.h",
381 "core/fpdfdoc/cpvt_generateap.cpp",
382 "core/fpdfdoc/cpvt_generateap.h",
dsinclair1727aee2016-09-29 13:12:56 -0700383 "core/fpdfdoc/cpvt_line.h",
dsinclairc7a73492016-04-05 12:01:42 -0700384 "core/fpdfdoc/cpvt_lineinfo.h",
dsinclair1727aee2016-09-29 13:12:56 -0700385 "core/fpdfdoc/cpvt_word.h",
weili5a6c1392016-07-11 14:43:40 -0700386 "core/fpdfdoc/cpvt_wordinfo.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700387 "core/fpdfdoc/cpvt_wordinfo.h",
dsinclair1727aee2016-09-29 13:12:56 -0700388 "core/fpdfdoc/cpvt_wordplace.h",
dsinclair1727aee2016-09-29 13:12:56 -0700389 "core/fpdfdoc/cpvt_wordrange.h",
thestig9c845c32016-05-13 11:08:41 -0700390 "core/fpdfdoc/csection.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700391 "core/fpdfdoc/csection.h",
thestig9c845c32016-05-13 11:08:41 -0700392 "core/fpdfdoc/ctypeset.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700393 "core/fpdfdoc/ctypeset.h",
dsinclair1727aee2016-09-29 13:12:56 -0700394 "core/fpdfdoc/ipdf_formnotify.h",
395 "core/fpdfdoc/ipvt_fontmap.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700396 ]
weili0abe6522016-06-06 14:41:22 -0700397 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700398 deps = [
399 ":fxcrt",
400 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700401}
402
Lei Zhang81a1ac42017-12-21 21:49:55 -0800403jumbo_static_library("fpdfapi") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700404 sources = [
dsinclaira6c92152016-10-04 10:58:54 -0700405 "core/fpdfapi/cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp",
406 "core/fpdfapi/cmaps/CNS1/B5pc-H_0.cpp",
407 "core/fpdfapi/cmaps/CNS1/B5pc-V_0.cpp",
408 "core/fpdfapi/cmaps/CNS1/CNS-EUC-H_0.cpp",
409 "core/fpdfapi/cmaps/CNS1/CNS-EUC-V_0.cpp",
410 "core/fpdfapi/cmaps/CNS1/ETen-B5-H_0.cpp",
411 "core/fpdfapi/cmaps/CNS1/ETen-B5-V_0.cpp",
412 "core/fpdfapi/cmaps/CNS1/ETenms-B5-H_0.cpp",
413 "core/fpdfapi/cmaps/CNS1/ETenms-B5-V_0.cpp",
414 "core/fpdfapi/cmaps/CNS1/HKscs-B5-H_5.cpp",
415 "core/fpdfapi/cmaps/CNS1/HKscs-B5-V_5.cpp",
416 "core/fpdfapi/cmaps/CNS1/UniCNS-UCS2-H_3.cpp",
417 "core/fpdfapi/cmaps/CNS1/UniCNS-UCS2-V_3.cpp",
418 "core/fpdfapi/cmaps/CNS1/UniCNS-UTF16-H_0.cpp",
419 "core/fpdfapi/cmaps/CNS1/cmaps_cns1.cpp",
420 "core/fpdfapi/cmaps/GB1/Adobe-GB1-UCS2_5.cpp",
421 "core/fpdfapi/cmaps/GB1/GB-EUC-H_0.cpp",
422 "core/fpdfapi/cmaps/GB1/GB-EUC-V_0.cpp",
423 "core/fpdfapi/cmaps/GB1/GBK-EUC-H_2.cpp",
424 "core/fpdfapi/cmaps/GB1/GBK-EUC-V_2.cpp",
425 "core/fpdfapi/cmaps/GB1/GBK2K-H_5.cpp",
426 "core/fpdfapi/cmaps/GB1/GBK2K-V_5.cpp",
427 "core/fpdfapi/cmaps/GB1/GBKp-EUC-H_2.cpp",
428 "core/fpdfapi/cmaps/GB1/GBKp-EUC-V_2.cpp",
429 "core/fpdfapi/cmaps/GB1/GBpc-EUC-H_0.cpp",
430 "core/fpdfapi/cmaps/GB1/GBpc-EUC-V_0.cpp",
431 "core/fpdfapi/cmaps/GB1/UniGB-UCS2-H_4.cpp",
432 "core/fpdfapi/cmaps/GB1/UniGB-UCS2-V_4.cpp",
433 "core/fpdfapi/cmaps/GB1/cmaps_gb1.cpp",
434 "core/fpdfapi/cmaps/Japan1/83pv-RKSJ-H_1.cpp",
435 "core/fpdfapi/cmaps/Japan1/90ms-RKSJ-H_2.cpp",
436 "core/fpdfapi/cmaps/Japan1/90ms-RKSJ-V_2.cpp",
437 "core/fpdfapi/cmaps/Japan1/90msp-RKSJ-H_2.cpp",
438 "core/fpdfapi/cmaps/Japan1/90msp-RKSJ-V_2.cpp",
439 "core/fpdfapi/cmaps/Japan1/90pv-RKSJ-H_1.cpp",
440 "core/fpdfapi/cmaps/Japan1/Add-RKSJ-H_1.cpp",
441 "core/fpdfapi/cmaps/Japan1/Add-RKSJ-V_1.cpp",
442 "core/fpdfapi/cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp",
443 "core/fpdfapi/cmaps/Japan1/EUC-H_1.cpp",
444 "core/fpdfapi/cmaps/Japan1/EUC-V_1.cpp",
445 "core/fpdfapi/cmaps/Japan1/Ext-RKSJ-H_2.cpp",
446 "core/fpdfapi/cmaps/Japan1/Ext-RKSJ-V_2.cpp",
447 "core/fpdfapi/cmaps/Japan1/H_1.cpp",
448 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp",
449 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp",
450 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-H_4.cpp",
451 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-V_4.cpp",
452 "core/fpdfapi/cmaps/Japan1/V_1.cpp",
453 "core/fpdfapi/cmaps/Japan1/cmaps_japan1.cpp",
454 "core/fpdfapi/cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp",
455 "core/fpdfapi/cmaps/Korea1/KSC-EUC-H_0.cpp",
456 "core/fpdfapi/cmaps/Korea1/KSC-EUC-V_0.cpp",
457 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-HW-H_1.cpp",
458 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-HW-V_1.cpp",
459 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-H_1.cpp",
460 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-V_1.cpp",
461 "core/fpdfapi/cmaps/Korea1/KSCpc-EUC-H_0.cpp",
462 "core/fpdfapi/cmaps/Korea1/UniKS-UCS2-H_1.cpp",
463 "core/fpdfapi/cmaps/Korea1/UniKS-UCS2-V_1.cpp",
464 "core/fpdfapi/cmaps/Korea1/UniKS-UTF16-H_0.cpp",
465 "core/fpdfapi/cmaps/Korea1/cmaps_korea1.cpp",
466 "core/fpdfapi/cmaps/cmap_int.h",
467 "core/fpdfapi/cmaps/fpdf_cmaps.cpp",
tsepezddffb572016-05-24 16:20:29 -0700468 "core/fpdfapi/cpdf_modulemgr.cpp",
dsinclair39c62fd2016-09-29 12:49:17 -0700469 "core/fpdfapi/cpdf_modulemgr.h",
weili9f515bc2016-07-24 08:08:24 -0700470 "core/fpdfapi/cpdf_pagerendercontext.cpp",
dsinclair39c62fd2016-09-29 12:49:17 -0700471 "core/fpdfapi/cpdf_pagerendercontext.h",
Dan Sinclaira0b19542017-05-09 12:36:08 -0400472 "core/fpdfapi/edit/cpdf_creator.cpp",
dsinclair24154352016-10-04 11:01:48 -0700473 "core/fpdfapi/edit/cpdf_creator.h",
Dan Sinclaira0b19542017-05-09 12:36:08 -0400474 "core/fpdfapi/edit/cpdf_encryptor.cpp",
475 "core/fpdfapi/edit/cpdf_encryptor.h",
476 "core/fpdfapi/edit/cpdf_flateencoder.cpp",
477 "core/fpdfapi/edit/cpdf_flateencoder.h",
dsinclair24154352016-10-04 11:01:48 -0700478 "core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp",
479 "core/fpdfapi/edit/cpdf_pagecontentgenerator.h",
Nicolas Pena169b3012017-05-26 14:38:03 -0400480 "core/fpdfapi/font/cfx_cttgsubtable.cpp",
481 "core/fpdfapi/font/cfx_cttgsubtable.h",
482 "core/fpdfapi/font/cfx_stockfontarray.cpp",
483 "core/fpdfapi/font/cfx_stockfontarray.h",
484 "core/fpdfapi/font/cpdf_cid2unicodemap.cpp",
485 "core/fpdfapi/font/cpdf_cid2unicodemap.h",
dsinclairbc5e6d22016-10-04 11:08:49 -0700486 "core/fpdfapi/font/cpdf_cidfont.cpp",
487 "core/fpdfapi/font/cpdf_cidfont.h",
Nicolas Pena169b3012017-05-26 14:38:03 -0400488 "core/fpdfapi/font/cpdf_cmap.cpp",
489 "core/fpdfapi/font/cpdf_cmap.h",
490 "core/fpdfapi/font/cpdf_cmapmanager.cpp",
491 "core/fpdfapi/font/cpdf_cmapmanager.h",
492 "core/fpdfapi/font/cpdf_cmapparser.cpp",
493 "core/fpdfapi/font/cpdf_cmapparser.h",
dsinclairbc5e6d22016-10-04 11:08:49 -0700494 "core/fpdfapi/font/cpdf_font.cpp",
495 "core/fpdfapi/font/cpdf_font.h",
496 "core/fpdfapi/font/cpdf_fontencoding.cpp",
497 "core/fpdfapi/font/cpdf_fontencoding.h",
Nicolas Pena169b3012017-05-26 14:38:03 -0400498 "core/fpdfapi/font/cpdf_fontglobals.cpp",
499 "core/fpdfapi/font/cpdf_fontglobals.h",
dsinclairbc5e6d22016-10-04 11:08:49 -0700500 "core/fpdfapi/font/cpdf_simplefont.cpp",
501 "core/fpdfapi/font/cpdf_simplefont.h",
Nicolas Pena169b3012017-05-26 14:38:03 -0400502 "core/fpdfapi/font/cpdf_tounicodemap.cpp",
503 "core/fpdfapi/font/cpdf_tounicodemap.h",
dsinclairbc5e6d22016-10-04 11:08:49 -0700504 "core/fpdfapi/font/cpdf_truetypefont.cpp",
505 "core/fpdfapi/font/cpdf_truetypefont.h",
506 "core/fpdfapi/font/cpdf_type1font.cpp",
507 "core/fpdfapi/font/cpdf_type1font.h",
508 "core/fpdfapi/font/cpdf_type3char.cpp",
509 "core/fpdfapi/font/cpdf_type3char.h",
510 "core/fpdfapi/font/cpdf_type3font.cpp",
511 "core/fpdfapi/font/cpdf_type3font.h",
dsinclair41872fa2016-10-04 11:29:35 -0700512 "core/fpdfapi/page/cpdf_allstates.cpp",
513 "core/fpdfapi/page/cpdf_allstates.h",
514 "core/fpdfapi/page/cpdf_clippath.cpp",
515 "core/fpdfapi/page/cpdf_clippath.h",
516 "core/fpdfapi/page/cpdf_color.cpp",
517 "core/fpdfapi/page/cpdf_color.h",
518 "core/fpdfapi/page/cpdf_colorspace.cpp",
519 "core/fpdfapi/page/cpdf_colorspace.h",
520 "core/fpdfapi/page/cpdf_colorstate.cpp",
521 "core/fpdfapi/page/cpdf_colorstate.h",
522 "core/fpdfapi/page/cpdf_contentmark.cpp",
523 "core/fpdfapi/page/cpdf_contentmark.h",
524 "core/fpdfapi/page/cpdf_contentmarkitem.cpp",
525 "core/fpdfapi/page/cpdf_contentmarkitem.h",
npm014b0122016-11-07 08:42:11 -0800526 "core/fpdfapi/page/cpdf_contentparser.cpp",
tsepez1aff2652016-11-22 10:45:59 -0800527 "core/fpdfapi/page/cpdf_contentparser.h",
dsinclair41872fa2016-10-04 11:29:35 -0700528 "core/fpdfapi/page/cpdf_countedobject.h",
Dan Sinclair5acacd32017-05-25 14:04:59 -0400529 "core/fpdfapi/page/cpdf_devicecs.cpp",
530 "core/fpdfapi/page/cpdf_devicecs.h",
tsepez9fa95ef2016-10-11 12:29:38 -0700531 "core/fpdfapi/page/cpdf_docpagedata.cpp",
532 "core/fpdfapi/page/cpdf_docpagedata.h",
Dan Sinclair5acacd32017-05-25 14:04:59 -0400533 "core/fpdfapi/page/cpdf_expintfunc.cpp",
534 "core/fpdfapi/page/cpdf_expintfunc.h",
dsinclair41872fa2016-10-04 11:29:35 -0700535 "core/fpdfapi/page/cpdf_form.cpp",
536 "core/fpdfapi/page/cpdf_form.h",
537 "core/fpdfapi/page/cpdf_formobject.cpp",
538 "core/fpdfapi/page/cpdf_formobject.h",
Dan Sinclair5acacd32017-05-25 14:04:59 -0400539 "core/fpdfapi/page/cpdf_function.cpp",
540 "core/fpdfapi/page/cpdf_function.h",
dsinclair41872fa2016-10-04 11:29:35 -0700541 "core/fpdfapi/page/cpdf_generalstate.cpp",
542 "core/fpdfapi/page/cpdf_generalstate.h",
543 "core/fpdfapi/page/cpdf_graphicstates.cpp",
544 "core/fpdfapi/page/cpdf_graphicstates.h",
Dan Sinclair5acacd32017-05-25 14:04:59 -0400545 "core/fpdfapi/page/cpdf_iccprofile.cpp",
546 "core/fpdfapi/page/cpdf_iccprofile.h",
dsinclair41872fa2016-10-04 11:29:35 -0700547 "core/fpdfapi/page/cpdf_image.cpp",
548 "core/fpdfapi/page/cpdf_image.h",
549 "core/fpdfapi/page/cpdf_imageobject.cpp",
550 "core/fpdfapi/page/cpdf_imageobject.h",
551 "core/fpdfapi/page/cpdf_meshstream.cpp",
552 "core/fpdfapi/page/cpdf_meshstream.h",
553 "core/fpdfapi/page/cpdf_page.cpp",
554 "core/fpdfapi/page/cpdf_page.h",
555 "core/fpdfapi/page/cpdf_pagemodule.cpp",
556 "core/fpdfapi/page/cpdf_pagemodule.h",
557 "core/fpdfapi/page/cpdf_pageobject.cpp",
558 "core/fpdfapi/page/cpdf_pageobject.h",
559 "core/fpdfapi/page/cpdf_pageobjectholder.cpp",
560 "core/fpdfapi/page/cpdf_pageobjectholder.h",
561 "core/fpdfapi/page/cpdf_pageobjectlist.cpp",
562 "core/fpdfapi/page/cpdf_pageobjectlist.h",
563 "core/fpdfapi/page/cpdf_path.cpp",
564 "core/fpdfapi/page/cpdf_path.h",
565 "core/fpdfapi/page/cpdf_pathobject.cpp",
566 "core/fpdfapi/page/cpdf_pathobject.h",
567 "core/fpdfapi/page/cpdf_pattern.cpp",
568 "core/fpdfapi/page/cpdf_pattern.h",
Dan Sinclair5acacd32017-05-25 14:04:59 -0400569 "core/fpdfapi/page/cpdf_patterncs.cpp",
570 "core/fpdfapi/page/cpdf_patterncs.h",
571 "core/fpdfapi/page/cpdf_psengine.cpp",
572 "core/fpdfapi/page/cpdf_psengine.h",
573 "core/fpdfapi/page/cpdf_psfunc.cpp",
574 "core/fpdfapi/page/cpdf_psfunc.h",
575 "core/fpdfapi/page/cpdf_sampledfunc.cpp",
576 "core/fpdfapi/page/cpdf_sampledfunc.h",
dsinclair41872fa2016-10-04 11:29:35 -0700577 "core/fpdfapi/page/cpdf_shadingobject.cpp",
578 "core/fpdfapi/page/cpdf_shadingobject.h",
579 "core/fpdfapi/page/cpdf_shadingpattern.cpp",
580 "core/fpdfapi/page/cpdf_shadingpattern.h",
Dan Sinclair5acacd32017-05-25 14:04:59 -0400581 "core/fpdfapi/page/cpdf_stitchfunc.cpp",
582 "core/fpdfapi/page/cpdf_stitchfunc.h",
tsepez271d9c02016-10-13 11:29:04 -0700583 "core/fpdfapi/page/cpdf_streamcontentparser.cpp",
584 "core/fpdfapi/page/cpdf_streamcontentparser.h",
npm014b0122016-11-07 08:42:11 -0800585 "core/fpdfapi/page/cpdf_streamparser.cpp",
tsepez1aff2652016-11-22 10:45:59 -0800586 "core/fpdfapi/page/cpdf_streamparser.h",
dsinclair41872fa2016-10-04 11:29:35 -0700587 "core/fpdfapi/page/cpdf_textobject.cpp",
588 "core/fpdfapi/page/cpdf_textobject.h",
589 "core/fpdfapi/page/cpdf_textstate.cpp",
590 "core/fpdfapi/page/cpdf_textstate.h",
591 "core/fpdfapi/page/cpdf_tilingpattern.cpp",
592 "core/fpdfapi/page/cpdf_tilingpattern.h",
dsinclair488b7ad2016-10-04 11:55:50 -0700593 "core/fpdfapi/parser/cfdf_document.cpp",
594 "core/fpdfapi/parser/cfdf_document.h",
595 "core/fpdfapi/parser/cpdf_array.cpp",
596 "core/fpdfapi/parser/cpdf_array.h",
597 "core/fpdfapi/parser/cpdf_boolean.cpp",
598 "core/fpdfapi/parser/cpdf_boolean.h",
Artem Strygin626c2a52017-11-02 19:59:38 +0000599 "core/fpdfapi/parser/cpdf_cross_ref_avail.cpp",
600 "core/fpdfapi/parser/cpdf_cross_ref_avail.h",
dsinclair488b7ad2016-10-04 11:55:50 -0700601 "core/fpdfapi/parser/cpdf_crypto_handler.cpp",
602 "core/fpdfapi/parser/cpdf_crypto_handler.h",
603 "core/fpdfapi/parser/cpdf_data_avail.cpp",
604 "core/fpdfapi/parser/cpdf_data_avail.h",
605 "core/fpdfapi/parser/cpdf_dictionary.cpp",
606 "core/fpdfapi/parser/cpdf_dictionary.h",
607 "core/fpdfapi/parser/cpdf_document.cpp",
608 "core/fpdfapi/parser/cpdf_document.h",
609 "core/fpdfapi/parser/cpdf_hint_tables.cpp",
610 "core/fpdfapi/parser/cpdf_hint_tables.h",
611 "core/fpdfapi/parser/cpdf_indirect_object_holder.cpp",
612 "core/fpdfapi/parser/cpdf_indirect_object_holder.h",
tsepezc09625c2016-11-07 11:46:09 -0800613 "core/fpdfapi/parser/cpdf_linearized_header.cpp",
614 "core/fpdfapi/parser/cpdf_linearized_header.h",
dsinclair488b7ad2016-10-04 11:55:50 -0700615 "core/fpdfapi/parser/cpdf_name.cpp",
616 "core/fpdfapi/parser/cpdf_name.h",
617 "core/fpdfapi/parser/cpdf_null.cpp",
618 "core/fpdfapi/parser/cpdf_null.h",
619 "core/fpdfapi/parser/cpdf_number.cpp",
620 "core/fpdfapi/parser/cpdf_number.h",
621 "core/fpdfapi/parser/cpdf_object.cpp",
622 "core/fpdfapi/parser/cpdf_object.h",
Artem Strygin304eefb2017-08-29 00:26:42 +0300623 "core/fpdfapi/parser/cpdf_object_avail.cpp",
624 "core/fpdfapi/parser/cpdf_object_avail.h",
Artem Stryginf57cad42017-08-14 23:35:52 +0300625 "core/fpdfapi/parser/cpdf_object_walker.cpp",
626 "core/fpdfapi/parser/cpdf_object_walker.h",
Artem Strygin304eefb2017-08-29 00:26:42 +0300627 "core/fpdfapi/parser/cpdf_page_object_avail.cpp",
628 "core/fpdfapi/parser/cpdf_page_object_avail.h",
dsinclair488b7ad2016-10-04 11:55:50 -0700629 "core/fpdfapi/parser/cpdf_parser.cpp",
630 "core/fpdfapi/parser/cpdf_parser.h",
Artem Strygin834ebec2017-07-27 14:01:32 +0300631 "core/fpdfapi/parser/cpdf_read_validator.cpp",
632 "core/fpdfapi/parser/cpdf_read_validator.h",
dsinclair488b7ad2016-10-04 11:55:50 -0700633 "core/fpdfapi/parser/cpdf_reference.cpp",
634 "core/fpdfapi/parser/cpdf_reference.h",
635 "core/fpdfapi/parser/cpdf_security_handler.cpp",
636 "core/fpdfapi/parser/cpdf_security_handler.h",
637 "core/fpdfapi/parser/cpdf_simple_parser.cpp",
638 "core/fpdfapi/parser/cpdf_simple_parser.h",
639 "core/fpdfapi/parser/cpdf_stream.cpp",
640 "core/fpdfapi/parser/cpdf_stream.h",
641 "core/fpdfapi/parser/cpdf_stream_acc.cpp",
642 "core/fpdfapi/parser/cpdf_stream_acc.h",
643 "core/fpdfapi/parser/cpdf_string.cpp",
644 "core/fpdfapi/parser/cpdf_string.h",
645 "core/fpdfapi/parser/cpdf_syntax_parser.cpp",
646 "core/fpdfapi/parser/cpdf_syntax_parser.h",
647 "core/fpdfapi/parser/fpdf_parser_decode.cpp",
648 "core/fpdfapi/parser/fpdf_parser_decode.h",
649 "core/fpdfapi/parser/fpdf_parser_utility.cpp",
650 "core/fpdfapi/parser/fpdf_parser_utility.h",
npm483f3c42016-11-17 13:50:44 -0800651 "core/fpdfapi/render/cpdf_charposlist.cpp",
652 "core/fpdfapi/render/cpdf_charposlist.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500653 "core/fpdfapi/render/cpdf_devicebuffer.cpp",
654 "core/fpdfapi/render/cpdf_devicebuffer.h",
Nicolas Pena0ef7ba02017-01-04 16:18:57 -0500655 "core/fpdfapi/render/cpdf_dibsource.cpp",
656 "core/fpdfapi/render/cpdf_dibsource.h",
npm4bed2af2016-12-02 14:01:36 -0800657 "core/fpdfapi/render/cpdf_dibtransferfunc.cpp",
658 "core/fpdfapi/render/cpdf_dibtransferfunc.h",
npm935c6312016-11-17 10:47:43 -0800659 "core/fpdfapi/render/cpdf_docrenderdata.cpp",
660 "core/fpdfapi/render/cpdf_docrenderdata.h",
npmd7ecb5f2016-12-01 15:37:42 -0800661 "core/fpdfapi/render/cpdf_imagecacheentry.cpp",
662 "core/fpdfapi/render/cpdf_imagecacheentry.h",
npmca5300a2016-11-21 07:28:42 -0800663 "core/fpdfapi/render/cpdf_imageloader.cpp",
664 "core/fpdfapi/render/cpdf_imageloader.h",
npm43f382c2016-11-23 07:35:23 -0800665 "core/fpdfapi/render/cpdf_imagerenderer.cpp",
666 "core/fpdfapi/render/cpdf_imagerenderer.h",
npmd7ecb5f2016-12-01 15:37:42 -0800667 "core/fpdfapi/render/cpdf_pagerendercache.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700668 "core/fpdfapi/render/cpdf_pagerendercache.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500669 "core/fpdfapi/render/cpdf_progressiverenderer.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700670 "core/fpdfapi/render/cpdf_progressiverenderer.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500671 "core/fpdfapi/render/cpdf_rendercontext.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700672 "core/fpdfapi/render/cpdf_rendercontext.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500673 "core/fpdfapi/render/cpdf_renderoptions.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700674 "core/fpdfapi/render/cpdf_renderoptions.h",
npm483f3c42016-11-17 13:50:44 -0800675 "core/fpdfapi/render/cpdf_renderstatus.cpp",
676 "core/fpdfapi/render/cpdf_renderstatus.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500677 "core/fpdfapi/render/cpdf_scaledrenderbuffer.cpp",
678 "core/fpdfapi/render/cpdf_scaledrenderbuffer.h",
npm4bed2af2016-12-02 14:01:36 -0800679 "core/fpdfapi/render/cpdf_textrenderer.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700680 "core/fpdfapi/render/cpdf_textrenderer.h",
npmca5300a2016-11-21 07:28:42 -0800681 "core/fpdfapi/render/cpdf_transferfunc.cpp",
682 "core/fpdfapi/render/cpdf_transferfunc.h",
dsinclair69d9c682016-10-04 12:18:35 -0700683 "core/fpdfapi/render/cpdf_type3cache.cpp",
684 "core/fpdfapi/render/cpdf_type3cache.h",
685 "core/fpdfapi/render/cpdf_type3glyphs.cpp",
686 "core/fpdfapi/render/cpdf_type3glyphs.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700687 ]
weili0abe6522016-06-06 14:41:22 -0700688 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700689 deps = [
690 ":fxcrt",
Lei Zhang61f2f482017-09-19 15:03:15 -0700691 "third_party:lcms2",
thestig73c48562016-09-06 14:07:17 -0700692 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700693}
694
Lei Zhang81a1ac42017-12-21 21:49:55 -0800695jumbo_static_library("fpdftext") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700696 sources = [
npm2d396ac2016-08-26 10:00:25 -0700697 "core/fpdftext/cpdf_linkextract.cpp",
dsinclaire0307862016-09-29 13:25:38 -0700698 "core/fpdftext/cpdf_linkextract.h",
npm2d396ac2016-08-26 10:00:25 -0700699 "core/fpdftext/cpdf_textpage.cpp",
dsinclaire0307862016-09-29 13:25:38 -0700700 "core/fpdftext/cpdf_textpage.h",
npm2d396ac2016-08-26 10:00:25 -0700701 "core/fpdftext/cpdf_textpagefind.cpp",
dsinclaire0307862016-09-29 13:25:38 -0700702 "core/fpdftext/cpdf_textpagefind.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400703 "core/fpdftext/unicodenormalizationdata.cpp",
704 "core/fpdftext/unicodenormalizationdata.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700705 ]
weili0abe6522016-06-06 14:41:22 -0700706 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700707 deps = [
708 ":fxcrt",
709 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700710}
711
Lei Zhang81a1ac42017-12-21 21:49:55 -0800712jumbo_static_library("fxcodec") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700713 sources = [
dsinclair8a4e2862016-09-29 13:43:30 -0700714 "core/fxcodec/JBig2_DocumentContext.h",
dsinclaird55e11e2016-04-12 11:21:22 -0700715 "core/fxcodec/codec/ccodec_basicmodule.h",
716 "core/fxcodec/codec/ccodec_faxmodule.h",
717 "core/fxcodec/codec/ccodec_flatemodule.h",
718 "core/fxcodec/codec/ccodec_iccmodule.h",
719 "core/fxcodec/codec/ccodec_jbig2module.h",
720 "core/fxcodec/codec/ccodec_jpegmodule.h",
721 "core/fxcodec/codec/ccodec_jpxmodule.h",
Lei Zhang4b8d3632017-09-19 14:18:48 -0700722 "core/fxcodec/codec/ccodec_scanlinedecoder.cpp",
dsinclaird55e11e2016-04-12 11:21:22 -0700723 "core/fxcodec/codec/ccodec_scanlinedecoder.h",
Dan Sinclair0bb13332017-03-30 16:12:02 -0400724 "core/fxcodec/codec/cjpx_decoder.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400725 "core/fxcodec/codec/codec_int.h",
726 "core/fxcodec/codec/fx_codec.cpp",
727 "core/fxcodec/codec/fx_codec_fax.cpp",
728 "core/fxcodec/codec/fx_codec_flate.cpp",
729 "core/fxcodec/codec/fx_codec_icc.cpp",
730 "core/fxcodec/codec/fx_codec_jbig.cpp",
731 "core/fxcodec/codec/fx_codec_jpeg.cpp",
732 "core/fxcodec/codec/fx_codec_jpx_opj.cpp",
dsinclair8a4e2862016-09-29 13:43:30 -0700733 "core/fxcodec/fx_codec.h",
734 "core/fxcodec/fx_codec_def.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400735 "core/fxcodec/jbig2/JBig2_ArithDecoder.cpp",
736 "core/fxcodec/jbig2/JBig2_ArithDecoder.h",
737 "core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp",
738 "core/fxcodec/jbig2/JBig2_ArithIntDecoder.h",
739 "core/fxcodec/jbig2/JBig2_BitStream.cpp",
740 "core/fxcodec/jbig2/JBig2_BitStream.h",
741 "core/fxcodec/jbig2/JBig2_Context.cpp",
742 "core/fxcodec/jbig2/JBig2_Context.h",
743 "core/fxcodec/jbig2/JBig2_Define.h",
744 "core/fxcodec/jbig2/JBig2_GrdProc.cpp",
745 "core/fxcodec/jbig2/JBig2_GrdProc.h",
746 "core/fxcodec/jbig2/JBig2_GrrdProc.cpp",
747 "core/fxcodec/jbig2/JBig2_GrrdProc.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400748 "core/fxcodec/jbig2/JBig2_HtrdProc.cpp",
749 "core/fxcodec/jbig2/JBig2_HtrdProc.h",
750 "core/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp",
751 "core/fxcodec/jbig2/JBig2_HuffmanDecoder.h",
752 "core/fxcodec/jbig2/JBig2_HuffmanTable.cpp",
753 "core/fxcodec/jbig2/JBig2_HuffmanTable.h",
Tom Sepez4161c5c2016-03-21 12:26:54 -0700754 "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400755 "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h",
756 "core/fxcodec/jbig2/JBig2_Image.cpp",
757 "core/fxcodec/jbig2/JBig2_Image.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400758 "core/fxcodec/jbig2/JBig2_Page.h",
759 "core/fxcodec/jbig2/JBig2_PatternDict.cpp",
760 "core/fxcodec/jbig2/JBig2_PatternDict.h",
761 "core/fxcodec/jbig2/JBig2_PddProc.cpp",
762 "core/fxcodec/jbig2/JBig2_PddProc.h",
763 "core/fxcodec/jbig2/JBig2_SddProc.cpp",
764 "core/fxcodec/jbig2/JBig2_SddProc.h",
765 "core/fxcodec/jbig2/JBig2_Segment.cpp",
766 "core/fxcodec/jbig2/JBig2_Segment.h",
767 "core/fxcodec/jbig2/JBig2_SymbolDict.cpp",
768 "core/fxcodec/jbig2/JBig2_SymbolDict.h",
769 "core/fxcodec/jbig2/JBig2_TrdProc.cpp",
770 "core/fxcodec/jbig2/JBig2_TrdProc.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700771 ]
thestig73c48562016-09-06 14:07:17 -0700772 configs += [ ":pdfium_core_config" ]
Lei Zhang8241df72015-11-06 14:38:48 -0800773 include_dirs = []
thestig73c48562016-09-06 14:07:17 -0700774 deps = [
775 ":fxcrt",
thestig73c48562016-09-06 14:07:17 -0700776 "third_party:fx_libopenjpeg",
Miklos Vajna0fafb4f2017-05-24 08:40:49 +0200777 "third_party:lcms2",
Miklos Vajna2df760f2017-05-06 01:54:54 +0200778 "third_party:zlib",
thestig73c48562016-09-06 14:07:17 -0700779 "//third_party:jpeg",
780 ]
781
Tom Sepezd2e023b2015-12-08 14:36:16 -0800782 if (pdf_enable_xfa) {
783 sources += [
Ryan Harrisonb5a2d142018-02-06 16:55:14 +0000784 "core/fxcodec/bmp/cfx_bmpcontext.cpp",
785 "core/fxcodec/bmp/cfx_bmpcontext.h",
786 "core/fxcodec/bmp/cfx_bmpdecompressor.cpp",
787 "core/fxcodec/bmp/cfx_bmpdecompressor.h",
Ryan Harrisonb1051522018-02-06 15:31:04 +0000788 "core/fxcodec/bmp/fx_bmp.cpp",
789 "core/fxcodec/bmp/fx_bmp.h",
Tom Sepez73c9f3b2017-02-27 10:12:59 -0800790 "core/fxcodec/codec/ccodec_bmpmodule.cpp",
dsinclaird55e11e2016-04-12 11:21:22 -0700791 "core/fxcodec/codec/ccodec_bmpmodule.h",
Tom Sepez73c9f3b2017-02-27 10:12:59 -0800792 "core/fxcodec/codec/ccodec_gifmodule.cpp",
dsinclaird55e11e2016-04-12 11:21:22 -0700793 "core/fxcodec/codec/ccodec_gifmodule.h",
Tom Sepez73c9f3b2017-02-27 10:12:59 -0800794 "core/fxcodec/codec/ccodec_pngmodule.cpp",
dsinclaird55e11e2016-04-12 11:21:22 -0700795 "core/fxcodec/codec/ccodec_pngmodule.h",
dsinclair8a4e2862016-09-29 13:43:30 -0700796 "core/fxcodec/codec/ccodec_progressivedecoder.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400797 "core/fxcodec/codec/fx_codec_progress.cpp",
Ryan Harrison36a155d2017-09-27 15:39:26 -0400798 "core/fxcodec/gif/cfx_gif.cpp",
799 "core/fxcodec/gif/cfx_gif.h",
800 "core/fxcodec/gif/cfx_gifcontext.cpp",
801 "core/fxcodec/gif/cfx_gifcontext.h",
802 "core/fxcodec/gif/cfx_lzwdecompressor.cpp",
803 "core/fxcodec/gif/cfx_lzwdecompressor.h",
Tom Sepezd2e023b2015-12-08 14:36:16 -0800804 ]
Ryan Harrison27924e62018-05-09 14:42:42 +0000805 deps += [ "third_party:png" ]
806 if (pdf_enable_xfa_tiff) {
807 sources += [
808 "core/fxcodec/codec/ccodec_tiffmodule.cpp",
809 "core/fxcodec/codec/ccodec_tiffmodule.h",
810 ]
811 deps += [ "third_party:fx_tiff" ]
812 }
Tom Sepezd2e023b2015-12-08 14:36:16 -0800813 }
Fabrice de Gans-Riberi8d970f72018-04-04 18:27:21 +0000814 if (is_posix || is_fuchsia) {
Dan Sinclair764ec512016-03-14 13:35:12 -0400815 # core/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int
John Abd-El-Malekdef5c7d2014-06-09 16:07:18 -0700816 # conversion to check that an address is 16-bit aligned (benign).
817 cflags_c = [ "-Wno-pointer-to-int-cast" ]
818 }
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400819}
820
821config("fxge_warnings") {
822 if (is_clang) {
823 cflags = [
824 # http://code.google.com/p/pdfium/issues/detail?id=188
825 "-Wno-switch",
826 ]
827 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700828}
829
Lei Zhang7981d152018-01-11 14:26:01 +0000830jumbo_static_library("fxcrt") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700831 sources = [
Dan Sinclairb8966992017-09-21 14:51:57 -0400832 "core/fxcrt/autorestorer.h",
Ryan Harrison275e2602017-09-18 14:23:18 -0400833 "core/fxcrt/bytestring.cpp",
834 "core/fxcrt/bytestring.h",
Dan Sinclaircd071232017-08-30 16:21:36 -0400835 "core/fxcrt/cfx_binarybuf.cpp",
836 "core/fxcrt/cfx_binarybuf.h",
Dan Sinclairccd5be02017-08-30 13:23:44 -0400837 "core/fxcrt/cfx_bitstream.cpp",
838 "core/fxcrt/cfx_bitstream.h",
Jane Liu54a42142017-07-24 16:40:54 -0400839 "core/fxcrt/cfx_datetime.cpp",
840 "core/fxcrt/cfx_datetime.h",
Dan Sinclair1e8dd542017-08-31 16:31:47 -0400841 "core/fxcrt/cfx_fileaccess_posix.cpp",
842 "core/fxcrt/cfx_fileaccess_posix.h",
843 "core/fxcrt/cfx_fileaccess_windows.cpp",
844 "core/fxcrt/cfx_fileaccess_windows.h",
Dan Sinclair4793f342017-08-30 16:44:57 -0400845 "core/fxcrt/cfx_fixedbufgrow.h",
Dan Sinclair283a0432017-04-20 14:11:21 -0400846 "core/fxcrt/cfx_memorystream.cpp",
847 "core/fxcrt/cfx_memorystream.h",
Ryan Harrisonccf206a2017-11-14 16:05:53 +0000848 "core/fxcrt/cfx_seekablemultistream.cpp",
849 "core/fxcrt/cfx_seekablemultistream.h",
dan sinclair19ae9bf2018-04-16 16:54:27 +0000850 "core/fxcrt/cfx_seekablestreamproxy.cpp",
851 "core/fxcrt/cfx_seekablestreamproxy.h",
Dan Sinclair5624fe32017-08-30 16:13:01 -0400852 "core/fxcrt/cfx_utf8decoder.cpp",
853 "core/fxcrt/cfx_utf8decoder.h",
Dan Sinclaira94566f2017-08-30 16:36:53 -0400854 "core/fxcrt/cfx_widetextbuf.cpp",
855 "core/fxcrt/cfx_widetextbuf.h",
Dan Sinclaira32145f2018-03-06 18:53:05 +0000856 "core/fxcrt/fileaccess_iface.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400857 "core/fxcrt/fx_bidi.cpp",
Dan Sinclaira8a28e02016-03-23 15:41:39 -0400858 "core/fxcrt/fx_bidi.h",
Tom Sepezaff0dfd2018-05-07 21:32:10 +0000859 "core/fxcrt/fx_codepage.cpp",
Dan Sinclairf51a02a2017-04-19 12:46:53 -0400860 "core/fxcrt/fx_codepage.h",
Tom Sepez63022882017-04-25 10:29:58 -0700861 "core/fxcrt/fx_coordinates.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700862 "core/fxcrt/fx_coordinates.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400863 "core/fxcrt/fx_extension.cpp",
Dan Sinclaircfb19442017-04-20 13:13:04 -0400864 "core/fxcrt/fx_extension.h",
Tom Sepeza9deea92017-04-25 10:37:47 -0700865 "core/fxcrt/fx_memory.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700866 "core/fxcrt/fx_memory.h",
Dan Sinclair6c902e62017-09-05 13:22:36 -0400867 "core/fxcrt/fx_random.cpp",
868 "core/fxcrt/fx_random.h",
dsinclaira52ab742016-09-29 13:59:29 -0700869 "core/fxcrt/fx_safe_types.h",
Dan Sinclaircfb19442017-04-20 13:13:04 -0400870 "core/fxcrt/fx_stream.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700871 "core/fxcrt/fx_stream.h",
Dan Sinclair0872b042017-08-31 15:50:25 -0400872 "core/fxcrt/fx_string.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700873 "core/fxcrt/fx_string.h",
Tom Sepez9ff306d2017-04-24 15:55:11 -0700874 "core/fxcrt/fx_system.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700875 "core/fxcrt/fx_system.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400876 "core/fxcrt/fx_ucddata.cpp",
Tom Sepez740bcd82017-09-01 12:40:05 -0700877 "core/fxcrt/fx_ucddata.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400878 "core/fxcrt/fx_unicode.cpp",
Tom Sepez740bcd82017-09-01 12:40:05 -0700879 "core/fxcrt/fx_unicode.h",
Dan Sinclairde44d152017-09-21 14:52:41 -0400880 "core/fxcrt/maybe_owned.h",
Dan Sinclair65ecca42017-09-21 15:25:32 -0400881 "core/fxcrt/observable.h",
Dan Sinclaira32145f2018-03-06 18:53:05 +0000882 "core/fxcrt/pauseindicator_iface.h",
Dan Sinclair0b950422017-09-21 15:49:49 -0400883 "core/fxcrt/retain_ptr.h",
Dan Sinclair9317f8f2017-09-21 16:19:19 -0400884 "core/fxcrt/shared_copy_on_write.h",
Dan Sinclair20a17552017-09-21 16:35:56 -0400885 "core/fxcrt/string_data_template.h",
Dan Sinclair8e9e3d82017-09-21 16:49:32 -0400886 "core/fxcrt/string_pool_template.h",
Ryan Harrison275e2602017-09-18 14:23:18 -0400887 "core/fxcrt/string_view_template.h",
Dan Sinclairaee0db02017-09-21 16:53:58 -0400888 "core/fxcrt/unowned_ptr.h",
Dan Sinclairb872a932017-09-21 17:05:15 -0400889 "core/fxcrt/weak_ptr.h",
Ryan Harrison275e2602017-09-18 14:23:18 -0400890 "core/fxcrt/widestring.cpp",
891 "core/fxcrt/widestring.h",
dan sinclair19ae9bf2018-04-16 16:54:27 +0000892 "core/fxcrt/xml/cfx_xmlchardata.cpp",
893 "core/fxcrt/xml/cfx_xmlchardata.h",
Dan Sinclair70180642018-05-02 16:02:03 +0000894 "core/fxcrt/xml/cfx_xmldocument.cpp",
895 "core/fxcrt/xml/cfx_xmldocument.h",
dan sinclair19ae9bf2018-04-16 16:54:27 +0000896 "core/fxcrt/xml/cfx_xmlelement.cpp",
897 "core/fxcrt/xml/cfx_xmlelement.h",
898 "core/fxcrt/xml/cfx_xmlinstruction.cpp",
899 "core/fxcrt/xml/cfx_xmlinstruction.h",
900 "core/fxcrt/xml/cfx_xmlnode.cpp",
901 "core/fxcrt/xml/cfx_xmlnode.h",
902 "core/fxcrt/xml/cfx_xmlparser.cpp",
903 "core/fxcrt/xml/cfx_xmlparser.h",
904 "core/fxcrt/xml/cfx_xmltext.cpp",
905 "core/fxcrt/xml/cfx_xmltext.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700906 ]
thestigc65e11e2016-08-30 21:56:33 -0700907 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700908 visibility += [ "third_party:*" ]
909 deps = [
910 "third_party:pdfium_base",
911 ]
912 public_deps = [
Dominik Röttsches4b0671a2017-03-30 11:07:43 +0300913 ":freetype_common",
thestig73c48562016-09-06 14:07:17 -0700914 "third_party:pdfium_base",
Ryan Harrison15c0fcc2018-03-12 15:20:04 +0000915 "//third_party/icu:icuuc",
thestig73c48562016-09-06 14:07:17 -0700916 ]
thestigc65e11e2016-08-30 21:56:33 -0700917
Tom Sepezd2e023b2015-12-08 14:36:16 -0800918 if (pdf_enable_xfa) {
919 sources += [
Dan Sinclair893822a2017-03-13 15:32:07 -0400920 "core/fxcrt/cfx_char.cpp",
921 "core/fxcrt/cfx_char.h",
Dan Sinclairb929ab02017-03-29 15:18:16 -0400922 "core/fxcrt/cfx_decimal.cpp",
923 "core/fxcrt/cfx_decimal.h",
Dan Sinclair9f0e85a2017-08-08 13:23:24 -0400924 "core/fxcrt/css/cfx_css.h",
925 "core/fxcrt/css/cfx_csscolorvalue.cpp",
926 "core/fxcrt/css/cfx_csscolorvalue.h",
927 "core/fxcrt/css/cfx_csscomputedstyle.cpp",
928 "core/fxcrt/css/cfx_csscomputedstyle.h",
929 "core/fxcrt/css/cfx_csscustomproperty.cpp",
930 "core/fxcrt/css/cfx_csscustomproperty.h",
Ryan Harrison55c62a42018-02-01 17:46:34 +0000931 "core/fxcrt/css/cfx_cssdata.cpp",
932 "core/fxcrt/css/cfx_cssdata.h",
Dan Sinclair9f0e85a2017-08-08 13:23:24 -0400933 "core/fxcrt/css/cfx_cssdeclaration.cpp",
934 "core/fxcrt/css/cfx_cssdeclaration.h",
935 "core/fxcrt/css/cfx_cssenumvalue.cpp",
936 "core/fxcrt/css/cfx_cssenumvalue.h",
937 "core/fxcrt/css/cfx_cssexttextbuf.cpp",
938 "core/fxcrt/css/cfx_cssexttextbuf.h",
939 "core/fxcrt/css/cfx_cssnumbervalue.cpp",
940 "core/fxcrt/css/cfx_cssnumbervalue.h",
941 "core/fxcrt/css/cfx_csspropertyholder.cpp",
942 "core/fxcrt/css/cfx_csspropertyholder.h",
943 "core/fxcrt/css/cfx_cssrulecollection.cpp",
944 "core/fxcrt/css/cfx_cssrulecollection.h",
945 "core/fxcrt/css/cfx_cssselector.cpp",
946 "core/fxcrt/css/cfx_cssselector.h",
947 "core/fxcrt/css/cfx_cssstringvalue.cpp",
948 "core/fxcrt/css/cfx_cssstringvalue.h",
949 "core/fxcrt/css/cfx_cssstylerule.cpp",
950 "core/fxcrt/css/cfx_cssstylerule.h",
951 "core/fxcrt/css/cfx_cssstyleselector.cpp",
952 "core/fxcrt/css/cfx_cssstyleselector.h",
953 "core/fxcrt/css/cfx_cssstylesheet.cpp",
954 "core/fxcrt/css/cfx_cssstylesheet.h",
955 "core/fxcrt/css/cfx_csssyntaxparser.cpp",
956 "core/fxcrt/css/cfx_csssyntaxparser.h",
957 "core/fxcrt/css/cfx_csstextbuf.cpp",
958 "core/fxcrt/css/cfx_csstextbuf.h",
959 "core/fxcrt/css/cfx_cssvalue.cpp",
960 "core/fxcrt/css/cfx_cssvalue.h",
961 "core/fxcrt/css/cfx_cssvaluelist.cpp",
962 "core/fxcrt/css/cfx_cssvaluelist.h",
963 "core/fxcrt/css/cfx_cssvaluelistparser.cpp",
964 "core/fxcrt/css/cfx_cssvaluelistparser.h",
pcce3bbfa22016-04-19 12:40:07 -0700965 "core/fxcrt/fx_arabic.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700966 "core/fxcrt/fx_arabic.h",
Dan Sinclaira32145f2018-03-06 18:53:05 +0000967 "core/fxcrt/locale_iface.h",
Tom Sepezd2e023b2015-12-08 14:36:16 -0800968 ]
969 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700970}
971
Lei Zhang27d718e2018-01-18 21:51:17 +0000972jumbo_static_library("fxge") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700973 sources = [
Lei Zhang19319b72017-08-17 01:31:18 -0700974 "core/fxge/android/cfpf_skiabufferfont.cpp",
npmcfcc11e2016-10-25 14:26:39 -0700975 "core/fxge/android/cfpf_skiabufferfont.h",
976 "core/fxge/android/cfpf_skiadevicemodule.cpp",
977 "core/fxge/android/cfpf_skiadevicemodule.h",
Lei Zhang19319b72017-08-17 01:31:18 -0700978 "core/fxge/android/cfpf_skiafilefont.cpp",
npmcfcc11e2016-10-25 14:26:39 -0700979 "core/fxge/android/cfpf_skiafilefont.h",
980 "core/fxge/android/cfpf_skiafont.cpp",
981 "core/fxge/android/cfpf_skiafont.h",
Lei Zhang19319b72017-08-17 01:31:18 -0700982 "core/fxge/android/cfpf_skiafontdescriptor.cpp",
npmcfcc11e2016-10-25 14:26:39 -0700983 "core/fxge/android/cfpf_skiafontdescriptor.h",
npm83828032016-10-21 11:56:53 -0700984 "core/fxge/android/cfpf_skiafontmgr.cpp",
npmcfcc11e2016-10-25 14:26:39 -0700985 "core/fxge/android/cfpf_skiafontmgr.h",
Lei Zhang19319b72017-08-17 01:31:18 -0700986 "core/fxge/android/cfpf_skiapathfont.cpp",
npmcfcc11e2016-10-25 14:26:39 -0700987 "core/fxge/android/cfpf_skiapathfont.h",
988 "core/fxge/android/cfx_androidfontinfo.cpp",
989 "core/fxge/android/cfx_androidfontinfo.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400990 "core/fxge/android/fx_android_imp.cpp",
Dan Sinclair92e22762017-07-10 15:14:26 -0400991 "core/fxge/cfx_cliprgn.cpp",
992 "core/fxge/cfx_cliprgn.h",
Dan Sinclair7f55a542017-07-13 14:17:10 -0400993 "core/fxge/cfx_color.cpp",
994 "core/fxge/cfx_color.h",
Dan Sinclaira5085d42017-05-11 16:26:50 -0400995 "core/fxge/cfx_defaultrenderdevice.h",
Dan Sinclair92e22762017-07-10 15:14:26 -0400996 "core/fxge/cfx_facecache.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -0700997 "core/fxge/cfx_facecache.h",
Dan Sinclair92e22762017-07-10 15:14:26 -0400998 "core/fxge/cfx_folderfontinfo.cpp",
999 "core/fxge/cfx_folderfontinfo.h",
1000 "core/fxge/cfx_font.cpp",
1001 "core/fxge/cfx_fontcache.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001002 "core/fxge/cfx_fontcache.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001003 "core/fxge/cfx_fontmapper.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001004 "core/fxge/cfx_fontmapper.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001005 "core/fxge/cfx_fontmgr.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001006 "core/fxge/cfx_fontmgr.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001007 "core/fxge/cfx_gemodule.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001008 "core/fxge/cfx_gemodule.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001009 "core/fxge/cfx_graphstate.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001010 "core/fxge/cfx_graphstate.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001011 "core/fxge/cfx_graphstatedata.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001012 "core/fxge/cfx_graphstatedata.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001013 "core/fxge/cfx_pathdata.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001014 "core/fxge/cfx_pathdata.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001015 "core/fxge/cfx_renderdevice.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001016 "core/fxge/cfx_renderdevice.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001017 "core/fxge/cfx_substfont.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001018 "core/fxge/cfx_substfont.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001019 "core/fxge/cfx_unicodeencoding.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001020 "core/fxge/cfx_unicodeencoding.h",
Dan Sinclaira5085d42017-05-11 16:26:50 -04001021 "core/fxge/cfx_windowsrenderdevice.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001022 "core/fxge/cttfontdesc.cpp",
1023 "core/fxge/cttfontdesc.h",
Nicolas Pena0c972eb2017-04-03 13:43:52 -04001024 "core/fxge/dib/cfx_bitmapcomposer.cpp",
1025 "core/fxge/dib/cfx_bitmapcomposer.h",
1026 "core/fxge/dib/cfx_bitmapstorer.cpp",
1027 "core/fxge/dib/cfx_bitmapstorer.h",
Nicolas Pena192e4d92017-04-03 12:48:00 -04001028 "core/fxge/dib/cfx_dibextractor.cpp",
1029 "core/fxge/dib/cfx_dibextractor.h",
1030 "core/fxge/dib/cfx_dibitmap.cpp",
Nicolas Penafc715c32017-03-31 10:22:11 -04001031 "core/fxge/dib/cfx_dibitmap.h",
1032 "core/fxge/dib/cfx_dibsource.cpp",
1033 "core/fxge/dib/cfx_dibsource.h",
Nicolas Penaac66da22017-03-31 14:38:21 -04001034 "core/fxge/dib/cfx_filtereddib.cpp",
Nicolas Penafc715c32017-03-31 10:22:11 -04001035 "core/fxge/dib/cfx_filtereddib.h",
Nicolas Penabdbb0bd2017-03-31 15:39:44 -04001036 "core/fxge/dib/cfx_imagerenderer.cpp",
1037 "core/fxge/dib/cfx_imagerenderer.h",
Nicolas Pena0c972eb2017-04-03 13:43:52 -04001038 "core/fxge/dib/cfx_imagestretcher.cpp",
1039 "core/fxge/dib/cfx_imagestretcher.h",
Nicolas Penabdbb0bd2017-03-31 15:39:44 -04001040 "core/fxge/dib/cfx_imagetransformer.cpp",
1041 "core/fxge/dib/cfx_imagetransformer.h",
Nicolas Penaac66da22017-03-31 14:38:21 -04001042 "core/fxge/dib/cfx_scanlinecompositor.cpp",
1043 "core/fxge/dib/cfx_scanlinecompositor.h",
Nicolas Pena236ce3b2017-04-04 17:47:50 -04001044 "core/fxge/dib/cstretchengine.cpp",
1045 "core/fxge/dib/cstretchengine.h",
Dan Sinclair764ec512016-03-14 13:35:12 -04001046 "core/fxge/dib/fx_dib_main.cpp",
Dan Sinclairf8af5652018-03-06 18:56:33 +00001047 "core/fxge/dib/scanlinecomposer_iface.h",
Dan Sinclair764ec512016-03-14 13:35:12 -04001048 "core/fxge/fontdata/chromefontdata/FoxitDingbats.cpp",
1049 "core/fxge/fontdata/chromefontdata/FoxitFixed.cpp",
1050 "core/fxge/fontdata/chromefontdata/FoxitFixedBold.cpp",
1051 "core/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.cpp",
1052 "core/fxge/fontdata/chromefontdata/FoxitFixedItalic.cpp",
1053 "core/fxge/fontdata/chromefontdata/FoxitSans.cpp",
1054 "core/fxge/fontdata/chromefontdata/FoxitSansBold.cpp",
1055 "core/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.cpp",
1056 "core/fxge/fontdata/chromefontdata/FoxitSansItalic.cpp",
1057 "core/fxge/fontdata/chromefontdata/FoxitSansMM.cpp",
1058 "core/fxge/fontdata/chromefontdata/FoxitSerif.cpp",
1059 "core/fxge/fontdata/chromefontdata/FoxitSerifBold.cpp",
1060 "core/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.cpp",
1061 "core/fxge/fontdata/chromefontdata/FoxitSerifItalic.cpp",
1062 "core/fxge/fontdata/chromefontdata/FoxitSerifMM.cpp",
1063 "core/fxge/fontdata/chromefontdata/FoxitSymbol.cpp",
1064 "core/fxge/fontdata/chromefontdata/chromefontdata.h",
1065 "core/fxge/freetype/fx_freetype.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001066 "core/fxge/fx_dib.h",
1067 "core/fxge/fx_font.h",
1068 "core/fxge/fx_freetype.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001069 "core/fxge/fx_ge_fontmap.cpp",
1070 "core/fxge/fx_ge_linux.cpp",
1071 "core/fxge/fx_ge_text.cpp",
Dan Sinclairf8af5652018-03-06 18:56:33 +00001072 "core/fxge/renderdevicedriver_iface.cpp",
1073 "core/fxge/renderdevicedriver_iface.h",
1074 "core/fxge/systemfontinfo_iface.h",
npm74847622016-07-29 15:20:25 -07001075 "core/fxge/win32/cfx_windowsdib.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001076 ]
1077
Dan Sinclairbc6c6722015-10-22 14:58:54 -04001078 configs += [
Lei Zhang7b16ba52015-10-26 17:06:53 -07001079 ":fxge_warnings",
weili0abe6522016-06-06 14:41:22 -07001080 ":pdfium_core_config",
Dan Sinclairbc6c6722015-10-22 14:58:54 -04001081 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001082
thestig73c48562016-09-06 14:07:17 -07001083 deps = [
1084 ":fxcrt",
1085 ]
1086
Bruce Dawsonaeac9512017-08-12 21:45:12 -07001087 if (is_component_build || use_system_freetype) {
Bruce Dawsond27998f2017-08-10 16:07:07 -07001088 # ft_adobe_glyph_list is not exported from the Freetype shared library so we
Bruce Dawsonaeac9512017-08-12 21:45:12 -07001089 # need it defined in component builds and builds using system freetype.
Andrew Weintraub5a21af62018-01-24 23:54:02 +00001090 defines = [ "DEFINE_PS_TABLES_DATA" ]
Bruce Dawsond27998f2017-08-10 16:07:07 -07001091 }
Lei Zhang3de50052017-03-29 21:02:13 -07001092
npm1a8946b2016-08-18 10:55:29 -07001093 if (pdf_enable_xfa) {
1094 sources += [
Dan Sinclair92e22762017-07-10 15:14:26 -04001095 "core/fxge/cfx_unicodeencodingex.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001096 "core/fxge/cfx_unicodeencodingex.h",
npm1a8946b2016-08-18 10:55:29 -07001097 ]
1098 }
1099
caryclarkaf177fe2016-11-16 10:10:03 -08001100 if (pdf_use_skia || pdf_use_skia_paths) {
Cary Clark59b3a482016-03-17 12:00:39 -04001101 sources += [ "core/fxge/skia/fx_skia_device.cpp" ]
thestig73c48562016-09-06 14:07:17 -07001102 deps += [ "//skia" ]
caryclark749c14c2016-05-19 07:01:03 -07001103 } else {
1104 sources += [
1105 "core/fxge/agg/fx_agg_driver.cpp",
1106 "core/fxge/agg/fx_agg_driver.h",
1107 ]
thestig73c48562016-09-06 14:07:17 -07001108 deps += [ "third_party:fx_agg" ]
Dan Sinclair72a39ce2017-03-21 16:44:03 -04001109 }
npma97fc7c2016-11-07 08:50:04 -08001110
Dan Sinclair72a39ce2017-03-21 16:44:03 -04001111 if (is_mac) {
1112 sources += [ "core/fxge/apple/fx_apple_platform.cpp" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001113 }
1114
1115 if (is_win) {
1116 sources += [
rbpotter8d94b662017-01-06 08:10:18 -08001117 "core/fxge/win32/cfx_psrenderer.cpp",
1118 "core/fxge/win32/cfx_psrenderer.h",
1119 "core/fxge/win32/cpsoutput.cpp",
1120 "core/fxge/win32/cpsoutput.h",
Dan Sinclair764ec512016-03-14 13:35:12 -04001121 "core/fxge/win32/fx_win32_device.cpp",
1122 "core/fxge/win32/fx_win32_dib.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001123 "core/fxge/win32/fx_win32_gdipext.cpp",
1124 "core/fxge/win32/fx_win32_print.cpp",
1125 "core/fxge/win32/win32_int.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001126 ]
Tom Sepez465ed872015-12-09 14:55:41 -08001127 configs -= [ "//build/config/win:lean_and_mean" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001128 }
npma97fc7c2016-11-07 08:50:04 -08001129
1130 if (is_mac) {
1131 sources += [
1132 "core/fxge/apple/apple_int.h",
1133 "core/fxge/apple/fx_mac_imp.cpp",
1134 "core/fxge/apple/fx_quartz_device.cpp",
1135 ]
1136 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001137}
1138
Lei Zhang27d718e2018-01-18 21:51:17 +00001139jumbo_static_library("pwl") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001140 sources = [
Dan Sinclairc411eb92017-07-25 09:39:30 -04001141 "fpdfsdk/pwl/cpwl_appstream.cpp",
1142 "fpdfsdk/pwl/cpwl_appstream.h",
1143 "fpdfsdk/pwl/cpwl_button.cpp",
1144 "fpdfsdk/pwl/cpwl_button.h",
1145 "fpdfsdk/pwl/cpwl_caret.cpp",
1146 "fpdfsdk/pwl/cpwl_caret.h",
1147 "fpdfsdk/pwl/cpwl_combo_box.cpp",
1148 "fpdfsdk/pwl/cpwl_combo_box.h",
1149 "fpdfsdk/pwl/cpwl_edit.cpp",
1150 "fpdfsdk/pwl/cpwl_edit.h",
1151 "fpdfsdk/pwl/cpwl_edit_ctrl.cpp",
1152 "fpdfsdk/pwl/cpwl_edit_ctrl.h",
1153 "fpdfsdk/pwl/cpwl_edit_impl.cpp",
1154 "fpdfsdk/pwl/cpwl_edit_impl.h",
1155 "fpdfsdk/pwl/cpwl_font_map.cpp",
1156 "fpdfsdk/pwl/cpwl_font_map.h",
1157 "fpdfsdk/pwl/cpwl_icon.cpp",
1158 "fpdfsdk/pwl/cpwl_icon.h",
1159 "fpdfsdk/pwl/cpwl_list_box.cpp",
1160 "fpdfsdk/pwl/cpwl_list_box.h",
1161 "fpdfsdk/pwl/cpwl_list_impl.cpp",
1162 "fpdfsdk/pwl/cpwl_list_impl.h",
1163 "fpdfsdk/pwl/cpwl_scroll_bar.cpp",
1164 "fpdfsdk/pwl/cpwl_scroll_bar.h",
1165 "fpdfsdk/pwl/cpwl_special_button.cpp",
1166 "fpdfsdk/pwl/cpwl_special_button.h",
1167 "fpdfsdk/pwl/cpwl_timer.cpp",
1168 "fpdfsdk/pwl/cpwl_timer.h",
1169 "fpdfsdk/pwl/cpwl_timer_handler.cpp",
1170 "fpdfsdk/pwl/cpwl_timer_handler.h",
1171 "fpdfsdk/pwl/cpwl_wnd.cpp",
1172 "fpdfsdk/pwl/cpwl_wnd.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001173 ]
weili0abe6522016-06-06 14:41:22 -07001174 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -07001175 deps = [
1176 ":fxcrt",
1177 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001178}
1179
Lei Zhang81a1ac42017-12-21 21:49:55 -08001180jumbo_static_library("fxjs") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001181 sources = [
Tom Sepeza1fe7322018-04-18 22:48:22 +00001182 "fxjs/cjs_event_context_stub.cpp",
1183 "fxjs/cjs_event_context_stub.h",
1184 "fxjs/cjs_runtimestub.cpp",
1185 "fxjs/cjs_runtimestub.h",
Dan Sinclaire0345a42017-10-30 20:20:42 +00001186 "fxjs/ijs_event_context.h",
Tom Sepeza1fe7322018-04-18 22:48:22 +00001187 "fxjs/ijs_runtime.cpp",
Dan Sinclaire0345a42017-10-30 20:20:42 +00001188 "fxjs/ijs_runtime.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001189 ]
thestig73c48562016-09-06 14:07:17 -07001190 configs += [ ":pdfium_core_config" ]
1191 deps = [
1192 ":fxcrt",
1193 ]
1194
Tom Sepez452b4f32015-10-13 09:27:27 -07001195 if (pdf_enable_v8) {
1196 sources += [
Dan Sinclair93bb7252017-12-07 22:33:43 +00001197 "fxjs/CJX_Define.h",
Dan Sinclaire0345a42017-10-30 20:20:42 +00001198 "fxjs/JS_Define.cpp",
1199 "fxjs/JS_Define.h",
Tom Sepeze0518bf2018-02-08 21:44:59 +00001200 "fxjs/cfx_v8.cpp",
1201 "fxjs/cfx_v8.h",
Tom Sepezb7c7df62018-02-09 19:08:59 +00001202 "fxjs/cfxjs_engine.cpp",
1203 "fxjs/cfxjs_engine.h",
Dan Sinclaire0345a42017-10-30 20:20:42 +00001204 "fxjs/cjs_annot.cpp",
1205 "fxjs/cjs_annot.h",
1206 "fxjs/cjs_app.cpp",
1207 "fxjs/cjs_app.h",
1208 "fxjs/cjs_border.cpp",
1209 "fxjs/cjs_border.h",
1210 "fxjs/cjs_color.cpp",
1211 "fxjs/cjs_color.h",
1212 "fxjs/cjs_console.cpp",
1213 "fxjs/cjs_console.h",
1214 "fxjs/cjs_delaydata.cpp",
1215 "fxjs/cjs_delaydata.h",
1216 "fxjs/cjs_display.cpp",
1217 "fxjs/cjs_display.h",
1218 "fxjs/cjs_document.cpp",
1219 "fxjs/cjs_document.h",
Dan Sinclaire0345a42017-10-30 20:20:42 +00001220 "fxjs/cjs_event.cpp",
1221 "fxjs/cjs_event.h",
1222 "fxjs/cjs_event_context.cpp",
1223 "fxjs/cjs_event_context.h",
1224 "fxjs/cjs_eventhandler.cpp",
1225 "fxjs/cjs_eventhandler.h",
1226 "fxjs/cjs_field.cpp",
1227 "fxjs/cjs_field.h",
1228 "fxjs/cjs_font.cpp",
1229 "fxjs/cjs_font.h",
1230 "fxjs/cjs_global.cpp",
1231 "fxjs/cjs_global.h",
1232 "fxjs/cjs_globalarrays.cpp",
1233 "fxjs/cjs_globalarrays.h",
1234 "fxjs/cjs_globalconsts.cpp",
1235 "fxjs/cjs_globalconsts.h",
Dan Sinclaira3254622017-10-30 20:24:14 +00001236 "fxjs/cjs_globaldata.cpp",
1237 "fxjs/cjs_globaldata.h",
1238 "fxjs/cjs_globalvariablearray.cpp",
1239 "fxjs/cjs_globalvariablearray.h",
Dan Sinclaire0345a42017-10-30 20:20:42 +00001240 "fxjs/cjs_highlight.cpp",
1241 "fxjs/cjs_highlight.h",
1242 "fxjs/cjs_icon.cpp",
1243 "fxjs/cjs_icon.h",
Dan Sinclaira3254622017-10-30 20:24:14 +00001244 "fxjs/cjs_keyvalue.cpp",
1245 "fxjs/cjs_keyvalue.h",
Dan Sinclaire0345a42017-10-30 20:20:42 +00001246 "fxjs/cjs_object.cpp",
1247 "fxjs/cjs_object.h",
1248 "fxjs/cjs_position.cpp",
1249 "fxjs/cjs_position.h",
1250 "fxjs/cjs_printparamsobj.cpp",
1251 "fxjs/cjs_printparamsobj.h",
1252 "fxjs/cjs_publicmethods.cpp",
1253 "fxjs/cjs_publicmethods.h",
1254 "fxjs/cjs_report.cpp",
1255 "fxjs/cjs_report.h",
1256 "fxjs/cjs_return.cpp",
1257 "fxjs/cjs_return.h",
1258 "fxjs/cjs_runtime.cpp",
1259 "fxjs/cjs_runtime.h",
1260 "fxjs/cjs_scalehow.cpp",
1261 "fxjs/cjs_scalehow.h",
1262 "fxjs/cjs_scalewhen.cpp",
1263 "fxjs/cjs_scalewhen.h",
1264 "fxjs/cjs_style.cpp",
1265 "fxjs/cjs_style.h",
1266 "fxjs/cjs_timerobj.cpp",
1267 "fxjs/cjs_timerobj.h",
1268 "fxjs/cjs_util.cpp",
1269 "fxjs/cjs_util.h",
1270 "fxjs/cjs_zoomtype.cpp",
1271 "fxjs/cjs_zoomtype.h",
Dan Sinclaire0345a42017-10-30 20:20:42 +00001272 "fxjs/global_timer.cpp",
1273 "fxjs/global_timer.h",
1274 "fxjs/js_resources.cpp",
1275 "fxjs/js_resources.h",
Tom Sepez452b4f32015-10-13 09:27:27 -07001276 ]
Dan Sinclaire0345a42017-10-30 20:20:42 +00001277 deps += [
1278 ":fxcrt",
1279 "//v8",
1280 "//v8:v8_libplatform",
1281 ]
Jochen Eisinger7ed503d2015-12-10 14:38:06 +01001282 configs += [ "//v8:external_startup_data" ]
Dan Sinclaire0345a42017-10-30 20:20:42 +00001283 public_deps = [
1284 "//v8",
1285 ]
1286
1287 if (pdf_enable_xfa) {
1288 sources += [
1289 "fxjs/cfxjse_arguments.cpp",
1290 "fxjs/cfxjse_arguments.h",
1291 "fxjs/cfxjse_class.cpp",
1292 "fxjs/cfxjse_class.h",
1293 "fxjs/cfxjse_context.cpp",
1294 "fxjs/cfxjse_context.h",
Dan Sinclair3fff90a2017-11-01 13:12:39 +00001295 "fxjs/cfxjse_engine.cpp",
1296 "fxjs/cfxjse_engine.h",
1297 "fxjs/cfxjse_formcalc_context.cpp",
1298 "fxjs/cfxjse_formcalc_context.h",
Tom Sepez4d4731c2018-01-23 00:43:09 +00001299 "fxjs/cfxjse_isolatetracker.cpp",
Dan Sinclaire0345a42017-10-30 20:20:42 +00001300 "fxjs/cfxjse_isolatetracker.h",
Dan Sinclaird19aa7c2017-11-06 17:10:21 +00001301 "fxjs/cfxjse_resolveprocessor.cpp",
1302 "fxjs/cfxjse_resolveprocessor.h",
Dan Sinclaire0345a42017-10-30 20:20:42 +00001303 "fxjs/cfxjse_runtimedata.cpp",
1304 "fxjs/cfxjse_runtimedata.h",
1305 "fxjs/cfxjse_value.cpp",
1306 "fxjs/cfxjse_value.h",
1307 "fxjs/fxjse.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001308 "fxjs/xfa/cjx_arc.cpp",
1309 "fxjs/xfa/cjx_arc.h",
1310 "fxjs/xfa/cjx_area.cpp",
1311 "fxjs/xfa/cjx_area.h",
1312 "fxjs/xfa/cjx_assist.cpp",
1313 "fxjs/xfa/cjx_assist.h",
1314 "fxjs/xfa/cjx_barcode.cpp",
1315 "fxjs/xfa/cjx_barcode.h",
1316 "fxjs/xfa/cjx_bind.cpp",
1317 "fxjs/xfa/cjx_bind.h",
1318 "fxjs/xfa/cjx_binditems.cpp",
1319 "fxjs/xfa/cjx_binditems.h",
1320 "fxjs/xfa/cjx_bookend.cpp",
1321 "fxjs/xfa/cjx_bookend.h",
1322 "fxjs/xfa/cjx_boolean.cpp",
1323 "fxjs/xfa/cjx_boolean.h",
1324 "fxjs/xfa/cjx_border.cpp",
1325 "fxjs/xfa/cjx_border.h",
1326 "fxjs/xfa/cjx_break.cpp",
1327 "fxjs/xfa/cjx_break.h",
1328 "fxjs/xfa/cjx_breakafter.cpp",
1329 "fxjs/xfa/cjx_breakafter.h",
1330 "fxjs/xfa/cjx_breakbefore.cpp",
1331 "fxjs/xfa/cjx_breakbefore.h",
1332 "fxjs/xfa/cjx_button.cpp",
1333 "fxjs/xfa/cjx_button.h",
1334 "fxjs/xfa/cjx_calculate.cpp",
1335 "fxjs/xfa/cjx_calculate.h",
1336 "fxjs/xfa/cjx_caption.cpp",
1337 "fxjs/xfa/cjx_caption.h",
1338 "fxjs/xfa/cjx_certificate.cpp",
1339 "fxjs/xfa/cjx_certificate.h",
1340 "fxjs/xfa/cjx_certificates.cpp",
1341 "fxjs/xfa/cjx_certificates.h",
1342 "fxjs/xfa/cjx_checkbutton.cpp",
1343 "fxjs/xfa/cjx_checkbutton.h",
1344 "fxjs/xfa/cjx_choicelist.cpp",
1345 "fxjs/xfa/cjx_choicelist.h",
1346 "fxjs/xfa/cjx_color.cpp",
1347 "fxjs/xfa/cjx_color.h",
1348 "fxjs/xfa/cjx_comb.cpp",
1349 "fxjs/xfa/cjx_comb.h",
1350 "fxjs/xfa/cjx_command.cpp",
1351 "fxjs/xfa/cjx_command.h",
1352 "fxjs/xfa/cjx_connect.cpp",
1353 "fxjs/xfa/cjx_connect.h",
1354 "fxjs/xfa/cjx_connectstring.cpp",
1355 "fxjs/xfa/cjx_connectstring.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001356 "fxjs/xfa/cjx_container.cpp",
1357 "fxjs/xfa/cjx_container.h",
1358 "fxjs/xfa/cjx_content.cpp",
1359 "fxjs/xfa/cjx_content.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001360 "fxjs/xfa/cjx_contentarea.cpp",
1361 "fxjs/xfa/cjx_contentarea.h",
1362 "fxjs/xfa/cjx_corner.cpp",
1363 "fxjs/xfa/cjx_corner.h",
1364 "fxjs/xfa/cjx_datavalue.cpp",
1365 "fxjs/xfa/cjx_datavalue.h",
Dan Sinclairc0022612017-12-11 22:31:58 +00001366 "fxjs/xfa/cjx_datawindow.cpp",
1367 "fxjs/xfa/cjx_datawindow.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001368 "fxjs/xfa/cjx_date.cpp",
1369 "fxjs/xfa/cjx_date.h",
1370 "fxjs/xfa/cjx_datetime.cpp",
1371 "fxjs/xfa/cjx_datetime.h",
1372 "fxjs/xfa/cjx_datetimeedit.cpp",
1373 "fxjs/xfa/cjx_datetimeedit.h",
1374 "fxjs/xfa/cjx_decimal.cpp",
1375 "fxjs/xfa/cjx_decimal.h",
1376 "fxjs/xfa/cjx_defaultui.cpp",
1377 "fxjs/xfa/cjx_defaultui.h",
1378 "fxjs/xfa/cjx_delete.cpp",
1379 "fxjs/xfa/cjx_delete.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001380 "fxjs/xfa/cjx_delta.cpp",
1381 "fxjs/xfa/cjx_delta.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001382 "fxjs/xfa/cjx_deltas.cpp",
1383 "fxjs/xfa/cjx_deltas.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001384 "fxjs/xfa/cjx_desc.cpp",
1385 "fxjs/xfa/cjx_desc.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001386 "fxjs/xfa/cjx_digestmethod.cpp",
1387 "fxjs/xfa/cjx_digestmethod.h",
1388 "fxjs/xfa/cjx_digestmethods.cpp",
1389 "fxjs/xfa/cjx_digestmethods.h",
1390 "fxjs/xfa/cjx_draw.cpp",
1391 "fxjs/xfa/cjx_draw.h",
1392 "fxjs/xfa/cjx_edge.cpp",
1393 "fxjs/xfa/cjx_edge.h",
1394 "fxjs/xfa/cjx_encoding.cpp",
1395 "fxjs/xfa/cjx_encoding.h",
1396 "fxjs/xfa/cjx_encodings.cpp",
1397 "fxjs/xfa/cjx_encodings.h",
1398 "fxjs/xfa/cjx_encrypt.cpp",
1399 "fxjs/xfa/cjx_encrypt.h",
1400 "fxjs/xfa/cjx_event.cpp",
1401 "fxjs/xfa/cjx_event.h",
Dan Sinclairc0022612017-12-11 22:31:58 +00001402 "fxjs/xfa/cjx_eventpseudomodel.cpp",
1403 "fxjs/xfa/cjx_eventpseudomodel.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001404 "fxjs/xfa/cjx_exclgroup.cpp",
1405 "fxjs/xfa/cjx_exclgroup.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001406 "fxjs/xfa/cjx_exdata.cpp",
1407 "fxjs/xfa/cjx_exdata.h",
1408 "fxjs/xfa/cjx_execute.cpp",
1409 "fxjs/xfa/cjx_execute.h",
1410 "fxjs/xfa/cjx_exobject.cpp",
1411 "fxjs/xfa/cjx_exobject.h",
1412 "fxjs/xfa/cjx_extras.cpp",
1413 "fxjs/xfa/cjx_extras.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001414 "fxjs/xfa/cjx_field.cpp",
1415 "fxjs/xfa/cjx_field.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001416 "fxjs/xfa/cjx_fill.cpp",
1417 "fxjs/xfa/cjx_fill.h",
1418 "fxjs/xfa/cjx_filter.cpp",
1419 "fxjs/xfa/cjx_filter.h",
1420 "fxjs/xfa/cjx_float.cpp",
1421 "fxjs/xfa/cjx_float.h",
1422 "fxjs/xfa/cjx_font.cpp",
1423 "fxjs/xfa/cjx_font.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001424 "fxjs/xfa/cjx_form.cpp",
1425 "fxjs/xfa/cjx_form.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001426 "fxjs/xfa/cjx_format.cpp",
1427 "fxjs/xfa/cjx_format.h",
1428 "fxjs/xfa/cjx_handler.cpp",
1429 "fxjs/xfa/cjx_handler.h",
Dan Sinclairc0022612017-12-11 22:31:58 +00001430 "fxjs/xfa/cjx_hostpseudomodel.cpp",
1431 "fxjs/xfa/cjx_hostpseudomodel.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001432 "fxjs/xfa/cjx_image.cpp",
1433 "fxjs/xfa/cjx_image.h",
1434 "fxjs/xfa/cjx_imageedit.cpp",
1435 "fxjs/xfa/cjx_imageedit.h",
1436 "fxjs/xfa/cjx_insert.cpp",
1437 "fxjs/xfa/cjx_insert.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001438 "fxjs/xfa/cjx_instancemanager.cpp",
1439 "fxjs/xfa/cjx_instancemanager.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001440 "fxjs/xfa/cjx_integer.cpp",
1441 "fxjs/xfa/cjx_integer.h",
1442 "fxjs/xfa/cjx_issuers.cpp",
1443 "fxjs/xfa/cjx_issuers.h",
1444 "fxjs/xfa/cjx_items.cpp",
1445 "fxjs/xfa/cjx_items.h",
1446 "fxjs/xfa/cjx_keep.cpp",
1447 "fxjs/xfa/cjx_keep.h",
1448 "fxjs/xfa/cjx_keyusage.cpp",
1449 "fxjs/xfa/cjx_keyusage.h",
Dan Sinclairc0022612017-12-11 22:31:58 +00001450 "fxjs/xfa/cjx_layoutpseudomodel.cpp",
1451 "fxjs/xfa/cjx_layoutpseudomodel.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001452 "fxjs/xfa/cjx_line.cpp",
1453 "fxjs/xfa/cjx_line.h",
1454 "fxjs/xfa/cjx_linear.cpp",
1455 "fxjs/xfa/cjx_linear.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001456 "fxjs/xfa/cjx_list.cpp",
1457 "fxjs/xfa/cjx_list.h",
Dan Sinclairc0022612017-12-11 22:31:58 +00001458 "fxjs/xfa/cjx_logpseudomodel.cpp",
1459 "fxjs/xfa/cjx_logpseudomodel.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001460 "fxjs/xfa/cjx_manifest.cpp",
1461 "fxjs/xfa/cjx_manifest.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001462 "fxjs/xfa/cjx_map.cpp",
1463 "fxjs/xfa/cjx_map.h",
1464 "fxjs/xfa/cjx_margin.cpp",
1465 "fxjs/xfa/cjx_margin.h",
1466 "fxjs/xfa/cjx_mdp.cpp",
1467 "fxjs/xfa/cjx_mdp.h",
1468 "fxjs/xfa/cjx_medium.cpp",
1469 "fxjs/xfa/cjx_medium.h",
1470 "fxjs/xfa/cjx_message.cpp",
1471 "fxjs/xfa/cjx_message.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001472 "fxjs/xfa/cjx_model.cpp",
1473 "fxjs/xfa/cjx_model.h",
Dan Sinclairc0022612017-12-11 22:31:58 +00001474 "fxjs/xfa/cjx_node.cpp",
1475 "fxjs/xfa/cjx_node.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001476 "fxjs/xfa/cjx_numericedit.cpp",
1477 "fxjs/xfa/cjx_numericedit.h",
Dan Sinclairc0022612017-12-11 22:31:58 +00001478 "fxjs/xfa/cjx_object.cpp",
1479 "fxjs/xfa/cjx_object.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001480 "fxjs/xfa/cjx_occur.cpp",
1481 "fxjs/xfa/cjx_occur.h",
1482 "fxjs/xfa/cjx_oid.cpp",
1483 "fxjs/xfa/cjx_oid.h",
1484 "fxjs/xfa/cjx_oids.cpp",
1485 "fxjs/xfa/cjx_oids.h",
1486 "fxjs/xfa/cjx_operation.cpp",
1487 "fxjs/xfa/cjx_operation.h",
1488 "fxjs/xfa/cjx_overflow.cpp",
1489 "fxjs/xfa/cjx_overflow.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001490 "fxjs/xfa/cjx_packet.cpp",
1491 "fxjs/xfa/cjx_packet.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001492 "fxjs/xfa/cjx_pagearea.cpp",
1493 "fxjs/xfa/cjx_pagearea.h",
1494 "fxjs/xfa/cjx_pageset.cpp",
1495 "fxjs/xfa/cjx_pageset.h",
1496 "fxjs/xfa/cjx_para.cpp",
1497 "fxjs/xfa/cjx_para.h",
1498 "fxjs/xfa/cjx_password.cpp",
1499 "fxjs/xfa/cjx_password.h",
1500 "fxjs/xfa/cjx_passwordedit.cpp",
1501 "fxjs/xfa/cjx_passwordedit.h",
1502 "fxjs/xfa/cjx_pattern.cpp",
1503 "fxjs/xfa/cjx_pattern.h",
1504 "fxjs/xfa/cjx_picture.cpp",
1505 "fxjs/xfa/cjx_picture.h",
1506 "fxjs/xfa/cjx_query.cpp",
1507 "fxjs/xfa/cjx_query.h",
1508 "fxjs/xfa/cjx_radial.cpp",
1509 "fxjs/xfa/cjx_radial.h",
1510 "fxjs/xfa/cjx_reason.cpp",
1511 "fxjs/xfa/cjx_reason.h",
1512 "fxjs/xfa/cjx_reasons.cpp",
1513 "fxjs/xfa/cjx_reasons.h",
1514 "fxjs/xfa/cjx_recordset.cpp",
1515 "fxjs/xfa/cjx_recordset.h",
1516 "fxjs/xfa/cjx_rectangle.cpp",
1517 "fxjs/xfa/cjx_rectangle.h",
1518 "fxjs/xfa/cjx_ref.cpp",
1519 "fxjs/xfa/cjx_ref.h",
1520 "fxjs/xfa/cjx_rootelement.cpp",
1521 "fxjs/xfa/cjx_rootelement.h",
1522 "fxjs/xfa/cjx_script.cpp",
1523 "fxjs/xfa/cjx_script.h",
1524 "fxjs/xfa/cjx_select.cpp",
1525 "fxjs/xfa/cjx_select.h",
1526 "fxjs/xfa/cjx_setproperty.cpp",
1527 "fxjs/xfa/cjx_setproperty.h",
1528 "fxjs/xfa/cjx_signature.cpp",
1529 "fxjs/xfa/cjx_signature.h",
1530 "fxjs/xfa/cjx_signatureproperties.cpp",
1531 "fxjs/xfa/cjx_signatureproperties.h",
Dan Sinclairc0022612017-12-11 22:31:58 +00001532 "fxjs/xfa/cjx_signaturepseudomodel.cpp",
1533 "fxjs/xfa/cjx_signaturepseudomodel.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001534 "fxjs/xfa/cjx_signdata.cpp",
1535 "fxjs/xfa/cjx_signdata.h",
1536 "fxjs/xfa/cjx_signing.cpp",
1537 "fxjs/xfa/cjx_signing.h",
1538 "fxjs/xfa/cjx_soapaction.cpp",
1539 "fxjs/xfa/cjx_soapaction.h",
1540 "fxjs/xfa/cjx_soapaddress.cpp",
1541 "fxjs/xfa/cjx_soapaddress.h",
1542 "fxjs/xfa/cjx_solid.cpp",
1543 "fxjs/xfa/cjx_solid.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001544 "fxjs/xfa/cjx_source.cpp",
1545 "fxjs/xfa/cjx_source.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001546 "fxjs/xfa/cjx_sourceset.cpp",
1547 "fxjs/xfa/cjx_sourceset.h",
1548 "fxjs/xfa/cjx_speak.cpp",
1549 "fxjs/xfa/cjx_speak.h",
1550 "fxjs/xfa/cjx_stipple.cpp",
1551 "fxjs/xfa/cjx_stipple.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001552 "fxjs/xfa/cjx_subform.cpp",
1553 "fxjs/xfa/cjx_subform.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001554 "fxjs/xfa/cjx_subformset.cpp",
1555 "fxjs/xfa/cjx_subformset.h",
1556 "fxjs/xfa/cjx_subjectdn.cpp",
1557 "fxjs/xfa/cjx_subjectdn.h",
1558 "fxjs/xfa/cjx_subjectdns.cpp",
1559 "fxjs/xfa/cjx_subjectdns.h",
1560 "fxjs/xfa/cjx_submit.cpp",
1561 "fxjs/xfa/cjx_submit.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001562 "fxjs/xfa/cjx_template.cpp",
1563 "fxjs/xfa/cjx_template.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001564 "fxjs/xfa/cjx_text.cpp",
1565 "fxjs/xfa/cjx_text.h",
1566 "fxjs/xfa/cjx_textedit.cpp",
1567 "fxjs/xfa/cjx_textedit.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001568 "fxjs/xfa/cjx_textnode.cpp",
1569 "fxjs/xfa/cjx_textnode.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001570 "fxjs/xfa/cjx_time.cpp",
1571 "fxjs/xfa/cjx_time.h",
1572 "fxjs/xfa/cjx_timestamp.cpp",
1573 "fxjs/xfa/cjx_timestamp.h",
1574 "fxjs/xfa/cjx_tooltip.cpp",
1575 "fxjs/xfa/cjx_tooltip.h",
1576 "fxjs/xfa/cjx_traversal.cpp",
1577 "fxjs/xfa/cjx_traversal.h",
1578 "fxjs/xfa/cjx_traverse.cpp",
1579 "fxjs/xfa/cjx_traverse.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001580 "fxjs/xfa/cjx_tree.cpp",
1581 "fxjs/xfa/cjx_tree.h",
1582 "fxjs/xfa/cjx_treelist.cpp",
1583 "fxjs/xfa/cjx_treelist.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001584 "fxjs/xfa/cjx_ui.cpp",
1585 "fxjs/xfa/cjx_ui.h",
1586 "fxjs/xfa/cjx_update.cpp",
1587 "fxjs/xfa/cjx_update.h",
1588 "fxjs/xfa/cjx_uri.cpp",
1589 "fxjs/xfa/cjx_uri.h",
1590 "fxjs/xfa/cjx_user.cpp",
1591 "fxjs/xfa/cjx_user.h",
1592 "fxjs/xfa/cjx_validate.cpp",
1593 "fxjs/xfa/cjx_validate.h",
1594 "fxjs/xfa/cjx_value.cpp",
1595 "fxjs/xfa/cjx_value.h",
1596 "fxjs/xfa/cjx_variables.cpp",
1597 "fxjs/xfa/cjx_variables.h",
1598 "fxjs/xfa/cjx_wsdladdress.cpp",
1599 "fxjs/xfa/cjx_wsdladdress.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001600 "fxjs/xfa/cjx_wsdlconnection.cpp",
1601 "fxjs/xfa/cjx_wsdlconnection.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001602 "fxjs/xfa/cjx_xfa.cpp",
1603 "fxjs/xfa/cjx_xfa.h",
1604 "fxjs/xfa/cjx_xmlconnection.cpp",
1605 "fxjs/xfa/cjx_xmlconnection.h",
1606 "fxjs/xfa/cjx_xsdconnection.cpp",
1607 "fxjs/xfa/cjx_xsdconnection.h",
Dan Sinclaire0345a42017-10-30 20:20:42 +00001608 ]
1609 }
Tom Sepez452b4f32015-10-13 09:27:27 -07001610 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001611}
1612
Lei Zhang81a1ac42017-12-21 21:49:55 -08001613jumbo_static_library("formfiller") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001614 sources = [
Dan Sinclairedbb3192016-03-21 09:08:24 -04001615 "fpdfsdk/formfiller/cba_fontmap.cpp",
1616 "fpdfsdk/formfiller/cba_fontmap.h",
Dan Sinclairb9eed2f2017-07-10 11:35:18 -04001617 "fpdfsdk/formfiller/cffl_button.cpp",
1618 "fpdfsdk/formfiller/cffl_button.h",
Dan Sinclairedbb3192016-03-21 09:08:24 -04001619 "fpdfsdk/formfiller/cffl_checkbox.cpp",
1620 "fpdfsdk/formfiller/cffl_checkbox.h",
1621 "fpdfsdk/formfiller/cffl_combobox.cpp",
1622 "fpdfsdk/formfiller/cffl_combobox.h",
1623 "fpdfsdk/formfiller/cffl_formfiller.cpp",
1624 "fpdfsdk/formfiller/cffl_formfiller.h",
dsinclairb94d7c92016-09-21 12:07:00 -07001625 "fpdfsdk/formfiller/cffl_interactiveformfiller.cpp",
1626 "fpdfsdk/formfiller/cffl_interactiveformfiller.h",
Dan Sinclairedbb3192016-03-21 09:08:24 -04001627 "fpdfsdk/formfiller/cffl_listbox.cpp",
1628 "fpdfsdk/formfiller/cffl_listbox.h",
1629 "fpdfsdk/formfiller/cffl_pushbutton.cpp",
1630 "fpdfsdk/formfiller/cffl_pushbutton.h",
1631 "fpdfsdk/formfiller/cffl_radiobutton.cpp",
1632 "fpdfsdk/formfiller/cffl_radiobutton.h",
1633 "fpdfsdk/formfiller/cffl_textfield.cpp",
1634 "fpdfsdk/formfiller/cffl_textfield.h",
Lei Zhangb4fee4d2017-08-01 18:34:43 -07001635 "fpdfsdk/formfiller/cffl_textobject.cpp",
1636 "fpdfsdk/formfiller/cffl_textobject.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001637 ]
weili0abe6522016-06-06 14:41:22 -07001638 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -07001639 deps = [
1640 ":fxcrt",
1641 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001642}
Tom Sepezc706fc02014-11-14 13:39:20 -08001643
dsinclairb3f24672016-07-12 10:42:14 -07001644if (pdf_enable_xfa) {
Lei Zhang81a1ac42017-12-21 21:49:55 -08001645 jumbo_static_library("fpdfxfa") {
Tom Sepezb36747d2015-12-08 15:49:25 -08001646 sources = [
dsinclair521b7502016-11-02 13:02:28 -07001647 "fpdfsdk/fpdfxfa/cpdfxfa_context.cpp",
1648 "fpdfsdk/fpdfxfa/cpdfxfa_context.h",
dsinclaira440bb32016-09-14 07:01:54 -07001649 "fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp",
dsinclairbec76922016-09-29 16:52:30 -07001650 "fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h",
dsinclair4d29e782016-10-04 14:02:47 -07001651 "fpdfsdk/fpdfxfa/cpdfxfa_page.cpp",
1652 "fpdfsdk/fpdfxfa/cpdfxfa_page.h",
1653 "fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.cpp",
1654 "fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h",
Tom Sepez452b4f32015-10-13 09:27:27 -07001655 ]
1656 deps = [
thestig73c48562016-09-06 14:07:17 -07001657 ":fxcrt",
dsinclair8837c912016-11-01 11:22:37 -07001658 ":fxjs",
Tom Sepezb36747d2015-12-08 15:49:25 -08001659 ":xfa",
1660 ]
weili0abe6522016-06-06 14:41:22 -07001661 configs += [ ":pdfium_core_config" ]
Tom Sepezb36747d2015-12-08 15:49:25 -08001662 }
1663
Lei Zhang53c4ba42018-01-12 21:49:50 +00001664 jumbo_static_library("fxbarcode") {
Dan Sinclaire7786682017-03-29 15:18:41 -04001665 sources = [
Dan Sinclaire7786682017-03-29 15:18:41 -04001666 "fxbarcode/BC_Library.cpp",
1667 "fxbarcode/BC_Library.h",
1668 "fxbarcode/BC_TwoDimWriter.cpp",
1669 "fxbarcode/BC_TwoDimWriter.h",
1670 "fxbarcode/BC_UtilCodingConvert.cpp",
1671 "fxbarcode/BC_UtilCodingConvert.h",
1672 "fxbarcode/BC_Utils.cpp",
1673 "fxbarcode/BC_Writer.cpp",
1674 "fxbarcode/BC_Writer.h",
1675 "fxbarcode/cbc_codabar.cpp",
1676 "fxbarcode/cbc_codabar.h",
1677 "fxbarcode/cbc_code128.cpp",
1678 "fxbarcode/cbc_code128.h",
1679 "fxbarcode/cbc_code39.cpp",
1680 "fxbarcode/cbc_code39.h",
1681 "fxbarcode/cbc_codebase.cpp",
1682 "fxbarcode/cbc_codebase.h",
1683 "fxbarcode/cbc_datamatrix.cpp",
1684 "fxbarcode/cbc_datamatrix.h",
1685 "fxbarcode/cbc_ean13.cpp",
1686 "fxbarcode/cbc_ean13.h",
1687 "fxbarcode/cbc_ean8.cpp",
1688 "fxbarcode/cbc_ean8.h",
1689 "fxbarcode/cbc_onecode.cpp",
1690 "fxbarcode/cbc_onecode.h",
1691 "fxbarcode/cbc_pdf417i.cpp",
1692 "fxbarcode/cbc_pdf417i.h",
1693 "fxbarcode/cbc_qrcode.cpp",
1694 "fxbarcode/cbc_qrcode.h",
1695 "fxbarcode/cbc_upca.cpp",
1696 "fxbarcode/cbc_upca.h",
1697 "fxbarcode/common/BC_CommonBitArray.cpp",
1698 "fxbarcode/common/BC_CommonBitArray.h",
1699 "fxbarcode/common/BC_CommonBitMatrix.cpp",
1700 "fxbarcode/common/BC_CommonBitMatrix.h",
1701 "fxbarcode/common/BC_CommonByteArray.cpp",
1702 "fxbarcode/common/BC_CommonByteArray.h",
1703 "fxbarcode/common/BC_CommonByteMatrix.cpp",
1704 "fxbarcode/common/BC_CommonByteMatrix.h",
1705 "fxbarcode/common/reedsolomon/BC_ReedSolomon.cpp",
1706 "fxbarcode/common/reedsolomon/BC_ReedSolomon.h",
1707 "fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.cpp",
1708 "fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h",
1709 "fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp",
1710 "fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h",
1711 "fxbarcode/datamatrix/BC_ASCIIEncoder.cpp",
1712 "fxbarcode/datamatrix/BC_ASCIIEncoder.h",
1713 "fxbarcode/datamatrix/BC_Base256Encoder.cpp",
1714 "fxbarcode/datamatrix/BC_Base256Encoder.h",
1715 "fxbarcode/datamatrix/BC_C40Encoder.cpp",
1716 "fxbarcode/datamatrix/BC_C40Encoder.h",
1717 "fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.cpp",
1718 "fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.h",
1719 "fxbarcode/datamatrix/BC_DataMatrixWriter.cpp",
1720 "fxbarcode/datamatrix/BC_DataMatrixWriter.h",
1721 "fxbarcode/datamatrix/BC_DefaultPlacement.cpp",
1722 "fxbarcode/datamatrix/BC_DefaultPlacement.h",
1723 "fxbarcode/datamatrix/BC_EdifactEncoder.cpp",
1724 "fxbarcode/datamatrix/BC_EdifactEncoder.h",
1725 "fxbarcode/datamatrix/BC_Encoder.cpp",
1726 "fxbarcode/datamatrix/BC_Encoder.h",
1727 "fxbarcode/datamatrix/BC_EncoderContext.cpp",
1728 "fxbarcode/datamatrix/BC_EncoderContext.h",
1729 "fxbarcode/datamatrix/BC_ErrorCorrection.cpp",
1730 "fxbarcode/datamatrix/BC_ErrorCorrection.h",
1731 "fxbarcode/datamatrix/BC_HighLevelEncoder.cpp",
1732 "fxbarcode/datamatrix/BC_HighLevelEncoder.h",
1733 "fxbarcode/datamatrix/BC_SymbolInfo.cpp",
1734 "fxbarcode/datamatrix/BC_SymbolInfo.h",
Dan Sinclaire7786682017-03-29 15:18:41 -04001735 "fxbarcode/datamatrix/BC_TextEncoder.cpp",
1736 "fxbarcode/datamatrix/BC_TextEncoder.h",
1737 "fxbarcode/datamatrix/BC_X12Encoder.cpp",
1738 "fxbarcode/datamatrix/BC_X12Encoder.h",
1739 "fxbarcode/oned/BC_OneDimWriter.cpp",
1740 "fxbarcode/oned/BC_OneDimWriter.h",
1741 "fxbarcode/oned/BC_OnedCodaBarWriter.cpp",
1742 "fxbarcode/oned/BC_OnedCodaBarWriter.h",
1743 "fxbarcode/oned/BC_OnedCode128Writer.cpp",
1744 "fxbarcode/oned/BC_OnedCode128Writer.h",
1745 "fxbarcode/oned/BC_OnedCode39Writer.cpp",
1746 "fxbarcode/oned/BC_OnedCode39Writer.h",
1747 "fxbarcode/oned/BC_OnedEAN13Writer.cpp",
1748 "fxbarcode/oned/BC_OnedEAN13Writer.h",
1749 "fxbarcode/oned/BC_OnedEAN8Writer.cpp",
1750 "fxbarcode/oned/BC_OnedEAN8Writer.h",
Henrique Nakashima7840dd62017-09-06 13:35:25 -04001751 "fxbarcode/oned/BC_OnedEANChecksum.cpp",
1752 "fxbarcode/oned/BC_OnedEANChecksum.h",
Dan Sinclaire7786682017-03-29 15:18:41 -04001753 "fxbarcode/oned/BC_OnedUPCAWriter.cpp",
1754 "fxbarcode/oned/BC_OnedUPCAWriter.h",
1755 "fxbarcode/pdf417/BC_PDF417.cpp",
1756 "fxbarcode/pdf417/BC_PDF417.h",
1757 "fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp",
1758 "fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h",
1759 "fxbarcode/pdf417/BC_PDF417BarcodeRow.cpp",
1760 "fxbarcode/pdf417/BC_PDF417BarcodeRow.h",
1761 "fxbarcode/pdf417/BC_PDF417Compaction.cpp",
1762 "fxbarcode/pdf417/BC_PDF417Compaction.h",
1763 "fxbarcode/pdf417/BC_PDF417ErrorCorrection.cpp",
1764 "fxbarcode/pdf417/BC_PDF417ErrorCorrection.h",
1765 "fxbarcode/pdf417/BC_PDF417HighLevelEncoder.cpp",
1766 "fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h",
1767 "fxbarcode/pdf417/BC_PDF417Writer.cpp",
1768 "fxbarcode/pdf417/BC_PDF417Writer.h",
1769 "fxbarcode/qrcode/BC_QRCodeWriter.cpp",
1770 "fxbarcode/qrcode/BC_QRCodeWriter.h",
1771 "fxbarcode/qrcode/BC_QRCoder.cpp",
1772 "fxbarcode/qrcode/BC_QRCoder.h",
1773 "fxbarcode/qrcode/BC_QRCoderBitVector.cpp",
1774 "fxbarcode/qrcode/BC_QRCoderBitVector.h",
1775 "fxbarcode/qrcode/BC_QRCoderBlockPair.cpp",
1776 "fxbarcode/qrcode/BC_QRCoderBlockPair.h",
Dan Sinclaire7786682017-03-29 15:18:41 -04001777 "fxbarcode/qrcode/BC_QRCoderECBlocks.cpp",
1778 "fxbarcode/qrcode/BC_QRCoderECBlocks.h",
Lei Zhang8a24b252017-04-06 14:23:26 -07001779 "fxbarcode/qrcode/BC_QRCoderECBlocksData.cpp",
1780 "fxbarcode/qrcode/BC_QRCoderECBlocksData.h",
Dan Sinclaire7786682017-03-29 15:18:41 -04001781 "fxbarcode/qrcode/BC_QRCoderEncoder.cpp",
1782 "fxbarcode/qrcode/BC_QRCoderEncoder.h",
1783 "fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.cpp",
1784 "fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.h",
1785 "fxbarcode/qrcode/BC_QRCoderMaskUtil.cpp",
1786 "fxbarcode/qrcode/BC_QRCoderMaskUtil.h",
1787 "fxbarcode/qrcode/BC_QRCoderMatrixUtil.cpp",
1788 "fxbarcode/qrcode/BC_QRCoderMatrixUtil.h",
1789 "fxbarcode/qrcode/BC_QRCoderMode.cpp",
1790 "fxbarcode/qrcode/BC_QRCoderMode.h",
1791 "fxbarcode/qrcode/BC_QRCoderVersion.cpp",
1792 "fxbarcode/qrcode/BC_QRCoderVersion.h",
1793 "fxbarcode/utils.h",
1794 ]
1795 deps = [
1796 ":fxcrt",
1797 ]
1798 configs += [ ":pdfium_core_config" ]
1799 }
1800
Lei Zhangc3ba98e2018-01-22 19:43:26 +00001801 group("xfa") {
1802 deps = [
1803 ":xfa_fde",
1804 ":xfa_fgas",
1805 ":xfa_fwl",
1806 ":xfa_fxfa",
1807 ":xfa_fxfa_fm2js",
1808 ":xfa_fxfa_parser",
1809 ":xfa_fxgraphics",
1810 ]
1811 }
1812
Lei Zhangab218bf2018-01-22 19:57:27 +00001813 jumbo_static_library("xfa_fde") {
Tom Sepezb36747d2015-12-08 15:49:25 -08001814 sources = [
Lei Zhangc3ba98e2018-01-22 19:43:26 +00001815 "xfa/fde/cfde_data.h",
Dan Sinclair68eefa62017-08-30 12:16:16 -04001816 "xfa/fde/cfde_texteditengine.cpp",
1817 "xfa/fde/cfde_texteditengine.h",
Dan Sinclairbccf5732017-03-30 14:10:32 -04001818 "xfa/fde/cfde_textout.cpp",
1819 "xfa/fde/cfde_textout.h",
Dan Sinclair8f6084b2017-09-06 13:52:35 -04001820 "xfa/fde/cfde_wordbreak_data.cpp",
1821 "xfa/fde/cfde_wordbreak_data.h",
Lei Zhangc3ba98e2018-01-22 19:43:26 +00001822 ]
1823 deps = [
1824 ":fxcrt",
1825 ]
1826 configs += [
1827 ":pdfium_core_config",
1828 ":xfa_warnings",
1829 ]
1830 }
1831
Lei Zhangab218bf2018-01-22 19:57:27 +00001832 jumbo_static_library("xfa_fgas") {
Lei Zhangc3ba98e2018-01-22 19:43:26 +00001833 sources = [
Dan Sinclairb929ab02017-03-29 15:18:16 -04001834 "xfa/fgas/crt/cfgas_formatstring.cpp",
1835 "xfa/fgas/crt/cfgas_formatstring.h",
Dan Sinclair959c2be2017-09-21 10:13:40 -04001836 "xfa/fgas/font/cfgas_defaultfontmanager.cpp",
1837 "xfa/fgas/font/cfgas_defaultfontmanager.h",
npm8f3eb602016-11-11 17:16:23 -08001838 "xfa/fgas/font/cfgas_fontmgr.cpp",
1839 "xfa/fgas/font/cfgas_fontmgr.h",
npm4b91a2d2016-11-21 15:19:44 -08001840 "xfa/fgas/font/cfgas_gefont.cpp",
1841 "xfa/fgas/font/cfgas_gefont.h",
Dan Sinclairdb0312e2017-09-21 09:46:03 -04001842 "xfa/fgas/font/cfgas_pdffontmgr.cpp",
1843 "xfa/fgas/font/cfgas_pdffontmgr.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001844 "xfa/fgas/font/fgas_fontutils.cpp",
1845 "xfa/fgas/font/fgas_fontutils.h",
Dan Sinclaire533b932017-03-16 11:47:20 -04001846 "xfa/fgas/layout/cfx_break.cpp",
1847 "xfa/fgas/layout/cfx_break.h",
Dan Sinclair893822a2017-03-13 15:32:07 -04001848 "xfa/fgas/layout/cfx_breakline.cpp",
1849 "xfa/fgas/layout/cfx_breakline.h",
1850 "xfa/fgas/layout/cfx_breakpiece.cpp",
1851 "xfa/fgas/layout/cfx_breakpiece.h",
Dan Sinclair994acdc2017-04-18 13:56:39 -04001852 "xfa/fgas/layout/cfx_linebreak.cpp",
1853 "xfa/fgas/layout/cfx_linebreak.h",
1854 "xfa/fgas/layout/cfx_rtfbreak.cpp",
1855 "xfa/fgas/layout/cfx_rtfbreak.h",
1856 "xfa/fgas/layout/cfx_txtbreak.cpp",
1857 "xfa/fgas/layout/cfx_txtbreak.h",
Lei Zhangc3ba98e2018-01-22 19:43:26 +00001858 ]
1859 deps = [
1860 ":fxcrt",
1861 ]
1862 configs += [
1863 ":pdfium_core_config",
1864 ":xfa_warnings",
1865 ]
1866 }
1867
Lei Zhangab218bf2018-01-22 19:57:27 +00001868 jumbo_static_library("xfa_fwl") {
Lei Zhangc3ba98e2018-01-22 19:43:26 +00001869 sources = [
dsinclair447b1f32016-12-08 10:06:32 -08001870 "xfa/fwl/cfwl_app.cpp",
1871 "xfa/fwl/cfwl_app.h",
1872 "xfa/fwl/cfwl_barcode.cpp",
1873 "xfa/fwl/cfwl_barcode.h",
1874 "xfa/fwl/cfwl_caret.cpp",
1875 "xfa/fwl/cfwl_caret.h",
1876 "xfa/fwl/cfwl_checkbox.cpp",
1877 "xfa/fwl/cfwl_checkbox.h",
1878 "xfa/fwl/cfwl_combobox.cpp",
1879 "xfa/fwl/cfwl_combobox.h",
1880 "xfa/fwl/cfwl_comboboxproxy.cpp",
1881 "xfa/fwl/cfwl_comboboxproxy.h",
1882 "xfa/fwl/cfwl_comboedit.cpp",
1883 "xfa/fwl/cfwl_comboedit.h",
1884 "xfa/fwl/cfwl_combolist.cpp",
1885 "xfa/fwl/cfwl_combolist.h",
1886 "xfa/fwl/cfwl_datetimeedit.cpp",
1887 "xfa/fwl/cfwl_datetimeedit.h",
1888 "xfa/fwl/cfwl_datetimepicker.cpp",
1889 "xfa/fwl/cfwl_datetimepicker.h",
1890 "xfa/fwl/cfwl_edit.cpp",
1891 "xfa/fwl/cfwl_edit.h",
1892 "xfa/fwl/cfwl_event.cpp",
1893 "xfa/fwl/cfwl_event.h",
dsinclair447b1f32016-12-08 10:06:32 -08001894 "xfa/fwl/cfwl_eventmouse.cpp",
1895 "xfa/fwl/cfwl_eventmouse.h",
1896 "xfa/fwl/cfwl_eventscroll.cpp",
1897 "xfa/fwl/cfwl_eventscroll.h",
1898 "xfa/fwl/cfwl_eventselectchanged.cpp",
1899 "xfa/fwl/cfwl_eventselectchanged.h",
1900 "xfa/fwl/cfwl_eventtarget.cpp",
1901 "xfa/fwl/cfwl_eventtarget.h",
1902 "xfa/fwl/cfwl_eventtextchanged.cpp",
1903 "xfa/fwl/cfwl_eventtextchanged.h",
1904 "xfa/fwl/cfwl_eventvalidate.cpp",
1905 "xfa/fwl/cfwl_eventvalidate.h",
1906 "xfa/fwl/cfwl_form.cpp",
1907 "xfa/fwl/cfwl_form.h",
1908 "xfa/fwl/cfwl_formproxy.cpp",
1909 "xfa/fwl/cfwl_formproxy.h",
1910 "xfa/fwl/cfwl_listbox.cpp",
1911 "xfa/fwl/cfwl_listbox.h",
1912 "xfa/fwl/cfwl_listitem.cpp",
1913 "xfa/fwl/cfwl_listitem.h",
1914 "xfa/fwl/cfwl_message.cpp",
1915 "xfa/fwl/cfwl_message.h",
1916 "xfa/fwl/cfwl_messagekey.cpp",
1917 "xfa/fwl/cfwl_messagekey.h",
1918 "xfa/fwl/cfwl_messagekillfocus.cpp",
1919 "xfa/fwl/cfwl_messagekillfocus.h",
1920 "xfa/fwl/cfwl_messagemouse.cpp",
1921 "xfa/fwl/cfwl_messagemouse.h",
1922 "xfa/fwl/cfwl_messagemousewheel.cpp",
1923 "xfa/fwl/cfwl_messagemousewheel.h",
1924 "xfa/fwl/cfwl_messagesetfocus.cpp",
1925 "xfa/fwl/cfwl_messagesetfocus.h",
1926 "xfa/fwl/cfwl_monthcalendar.cpp",
1927 "xfa/fwl/cfwl_monthcalendar.h",
1928 "xfa/fwl/cfwl_notedriver.cpp",
1929 "xfa/fwl/cfwl_notedriver.h",
1930 "xfa/fwl/cfwl_noteloop.cpp",
1931 "xfa/fwl/cfwl_noteloop.h",
1932 "xfa/fwl/cfwl_picturebox.cpp",
1933 "xfa/fwl/cfwl_picturebox.h",
1934 "xfa/fwl/cfwl_pushbutton.cpp",
1935 "xfa/fwl/cfwl_pushbutton.h",
1936 "xfa/fwl/cfwl_scrollbar.cpp",
1937 "xfa/fwl/cfwl_scrollbar.h",
dsinclair447b1f32016-12-08 10:06:32 -08001938 "xfa/fwl/cfwl_themebackground.h",
1939 "xfa/fwl/cfwl_themepart.cpp",
1940 "xfa/fwl/cfwl_themepart.h",
1941 "xfa/fwl/cfwl_themetext.h",
1942 "xfa/fwl/cfwl_timer.cpp",
1943 "xfa/fwl/cfwl_timer.h",
1944 "xfa/fwl/cfwl_timerinfo.cpp",
1945 "xfa/fwl/cfwl_timerinfo.h",
1946 "xfa/fwl/cfwl_widget.cpp",
1947 "xfa/fwl/cfwl_widget.h",
1948 "xfa/fwl/cfwl_widgetmgr.cpp",
1949 "xfa/fwl/cfwl_widgetmgr.h",
1950 "xfa/fwl/cfwl_widgetproperties.cpp",
1951 "xfa/fwl/cfwl_widgetproperties.h",
1952 "xfa/fwl/cfx_barcode.cpp",
1953 "xfa/fwl/cfx_barcode.h",
dsinclair447b1f32016-12-08 10:06:32 -08001954 "xfa/fwl/fwl_widgetdef.h",
1955 "xfa/fwl/fwl_widgethit.h",
1956 "xfa/fwl/ifwl_adaptertimermgr.h",
1957 "xfa/fwl/ifwl_themeprovider.h",
1958 "xfa/fwl/ifwl_widgetdelegate.h",
dsinclair7f432a12016-03-29 12:38:01 -07001959 "xfa/fwl/theme/cfwl_barcodetp.cpp",
1960 "xfa/fwl/theme/cfwl_barcodetp.h",
1961 "xfa/fwl/theme/cfwl_carettp.cpp",
1962 "xfa/fwl/theme/cfwl_carettp.h",
1963 "xfa/fwl/theme/cfwl_checkboxtp.cpp",
1964 "xfa/fwl/theme/cfwl_checkboxtp.h",
1965 "xfa/fwl/theme/cfwl_comboboxtp.cpp",
1966 "xfa/fwl/theme/cfwl_comboboxtp.h",
weilibeecc342016-08-04 11:57:22 -07001967 "xfa/fwl/theme/cfwl_datetimepickertp.cpp",
dsinclair7f432a12016-03-29 12:38:01 -07001968 "xfa/fwl/theme/cfwl_datetimepickertp.h",
1969 "xfa/fwl/theme/cfwl_edittp.cpp",
1970 "xfa/fwl/theme/cfwl_edittp.h",
dsinclair7f432a12016-03-29 12:38:01 -07001971 "xfa/fwl/theme/cfwl_listboxtp.cpp",
1972 "xfa/fwl/theme/cfwl_listboxtp.h",
1973 "xfa/fwl/theme/cfwl_monthcalendartp.cpp",
1974 "xfa/fwl/theme/cfwl_monthcalendartp.h",
1975 "xfa/fwl/theme/cfwl_pictureboxtp.cpp",
1976 "xfa/fwl/theme/cfwl_pictureboxtp.h",
1977 "xfa/fwl/theme/cfwl_pushbuttontp.cpp",
1978 "xfa/fwl/theme/cfwl_pushbuttontp.h",
1979 "xfa/fwl/theme/cfwl_scrollbartp.cpp",
1980 "xfa/fwl/theme/cfwl_scrollbartp.h",
1981 "xfa/fwl/theme/cfwl_utils.h",
1982 "xfa/fwl/theme/cfwl_widgettp.cpp",
1983 "xfa/fwl/theme/cfwl_widgettp.h",
Lei Zhangc3ba98e2018-01-22 19:43:26 +00001984 ]
1985 deps = [
1986 ":fxbarcode",
1987 ":fxcrt",
1988 ":xfa_fgas",
1989 ]
1990 configs += [
1991 ":pdfium_core_config",
1992 ":xfa_warnings",
1993 ]
1994 }
1995
Lei Zhangab218bf2018-01-22 19:57:27 +00001996 jumbo_static_library("xfa_fxfa") {
Lei Zhangc3ba98e2018-01-22 19:43:26 +00001997 sources = [
Dan Sinclair80c48782017-03-23 12:11:20 -04001998 "xfa/fxfa/cxfa_eventparam.cpp",
dsinclair5b493092016-09-29 20:20:24 -07001999 "xfa/fxfa/cxfa_eventparam.h",
Dan Sinclair80c48782017-03-23 12:11:20 -04002000 "xfa/fxfa/cxfa_ffapp.cpp",
2001 "xfa/fxfa/cxfa_ffapp.h",
Dan Sinclair24ef6332017-07-24 10:52:57 -04002002 "xfa/fxfa/cxfa_ffarc.cpp",
2003 "xfa/fxfa/cxfa_ffarc.h",
2004 "xfa/fxfa/cxfa_ffbarcode.cpp",
2005 "xfa/fxfa/cxfa_ffbarcode.h",
2006 "xfa/fxfa/cxfa_ffcheckbutton.cpp",
2007 "xfa/fxfa/cxfa_ffcheckbutton.h",
2008 "xfa/fxfa/cxfa_ffcombobox.cpp",
2009 "xfa/fxfa/cxfa_ffcombobox.h",
2010 "xfa/fxfa/cxfa_ffdatetimeedit.cpp",
2011 "xfa/fxfa/cxfa_ffdatetimeedit.h",
Dan Sinclair80c48782017-03-23 12:11:20 -04002012 "xfa/fxfa/cxfa_ffdoc.cpp",
2013 "xfa/fxfa/cxfa_ffdoc.h",
Dan Sinclair80c48782017-03-23 12:11:20 -04002014 "xfa/fxfa/cxfa_ffdocview.cpp",
2015 "xfa/fxfa/cxfa_ffdocview.h",
Dan Sinclair8308b8c2018-01-29 21:34:56 +00002016 "xfa/fxfa/cxfa_ffdropdown.cpp",
2017 "xfa/fxfa/cxfa_ffdropdown.h",
Dan Sinclair24ef6332017-07-24 10:52:57 -04002018 "xfa/fxfa/cxfa_ffexclgroup.cpp",
2019 "xfa/fxfa/cxfa_ffexclgroup.h",
2020 "xfa/fxfa/cxfa_fffield.cpp",
2021 "xfa/fxfa/cxfa_fffield.h",
2022 "xfa/fxfa/cxfa_ffimage.cpp",
2023 "xfa/fxfa/cxfa_ffimage.h",
2024 "xfa/fxfa/cxfa_ffimageedit.cpp",
2025 "xfa/fxfa/cxfa_ffimageedit.h",
2026 "xfa/fxfa/cxfa_ffline.cpp",
2027 "xfa/fxfa/cxfa_ffline.h",
2028 "xfa/fxfa/cxfa_fflistbox.cpp",
2029 "xfa/fxfa/cxfa_fflistbox.h",
2030 "xfa/fxfa/cxfa_ffnotify.cpp",
2031 "xfa/fxfa/cxfa_ffnotify.h",
2032 "xfa/fxfa/cxfa_ffnumericedit.cpp",
2033 "xfa/fxfa/cxfa_ffnumericedit.h",
Dan Sinclair80c48782017-03-23 12:11:20 -04002034 "xfa/fxfa/cxfa_ffpageview.cpp",
2035 "xfa/fxfa/cxfa_ffpageview.h",
Dan Sinclair24ef6332017-07-24 10:52:57 -04002036 "xfa/fxfa/cxfa_ffpasswordedit.cpp",
2037 "xfa/fxfa/cxfa_ffpasswordedit.h",
2038 "xfa/fxfa/cxfa_ffpushbutton.cpp",
2039 "xfa/fxfa/cxfa_ffpushbutton.h",
2040 "xfa/fxfa/cxfa_ffrectangle.cpp",
2041 "xfa/fxfa/cxfa_ffrectangle.h",
2042 "xfa/fxfa/cxfa_ffsignature.cpp",
2043 "xfa/fxfa/cxfa_ffsignature.h",
Dan Sinclair24ef6332017-07-24 10:52:57 -04002044 "xfa/fxfa/cxfa_fftext.cpp",
2045 "xfa/fxfa/cxfa_fftext.h",
2046 "xfa/fxfa/cxfa_fftextedit.cpp",
2047 "xfa/fxfa/cxfa_fftextedit.h",
Dan Sinclair80c48782017-03-23 12:11:20 -04002048 "xfa/fxfa/cxfa_ffwidget.cpp",
2049 "xfa/fxfa/cxfa_ffwidget.h",
2050 "xfa/fxfa/cxfa_ffwidgethandler.cpp",
2051 "xfa/fxfa/cxfa_ffwidgethandler.h",
2052 "xfa/fxfa/cxfa_fontmgr.cpp",
2053 "xfa/fxfa/cxfa_fontmgr.h",
Dan Sinclair24ef6332017-07-24 10:52:57 -04002054 "xfa/fxfa/cxfa_fwladapterwidgetmgr.cpp",
2055 "xfa/fxfa/cxfa_fwladapterwidgetmgr.h",
2056 "xfa/fxfa/cxfa_fwltheme.cpp",
2057 "xfa/fxfa/cxfa_fwltheme.h",
Dan Sinclair027190e2018-01-16 21:25:27 +00002058 "xfa/fxfa/cxfa_imagerenderer.cpp",
2059 "xfa/fxfa/cxfa_imagerenderer.h",
Dan Sinclair24ef6332017-07-24 10:52:57 -04002060 "xfa/fxfa/cxfa_linkuserdata.cpp",
2061 "xfa/fxfa/cxfa_linkuserdata.h",
2062 "xfa/fxfa/cxfa_loadercontext.cpp",
2063 "xfa/fxfa/cxfa_loadercontext.h",
Dan Sinclair24ef6332017-07-24 10:52:57 -04002064 "xfa/fxfa/cxfa_pieceline.cpp",
2065 "xfa/fxfa/cxfa_pieceline.h",
Dan Sinclair08915152018-01-23 15:22:54 +00002066 "xfa/fxfa/cxfa_readynodeiterator.cpp",
2067 "xfa/fxfa/cxfa_readynodeiterator.h",
Dan Sinclair80c48782017-03-23 12:11:20 -04002068 "xfa/fxfa/cxfa_rendercontext.cpp",
2069 "xfa/fxfa/cxfa_rendercontext.h",
Dan Sinclair24ef6332017-07-24 10:52:57 -04002070 "xfa/fxfa/cxfa_textlayout.cpp",
2071 "xfa/fxfa/cxfa_textlayout.h",
2072 "xfa/fxfa/cxfa_textparsecontext.cpp",
2073 "xfa/fxfa/cxfa_textparsecontext.h",
2074 "xfa/fxfa/cxfa_textparser.cpp",
2075 "xfa/fxfa/cxfa_textparser.h",
2076 "xfa/fxfa/cxfa_textpiece.cpp",
2077 "xfa/fxfa/cxfa_textpiece.h",
2078 "xfa/fxfa/cxfa_textprovider.cpp",
2079 "xfa/fxfa/cxfa_textprovider.h",
2080 "xfa/fxfa/cxfa_texttabstopscontext.cpp",
2081 "xfa/fxfa/cxfa_texttabstopscontext.h",
2082 "xfa/fxfa/cxfa_textuserdata.cpp",
2083 "xfa/fxfa/cxfa_textuserdata.h",
Lei Zhangc3ba98e2018-01-22 19:43:26 +00002084 "xfa/fxfa/fxfa.h",
2085 "xfa/fxfa/fxfa_basic.h",
2086 ]
2087 deps = [
2088 ":fxcrt",
2089 ":fxjs",
2090 ":xfa_fde",
2091 ":xfa_fgas",
2092 ]
2093 configs += [
2094 ":pdfium_core_config",
2095 ":xfa_warnings",
2096 ]
2097 }
2098
Lei Zhangab218bf2018-01-22 19:57:27 +00002099 jumbo_static_library("xfa_fxfa_fm2js") {
Lei Zhangc3ba98e2018-01-22 19:43:26 +00002100 sources = [
Dan Sinclair2e9d47a2017-05-16 15:14:02 -04002101 "xfa/fxfa/fm2js/cxfa_fmexpression.cpp",
2102 "xfa/fxfa/fm2js/cxfa_fmexpression.h",
2103 "xfa/fxfa/fm2js/cxfa_fmlexer.cpp",
2104 "xfa/fxfa/fm2js/cxfa_fmlexer.h",
Ryan Harrisondb1e8a52017-07-27 14:53:20 -04002105 "xfa/fxfa/fm2js/cxfa_fmparser.cpp",
2106 "xfa/fxfa/fm2js/cxfa_fmparser.h",
Dan Sinclair2e9d47a2017-05-16 15:14:02 -04002107 "xfa/fxfa/fm2js/cxfa_fmsimpleexpression.cpp",
2108 "xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h",
Ryan Harrison1e19e252017-10-25 14:32:14 -04002109 "xfa/fxfa/fm2js/cxfa_fmtojavascriptdepth.cpp",
2110 "xfa/fxfa/fm2js/cxfa_fmtojavascriptdepth.h",
Lei Zhangc3ba98e2018-01-22 19:43:26 +00002111 ]
2112 deps = [
2113 "//third_party/icu:icuuc",
2114 ]
2115 configs += [
2116 ":pdfium_core_config",
2117 ":xfa_warnings",
2118 ]
2119 }
2120
Lei Zhangec7d8e22018-02-07 19:57:25 +00002121 jumbo_static_library("xfa_fxfa_parser") {
Lei Zhangc3ba98e2018-01-22 19:43:26 +00002122 sources = [
dsinclairc1515ef2016-07-20 06:16:06 -07002123 "xfa/fxfa/parser/cscript_datawindow.cpp",
2124 "xfa/fxfa/parser/cscript_datawindow.h",
2125 "xfa/fxfa/parser/cscript_eventpseudomodel.cpp",
2126 "xfa/fxfa/parser/cscript_eventpseudomodel.h",
2127 "xfa/fxfa/parser/cscript_hostpseudomodel.cpp",
2128 "xfa/fxfa/parser/cscript_hostpseudomodel.h",
2129 "xfa/fxfa/parser/cscript_layoutpseudomodel.cpp",
2130 "xfa/fxfa/parser/cscript_layoutpseudomodel.h",
2131 "xfa/fxfa/parser/cscript_logpseudomodel.cpp",
2132 "xfa/fxfa/parser/cscript_logpseudomodel.h",
2133 "xfa/fxfa/parser/cscript_signaturepseudomodel.cpp",
2134 "xfa/fxfa/parser/cscript_signaturepseudomodel.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002135 "xfa/fxfa/parser/cxfa_accessiblecontent.cpp",
2136 "xfa/fxfa/parser/cxfa_accessiblecontent.h",
2137 "xfa/fxfa/parser/cxfa_acrobat.cpp",
2138 "xfa/fxfa/parser/cxfa_acrobat.h",
2139 "xfa/fxfa/parser/cxfa_acrobat7.cpp",
2140 "xfa/fxfa/parser/cxfa_acrobat7.h",
2141 "xfa/fxfa/parser/cxfa_adbe_jsconsole.cpp",
2142 "xfa/fxfa/parser/cxfa_adbe_jsconsole.h",
2143 "xfa/fxfa/parser/cxfa_adbe_jsdebugger.cpp",
2144 "xfa/fxfa/parser/cxfa_adbe_jsdebugger.h",
2145 "xfa/fxfa/parser/cxfa_addsilentprint.cpp",
2146 "xfa/fxfa/parser/cxfa_addsilentprint.h",
2147 "xfa/fxfa/parser/cxfa_addviewerpreferences.cpp",
2148 "xfa/fxfa/parser/cxfa_addviewerpreferences.h",
2149 "xfa/fxfa/parser/cxfa_adjustdata.cpp",
2150 "xfa/fxfa/parser/cxfa_adjustdata.h",
2151 "xfa/fxfa/parser/cxfa_adobeextensionlevel.cpp",
2152 "xfa/fxfa/parser/cxfa_adobeextensionlevel.h",
2153 "xfa/fxfa/parser/cxfa_agent.cpp",
2154 "xfa/fxfa/parser/cxfa_agent.h",
2155 "xfa/fxfa/parser/cxfa_alwaysembed.cpp",
2156 "xfa/fxfa/parser/cxfa_alwaysembed.h",
2157 "xfa/fxfa/parser/cxfa_amd.cpp",
2158 "xfa/fxfa/parser/cxfa_amd.h",
2159 "xfa/fxfa/parser/cxfa_appearancefilter.cpp",
2160 "xfa/fxfa/parser/cxfa_appearancefilter.h",
2161 "xfa/fxfa/parser/cxfa_arc.cpp",
2162 "xfa/fxfa/parser/cxfa_arc.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002163 "xfa/fxfa/parser/cxfa_area.cpp",
2164 "xfa/fxfa/parser/cxfa_area.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07002165 "xfa/fxfa/parser/cxfa_arraynodelist.cpp",
Dan Sinclairefcae5d2017-03-29 14:47:46 -04002166 "xfa/fxfa/parser/cxfa_arraynodelist.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002167 "xfa/fxfa/parser/cxfa_assist.cpp",
2168 "xfa/fxfa/parser/cxfa_assist.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07002169 "xfa/fxfa/parser/cxfa_attachnodelist.cpp",
Dan Sinclairefcae5d2017-03-29 14:47:46 -04002170 "xfa/fxfa/parser/cxfa_attachnodelist.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002171 "xfa/fxfa/parser/cxfa_attributes.cpp",
2172 "xfa/fxfa/parser/cxfa_attributes.h",
2173 "xfa/fxfa/parser/cxfa_autosave.cpp",
2174 "xfa/fxfa/parser/cxfa_autosave.h",
2175 "xfa/fxfa/parser/cxfa_barcode.cpp",
2176 "xfa/fxfa/parser/cxfa_barcode.h",
2177 "xfa/fxfa/parser/cxfa_base.cpp",
2178 "xfa/fxfa/parser/cxfa_base.h",
2179 "xfa/fxfa/parser/cxfa_batchoutput.cpp",
2180 "xfa/fxfa/parser/cxfa_batchoutput.h",
2181 "xfa/fxfa/parser/cxfa_behavioroverride.cpp",
2182 "xfa/fxfa/parser/cxfa_behavioroverride.h",
2183 "xfa/fxfa/parser/cxfa_bind.cpp",
2184 "xfa/fxfa/parser/cxfa_bind.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002185 "xfa/fxfa/parser/cxfa_binditems.cpp",
2186 "xfa/fxfa/parser/cxfa_binditems.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002187 "xfa/fxfa/parser/cxfa_bookend.cpp",
2188 "xfa/fxfa/parser/cxfa_bookend.h",
2189 "xfa/fxfa/parser/cxfa_boolean.cpp",
2190 "xfa/fxfa/parser/cxfa_boolean.h",
2191 "xfa/fxfa/parser/cxfa_border.cpp",
2192 "xfa/fxfa/parser/cxfa_border.h",
Dan Sinclair39628b02018-01-03 12:01:24 -05002193 "xfa/fxfa/parser/cxfa_box.cpp",
2194 "xfa/fxfa/parser/cxfa_box.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002195 "xfa/fxfa/parser/cxfa_break.cpp",
2196 "xfa/fxfa/parser/cxfa_break.h",
2197 "xfa/fxfa/parser/cxfa_breakafter.cpp",
2198 "xfa/fxfa/parser/cxfa_breakafter.h",
2199 "xfa/fxfa/parser/cxfa_breakbefore.cpp",
2200 "xfa/fxfa/parser/cxfa_breakbefore.h",
2201 "xfa/fxfa/parser/cxfa_button.cpp",
2202 "xfa/fxfa/parser/cxfa_button.h",
2203 "xfa/fxfa/parser/cxfa_cache.cpp",
2204 "xfa/fxfa/parser/cxfa_cache.h",
2205 "xfa/fxfa/parser/cxfa_calculate.cpp",
2206 "xfa/fxfa/parser/cxfa_calculate.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002207 "xfa/fxfa/parser/cxfa_calendarsymbols.cpp",
2208 "xfa/fxfa/parser/cxfa_calendarsymbols.h",
2209 "xfa/fxfa/parser/cxfa_caption.cpp",
2210 "xfa/fxfa/parser/cxfa_caption.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002211 "xfa/fxfa/parser/cxfa_certificate.cpp",
2212 "xfa/fxfa/parser/cxfa_certificate.h",
2213 "xfa/fxfa/parser/cxfa_certificates.cpp",
2214 "xfa/fxfa/parser/cxfa_certificates.h",
2215 "xfa/fxfa/parser/cxfa_change.cpp",
2216 "xfa/fxfa/parser/cxfa_change.h",
2217 "xfa/fxfa/parser/cxfa_checkbutton.cpp",
2218 "xfa/fxfa/parser/cxfa_checkbutton.h",
2219 "xfa/fxfa/parser/cxfa_choicelist.cpp",
2220 "xfa/fxfa/parser/cxfa_choicelist.h",
2221 "xfa/fxfa/parser/cxfa_color.cpp",
2222 "xfa/fxfa/parser/cxfa_color.h",
2223 "xfa/fxfa/parser/cxfa_comb.cpp",
2224 "xfa/fxfa/parser/cxfa_comb.h",
2225 "xfa/fxfa/parser/cxfa_command.cpp",
2226 "xfa/fxfa/parser/cxfa_command.h",
2227 "xfa/fxfa/parser/cxfa_common.cpp",
2228 "xfa/fxfa/parser/cxfa_common.h",
2229 "xfa/fxfa/parser/cxfa_compress.cpp",
2230 "xfa/fxfa/parser/cxfa_compress.h",
2231 "xfa/fxfa/parser/cxfa_compression.cpp",
2232 "xfa/fxfa/parser/cxfa_compression.h",
2233 "xfa/fxfa/parser/cxfa_compresslogicalstructure.cpp",
2234 "xfa/fxfa/parser/cxfa_compresslogicalstructure.h",
2235 "xfa/fxfa/parser/cxfa_compressobjectstream.cpp",
2236 "xfa/fxfa/parser/cxfa_compressobjectstream.h",
2237 "xfa/fxfa/parser/cxfa_config.cpp",
2238 "xfa/fxfa/parser/cxfa_config.h",
2239 "xfa/fxfa/parser/cxfa_conformance.cpp",
2240 "xfa/fxfa/parser/cxfa_conformance.h",
2241 "xfa/fxfa/parser/cxfa_connect.cpp",
2242 "xfa/fxfa/parser/cxfa_connect.h",
2243 "xfa/fxfa/parser/cxfa_connectionset.cpp",
2244 "xfa/fxfa/parser/cxfa_connectionset.h",
2245 "xfa/fxfa/parser/cxfa_connectstring.cpp",
2246 "xfa/fxfa/parser/cxfa_connectstring.h",
dsinclair0b851ff2016-07-21 12:03:01 -07002247 "xfa/fxfa/parser/cxfa_containerlayoutitem.cpp",
2248 "xfa/fxfa/parser/cxfa_containerlayoutitem.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002249 "xfa/fxfa/parser/cxfa_contentarea.cpp",
2250 "xfa/fxfa/parser/cxfa_contentarea.h",
2251 "xfa/fxfa/parser/cxfa_contentcopy.cpp",
2252 "xfa/fxfa/parser/cxfa_contentcopy.h",
dsinclair0b851ff2016-07-21 12:03:01 -07002253 "xfa/fxfa/parser/cxfa_contentlayoutitem.cpp",
2254 "xfa/fxfa/parser/cxfa_contentlayoutitem.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002255 "xfa/fxfa/parser/cxfa_copies.cpp",
2256 "xfa/fxfa/parser/cxfa_copies.h",
2257 "xfa/fxfa/parser/cxfa_corner.cpp",
2258 "xfa/fxfa/parser/cxfa_corner.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002259 "xfa/fxfa/parser/cxfa_creator.cpp",
2260 "xfa/fxfa/parser/cxfa_creator.h",
2261 "xfa/fxfa/parser/cxfa_currencysymbol.cpp",
2262 "xfa/fxfa/parser/cxfa_currencysymbol.h",
2263 "xfa/fxfa/parser/cxfa_currencysymbols.cpp",
2264 "xfa/fxfa/parser/cxfa_currencysymbols.h",
2265 "xfa/fxfa/parser/cxfa_currentpage.cpp",
2266 "xfa/fxfa/parser/cxfa_currentpage.h",
2267 "xfa/fxfa/parser/cxfa_data.cpp",
2268 "xfa/fxfa/parser/cxfa_data.h",
dsinclair3a7cc732016-07-21 12:04:34 -07002269 "xfa/fxfa/parser/cxfa_dataexporter.cpp",
2270 "xfa/fxfa/parser/cxfa_dataexporter.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002271 "xfa/fxfa/parser/cxfa_datagroup.cpp",
2272 "xfa/fxfa/parser/cxfa_datagroup.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002273 "xfa/fxfa/parser/cxfa_datamodel.cpp",
2274 "xfa/fxfa/parser/cxfa_datamodel.h",
2275 "xfa/fxfa/parser/cxfa_datavalue.cpp",
2276 "xfa/fxfa/parser/cxfa_datavalue.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002277 "xfa/fxfa/parser/cxfa_date.cpp",
2278 "xfa/fxfa/parser/cxfa_date.h",
2279 "xfa/fxfa/parser/cxfa_datepattern.cpp",
2280 "xfa/fxfa/parser/cxfa_datepattern.h",
2281 "xfa/fxfa/parser/cxfa_datepatterns.cpp",
2282 "xfa/fxfa/parser/cxfa_datepatterns.h",
2283 "xfa/fxfa/parser/cxfa_datetime.cpp",
2284 "xfa/fxfa/parser/cxfa_datetime.h",
2285 "xfa/fxfa/parser/cxfa_datetimeedit.cpp",
2286 "xfa/fxfa/parser/cxfa_datetimeedit.h",
2287 "xfa/fxfa/parser/cxfa_datetimesymbols.cpp",
2288 "xfa/fxfa/parser/cxfa_datetimesymbols.h",
2289 "xfa/fxfa/parser/cxfa_day.cpp",
2290 "xfa/fxfa/parser/cxfa_day.h",
2291 "xfa/fxfa/parser/cxfa_daynames.cpp",
2292 "xfa/fxfa/parser/cxfa_daynames.h",
2293 "xfa/fxfa/parser/cxfa_debug.cpp",
2294 "xfa/fxfa/parser/cxfa_debug.h",
2295 "xfa/fxfa/parser/cxfa_decimal.cpp",
2296 "xfa/fxfa/parser/cxfa_decimal.h",
2297 "xfa/fxfa/parser/cxfa_defaulttypeface.cpp",
2298 "xfa/fxfa/parser/cxfa_defaulttypeface.h",
2299 "xfa/fxfa/parser/cxfa_defaultui.cpp",
2300 "xfa/fxfa/parser/cxfa_defaultui.h",
2301 "xfa/fxfa/parser/cxfa_delete.cpp",
2302 "xfa/fxfa/parser/cxfa_delete.h",
2303 "xfa/fxfa/parser/cxfa_delta.cpp",
2304 "xfa/fxfa/parser/cxfa_delta.h",
2305 "xfa/fxfa/parser/cxfa_deltas.cpp",
2306 "xfa/fxfa/parser/cxfa_deltas.h",
2307 "xfa/fxfa/parser/cxfa_desc.cpp",
2308 "xfa/fxfa/parser/cxfa_desc.h",
2309 "xfa/fxfa/parser/cxfa_destination.cpp",
2310 "xfa/fxfa/parser/cxfa_destination.h",
2311 "xfa/fxfa/parser/cxfa_digestmethod.cpp",
2312 "xfa/fxfa/parser/cxfa_digestmethod.h",
2313 "xfa/fxfa/parser/cxfa_digestmethods.cpp",
2314 "xfa/fxfa/parser/cxfa_digestmethods.h",
dsinclair16280242016-07-21 12:03:47 -07002315 "xfa/fxfa/parser/cxfa_document.cpp",
2316 "xfa/fxfa/parser/cxfa_document.h",
Dan Sinclair876efaa2018-04-12 13:39:28 +00002317 "xfa/fxfa/parser/cxfa_document_parser.cpp",
2318 "xfa/fxfa/parser/cxfa_document_parser.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002319 "xfa/fxfa/parser/cxfa_documentassembly.cpp",
2320 "xfa/fxfa/parser/cxfa_documentassembly.h",
2321 "xfa/fxfa/parser/cxfa_draw.cpp",
2322 "xfa/fxfa/parser/cxfa_draw.h",
2323 "xfa/fxfa/parser/cxfa_driver.cpp",
2324 "xfa/fxfa/parser/cxfa_driver.h",
2325 "xfa/fxfa/parser/cxfa_dsigdata.cpp",
2326 "xfa/fxfa/parser/cxfa_dsigdata.h",
2327 "xfa/fxfa/parser/cxfa_duplexoption.cpp",
2328 "xfa/fxfa/parser/cxfa_duplexoption.h",
2329 "xfa/fxfa/parser/cxfa_dynamicrender.cpp",
2330 "xfa/fxfa/parser/cxfa_dynamicrender.h",
2331 "xfa/fxfa/parser/cxfa_edge.cpp",
2332 "xfa/fxfa/parser/cxfa_edge.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002333 "xfa/fxfa/parser/cxfa_effectiveinputpolicy.cpp",
2334 "xfa/fxfa/parser/cxfa_effectiveinputpolicy.h",
2335 "xfa/fxfa/parser/cxfa_effectiveoutputpolicy.cpp",
2336 "xfa/fxfa/parser/cxfa_effectiveoutputpolicy.h",
2337 "xfa/fxfa/parser/cxfa_embed.cpp",
2338 "xfa/fxfa/parser/cxfa_embed.h",
2339 "xfa/fxfa/parser/cxfa_encoding.cpp",
2340 "xfa/fxfa/parser/cxfa_encoding.h",
2341 "xfa/fxfa/parser/cxfa_encodings.cpp",
2342 "xfa/fxfa/parser/cxfa_encodings.h",
2343 "xfa/fxfa/parser/cxfa_encrypt.cpp",
2344 "xfa/fxfa/parser/cxfa_encrypt.h",
2345 "xfa/fxfa/parser/cxfa_encryption.cpp",
2346 "xfa/fxfa/parser/cxfa_encryption.h",
2347 "xfa/fxfa/parser/cxfa_encryptionlevel.cpp",
2348 "xfa/fxfa/parser/cxfa_encryptionlevel.h",
2349 "xfa/fxfa/parser/cxfa_encryptionmethod.cpp",
2350 "xfa/fxfa/parser/cxfa_encryptionmethod.h",
2351 "xfa/fxfa/parser/cxfa_encryptionmethods.cpp",
2352 "xfa/fxfa/parser/cxfa_encryptionmethods.h",
2353 "xfa/fxfa/parser/cxfa_enforce.cpp",
2354 "xfa/fxfa/parser/cxfa_enforce.h",
2355 "xfa/fxfa/parser/cxfa_equate.cpp",
2356 "xfa/fxfa/parser/cxfa_equate.h",
2357 "xfa/fxfa/parser/cxfa_equaterange.cpp",
2358 "xfa/fxfa/parser/cxfa_equaterange.h",
2359 "xfa/fxfa/parser/cxfa_era.cpp",
2360 "xfa/fxfa/parser/cxfa_era.h",
2361 "xfa/fxfa/parser/cxfa_eranames.cpp",
2362 "xfa/fxfa/parser/cxfa_eranames.h",
2363 "xfa/fxfa/parser/cxfa_event.cpp",
2364 "xfa/fxfa/parser/cxfa_event.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002365 "xfa/fxfa/parser/cxfa_exclgroup.cpp",
2366 "xfa/fxfa/parser/cxfa_exclgroup.h",
2367 "xfa/fxfa/parser/cxfa_exclude.cpp",
2368 "xfa/fxfa/parser/cxfa_exclude.h",
2369 "xfa/fxfa/parser/cxfa_excludens.cpp",
2370 "xfa/fxfa/parser/cxfa_excludens.h",
2371 "xfa/fxfa/parser/cxfa_exdata.cpp",
2372 "xfa/fxfa/parser/cxfa_exdata.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002373 "xfa/fxfa/parser/cxfa_execute.cpp",
2374 "xfa/fxfa/parser/cxfa_execute.h",
2375 "xfa/fxfa/parser/cxfa_exobject.cpp",
2376 "xfa/fxfa/parser/cxfa_exobject.h",
2377 "xfa/fxfa/parser/cxfa_extras.cpp",
2378 "xfa/fxfa/parser/cxfa_extras.h",
2379 "xfa/fxfa/parser/cxfa_field.cpp",
2380 "xfa/fxfa/parser/cxfa_field.h",
2381 "xfa/fxfa/parser/cxfa_fill.cpp",
2382 "xfa/fxfa/parser/cxfa_fill.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002383 "xfa/fxfa/parser/cxfa_filter.cpp",
2384 "xfa/fxfa/parser/cxfa_filter.h",
2385 "xfa/fxfa/parser/cxfa_fliplabel.cpp",
2386 "xfa/fxfa/parser/cxfa_fliplabel.h",
2387 "xfa/fxfa/parser/cxfa_float.cpp",
2388 "xfa/fxfa/parser/cxfa_float.h",
2389 "xfa/fxfa/parser/cxfa_font.cpp",
2390 "xfa/fxfa/parser/cxfa_font.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002391 "xfa/fxfa/parser/cxfa_fontinfo.cpp",
2392 "xfa/fxfa/parser/cxfa_fontinfo.h",
2393 "xfa/fxfa/parser/cxfa_form.cpp",
2394 "xfa/fxfa/parser/cxfa_form.h",
2395 "xfa/fxfa/parser/cxfa_format.cpp",
2396 "xfa/fxfa/parser/cxfa_format.h",
2397 "xfa/fxfa/parser/cxfa_formfieldfilling.cpp",
2398 "xfa/fxfa/parser/cxfa_formfieldfilling.h",
2399 "xfa/fxfa/parser/cxfa_groupparent.cpp",
2400 "xfa/fxfa/parser/cxfa_groupparent.h",
2401 "xfa/fxfa/parser/cxfa_handler.cpp",
2402 "xfa/fxfa/parser/cxfa_handler.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002403 "xfa/fxfa/parser/cxfa_hyphenation.cpp",
2404 "xfa/fxfa/parser/cxfa_hyphenation.h",
2405 "xfa/fxfa/parser/cxfa_ifempty.cpp",
2406 "xfa/fxfa/parser/cxfa_ifempty.h",
2407 "xfa/fxfa/parser/cxfa_image.cpp",
2408 "xfa/fxfa/parser/cxfa_image.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002409 "xfa/fxfa/parser/cxfa_imageedit.cpp",
2410 "xfa/fxfa/parser/cxfa_imageedit.h",
2411 "xfa/fxfa/parser/cxfa_includexdpcontent.cpp",
2412 "xfa/fxfa/parser/cxfa_includexdpcontent.h",
2413 "xfa/fxfa/parser/cxfa_incrementalload.cpp",
2414 "xfa/fxfa/parser/cxfa_incrementalload.h",
2415 "xfa/fxfa/parser/cxfa_incrementalmerge.cpp",
2416 "xfa/fxfa/parser/cxfa_incrementalmerge.h",
2417 "xfa/fxfa/parser/cxfa_insert.cpp",
2418 "xfa/fxfa/parser/cxfa_insert.h",
2419 "xfa/fxfa/parser/cxfa_instancemanager.cpp",
2420 "xfa/fxfa/parser/cxfa_instancemanager.h",
2421 "xfa/fxfa/parser/cxfa_integer.cpp",
2422 "xfa/fxfa/parser/cxfa_integer.h",
2423 "xfa/fxfa/parser/cxfa_interactive.cpp",
2424 "xfa/fxfa/parser/cxfa_interactive.h",
2425 "xfa/fxfa/parser/cxfa_issuers.cpp",
2426 "xfa/fxfa/parser/cxfa_issuers.h",
Dan Sinclairec1843d2017-03-28 16:04:41 -04002427 "xfa/fxfa/parser/cxfa_itemlayoutprocessor.cpp",
2428 "xfa/fxfa/parser/cxfa_itemlayoutprocessor.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002429 "xfa/fxfa/parser/cxfa_items.cpp",
2430 "xfa/fxfa/parser/cxfa_items.h",
2431 "xfa/fxfa/parser/cxfa_jog.cpp",
2432 "xfa/fxfa/parser/cxfa_jog.h",
2433 "xfa/fxfa/parser/cxfa_keep.cpp",
2434 "xfa/fxfa/parser/cxfa_keep.h",
2435 "xfa/fxfa/parser/cxfa_keyusage.cpp",
2436 "xfa/fxfa/parser/cxfa_keyusage.h",
2437 "xfa/fxfa/parser/cxfa_labelprinter.cpp",
2438 "xfa/fxfa/parser/cxfa_labelprinter.h",
2439 "xfa/fxfa/parser/cxfa_layout.cpp",
2440 "xfa/fxfa/parser/cxfa_layout.h",
Dan Sinclairec1843d2017-03-28 16:04:41 -04002441 "xfa/fxfa/parser/cxfa_layoutcontext.h",
dsinclair0b851ff2016-07-21 12:03:01 -07002442 "xfa/fxfa/parser/cxfa_layoutitem.cpp",
2443 "xfa/fxfa/parser/cxfa_layoutitem.h",
dsinclair8d0cc672016-08-03 12:58:53 -07002444 "xfa/fxfa/parser/cxfa_layoutpagemgr.cpp",
2445 "xfa/fxfa/parser/cxfa_layoutpagemgr.h",
dsinclair0b851ff2016-07-21 12:03:01 -07002446 "xfa/fxfa/parser/cxfa_layoutprocessor.cpp",
2447 "xfa/fxfa/parser/cxfa_layoutprocessor.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002448 "xfa/fxfa/parser/cxfa_level.cpp",
2449 "xfa/fxfa/parser/cxfa_level.h",
2450 "xfa/fxfa/parser/cxfa_line.cpp",
2451 "xfa/fxfa/parser/cxfa_line.h",
2452 "xfa/fxfa/parser/cxfa_linear.cpp",
2453 "xfa/fxfa/parser/cxfa_linear.h",
2454 "xfa/fxfa/parser/cxfa_linearized.cpp",
2455 "xfa/fxfa/parser/cxfa_linearized.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002456 "xfa/fxfa/parser/cxfa_list.cpp",
2457 "xfa/fxfa/parser/cxfa_list.h",
2458 "xfa/fxfa/parser/cxfa_locale.cpp",
2459 "xfa/fxfa/parser/cxfa_locale.h",
Dan Sinclairec1843d2017-03-28 16:04:41 -04002460 "xfa/fxfa/parser/cxfa_localemgr.cpp",
2461 "xfa/fxfa/parser/cxfa_localemgr.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002462 "xfa/fxfa/parser/cxfa_localeset.cpp",
2463 "xfa/fxfa/parser/cxfa_localeset.h",
Dan Sinclairec1843d2017-03-28 16:04:41 -04002464 "xfa/fxfa/parser/cxfa_localevalue.cpp",
2465 "xfa/fxfa/parser/cxfa_localevalue.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002466 "xfa/fxfa/parser/cxfa_lockdocument.cpp",
2467 "xfa/fxfa/parser/cxfa_lockdocument.h",
2468 "xfa/fxfa/parser/cxfa_log.cpp",
2469 "xfa/fxfa/parser/cxfa_log.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002470 "xfa/fxfa/parser/cxfa_manifest.cpp",
2471 "xfa/fxfa/parser/cxfa_manifest.h",
2472 "xfa/fxfa/parser/cxfa_map.cpp",
2473 "xfa/fxfa/parser/cxfa_map.h",
2474 "xfa/fxfa/parser/cxfa_margin.cpp",
2475 "xfa/fxfa/parser/cxfa_margin.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002476 "xfa/fxfa/parser/cxfa_mdp.cpp",
2477 "xfa/fxfa/parser/cxfa_mdp.h",
dsinclair9eb0db12016-07-21 12:01:39 -07002478 "xfa/fxfa/parser/cxfa_measurement.cpp",
2479 "xfa/fxfa/parser/cxfa_measurement.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002480 "xfa/fxfa/parser/cxfa_medium.cpp",
2481 "xfa/fxfa/parser/cxfa_medium.h",
2482 "xfa/fxfa/parser/cxfa_mediuminfo.cpp",
2483 "xfa/fxfa/parser/cxfa_mediuminfo.h",
2484 "xfa/fxfa/parser/cxfa_meridiem.cpp",
2485 "xfa/fxfa/parser/cxfa_meridiem.h",
2486 "xfa/fxfa/parser/cxfa_meridiemnames.cpp",
2487 "xfa/fxfa/parser/cxfa_meridiemnames.h",
2488 "xfa/fxfa/parser/cxfa_message.cpp",
2489 "xfa/fxfa/parser/cxfa_message.h",
2490 "xfa/fxfa/parser/cxfa_messaging.cpp",
2491 "xfa/fxfa/parser/cxfa_messaging.h",
2492 "xfa/fxfa/parser/cxfa_mode.cpp",
2493 "xfa/fxfa/parser/cxfa_mode.h",
2494 "xfa/fxfa/parser/cxfa_modifyannots.cpp",
2495 "xfa/fxfa/parser/cxfa_modifyannots.h",
2496 "xfa/fxfa/parser/cxfa_month.cpp",
2497 "xfa/fxfa/parser/cxfa_month.h",
2498 "xfa/fxfa/parser/cxfa_monthnames.cpp",
2499 "xfa/fxfa/parser/cxfa_monthnames.h",
2500 "xfa/fxfa/parser/cxfa_msgid.cpp",
2501 "xfa/fxfa/parser/cxfa_msgid.h",
2502 "xfa/fxfa/parser/cxfa_nameattr.cpp",
2503 "xfa/fxfa/parser/cxfa_nameattr.h",
2504 "xfa/fxfa/parser/cxfa_neverembed.cpp",
2505 "xfa/fxfa/parser/cxfa_neverembed.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07002506 "xfa/fxfa/parser/cxfa_node.cpp",
Dan Sinclairefcae5d2017-03-29 14:47:46 -04002507 "xfa/fxfa/parser/cxfa_node.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002508 "xfa/fxfa/parser/cxfa_node_statics.cpp",
dsinclair31f87402016-07-20 06:34:45 -07002509 "xfa/fxfa/parser/cxfa_nodehelper.cpp",
2510 "xfa/fxfa/parser/cxfa_nodehelper.h",
Dan Sinclair40116772017-11-14 21:29:35 +00002511 "xfa/fxfa/parser/cxfa_nodeiteratortemplate.h",
Dan Sinclairec1843d2017-03-28 16:04:41 -04002512 "xfa/fxfa/parser/cxfa_nodelocale.cpp",
2513 "xfa/fxfa/parser/cxfa_nodelocale.h",
Dan Sinclair80bf5822018-02-13 20:55:03 +00002514 "xfa/fxfa/parser/cxfa_nodeowner.cpp",
2515 "xfa/fxfa/parser/cxfa_nodeowner.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002516 "xfa/fxfa/parser/cxfa_numberofcopies.cpp",
2517 "xfa/fxfa/parser/cxfa_numberofcopies.h",
2518 "xfa/fxfa/parser/cxfa_numberpattern.cpp",
2519 "xfa/fxfa/parser/cxfa_numberpattern.h",
2520 "xfa/fxfa/parser/cxfa_numberpatterns.cpp",
2521 "xfa/fxfa/parser/cxfa_numberpatterns.h",
2522 "xfa/fxfa/parser/cxfa_numbersymbol.cpp",
2523 "xfa/fxfa/parser/cxfa_numbersymbol.h",
2524 "xfa/fxfa/parser/cxfa_numbersymbols.cpp",
2525 "xfa/fxfa/parser/cxfa_numbersymbols.h",
2526 "xfa/fxfa/parser/cxfa_numericedit.cpp",
2527 "xfa/fxfa/parser/cxfa_numericedit.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07002528 "xfa/fxfa/parser/cxfa_object.cpp",
Dan Sinclairefcae5d2017-03-29 14:47:46 -04002529 "xfa/fxfa/parser/cxfa_object.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002530 "xfa/fxfa/parser/cxfa_occur.cpp",
2531 "xfa/fxfa/parser/cxfa_occur.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002532 "xfa/fxfa/parser/cxfa_oid.cpp",
2533 "xfa/fxfa/parser/cxfa_oid.h",
2534 "xfa/fxfa/parser/cxfa_oids.cpp",
2535 "xfa/fxfa/parser/cxfa_oids.h",
2536 "xfa/fxfa/parser/cxfa_openaction.cpp",
2537 "xfa/fxfa/parser/cxfa_openaction.h",
2538 "xfa/fxfa/parser/cxfa_operation.cpp",
2539 "xfa/fxfa/parser/cxfa_operation.h",
2540 "xfa/fxfa/parser/cxfa_output.cpp",
2541 "xfa/fxfa/parser/cxfa_output.h",
2542 "xfa/fxfa/parser/cxfa_outputbin.cpp",
2543 "xfa/fxfa/parser/cxfa_outputbin.h",
2544 "xfa/fxfa/parser/cxfa_outputxsl.cpp",
2545 "xfa/fxfa/parser/cxfa_outputxsl.h",
2546 "xfa/fxfa/parser/cxfa_overflow.cpp",
2547 "xfa/fxfa/parser/cxfa_overflow.h",
2548 "xfa/fxfa/parser/cxfa_overprint.cpp",
2549 "xfa/fxfa/parser/cxfa_overprint.h",
2550 "xfa/fxfa/parser/cxfa_packet.cpp",
2551 "xfa/fxfa/parser/cxfa_packet.h",
2552 "xfa/fxfa/parser/cxfa_packets.cpp",
2553 "xfa/fxfa/parser/cxfa_packets.h",
2554 "xfa/fxfa/parser/cxfa_pagearea.cpp",
2555 "xfa/fxfa/parser/cxfa_pagearea.h",
2556 "xfa/fxfa/parser/cxfa_pageoffset.cpp",
2557 "xfa/fxfa/parser/cxfa_pageoffset.h",
2558 "xfa/fxfa/parser/cxfa_pagerange.cpp",
2559 "xfa/fxfa/parser/cxfa_pagerange.h",
2560 "xfa/fxfa/parser/cxfa_pageset.cpp",
2561 "xfa/fxfa/parser/cxfa_pageset.h",
2562 "xfa/fxfa/parser/cxfa_pagination.cpp",
2563 "xfa/fxfa/parser/cxfa_pagination.h",
2564 "xfa/fxfa/parser/cxfa_paginationoverride.cpp",
2565 "xfa/fxfa/parser/cxfa_paginationoverride.h",
2566 "xfa/fxfa/parser/cxfa_para.cpp",
2567 "xfa/fxfa/parser/cxfa_para.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002568 "xfa/fxfa/parser/cxfa_part.cpp",
2569 "xfa/fxfa/parser/cxfa_part.h",
2570 "xfa/fxfa/parser/cxfa_password.cpp",
2571 "xfa/fxfa/parser/cxfa_password.h",
2572 "xfa/fxfa/parser/cxfa_passwordedit.cpp",
2573 "xfa/fxfa/parser/cxfa_passwordedit.h",
2574 "xfa/fxfa/parser/cxfa_pattern.cpp",
2575 "xfa/fxfa/parser/cxfa_pattern.h",
2576 "xfa/fxfa/parser/cxfa_pcl.cpp",
2577 "xfa/fxfa/parser/cxfa_pcl.h",
2578 "xfa/fxfa/parser/cxfa_pdf.cpp",
2579 "xfa/fxfa/parser/cxfa_pdf.h",
2580 "xfa/fxfa/parser/cxfa_pdfa.cpp",
2581 "xfa/fxfa/parser/cxfa_pdfa.h",
2582 "xfa/fxfa/parser/cxfa_permissions.cpp",
2583 "xfa/fxfa/parser/cxfa_permissions.h",
2584 "xfa/fxfa/parser/cxfa_picktraybypdfsize.cpp",
2585 "xfa/fxfa/parser/cxfa_picktraybypdfsize.h",
2586 "xfa/fxfa/parser/cxfa_picture.cpp",
2587 "xfa/fxfa/parser/cxfa_picture.h",
2588 "xfa/fxfa/parser/cxfa_plaintextmetadata.cpp",
2589 "xfa/fxfa/parser/cxfa_plaintextmetadata.h",
2590 "xfa/fxfa/parser/cxfa_presence.cpp",
2591 "xfa/fxfa/parser/cxfa_presence.h",
2592 "xfa/fxfa/parser/cxfa_present.cpp",
2593 "xfa/fxfa/parser/cxfa_present.h",
2594 "xfa/fxfa/parser/cxfa_print.cpp",
2595 "xfa/fxfa/parser/cxfa_print.h",
2596 "xfa/fxfa/parser/cxfa_printername.cpp",
2597 "xfa/fxfa/parser/cxfa_printername.h",
2598 "xfa/fxfa/parser/cxfa_printhighquality.cpp",
2599 "xfa/fxfa/parser/cxfa_printhighquality.h",
2600 "xfa/fxfa/parser/cxfa_printscaling.cpp",
2601 "xfa/fxfa/parser/cxfa_printscaling.h",
2602 "xfa/fxfa/parser/cxfa_producer.cpp",
2603 "xfa/fxfa/parser/cxfa_producer.h",
2604 "xfa/fxfa/parser/cxfa_proto.cpp",
2605 "xfa/fxfa/parser/cxfa_proto.h",
2606 "xfa/fxfa/parser/cxfa_ps.cpp",
2607 "xfa/fxfa/parser/cxfa_ps.h",
2608 "xfa/fxfa/parser/cxfa_psmap.cpp",
2609 "xfa/fxfa/parser/cxfa_psmap.h",
2610 "xfa/fxfa/parser/cxfa_query.cpp",
2611 "xfa/fxfa/parser/cxfa_query.h",
2612 "xfa/fxfa/parser/cxfa_radial.cpp",
2613 "xfa/fxfa/parser/cxfa_radial.h",
2614 "xfa/fxfa/parser/cxfa_range.cpp",
2615 "xfa/fxfa/parser/cxfa_range.h",
2616 "xfa/fxfa/parser/cxfa_reason.cpp",
2617 "xfa/fxfa/parser/cxfa_reason.h",
2618 "xfa/fxfa/parser/cxfa_reasons.cpp",
2619 "xfa/fxfa/parser/cxfa_reasons.h",
2620 "xfa/fxfa/parser/cxfa_record.cpp",
2621 "xfa/fxfa/parser/cxfa_record.h",
2622 "xfa/fxfa/parser/cxfa_recordset.cpp",
2623 "xfa/fxfa/parser/cxfa_recordset.h",
2624 "xfa/fxfa/parser/cxfa_rectangle.cpp",
2625 "xfa/fxfa/parser/cxfa_rectangle.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002626 "xfa/fxfa/parser/cxfa_ref.cpp",
2627 "xfa/fxfa/parser/cxfa_ref.h",
2628 "xfa/fxfa/parser/cxfa_relevant.cpp",
2629 "xfa/fxfa/parser/cxfa_relevant.h",
2630 "xfa/fxfa/parser/cxfa_rename.cpp",
2631 "xfa/fxfa/parser/cxfa_rename.h",
2632 "xfa/fxfa/parser/cxfa_renderpolicy.cpp",
2633 "xfa/fxfa/parser/cxfa_renderpolicy.h",
2634 "xfa/fxfa/parser/cxfa_rootelement.cpp",
2635 "xfa/fxfa/parser/cxfa_rootelement.h",
2636 "xfa/fxfa/parser/cxfa_runscripts.cpp",
2637 "xfa/fxfa/parser/cxfa_runscripts.h",
2638 "xfa/fxfa/parser/cxfa_script.cpp",
2639 "xfa/fxfa/parser/cxfa_script.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002640 "xfa/fxfa/parser/cxfa_scriptmodel.cpp",
2641 "xfa/fxfa/parser/cxfa_scriptmodel.h",
2642 "xfa/fxfa/parser/cxfa_select.cpp",
2643 "xfa/fxfa/parser/cxfa_select.h",
2644 "xfa/fxfa/parser/cxfa_setproperty.cpp",
2645 "xfa/fxfa/parser/cxfa_setproperty.h",
2646 "xfa/fxfa/parser/cxfa_severity.cpp",
2647 "xfa/fxfa/parser/cxfa_severity.h",
2648 "xfa/fxfa/parser/cxfa_sharptext.cpp",
2649 "xfa/fxfa/parser/cxfa_sharptext.h",
2650 "xfa/fxfa/parser/cxfa_sharpxhtml.cpp",
2651 "xfa/fxfa/parser/cxfa_sharpxhtml.h",
2652 "xfa/fxfa/parser/cxfa_sharpxml.cpp",
2653 "xfa/fxfa/parser/cxfa_sharpxml.h",
2654 "xfa/fxfa/parser/cxfa_signature.cpp",
2655 "xfa/fxfa/parser/cxfa_signature.h",
2656 "xfa/fxfa/parser/cxfa_signatureproperties.cpp",
2657 "xfa/fxfa/parser/cxfa_signatureproperties.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002658 "xfa/fxfa/parser/cxfa_signdata.cpp",
2659 "xfa/fxfa/parser/cxfa_signdata.h",
2660 "xfa/fxfa/parser/cxfa_signing.cpp",
2661 "xfa/fxfa/parser/cxfa_signing.h",
2662 "xfa/fxfa/parser/cxfa_silentprint.cpp",
2663 "xfa/fxfa/parser/cxfa_silentprint.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002664 "xfa/fxfa/parser/cxfa_soapaction.cpp",
2665 "xfa/fxfa/parser/cxfa_soapaction.h",
2666 "xfa/fxfa/parser/cxfa_soapaddress.cpp",
2667 "xfa/fxfa/parser/cxfa_soapaddress.h",
2668 "xfa/fxfa/parser/cxfa_solid.cpp",
2669 "xfa/fxfa/parser/cxfa_solid.h",
2670 "xfa/fxfa/parser/cxfa_source.cpp",
2671 "xfa/fxfa/parser/cxfa_source.h",
2672 "xfa/fxfa/parser/cxfa_sourceset.cpp",
2673 "xfa/fxfa/parser/cxfa_sourceset.h",
2674 "xfa/fxfa/parser/cxfa_speak.cpp",
2675 "xfa/fxfa/parser/cxfa_speak.h",
2676 "xfa/fxfa/parser/cxfa_staple.cpp",
2677 "xfa/fxfa/parser/cxfa_staple.h",
2678 "xfa/fxfa/parser/cxfa_startnode.cpp",
2679 "xfa/fxfa/parser/cxfa_startnode.h",
2680 "xfa/fxfa/parser/cxfa_startpage.cpp",
2681 "xfa/fxfa/parser/cxfa_startpage.h",
2682 "xfa/fxfa/parser/cxfa_stipple.cpp",
2683 "xfa/fxfa/parser/cxfa_stipple.h",
Dan Sinclairbf1cf342018-01-03 15:52:41 -05002684 "xfa/fxfa/parser/cxfa_stroke.cpp",
2685 "xfa/fxfa/parser/cxfa_stroke.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002686 "xfa/fxfa/parser/cxfa_subform.cpp",
2687 "xfa/fxfa/parser/cxfa_subform.h",
2688 "xfa/fxfa/parser/cxfa_subformset.cpp",
2689 "xfa/fxfa/parser/cxfa_subformset.h",
2690 "xfa/fxfa/parser/cxfa_subjectdn.cpp",
2691 "xfa/fxfa/parser/cxfa_subjectdn.h",
2692 "xfa/fxfa/parser/cxfa_subjectdns.cpp",
2693 "xfa/fxfa/parser/cxfa_subjectdns.h",
2694 "xfa/fxfa/parser/cxfa_submit.cpp",
2695 "xfa/fxfa/parser/cxfa_submit.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002696 "xfa/fxfa/parser/cxfa_submitformat.cpp",
2697 "xfa/fxfa/parser/cxfa_submitformat.h",
2698 "xfa/fxfa/parser/cxfa_submiturl.cpp",
2699 "xfa/fxfa/parser/cxfa_submiturl.h",
2700 "xfa/fxfa/parser/cxfa_subsetbelow.cpp",
2701 "xfa/fxfa/parser/cxfa_subsetbelow.h",
2702 "xfa/fxfa/parser/cxfa_suppressbanner.cpp",
2703 "xfa/fxfa/parser/cxfa_suppressbanner.h",
2704 "xfa/fxfa/parser/cxfa_tagged.cpp",
2705 "xfa/fxfa/parser/cxfa_tagged.h",
2706 "xfa/fxfa/parser/cxfa_template.cpp",
2707 "xfa/fxfa/parser/cxfa_template.h",
2708 "xfa/fxfa/parser/cxfa_templatecache.cpp",
2709 "xfa/fxfa/parser/cxfa_templatecache.h",
2710 "xfa/fxfa/parser/cxfa_text.cpp",
2711 "xfa/fxfa/parser/cxfa_text.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002712 "xfa/fxfa/parser/cxfa_textedit.cpp",
2713 "xfa/fxfa/parser/cxfa_textedit.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07002714 "xfa/fxfa/parser/cxfa_thisproxy.cpp",
Dan Sinclairefcae5d2017-03-29 14:47:46 -04002715 "xfa/fxfa/parser/cxfa_thisproxy.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002716 "xfa/fxfa/parser/cxfa_threshold.cpp",
2717 "xfa/fxfa/parser/cxfa_threshold.h",
2718 "xfa/fxfa/parser/cxfa_time.cpp",
2719 "xfa/fxfa/parser/cxfa_time.h",
2720 "xfa/fxfa/parser/cxfa_timepattern.cpp",
2721 "xfa/fxfa/parser/cxfa_timepattern.h",
2722 "xfa/fxfa/parser/cxfa_timepatterns.cpp",
2723 "xfa/fxfa/parser/cxfa_timepatterns.h",
2724 "xfa/fxfa/parser/cxfa_timestamp.cpp",
2725 "xfa/fxfa/parser/cxfa_timestamp.h",
Dan Sinclairec1843d2017-03-28 16:04:41 -04002726 "xfa/fxfa/parser/cxfa_timezoneprovider.cpp",
2727 "xfa/fxfa/parser/cxfa_timezoneprovider.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002728 "xfa/fxfa/parser/cxfa_to.cpp",
2729 "xfa/fxfa/parser/cxfa_to.h",
2730 "xfa/fxfa/parser/cxfa_tooltip.cpp",
2731 "xfa/fxfa/parser/cxfa_tooltip.h",
2732 "xfa/fxfa/parser/cxfa_trace.cpp",
2733 "xfa/fxfa/parser/cxfa_trace.h",
2734 "xfa/fxfa/parser/cxfa_transform.cpp",
2735 "xfa/fxfa/parser/cxfa_transform.h",
2736 "xfa/fxfa/parser/cxfa_traversal.cpp",
2737 "xfa/fxfa/parser/cxfa_traversal.h",
2738 "xfa/fxfa/parser/cxfa_traverse.cpp",
2739 "xfa/fxfa/parser/cxfa_traverse.h",
dsinclair6ea5ba02016-08-03 10:20:32 -07002740 "xfa/fxfa/parser/cxfa_traversestrategy_contentareacontainerlayoutitem.h",
2741 "xfa/fxfa/parser/cxfa_traversestrategy_contentlayoutitem.h",
dsinclair0b851ff2016-07-21 12:03:01 -07002742 "xfa/fxfa/parser/cxfa_traversestrategy_layoutitem.h",
Dan Sinclairefcae5d2017-03-29 14:47:46 -04002743 "xfa/fxfa/parser/cxfa_traversestrategy_xfacontainernode.h",
2744 "xfa/fxfa/parser/cxfa_traversestrategy_xfanode.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00002745 "xfa/fxfa/parser/cxfa_treelist.cpp",
2746 "xfa/fxfa/parser/cxfa_treelist.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002747 "xfa/fxfa/parser/cxfa_type.cpp",
2748 "xfa/fxfa/parser/cxfa_type.h",
2749 "xfa/fxfa/parser/cxfa_typeface.cpp",
2750 "xfa/fxfa/parser/cxfa_typeface.h",
2751 "xfa/fxfa/parser/cxfa_typefaces.cpp",
2752 "xfa/fxfa/parser/cxfa_typefaces.h",
2753 "xfa/fxfa/parser/cxfa_ui.cpp",
2754 "xfa/fxfa/parser/cxfa_ui.h",
2755 "xfa/fxfa/parser/cxfa_update.cpp",
2756 "xfa/fxfa/parser/cxfa_update.h",
2757 "xfa/fxfa/parser/cxfa_uri.cpp",
2758 "xfa/fxfa/parser/cxfa_uri.h",
2759 "xfa/fxfa/parser/cxfa_user.cpp",
2760 "xfa/fxfa/parser/cxfa_user.h",
2761 "xfa/fxfa/parser/cxfa_validate.cpp",
2762 "xfa/fxfa/parser/cxfa_validate.h",
2763 "xfa/fxfa/parser/cxfa_validateapprovalsignatures.cpp",
2764 "xfa/fxfa/parser/cxfa_validateapprovalsignatures.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002765 "xfa/fxfa/parser/cxfa_validationmessaging.cpp",
2766 "xfa/fxfa/parser/cxfa_validationmessaging.h",
2767 "xfa/fxfa/parser/cxfa_value.cpp",
2768 "xfa/fxfa/parser/cxfa_value.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002769 "xfa/fxfa/parser/cxfa_variables.cpp",
2770 "xfa/fxfa/parser/cxfa_variables.h",
2771 "xfa/fxfa/parser/cxfa_version.cpp",
2772 "xfa/fxfa/parser/cxfa_version.h",
2773 "xfa/fxfa/parser/cxfa_versioncontrol.cpp",
2774 "xfa/fxfa/parser/cxfa_versioncontrol.h",
2775 "xfa/fxfa/parser/cxfa_viewerpreferences.cpp",
2776 "xfa/fxfa/parser/cxfa_viewerpreferences.h",
2777 "xfa/fxfa/parser/cxfa_webclient.cpp",
2778 "xfa/fxfa/parser/cxfa_webclient.h",
2779 "xfa/fxfa/parser/cxfa_whitespace.cpp",
2780 "xfa/fxfa/parser/cxfa_whitespace.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002781 "xfa/fxfa/parser/cxfa_window.cpp",
2782 "xfa/fxfa/parser/cxfa_window.h",
2783 "xfa/fxfa/parser/cxfa_wsdladdress.cpp",
2784 "xfa/fxfa/parser/cxfa_wsdladdress.h",
2785 "xfa/fxfa/parser/cxfa_wsdlconnection.cpp",
2786 "xfa/fxfa/parser/cxfa_wsdlconnection.h",
2787 "xfa/fxfa/parser/cxfa_xdc.cpp",
2788 "xfa/fxfa/parser/cxfa_xdc.h",
2789 "xfa/fxfa/parser/cxfa_xdp.cpp",
2790 "xfa/fxfa/parser/cxfa_xdp.h",
2791 "xfa/fxfa/parser/cxfa_xfa.cpp",
2792 "xfa/fxfa/parser/cxfa_xfa.h",
2793 "xfa/fxfa/parser/cxfa_xmlconnection.cpp",
2794 "xfa/fxfa/parser/cxfa_xmlconnection.h",
Dan Sinclairec1843d2017-03-28 16:04:41 -04002795 "xfa/fxfa/parser/cxfa_xmllocale.cpp",
2796 "xfa/fxfa/parser/cxfa_xmllocale.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002797 "xfa/fxfa/parser/cxfa_xsdconnection.cpp",
2798 "xfa/fxfa/parser/cxfa_xsdconnection.h",
2799 "xfa/fxfa/parser/cxfa_xsl.cpp",
2800 "xfa/fxfa/parser/cxfa_xsl.h",
2801 "xfa/fxfa/parser/cxfa_zpl.cpp",
2802 "xfa/fxfa/parser/cxfa_zpl.h",
dsinclairf1494f02016-07-07 12:56:17 -07002803 "xfa/fxfa/parser/xfa_basic_data.h",
dsinclair8bdbc882016-07-07 07:55:39 -07002804 "xfa/fxfa/parser/xfa_basic_data_element_script.cpp",
2805 "xfa/fxfa/parser/xfa_basic_data_enum.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04002806 "xfa/fxfa/parser/xfa_document_datamerger_imp.cpp",
2807 "xfa/fxfa/parser/xfa_document_datamerger_imp.h",
dsinclair31f87402016-07-20 06:34:45 -07002808 "xfa/fxfa/parser/xfa_resolvenode_rs.h",
dsinclair39fdfc32016-07-21 12:09:45 -07002809 "xfa/fxfa/parser/xfa_utils.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04002810 "xfa/fxfa/parser/xfa_utils.h",
Lei Zhangc3ba98e2018-01-22 19:43:26 +00002811 ]
2812 deps = [
Dan Sinclair9b85f4b2018-01-23 18:24:13 +00002813 ":fxcrt",
Lei Zhangc3ba98e2018-01-22 19:43:26 +00002814 ":fxjs",
Dan Sinclair9b85f4b2018-01-23 18:24:13 +00002815 ":xfa_fde",
Lei Zhangc3ba98e2018-01-22 19:43:26 +00002816 ":xfa_fgas",
Dan Sinclair9b85f4b2018-01-23 18:24:13 +00002817 ":xfa_fxfa",
Lei Zhangc3ba98e2018-01-22 19:43:26 +00002818 ]
2819 configs += [
2820 ":pdfium_core_config",
2821 ":xfa_warnings",
2822 ]
2823 }
2824
Lei Zhangab218bf2018-01-22 19:57:27 +00002825 jumbo_static_library("xfa_fxgraphics") {
Lei Zhangc3ba98e2018-01-22 19:43:26 +00002826 sources = [
Dan Sinclair5a423ef2017-11-14 18:56:54 +00002827 "xfa/fxgraphics/cxfa_gecolor.cpp",
2828 "xfa/fxgraphics/cxfa_gecolor.h",
2829 "xfa/fxgraphics/cxfa_gepath.cpp",
2830 "xfa/fxgraphics/cxfa_gepath.h",
2831 "xfa/fxgraphics/cxfa_gepattern.cpp",
2832 "xfa/fxgraphics/cxfa_gepattern.h",
2833 "xfa/fxgraphics/cxfa_geshading.cpp",
2834 "xfa/fxgraphics/cxfa_geshading.h",
Dan Sinclair2b918c82017-07-13 14:47:10 -04002835 "xfa/fxgraphics/cxfa_graphics.cpp",
2836 "xfa/fxgraphics/cxfa_graphics.h",
Tom Sepezb36747d2015-12-08 15:49:25 -08002837 ]
Tom Sepezb36747d2015-12-08 15:49:25 -08002838 configs += [
weili0abe6522016-06-06 14:41:22 -07002839 ":pdfium_core_config",
weilidcc29b12016-05-27 17:58:23 -07002840 ":xfa_warnings",
Tom Sepez452b4f32015-10-13 09:27:27 -07002841 ]
2842 }
Tom Sepezc706fc02014-11-14 13:39:20 -08002843}
Tom Sepez04681f32015-01-09 13:59:19 -08002844
2845test("pdfium_unittests") {
2846 sources = [
tsepezf5cabbf2016-11-21 12:08:22 -08002847 "core/fdrm/crypto/fx_crypt_unittest.cpp",
Nicolas Pena4bd0d992017-02-02 14:32:21 -05002848 "core/fpdfapi/edit/cpdf_pagecontentgenerator_unittest.cpp",
Nicolas Pena169b3012017-05-26 14:38:03 -04002849 "core/fpdfapi/font/cpdf_cmapparser_unittest.cpp",
2850 "core/fpdfapi/font/cpdf_tounicodemap_unittest.cpp",
Nicolas Pena67912952017-03-10 15:15:33 -05002851 "core/fpdfapi/page/cpdf_devicecs_unittest.cpp",
Lei Zhang89869032017-11-06 20:01:13 +00002852 "core/fpdfapi/page/cpdf_psengine_unittest.cpp",
npm014b0122016-11-07 08:42:11 -08002853 "core/fpdfapi/page/cpdf_streamcontentparser_unittest.cpp",
2854 "core/fpdfapi/page/cpdf_streamparser_unittest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07002855 "core/fpdfapi/parser/cpdf_array_unittest.cpp",
Artem Strygin626c2a52017-11-02 19:59:38 +00002856 "core/fpdfapi/parser/cpdf_cross_ref_avail_unittest.cpp",
npm3cad5962016-10-21 16:02:15 -07002857 "core/fpdfapi/parser/cpdf_document_unittest.cpp",
Artem Strygin71702262017-10-30 10:44:01 +00002858 "core/fpdfapi/parser/cpdf_hint_tables_unittest.cpp",
Artem Strygin16b77c72017-09-01 16:03:58 +03002859 "core/fpdfapi/parser/cpdf_indirect_object_holder_unittest.cpp",
Artem Strygin304eefb2017-08-29 00:26:42 +03002860 "core/fpdfapi/parser/cpdf_object_avail_unittest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07002861 "core/fpdfapi/parser/cpdf_object_unittest.cpp",
Artem Stryginf57cad42017-08-14 23:35:52 +03002862 "core/fpdfapi/parser/cpdf_object_walker_unittest.cpp",
Artem Strygin304eefb2017-08-29 00:26:42 +03002863 "core/fpdfapi/parser/cpdf_page_object_avail_unittest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07002864 "core/fpdfapi/parser/cpdf_parser_unittest.cpp",
Artem Strygin834ebec2017-07-27 14:01:32 +03002865 "core/fpdfapi/parser/cpdf_read_validator_unittest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07002866 "core/fpdfapi/parser/cpdf_simple_parser_unittest.cpp",
2867 "core/fpdfapi/parser/cpdf_syntax_parser_unittest.cpp",
2868 "core/fpdfapi/parser/fpdf_parser_decode_unittest.cpp",
Tom Sepeza7b15592018-04-16 19:22:57 +00002869 "core/fpdfapi/parser/fpdf_parser_utility_unittest.cpp",
Dan Sinclair53a80932018-03-28 20:00:35 +00002870 "core/fpdfdoc/cpdf_defaultappearance_unittest.cpp",
dsinclairc59fa882016-11-08 06:55:40 -08002871 "core/fpdfdoc/cpdf_dest_unittest.cpp",
dsinclair448c4332016-08-02 12:07:35 -07002872 "core/fpdfdoc/cpdf_filespec_unittest.cpp",
thestig695aac52016-08-25 09:13:52 -07002873 "core/fpdfdoc/cpdf_formfield_unittest.cpp",
dan sinclair00e72c12018-04-13 18:04:56 +00002874 "core/fpdfdoc/cpdf_metadata_unittest.cpp",
Jane Liu67ccef72017-07-19 13:10:50 -04002875 "core/fpdfdoc/cpdf_nametree_unittest.cpp",
Dan Sinclair3a4c4082017-05-25 14:21:20 -04002876 "core/fpdftext/cpdf_linkextract_unittest.cpp",
rbpotterdb764702017-01-12 10:31:43 -08002877 "core/fxcodec/codec/fx_codec_a85_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04002878 "core/fxcodec/codec/fx_codec_jpx_unittest.cpp",
rbpotterdb764702017-01-12 10:31:43 -08002879 "core/fxcodec/codec/fx_codec_rle_unittest.cpp",
Dan Sinclair0eb74762017-03-28 10:19:22 -04002880 "core/fxcodec/jbig2/JBig2_BitStream_unittest.cpp",
tsepeze21501d2016-08-02 13:36:16 -07002881 "core/fxcodec/jbig2/JBig2_Image_unittest.cpp",
Ryan Harrison275e2602017-09-18 14:23:18 -04002882 "core/fxcrt/bytestring_unittest.cpp",
Ryan Harrisonccf206a2017-11-14 16:05:53 +00002883 "core/fxcrt/cfx_seekablemultistream_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04002884 "core/fxcrt/fx_bidi_unittest.cpp",
Dan Sinclair233360e2017-04-25 15:08:04 -04002885 "core/fxcrt/fx_coordinates_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04002886 "core/fxcrt/fx_extension_unittest.cpp",
Tom Sepeza9deea92017-04-25 10:37:47 -07002887 "core/fxcrt/fx_memory_unittest.cpp",
Tom Sepeze8b3e0c2017-09-08 10:18:37 -07002888 "core/fxcrt/fx_random_unittest.cpp",
Dan Sinclair2a1c8ac2017-08-31 16:03:17 -04002889 "core/fxcrt/fx_string_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04002890 "core/fxcrt/fx_system_unittest.cpp",
Dan Sinclairde44d152017-09-21 14:52:41 -04002891 "core/fxcrt/maybe_owned_unittest.cpp",
Dan Sinclair65ecca42017-09-21 15:25:32 -04002892 "core/fxcrt/observable_unittest.cpp",
Tom Sepezc7639702018-04-11 21:18:38 +00002893 "core/fxcrt/pdfium_span_unittest.cpp",
Dan Sinclair0b950422017-09-21 15:49:49 -04002894 "core/fxcrt/retain_ptr_unittest.cpp",
Dan Sinclair9317f8f2017-09-21 16:19:19 -04002895 "core/fxcrt/shared_copy_on_write_unittest.cpp",
Dan Sinclair8e9e3d82017-09-21 16:49:32 -04002896 "core/fxcrt/string_pool_template_unittest.cpp",
Dan Sinclairaee0db02017-09-21 16:53:58 -04002897 "core/fxcrt/unowned_ptr_unittest.cpp",
Dan Sinclairb872a932017-09-21 17:05:15 -04002898 "core/fxcrt/weak_ptr_unittest.cpp",
Ryan Harrison275e2602017-09-18 14:23:18 -04002899 "core/fxcrt/widestring_unittest.cpp",
Dan Sinclair048afc62018-05-01 17:01:54 +00002900 "core/fxcrt/xml/cfx_xmlchardata_unittest.cpp",
Dan Sinclair70180642018-05-02 16:02:03 +00002901 "core/fxcrt/xml/cfx_xmldocument_unittest.cpp",
Dan Sinclair048afc62018-05-01 17:01:54 +00002902 "core/fxcrt/xml/cfx_xmlelement_unittest.cpp",
2903 "core/fxcrt/xml/cfx_xmlinstruction_unittest.cpp",
2904 "core/fxcrt/xml/cfx_xmlnode_unittest.cpp",
dan sinclair19ae9bf2018-04-16 16:54:27 +00002905 "core/fxcrt/xml/cfx_xmlparser_unittest.cpp",
Dan Sinclair048afc62018-05-01 17:01:54 +00002906 "core/fxcrt/xml/cfx_xmltext_unittest.cpp",
Henrique Nakashima83a01492018-03-12 17:18:14 +00002907 "core/fxge/dib/cfx_dibitmap_unittest.cpp",
Nicolas Pena236ce3b2017-04-04 17:47:50 -04002908 "core/fxge/dib/cstretchengine_unittest.cpp",
Dan Sinclair971a6742018-03-28 19:23:25 +00002909 "fpdfsdk/fpdf_catalog_unittest.cpp",
2910 "fpdfsdk/fpdf_doc_unittest.cpp",
2911 "fpdfsdk/fpdf_editimg_unittest.cpp",
Tom Sepez64ee2c32017-04-24 15:04:25 -07002912 "testing/unit_test_main.cpp",
Tom Sepez04681f32015-01-09 13:59:19 -08002913 ]
2914 deps = [
Tom Sepezd831dc72015-10-19 16:04:22 -07002915 ":pdfium",
2916 ":test_support",
Tom Sepez16b9d772017-04-17 09:07:48 -07002917 "//testing/gmock",
Dan Sinclairfffc9632016-03-08 08:57:05 -05002918 "//testing/gtest",
Tom Sepez04681f32015-01-09 13:59:19 -08002919 ]
Dan Sinclair30410ce2016-03-16 10:20:24 -04002920 include_dirs = []
Tom Sepezd2e023b2015-12-08 14:36:16 -08002921 if (pdf_enable_xfa) {
2922 sources += [
Ryan Harrison0feba6f2017-10-03 09:32:14 -04002923 "core/fxcodec/gif/cfx_gifcontext_unittest.cpp",
Ryan Harrison36a155d2017-09-27 15:39:26 -04002924 "core/fxcodec/gif/cfx_lzwdecompressor_unittest.cpp",
Dan Sinclair9f0e85a2017-08-08 13:23:24 -04002925 "core/fxcrt/css/cfx_cssdeclaration_unittest.cpp",
2926 "core/fxcrt/css/cfx_cssstylesheet_unittest.cpp",
2927 "core/fxcrt/css/cfx_cssvaluelistparser_unittest.cpp",
Henrique Nakashimaa1e87072017-09-05 17:34:19 -04002928 "fxbarcode/oned/BC_OnedCodaBarWriter_unittest.cpp",
Lei Zhang3684a152017-04-24 16:22:54 -07002929 "fxbarcode/oned/BC_OnedCode128Writer_unittest.cpp",
Henrique Nakashima067b7852017-09-05 15:42:06 -04002930 "fxbarcode/oned/BC_OnedCode39Writer_unittest.cpp",
Henrique Nakashimaab3c1112017-09-01 16:01:44 -04002931 "fxbarcode/oned/BC_OnedEAN13Writer_unittest.cpp",
Henrique Nakashima3c5944c2017-09-01 16:40:48 -04002932 "fxbarcode/oned/BC_OnedEAN8Writer_unittest.cpp",
Henrique Nakashima74655222017-09-06 11:11:49 -04002933 "fxbarcode/oned/BC_OnedUPCAWriter_unittest.cpp",
Dan Sinclaire7786682017-03-29 15:18:41 -04002934 "fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp",
Dan Sinclair68eefa62017-08-30 12:16:16 -04002935 "xfa/fde/cfde_texteditengine_unittest.cpp",
Dan Sinclair6c5ea102017-06-05 09:53:06 -04002936 "xfa/fgas/crt/cfgas_formatstring_unittest.cpp",
Dan Sinclair994acdc2017-04-18 13:56:39 -04002937 "xfa/fgas/layout/cfx_rtfbreak_unittest.cpp",
Tom Sepez5628fd72017-04-27 14:58:53 -07002938 "xfa/fwl/cfx_barcode_unittest.cpp",
Dan Sinclair24ef6332017-07-24 10:52:57 -04002939 "xfa/fxfa/cxfa_ffbarcode_unittest.cpp",
2940 "xfa/fxfa/cxfa_textparser_unittest.cpp",
Dan Sinclair2e9d47a2017-05-16 15:14:02 -04002941 "xfa/fxfa/fm2js/cxfa_fmlexer_unittest.cpp",
Ryan Harrisondb1e8a52017-07-27 14:53:20 -04002942 "xfa/fxfa/fm2js/cxfa_fmparser_unittest.cpp",
Dan Sinclair2e9d47a2017-05-16 15:14:02 -04002943 "xfa/fxfa/fm2js/cxfa_fmsimpleexpression_unittest.cpp",
Dan Sinclairba367062018-05-01 17:02:54 +00002944 "xfa/fxfa/parser/cxfa_document_parser_unittest.cpp",
Tom Sepez8b4a3c72018-04-17 17:59:58 +00002945 "xfa/fxfa/parser/cxfa_localevalue_unittest.cpp",
Dan Sinclairf351ba02017-11-27 18:28:06 +00002946 "xfa/fxfa/parser/cxfa_node_unittest.cpp",
Dan Sinclair40116772017-11-14 21:29:35 +00002947 "xfa/fxfa/parser/cxfa_nodeiteratortemplate_unittest.cpp",
dan sinclaircce4d312018-04-16 17:50:07 +00002948 "xfa/fxfa/parser/cxfa_xmllocale_unittest.cpp",
dsinclair39fdfc32016-07-21 12:09:45 -07002949 "xfa/fxfa/parser/xfa_utils_unittest.cpp",
Tom Sepezd2e023b2015-12-08 14:36:16 -08002950 ]
2951 }
caryclarkaf177fe2016-11-16 10:10:03 -08002952 if (pdf_use_skia || pdf_use_skia_paths) {
caryclarke89391e2016-06-29 07:10:49 -07002953 sources += [ "core/fxge/skia/fx_skia_device_unittest.cpp" ]
2954 deps += [ "//skia" ]
2955 }
Wei Li614d20a2016-03-15 13:55:12 -07002956 if (pdf_enable_v8) {
Henrique Nakashima3a4ebcc2017-07-14 14:24:42 -04002957 sources += [
Tom Sepez3f8ee5e2018-02-09 18:26:09 +00002958 "fxjs/cfx_v8_unittest.cpp",
Tom Sepez3e5fac82018-02-12 21:49:04 +00002959 "fxjs/cfx_v8_unittest.h",
2960 "fxjs/cfxjs_engine_unittest.cpp",
Dan Sinclaire0345a42017-10-30 20:20:42 +00002961 "fxjs/cjs_publicmethods_unittest.cpp",
2962 "fxjs/cjs_util_unittest.cpp",
Henrique Nakashima3a4ebcc2017-07-14 14:24:42 -04002963 ]
Tom Sepez0acd92b2018-02-09 21:21:49 +00002964 deps += [ ":fxjs" ]
Tom Sepez3f8ee5e2018-02-09 18:26:09 +00002965 configs += [ "//v8:external_startup_data" ]
Wei Li614d20a2016-03-15 13:55:12 -07002966 }
weili0abe6522016-06-06 14:41:22 -07002967 configs += [ ":pdfium_core_config" ]
jbudorick7f3a15f2016-06-10 06:28:40 -07002968 if (is_android) {
jbudorick7f3a15f2016-06-10 06:28:40 -07002969 use_raw_android_executable = true
2970 }
Tom Sepez04681f32015-01-09 13:59:19 -08002971}
Tom Sepez1b1bb492015-01-22 17:36:32 -08002972
2973test("pdfium_embeddertests") {
2974 sources = [
Artem Strygind24b97e2017-08-09 18:50:59 +03002975 "core/fpdfapi/edit/cpdf_creator_embeddertest.cpp",
Henrique Nakashimab92ec182018-04-11 21:55:49 +00002976 "core/fpdfapi/page/cpdf_docpagedata_embeddertest.cpp",
Henrique Nakashima97b47dc2018-04-13 20:04:27 +00002977 "core/fpdfapi/page/cpdf_function_embeddertest.cpp",
Dan Sinclair5acacd32017-05-25 14:04:59 -04002978 "core/fpdfapi/page/cpdf_stitchfunc_embeddertest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07002979 "core/fpdfapi/parser/cpdf_parser_embeddertest.cpp",
2980 "core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp",
2981 "core/fpdfapi/parser/fpdf_parser_decode_embeddertest.cpp",
dsinclair69d9c682016-10-04 12:18:35 -07002982 "core/fpdfapi/render/fpdf_render_loadimage_embeddertest.cpp",
2983 "core/fpdfapi/render/fpdf_render_pattern_embeddertest.cpp",
weili6faf9f92016-08-02 11:34:08 -07002984 "core/fxcodec/codec/fx_codec_embeddertest.cpp",
Dan Sinclair92e22762017-07-10 15:14:26 -04002985 "core/fxge/fx_ge_text_embeddertest.cpp",
Dan Sinclaircbf76e62018-03-28 21:00:35 +00002986 "fpdfsdk/cpdfsdk_annotiterator_embeddertest.cpp",
Dan Sinclair971a6742018-03-28 19:23:25 +00002987 "fpdfsdk/fpdf_annot_embeddertest.cpp",
2988 "fpdfsdk/fpdf_attachment_embeddertest.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -04002989 "fpdfsdk/fpdf_dataavail_embeddertest.cpp",
Dan Sinclair971a6742018-03-28 19:23:25 +00002990 "fpdfsdk/fpdf_doc_embeddertest.cpp",
2991 "fpdfsdk/fpdf_edit_embeddertest.cpp",
2992 "fpdfsdk/fpdf_editpath_embeddertest.cpp",
2993 "fpdfsdk/fpdf_ext_embeddertest.cpp",
tsepezd0ecd892016-11-08 17:30:04 -08002994 "fpdfsdk/fpdf_flatten_embeddertest.cpp",
Dan Sinclair971a6742018-03-28 19:23:25 +00002995 "fpdfsdk/fpdf_formfill_embeddertest.cpp",
2996 "fpdfsdk/fpdf_ppo_embeddertest.cpp",
2997 "fpdfsdk/fpdf_save_embeddertest.cpp",
thestig9067fd62016-11-23 14:10:06 -08002998 "fpdfsdk/fpdf_structtree_embeddertest.cpp",
Dan Sinclair971a6742018-03-28 19:23:25 +00002999 "fpdfsdk/fpdf_text_embeddertest.cpp",
3000 "fpdfsdk/fpdf_view_c_api_test.c",
3001 "fpdfsdk/fpdf_view_c_api_test.h",
3002 "fpdfsdk/fpdf_view_embeddertest.cpp",
Dan Sinclairc411eb92017-07-25 09:39:30 -04003003 "fpdfsdk/pwl/cpwl_combo_box_embeddertest.cpp",
3004 "fpdfsdk/pwl/cpwl_edit_embeddertest.cpp",
Tom Sepez1b1bb492015-01-22 17:36:32 -08003005 "testing/embedder_test.cpp",
3006 "testing/embedder_test.h",
Dan Sinclair5553d8b2018-01-03 09:44:28 -05003007 "testing/embedder_test_main.cpp",
Tom Sepeza310e002015-02-27 13:03:07 -08003008 "testing/embedder_test_mock_delegate.h",
Tom Sepez6efc0ad2015-06-02 17:11:18 -07003009 "testing/embedder_test_timer_handling_delegate.h",
Artem Strygin0e60b9e2017-09-28 18:46:03 +03003010 "testing/fake_file_access.cpp",
3011 "testing/fake_file_access.h",
3012 "testing/range_set.cpp",
3013 "testing/range_set.h",
Tom Sepez1b1bb492015-01-22 17:36:32 -08003014 ]
3015 deps = [
Henrique Nakashimadb269572018-01-16 19:02:15 +00003016 ":image_diff",
Tom Sepez452b4f32015-10-13 09:27:27 -07003017 ":pdfium",
Tom Sepezd831dc72015-10-19 16:04:22 -07003018 ":test_support",
Dan Sinclairfffc9632016-03-08 08:57:05 -05003019 "//testing/gmock",
3020 "//testing/gtest",
Tom Sepez1b1bb492015-01-22 17:36:32 -08003021 ]
dsinclair685bb882016-04-20 07:32:39 -07003022 include_dirs = [ "testing/gmock/include" ]
thestigc65e11e2016-08-30 21:56:33 -07003023 configs += [ ":pdfium_core_config" ]
3024
Tom Sepez452b4f32015-10-13 09:27:27 -07003025 if (pdf_enable_v8) {
Lei Zhang1ac47eb2015-12-21 11:04:44 -08003026 sources += [
Tom Sepezb7c7df62018-02-09 19:08:59 +00003027 "fxjs/cfxjs_engine_embeddertest.cpp",
Dan Sinclaire0345a42017-10-30 20:20:42 +00003028 "fxjs/cjs_publicmethods_embeddertest.cpp",
Lei Zhang1ac47eb2015-12-21 11:04:44 -08003029 "testing/js_embedder_test.cpp",
3030 "testing/js_embedder_test.h",
3031 ]
dsinclairb3f24672016-07-12 10:42:14 -07003032 deps += [ ":fxjs" ]
Jochen Eisinger7ed503d2015-12-10 14:38:06 +01003033 configs += [ "//v8:external_startup_data" ]
Tom Sepez452b4f32015-10-13 09:27:27 -07003034 }
Dan Sinclair14aacd52017-05-18 14:11:29 -04003035 if (pdf_enable_xfa) {
3036 sources += [
Dan Sinclair3fff90a2017-11-01 13:12:39 +00003037 "fxjs/cfxjse_formcalc_context_embeddertest.cpp",
Dan Sinclair14aacd52017-05-18 14:11:29 -04003038 "testing/xfa_js_embedder_test.cpp",
3039 "testing/xfa_js_embedder_test.h",
Dan Sinclairb8777a22017-09-20 16:21:31 -04003040 "xfa/fwl/cfwl_edit_embeddertest.cpp",
Dan Sinclair876efaa2018-04-12 13:39:28 +00003041 "xfa/fxfa/parser/cxfa_document_parser_embeddertest.cpp",
Dan Sinclair14aacd52017-05-18 14:11:29 -04003042 ]
3043 }
jbudorick7f3a15f2016-06-10 06:28:40 -07003044 if (is_android) {
3045 ignore_all_data_deps = true
3046 use_raw_android_executable = true
3047 }
Tom Sepez1b1bb492015-01-22 17:36:32 -08003048}
dsinclair685bb882016-04-20 07:32:39 -07003049
3050if (pdf_is_standalone) {
3051 source_set("samples") {
3052 testonly = true
3053 deps = [
3054 "//samples",
3055 ]
3056 }
Lei Zhang143959d2017-06-22 12:20:58 -07003057
3058 executable("pdfium_diff") {
3059 testonly = true
3060 sources = [
3061 "testing/image_diff/image_diff.cpp",
3062 ]
3063 deps = [
3064 ":image_diff",
3065 ":pdfium",
3066 "//build/config:exe_and_shlib_deps",
3067 "//build/win:default_exe_manifest",
3068 ]
3069 configs -= [ "//build/config/compiler:chromium_code" ]
3070 configs += [ "//build/config/compiler:no_chromium_code" ]
Ryan Harrison7b8f88a2017-07-13 16:05:31 -04003071 configs += [ ":pdfium_core_config" ]
Lei Zhang143959d2017-06-22 12:20:58 -07003072 }
3073
thestig62114cf2016-11-08 12:59:30 -08003074 group("fuzzers") {
3075 testonly = true
3076 deps = [
3077 "//testing/libfuzzer",
3078 ]
3079 }
dsinclair685bb882016-04-20 07:32:39 -07003080}
Lei Zhangf02c8bf2017-04-01 01:35:01 -07003081
3082group("pdfium_all") {
3083 testonly = true
3084 deps = [
3085 ":pdfium_embeddertests",
3086 ":pdfium_unittests",
3087 ]
3088 if (pdf_is_standalone) {
3089 deps += [
3090 ":fuzzers",
Lei Zhang143959d2017-06-22 12:20:58 -07003091 ":pdfium_diff",
Lei Zhangf02c8bf2017-04-01 01:35:01 -07003092 ":samples",
3093 ]
3094 }
3095}