blob: e6e6ea504ec4ba3bb0190bebe395164bf67ff137 [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" ]
Ryan Harrisond5d48452018-05-09 20:31:12 +0000287 deps = [ "third_party:png" ]
Lei Zhang143959d2017-06-22 12:20:58 -0700288}
289
Tom Sepezd831dc72015-10-19 16:04:22 -0700290# Targets below this are only visible within this file (and to the
291# top-level gn_visibility target used to help gn_all build everything).
292visibility = [
293 ":*",
294 "//:gn_visibility",
295]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700296
Lei Zhang26170562018-04-17 17:01:52 +0000297source_set("constants") {
298 sources = [
299 "constants/stream_dict_common.h",
Lei Zhangfdd0ef62018-05-08 19:06:38 +0000300 "constants/transparency.h",
Lei Zhang26170562018-04-17 17:01:52 +0000301 ]
302}
303
Lei Zhang7981d152018-01-11 14:26:01 +0000304jumbo_static_library("fdrm") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700305 sources = [
Dan Sinclair764ec512016-03-14 13:35:12 -0400306 "core/fdrm/crypto/fx_crypt.cpp",
dsinclairb1469a22016-09-29 10:00:05 -0700307 "core/fdrm/crypto/fx_crypt.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400308 "core/fdrm/crypto/fx_crypt_aes.cpp",
309 "core/fdrm/crypto/fx_crypt_sha.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700310 ]
weili0abe6522016-06-06 14:41:22 -0700311 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700312 deps = [
313 ":fxcrt",
314 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700315}
316
Lei Zhang7981d152018-01-11 14:26:01 +0000317jumbo_static_library("fpdfdoc") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700318 sources = [
dsinclair448c4332016-08-02 12:07:35 -0700319 "core/fpdfdoc/cline.cpp",
320 "core/fpdfdoc/cline.h",
dsinclair02e6f592016-08-02 11:25:48 -0700321 "core/fpdfdoc/cpdf_aaction.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700322 "core/fpdfdoc/cpdf_aaction.h",
dsinclair02e6f592016-08-02 11:25:48 -0700323 "core/fpdfdoc/cpdf_action.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700324 "core/fpdfdoc/cpdf_action.h",
dsinclair02e6f592016-08-02 11:25:48 -0700325 "core/fpdfdoc/cpdf_actionfields.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700326 "core/fpdfdoc/cpdf_actionfields.h",
jaepark3b6c7e92016-07-20 14:18:04 -0700327 "core/fpdfdoc/cpdf_annot.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700328 "core/fpdfdoc/cpdf_annot.h",
jaepark3b6c7e92016-07-20 14:18:04 -0700329 "core/fpdfdoc/cpdf_annotlist.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700330 "core/fpdfdoc/cpdf_annotlist.h",
dsinclair27053d82016-08-02 15:43:46 -0700331 "core/fpdfdoc/cpdf_apsettings.cpp",
dsinclaircac704d2016-07-28 12:59:09 -0700332 "core/fpdfdoc/cpdf_apsettings.h",
dsinclair02e6f592016-08-02 11:25:48 -0700333 "core/fpdfdoc/cpdf_bookmark.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700334 "core/fpdfdoc/cpdf_bookmark.h",
dsinclair02e6f592016-08-02 11:25:48 -0700335 "core/fpdfdoc/cpdf_bookmarktree.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700336 "core/fpdfdoc/cpdf_bookmarktree.h",
dsinclair27053d82016-08-02 15:43:46 -0700337 "core/fpdfdoc/cpdf_defaultappearance.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700338 "core/fpdfdoc/cpdf_defaultappearance.h",
dsinclair448c4332016-08-02 12:07:35 -0700339 "core/fpdfdoc/cpdf_dest.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700340 "core/fpdfdoc/cpdf_dest.h",
dsinclair02e6f592016-08-02 11:25:48 -0700341 "core/fpdfdoc/cpdf_docjsactions.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700342 "core/fpdfdoc/cpdf_docjsactions.h",
dsinclair448c4332016-08-02 12:07:35 -0700343 "core/fpdfdoc/cpdf_filespec.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700344 "core/fpdfdoc/cpdf_filespec.h",
dsinclair27053d82016-08-02 15:43:46 -0700345 "core/fpdfdoc/cpdf_formcontrol.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700346 "core/fpdfdoc/cpdf_formcontrol.h",
dsinclair27053d82016-08-02 15:43:46 -0700347 "core/fpdfdoc/cpdf_formfield.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700348 "core/fpdfdoc/cpdf_formfield.h",
dsinclair27053d82016-08-02 15:43:46 -0700349 "core/fpdfdoc/cpdf_iconfit.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700350 "core/fpdfdoc/cpdf_iconfit.h",
dsinclair27053d82016-08-02 15:43:46 -0700351 "core/fpdfdoc/cpdf_interform.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700352 "core/fpdfdoc/cpdf_interform.h",
dsinclair02e6f592016-08-02 11:25:48 -0700353 "core/fpdfdoc/cpdf_link.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700354 "core/fpdfdoc/cpdf_link.h",
dsinclair02e6f592016-08-02 11:25:48 -0700355 "core/fpdfdoc/cpdf_linklist.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700356 "core/fpdfdoc/cpdf_linklist.h",
dsinclair02e6f592016-08-02 11:25:48 -0700357 "core/fpdfdoc/cpdf_metadata.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700358 "core/fpdfdoc/cpdf_metadata.h",
dsinclair448c4332016-08-02 12:07:35 -0700359 "core/fpdfdoc/cpdf_nametree.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700360 "core/fpdfdoc/cpdf_nametree.h",
dsinclair27053d82016-08-02 15:43:46 -0700361 "core/fpdfdoc/cpdf_numbertree.cpp",
362 "core/fpdfdoc/cpdf_numbertree.h",
dsinclair448c4332016-08-02 12:07:35 -0700363 "core/fpdfdoc/cpdf_occontext.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700364 "core/fpdfdoc/cpdf_occontext.h",
dsinclair448c4332016-08-02 12:07:35 -0700365 "core/fpdfdoc/cpdf_pagelabel.cpp",
dsinclaircac704d2016-07-28 12:59:09 -0700366 "core/fpdfdoc/cpdf_pagelabel.h",
dan sinclair7f389612017-04-06 13:38:54 -0400367 "core/fpdfdoc/cpdf_structelement.cpp",
368 "core/fpdfdoc/cpdf_structelement.h",
369 "core/fpdfdoc/cpdf_structtree.cpp",
370 "core/fpdfdoc/cpdf_structtree.h",
dsinclairc7a73492016-04-05 12:01:42 -0700371 "core/fpdfdoc/cpdf_variabletext.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700372 "core/fpdfdoc/cpdf_variabletext.h",
dsinclair02e6f592016-08-02 11:25:48 -0700373 "core/fpdfdoc/cpdf_viewerpreferences.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700374 "core/fpdfdoc/cpdf_viewerpreferences.h",
dsinclairc7a73492016-04-05 12:01:42 -0700375 "core/fpdfdoc/cpvt_floatrect.h",
dsinclair777b3332016-03-31 20:03:08 -0700376 "core/fpdfdoc/cpvt_fontmap.cpp",
377 "core/fpdfdoc/cpvt_fontmap.h",
378 "core/fpdfdoc/cpvt_generateap.cpp",
379 "core/fpdfdoc/cpvt_generateap.h",
dsinclair1727aee2016-09-29 13:12:56 -0700380 "core/fpdfdoc/cpvt_line.h",
dsinclairc7a73492016-04-05 12:01:42 -0700381 "core/fpdfdoc/cpvt_lineinfo.h",
dsinclair1727aee2016-09-29 13:12:56 -0700382 "core/fpdfdoc/cpvt_word.h",
weili5a6c1392016-07-11 14:43:40 -0700383 "core/fpdfdoc/cpvt_wordinfo.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700384 "core/fpdfdoc/cpvt_wordinfo.h",
dsinclair1727aee2016-09-29 13:12:56 -0700385 "core/fpdfdoc/cpvt_wordplace.h",
dsinclair1727aee2016-09-29 13:12:56 -0700386 "core/fpdfdoc/cpvt_wordrange.h",
thestig9c845c32016-05-13 11:08:41 -0700387 "core/fpdfdoc/csection.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700388 "core/fpdfdoc/csection.h",
thestig9c845c32016-05-13 11:08:41 -0700389 "core/fpdfdoc/ctypeset.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700390 "core/fpdfdoc/ctypeset.h",
dsinclair1727aee2016-09-29 13:12:56 -0700391 "core/fpdfdoc/ipdf_formnotify.h",
392 "core/fpdfdoc/ipvt_fontmap.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700393 ]
weili0abe6522016-06-06 14:41:22 -0700394 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700395 deps = [
396 ":fxcrt",
397 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700398}
399
Lei Zhang81a1ac42017-12-21 21:49:55 -0800400jumbo_static_library("fpdfapi") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700401 sources = [
dsinclaira6c92152016-10-04 10:58:54 -0700402 "core/fpdfapi/cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp",
403 "core/fpdfapi/cmaps/CNS1/B5pc-H_0.cpp",
404 "core/fpdfapi/cmaps/CNS1/B5pc-V_0.cpp",
405 "core/fpdfapi/cmaps/CNS1/CNS-EUC-H_0.cpp",
406 "core/fpdfapi/cmaps/CNS1/CNS-EUC-V_0.cpp",
407 "core/fpdfapi/cmaps/CNS1/ETen-B5-H_0.cpp",
408 "core/fpdfapi/cmaps/CNS1/ETen-B5-V_0.cpp",
409 "core/fpdfapi/cmaps/CNS1/ETenms-B5-H_0.cpp",
410 "core/fpdfapi/cmaps/CNS1/ETenms-B5-V_0.cpp",
411 "core/fpdfapi/cmaps/CNS1/HKscs-B5-H_5.cpp",
412 "core/fpdfapi/cmaps/CNS1/HKscs-B5-V_5.cpp",
413 "core/fpdfapi/cmaps/CNS1/UniCNS-UCS2-H_3.cpp",
414 "core/fpdfapi/cmaps/CNS1/UniCNS-UCS2-V_3.cpp",
415 "core/fpdfapi/cmaps/CNS1/UniCNS-UTF16-H_0.cpp",
416 "core/fpdfapi/cmaps/CNS1/cmaps_cns1.cpp",
417 "core/fpdfapi/cmaps/GB1/Adobe-GB1-UCS2_5.cpp",
418 "core/fpdfapi/cmaps/GB1/GB-EUC-H_0.cpp",
419 "core/fpdfapi/cmaps/GB1/GB-EUC-V_0.cpp",
420 "core/fpdfapi/cmaps/GB1/GBK-EUC-H_2.cpp",
421 "core/fpdfapi/cmaps/GB1/GBK-EUC-V_2.cpp",
422 "core/fpdfapi/cmaps/GB1/GBK2K-H_5.cpp",
423 "core/fpdfapi/cmaps/GB1/GBK2K-V_5.cpp",
424 "core/fpdfapi/cmaps/GB1/GBKp-EUC-H_2.cpp",
425 "core/fpdfapi/cmaps/GB1/GBKp-EUC-V_2.cpp",
426 "core/fpdfapi/cmaps/GB1/GBpc-EUC-H_0.cpp",
427 "core/fpdfapi/cmaps/GB1/GBpc-EUC-V_0.cpp",
428 "core/fpdfapi/cmaps/GB1/UniGB-UCS2-H_4.cpp",
429 "core/fpdfapi/cmaps/GB1/UniGB-UCS2-V_4.cpp",
430 "core/fpdfapi/cmaps/GB1/cmaps_gb1.cpp",
431 "core/fpdfapi/cmaps/Japan1/83pv-RKSJ-H_1.cpp",
432 "core/fpdfapi/cmaps/Japan1/90ms-RKSJ-H_2.cpp",
433 "core/fpdfapi/cmaps/Japan1/90ms-RKSJ-V_2.cpp",
434 "core/fpdfapi/cmaps/Japan1/90msp-RKSJ-H_2.cpp",
435 "core/fpdfapi/cmaps/Japan1/90msp-RKSJ-V_2.cpp",
436 "core/fpdfapi/cmaps/Japan1/90pv-RKSJ-H_1.cpp",
437 "core/fpdfapi/cmaps/Japan1/Add-RKSJ-H_1.cpp",
438 "core/fpdfapi/cmaps/Japan1/Add-RKSJ-V_1.cpp",
439 "core/fpdfapi/cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp",
440 "core/fpdfapi/cmaps/Japan1/EUC-H_1.cpp",
441 "core/fpdfapi/cmaps/Japan1/EUC-V_1.cpp",
442 "core/fpdfapi/cmaps/Japan1/Ext-RKSJ-H_2.cpp",
443 "core/fpdfapi/cmaps/Japan1/Ext-RKSJ-V_2.cpp",
444 "core/fpdfapi/cmaps/Japan1/H_1.cpp",
445 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp",
446 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp",
447 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-H_4.cpp",
448 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-V_4.cpp",
449 "core/fpdfapi/cmaps/Japan1/V_1.cpp",
450 "core/fpdfapi/cmaps/Japan1/cmaps_japan1.cpp",
451 "core/fpdfapi/cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp",
452 "core/fpdfapi/cmaps/Korea1/KSC-EUC-H_0.cpp",
453 "core/fpdfapi/cmaps/Korea1/KSC-EUC-V_0.cpp",
454 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-HW-H_1.cpp",
455 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-HW-V_1.cpp",
456 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-H_1.cpp",
457 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-V_1.cpp",
458 "core/fpdfapi/cmaps/Korea1/KSCpc-EUC-H_0.cpp",
459 "core/fpdfapi/cmaps/Korea1/UniKS-UCS2-H_1.cpp",
460 "core/fpdfapi/cmaps/Korea1/UniKS-UCS2-V_1.cpp",
461 "core/fpdfapi/cmaps/Korea1/UniKS-UTF16-H_0.cpp",
462 "core/fpdfapi/cmaps/Korea1/cmaps_korea1.cpp",
463 "core/fpdfapi/cmaps/cmap_int.h",
464 "core/fpdfapi/cmaps/fpdf_cmaps.cpp",
tsepezddffb572016-05-24 16:20:29 -0700465 "core/fpdfapi/cpdf_modulemgr.cpp",
dsinclair39c62fd2016-09-29 12:49:17 -0700466 "core/fpdfapi/cpdf_modulemgr.h",
weili9f515bc2016-07-24 08:08:24 -0700467 "core/fpdfapi/cpdf_pagerendercontext.cpp",
dsinclair39c62fd2016-09-29 12:49:17 -0700468 "core/fpdfapi/cpdf_pagerendercontext.h",
Dan Sinclaira0b19542017-05-09 12:36:08 -0400469 "core/fpdfapi/edit/cpdf_creator.cpp",
dsinclair24154352016-10-04 11:01:48 -0700470 "core/fpdfapi/edit/cpdf_creator.h",
Dan Sinclaira0b19542017-05-09 12:36:08 -0400471 "core/fpdfapi/edit/cpdf_encryptor.cpp",
472 "core/fpdfapi/edit/cpdf_encryptor.h",
473 "core/fpdfapi/edit/cpdf_flateencoder.cpp",
474 "core/fpdfapi/edit/cpdf_flateencoder.h",
dsinclair24154352016-10-04 11:01:48 -0700475 "core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp",
476 "core/fpdfapi/edit/cpdf_pagecontentgenerator.h",
Nicolas Pena169b3012017-05-26 14:38:03 -0400477 "core/fpdfapi/font/cfx_cttgsubtable.cpp",
478 "core/fpdfapi/font/cfx_cttgsubtable.h",
479 "core/fpdfapi/font/cfx_stockfontarray.cpp",
480 "core/fpdfapi/font/cfx_stockfontarray.h",
481 "core/fpdfapi/font/cpdf_cid2unicodemap.cpp",
482 "core/fpdfapi/font/cpdf_cid2unicodemap.h",
dsinclairbc5e6d22016-10-04 11:08:49 -0700483 "core/fpdfapi/font/cpdf_cidfont.cpp",
484 "core/fpdfapi/font/cpdf_cidfont.h",
Nicolas Pena169b3012017-05-26 14:38:03 -0400485 "core/fpdfapi/font/cpdf_cmap.cpp",
486 "core/fpdfapi/font/cpdf_cmap.h",
487 "core/fpdfapi/font/cpdf_cmapmanager.cpp",
488 "core/fpdfapi/font/cpdf_cmapmanager.h",
489 "core/fpdfapi/font/cpdf_cmapparser.cpp",
490 "core/fpdfapi/font/cpdf_cmapparser.h",
dsinclairbc5e6d22016-10-04 11:08:49 -0700491 "core/fpdfapi/font/cpdf_font.cpp",
492 "core/fpdfapi/font/cpdf_font.h",
493 "core/fpdfapi/font/cpdf_fontencoding.cpp",
494 "core/fpdfapi/font/cpdf_fontencoding.h",
Nicolas Pena169b3012017-05-26 14:38:03 -0400495 "core/fpdfapi/font/cpdf_fontglobals.cpp",
496 "core/fpdfapi/font/cpdf_fontglobals.h",
dsinclairbc5e6d22016-10-04 11:08:49 -0700497 "core/fpdfapi/font/cpdf_simplefont.cpp",
498 "core/fpdfapi/font/cpdf_simplefont.h",
Nicolas Pena169b3012017-05-26 14:38:03 -0400499 "core/fpdfapi/font/cpdf_tounicodemap.cpp",
500 "core/fpdfapi/font/cpdf_tounicodemap.h",
dsinclairbc5e6d22016-10-04 11:08:49 -0700501 "core/fpdfapi/font/cpdf_truetypefont.cpp",
502 "core/fpdfapi/font/cpdf_truetypefont.h",
503 "core/fpdfapi/font/cpdf_type1font.cpp",
504 "core/fpdfapi/font/cpdf_type1font.h",
505 "core/fpdfapi/font/cpdf_type3char.cpp",
506 "core/fpdfapi/font/cpdf_type3char.h",
507 "core/fpdfapi/font/cpdf_type3font.cpp",
508 "core/fpdfapi/font/cpdf_type3font.h",
dsinclair41872fa2016-10-04 11:29:35 -0700509 "core/fpdfapi/page/cpdf_allstates.cpp",
510 "core/fpdfapi/page/cpdf_allstates.h",
511 "core/fpdfapi/page/cpdf_clippath.cpp",
512 "core/fpdfapi/page/cpdf_clippath.h",
513 "core/fpdfapi/page/cpdf_color.cpp",
514 "core/fpdfapi/page/cpdf_color.h",
515 "core/fpdfapi/page/cpdf_colorspace.cpp",
516 "core/fpdfapi/page/cpdf_colorspace.h",
517 "core/fpdfapi/page/cpdf_colorstate.cpp",
518 "core/fpdfapi/page/cpdf_colorstate.h",
519 "core/fpdfapi/page/cpdf_contentmark.cpp",
520 "core/fpdfapi/page/cpdf_contentmark.h",
521 "core/fpdfapi/page/cpdf_contentmarkitem.cpp",
522 "core/fpdfapi/page/cpdf_contentmarkitem.h",
npm014b0122016-11-07 08:42:11 -0800523 "core/fpdfapi/page/cpdf_contentparser.cpp",
tsepez1aff2652016-11-22 10:45:59 -0800524 "core/fpdfapi/page/cpdf_contentparser.h",
dsinclair41872fa2016-10-04 11:29:35 -0700525 "core/fpdfapi/page/cpdf_countedobject.h",
Dan Sinclair5acacd32017-05-25 14:04:59 -0400526 "core/fpdfapi/page/cpdf_devicecs.cpp",
527 "core/fpdfapi/page/cpdf_devicecs.h",
tsepez9fa95ef2016-10-11 12:29:38 -0700528 "core/fpdfapi/page/cpdf_docpagedata.cpp",
529 "core/fpdfapi/page/cpdf_docpagedata.h",
Dan Sinclair5acacd32017-05-25 14:04:59 -0400530 "core/fpdfapi/page/cpdf_expintfunc.cpp",
531 "core/fpdfapi/page/cpdf_expintfunc.h",
dsinclair41872fa2016-10-04 11:29:35 -0700532 "core/fpdfapi/page/cpdf_form.cpp",
533 "core/fpdfapi/page/cpdf_form.h",
534 "core/fpdfapi/page/cpdf_formobject.cpp",
535 "core/fpdfapi/page/cpdf_formobject.h",
Dan Sinclair5acacd32017-05-25 14:04:59 -0400536 "core/fpdfapi/page/cpdf_function.cpp",
537 "core/fpdfapi/page/cpdf_function.h",
dsinclair41872fa2016-10-04 11:29:35 -0700538 "core/fpdfapi/page/cpdf_generalstate.cpp",
539 "core/fpdfapi/page/cpdf_generalstate.h",
540 "core/fpdfapi/page/cpdf_graphicstates.cpp",
541 "core/fpdfapi/page/cpdf_graphicstates.h",
Dan Sinclair5acacd32017-05-25 14:04:59 -0400542 "core/fpdfapi/page/cpdf_iccprofile.cpp",
543 "core/fpdfapi/page/cpdf_iccprofile.h",
dsinclair41872fa2016-10-04 11:29:35 -0700544 "core/fpdfapi/page/cpdf_image.cpp",
545 "core/fpdfapi/page/cpdf_image.h",
546 "core/fpdfapi/page/cpdf_imageobject.cpp",
547 "core/fpdfapi/page/cpdf_imageobject.h",
548 "core/fpdfapi/page/cpdf_meshstream.cpp",
549 "core/fpdfapi/page/cpdf_meshstream.h",
550 "core/fpdfapi/page/cpdf_page.cpp",
551 "core/fpdfapi/page/cpdf_page.h",
552 "core/fpdfapi/page/cpdf_pagemodule.cpp",
553 "core/fpdfapi/page/cpdf_pagemodule.h",
554 "core/fpdfapi/page/cpdf_pageobject.cpp",
555 "core/fpdfapi/page/cpdf_pageobject.h",
556 "core/fpdfapi/page/cpdf_pageobjectholder.cpp",
557 "core/fpdfapi/page/cpdf_pageobjectholder.h",
558 "core/fpdfapi/page/cpdf_pageobjectlist.cpp",
559 "core/fpdfapi/page/cpdf_pageobjectlist.h",
560 "core/fpdfapi/page/cpdf_path.cpp",
561 "core/fpdfapi/page/cpdf_path.h",
562 "core/fpdfapi/page/cpdf_pathobject.cpp",
563 "core/fpdfapi/page/cpdf_pathobject.h",
564 "core/fpdfapi/page/cpdf_pattern.cpp",
565 "core/fpdfapi/page/cpdf_pattern.h",
Dan Sinclair5acacd32017-05-25 14:04:59 -0400566 "core/fpdfapi/page/cpdf_patterncs.cpp",
567 "core/fpdfapi/page/cpdf_patterncs.h",
568 "core/fpdfapi/page/cpdf_psengine.cpp",
569 "core/fpdfapi/page/cpdf_psengine.h",
570 "core/fpdfapi/page/cpdf_psfunc.cpp",
571 "core/fpdfapi/page/cpdf_psfunc.h",
572 "core/fpdfapi/page/cpdf_sampledfunc.cpp",
573 "core/fpdfapi/page/cpdf_sampledfunc.h",
dsinclair41872fa2016-10-04 11:29:35 -0700574 "core/fpdfapi/page/cpdf_shadingobject.cpp",
575 "core/fpdfapi/page/cpdf_shadingobject.h",
576 "core/fpdfapi/page/cpdf_shadingpattern.cpp",
577 "core/fpdfapi/page/cpdf_shadingpattern.h",
Dan Sinclair5acacd32017-05-25 14:04:59 -0400578 "core/fpdfapi/page/cpdf_stitchfunc.cpp",
579 "core/fpdfapi/page/cpdf_stitchfunc.h",
tsepez271d9c02016-10-13 11:29:04 -0700580 "core/fpdfapi/page/cpdf_streamcontentparser.cpp",
581 "core/fpdfapi/page/cpdf_streamcontentparser.h",
npm014b0122016-11-07 08:42:11 -0800582 "core/fpdfapi/page/cpdf_streamparser.cpp",
tsepez1aff2652016-11-22 10:45:59 -0800583 "core/fpdfapi/page/cpdf_streamparser.h",
dsinclair41872fa2016-10-04 11:29:35 -0700584 "core/fpdfapi/page/cpdf_textobject.cpp",
585 "core/fpdfapi/page/cpdf_textobject.h",
586 "core/fpdfapi/page/cpdf_textstate.cpp",
587 "core/fpdfapi/page/cpdf_textstate.h",
588 "core/fpdfapi/page/cpdf_tilingpattern.cpp",
589 "core/fpdfapi/page/cpdf_tilingpattern.h",
dsinclair488b7ad2016-10-04 11:55:50 -0700590 "core/fpdfapi/parser/cfdf_document.cpp",
591 "core/fpdfapi/parser/cfdf_document.h",
592 "core/fpdfapi/parser/cpdf_array.cpp",
593 "core/fpdfapi/parser/cpdf_array.h",
594 "core/fpdfapi/parser/cpdf_boolean.cpp",
595 "core/fpdfapi/parser/cpdf_boolean.h",
Artem Strygin626c2a52017-11-02 19:59:38 +0000596 "core/fpdfapi/parser/cpdf_cross_ref_avail.cpp",
597 "core/fpdfapi/parser/cpdf_cross_ref_avail.h",
dsinclair488b7ad2016-10-04 11:55:50 -0700598 "core/fpdfapi/parser/cpdf_crypto_handler.cpp",
599 "core/fpdfapi/parser/cpdf_crypto_handler.h",
600 "core/fpdfapi/parser/cpdf_data_avail.cpp",
601 "core/fpdfapi/parser/cpdf_data_avail.h",
602 "core/fpdfapi/parser/cpdf_dictionary.cpp",
603 "core/fpdfapi/parser/cpdf_dictionary.h",
604 "core/fpdfapi/parser/cpdf_document.cpp",
605 "core/fpdfapi/parser/cpdf_document.h",
606 "core/fpdfapi/parser/cpdf_hint_tables.cpp",
607 "core/fpdfapi/parser/cpdf_hint_tables.h",
608 "core/fpdfapi/parser/cpdf_indirect_object_holder.cpp",
609 "core/fpdfapi/parser/cpdf_indirect_object_holder.h",
tsepezc09625c2016-11-07 11:46:09 -0800610 "core/fpdfapi/parser/cpdf_linearized_header.cpp",
611 "core/fpdfapi/parser/cpdf_linearized_header.h",
dsinclair488b7ad2016-10-04 11:55:50 -0700612 "core/fpdfapi/parser/cpdf_name.cpp",
613 "core/fpdfapi/parser/cpdf_name.h",
614 "core/fpdfapi/parser/cpdf_null.cpp",
615 "core/fpdfapi/parser/cpdf_null.h",
616 "core/fpdfapi/parser/cpdf_number.cpp",
617 "core/fpdfapi/parser/cpdf_number.h",
618 "core/fpdfapi/parser/cpdf_object.cpp",
619 "core/fpdfapi/parser/cpdf_object.h",
Artem Strygin304eefb2017-08-29 00:26:42 +0300620 "core/fpdfapi/parser/cpdf_object_avail.cpp",
621 "core/fpdfapi/parser/cpdf_object_avail.h",
Artem Stryginf57cad42017-08-14 23:35:52 +0300622 "core/fpdfapi/parser/cpdf_object_walker.cpp",
623 "core/fpdfapi/parser/cpdf_object_walker.h",
Artem Strygin304eefb2017-08-29 00:26:42 +0300624 "core/fpdfapi/parser/cpdf_page_object_avail.cpp",
625 "core/fpdfapi/parser/cpdf_page_object_avail.h",
dsinclair488b7ad2016-10-04 11:55:50 -0700626 "core/fpdfapi/parser/cpdf_parser.cpp",
627 "core/fpdfapi/parser/cpdf_parser.h",
Artem Strygin834ebec2017-07-27 14:01:32 +0300628 "core/fpdfapi/parser/cpdf_read_validator.cpp",
629 "core/fpdfapi/parser/cpdf_read_validator.h",
dsinclair488b7ad2016-10-04 11:55:50 -0700630 "core/fpdfapi/parser/cpdf_reference.cpp",
631 "core/fpdfapi/parser/cpdf_reference.h",
632 "core/fpdfapi/parser/cpdf_security_handler.cpp",
633 "core/fpdfapi/parser/cpdf_security_handler.h",
634 "core/fpdfapi/parser/cpdf_simple_parser.cpp",
635 "core/fpdfapi/parser/cpdf_simple_parser.h",
636 "core/fpdfapi/parser/cpdf_stream.cpp",
637 "core/fpdfapi/parser/cpdf_stream.h",
638 "core/fpdfapi/parser/cpdf_stream_acc.cpp",
639 "core/fpdfapi/parser/cpdf_stream_acc.h",
640 "core/fpdfapi/parser/cpdf_string.cpp",
641 "core/fpdfapi/parser/cpdf_string.h",
642 "core/fpdfapi/parser/cpdf_syntax_parser.cpp",
643 "core/fpdfapi/parser/cpdf_syntax_parser.h",
644 "core/fpdfapi/parser/fpdf_parser_decode.cpp",
645 "core/fpdfapi/parser/fpdf_parser_decode.h",
646 "core/fpdfapi/parser/fpdf_parser_utility.cpp",
647 "core/fpdfapi/parser/fpdf_parser_utility.h",
npm483f3c42016-11-17 13:50:44 -0800648 "core/fpdfapi/render/cpdf_charposlist.cpp",
649 "core/fpdfapi/render/cpdf_charposlist.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500650 "core/fpdfapi/render/cpdf_devicebuffer.cpp",
651 "core/fpdfapi/render/cpdf_devicebuffer.h",
Nicolas Pena0ef7ba02017-01-04 16:18:57 -0500652 "core/fpdfapi/render/cpdf_dibsource.cpp",
653 "core/fpdfapi/render/cpdf_dibsource.h",
npm4bed2af2016-12-02 14:01:36 -0800654 "core/fpdfapi/render/cpdf_dibtransferfunc.cpp",
655 "core/fpdfapi/render/cpdf_dibtransferfunc.h",
npm935c6312016-11-17 10:47:43 -0800656 "core/fpdfapi/render/cpdf_docrenderdata.cpp",
657 "core/fpdfapi/render/cpdf_docrenderdata.h",
npmd7ecb5f2016-12-01 15:37:42 -0800658 "core/fpdfapi/render/cpdf_imagecacheentry.cpp",
659 "core/fpdfapi/render/cpdf_imagecacheentry.h",
npmca5300a2016-11-21 07:28:42 -0800660 "core/fpdfapi/render/cpdf_imageloader.cpp",
661 "core/fpdfapi/render/cpdf_imageloader.h",
npm43f382c2016-11-23 07:35:23 -0800662 "core/fpdfapi/render/cpdf_imagerenderer.cpp",
663 "core/fpdfapi/render/cpdf_imagerenderer.h",
npmd7ecb5f2016-12-01 15:37:42 -0800664 "core/fpdfapi/render/cpdf_pagerendercache.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700665 "core/fpdfapi/render/cpdf_pagerendercache.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500666 "core/fpdfapi/render/cpdf_progressiverenderer.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700667 "core/fpdfapi/render/cpdf_progressiverenderer.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500668 "core/fpdfapi/render/cpdf_rendercontext.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700669 "core/fpdfapi/render/cpdf_rendercontext.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500670 "core/fpdfapi/render/cpdf_renderoptions.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700671 "core/fpdfapi/render/cpdf_renderoptions.h",
npm483f3c42016-11-17 13:50:44 -0800672 "core/fpdfapi/render/cpdf_renderstatus.cpp",
673 "core/fpdfapi/render/cpdf_renderstatus.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500674 "core/fpdfapi/render/cpdf_scaledrenderbuffer.cpp",
675 "core/fpdfapi/render/cpdf_scaledrenderbuffer.h",
npm4bed2af2016-12-02 14:01:36 -0800676 "core/fpdfapi/render/cpdf_textrenderer.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700677 "core/fpdfapi/render/cpdf_textrenderer.h",
npmca5300a2016-11-21 07:28:42 -0800678 "core/fpdfapi/render/cpdf_transferfunc.cpp",
679 "core/fpdfapi/render/cpdf_transferfunc.h",
dsinclair69d9c682016-10-04 12:18:35 -0700680 "core/fpdfapi/render/cpdf_type3cache.cpp",
681 "core/fpdfapi/render/cpdf_type3cache.h",
682 "core/fpdfapi/render/cpdf_type3glyphs.cpp",
683 "core/fpdfapi/render/cpdf_type3glyphs.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700684 ]
weili0abe6522016-06-06 14:41:22 -0700685 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700686 deps = [
687 ":fxcrt",
Lei Zhang61f2f482017-09-19 15:03:15 -0700688 "third_party:lcms2",
thestig73c48562016-09-06 14:07:17 -0700689 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700690}
691
Lei Zhang81a1ac42017-12-21 21:49:55 -0800692jumbo_static_library("fpdftext") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700693 sources = [
npm2d396ac2016-08-26 10:00:25 -0700694 "core/fpdftext/cpdf_linkextract.cpp",
dsinclaire0307862016-09-29 13:25:38 -0700695 "core/fpdftext/cpdf_linkextract.h",
npm2d396ac2016-08-26 10:00:25 -0700696 "core/fpdftext/cpdf_textpage.cpp",
dsinclaire0307862016-09-29 13:25:38 -0700697 "core/fpdftext/cpdf_textpage.h",
npm2d396ac2016-08-26 10:00:25 -0700698 "core/fpdftext/cpdf_textpagefind.cpp",
dsinclaire0307862016-09-29 13:25:38 -0700699 "core/fpdftext/cpdf_textpagefind.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400700 "core/fpdftext/unicodenormalizationdata.cpp",
701 "core/fpdftext/unicodenormalizationdata.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700702 ]
weili0abe6522016-06-06 14:41:22 -0700703 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700704 deps = [
705 ":fxcrt",
706 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700707}
708
Lei Zhang81a1ac42017-12-21 21:49:55 -0800709jumbo_static_library("fxcodec") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700710 sources = [
dsinclair8a4e2862016-09-29 13:43:30 -0700711 "core/fxcodec/JBig2_DocumentContext.h",
dsinclaird55e11e2016-04-12 11:21:22 -0700712 "core/fxcodec/codec/ccodec_basicmodule.h",
713 "core/fxcodec/codec/ccodec_faxmodule.h",
714 "core/fxcodec/codec/ccodec_flatemodule.h",
715 "core/fxcodec/codec/ccodec_iccmodule.h",
716 "core/fxcodec/codec/ccodec_jbig2module.h",
717 "core/fxcodec/codec/ccodec_jpegmodule.h",
718 "core/fxcodec/codec/ccodec_jpxmodule.h",
Lei Zhang4b8d3632017-09-19 14:18:48 -0700719 "core/fxcodec/codec/ccodec_scanlinedecoder.cpp",
dsinclaird55e11e2016-04-12 11:21:22 -0700720 "core/fxcodec/codec/ccodec_scanlinedecoder.h",
Dan Sinclair0bb13332017-03-30 16:12:02 -0400721 "core/fxcodec/codec/cjpx_decoder.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400722 "core/fxcodec/codec/codec_int.h",
723 "core/fxcodec/codec/fx_codec.cpp",
724 "core/fxcodec/codec/fx_codec_fax.cpp",
725 "core/fxcodec/codec/fx_codec_flate.cpp",
726 "core/fxcodec/codec/fx_codec_icc.cpp",
727 "core/fxcodec/codec/fx_codec_jbig.cpp",
728 "core/fxcodec/codec/fx_codec_jpeg.cpp",
729 "core/fxcodec/codec/fx_codec_jpx_opj.cpp",
dsinclair8a4e2862016-09-29 13:43:30 -0700730 "core/fxcodec/fx_codec.h",
731 "core/fxcodec/fx_codec_def.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400732 "core/fxcodec/jbig2/JBig2_ArithDecoder.cpp",
733 "core/fxcodec/jbig2/JBig2_ArithDecoder.h",
734 "core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp",
735 "core/fxcodec/jbig2/JBig2_ArithIntDecoder.h",
736 "core/fxcodec/jbig2/JBig2_BitStream.cpp",
737 "core/fxcodec/jbig2/JBig2_BitStream.h",
738 "core/fxcodec/jbig2/JBig2_Context.cpp",
739 "core/fxcodec/jbig2/JBig2_Context.h",
740 "core/fxcodec/jbig2/JBig2_Define.h",
741 "core/fxcodec/jbig2/JBig2_GrdProc.cpp",
742 "core/fxcodec/jbig2/JBig2_GrdProc.h",
743 "core/fxcodec/jbig2/JBig2_GrrdProc.cpp",
744 "core/fxcodec/jbig2/JBig2_GrrdProc.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400745 "core/fxcodec/jbig2/JBig2_HtrdProc.cpp",
746 "core/fxcodec/jbig2/JBig2_HtrdProc.h",
747 "core/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp",
748 "core/fxcodec/jbig2/JBig2_HuffmanDecoder.h",
749 "core/fxcodec/jbig2/JBig2_HuffmanTable.cpp",
750 "core/fxcodec/jbig2/JBig2_HuffmanTable.h",
Tom Sepez4161c5c2016-03-21 12:26:54 -0700751 "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400752 "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h",
753 "core/fxcodec/jbig2/JBig2_Image.cpp",
754 "core/fxcodec/jbig2/JBig2_Image.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400755 "core/fxcodec/jbig2/JBig2_Page.h",
756 "core/fxcodec/jbig2/JBig2_PatternDict.cpp",
757 "core/fxcodec/jbig2/JBig2_PatternDict.h",
758 "core/fxcodec/jbig2/JBig2_PddProc.cpp",
759 "core/fxcodec/jbig2/JBig2_PddProc.h",
760 "core/fxcodec/jbig2/JBig2_SddProc.cpp",
761 "core/fxcodec/jbig2/JBig2_SddProc.h",
762 "core/fxcodec/jbig2/JBig2_Segment.cpp",
763 "core/fxcodec/jbig2/JBig2_Segment.h",
764 "core/fxcodec/jbig2/JBig2_SymbolDict.cpp",
765 "core/fxcodec/jbig2/JBig2_SymbolDict.h",
766 "core/fxcodec/jbig2/JBig2_TrdProc.cpp",
767 "core/fxcodec/jbig2/JBig2_TrdProc.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700768 ]
thestig73c48562016-09-06 14:07:17 -0700769 configs += [ ":pdfium_core_config" ]
Lei Zhang8241df72015-11-06 14:38:48 -0800770 include_dirs = []
thestig73c48562016-09-06 14:07:17 -0700771 deps = [
772 ":fxcrt",
thestig73c48562016-09-06 14:07:17 -0700773 "third_party:fx_libopenjpeg",
Miklos Vajna0fafb4f2017-05-24 08:40:49 +0200774 "third_party:lcms2",
Miklos Vajna2df760f2017-05-06 01:54:54 +0200775 "third_party:zlib",
thestig73c48562016-09-06 14:07:17 -0700776 "//third_party:jpeg",
777 ]
778
Tom Sepezd2e023b2015-12-08 14:36:16 -0800779 if (pdf_enable_xfa) {
780 sources += [
Ryan Harrisonb5a2d142018-02-06 16:55:14 +0000781 "core/fxcodec/bmp/cfx_bmpcontext.cpp",
782 "core/fxcodec/bmp/cfx_bmpcontext.h",
783 "core/fxcodec/bmp/cfx_bmpdecompressor.cpp",
784 "core/fxcodec/bmp/cfx_bmpdecompressor.h",
Ryan Harrisonb1051522018-02-06 15:31:04 +0000785 "core/fxcodec/bmp/fx_bmp.cpp",
786 "core/fxcodec/bmp/fx_bmp.h",
Tom Sepez73c9f3b2017-02-27 10:12:59 -0800787 "core/fxcodec/codec/ccodec_bmpmodule.cpp",
dsinclaird55e11e2016-04-12 11:21:22 -0700788 "core/fxcodec/codec/ccodec_bmpmodule.h",
Tom Sepez73c9f3b2017-02-27 10:12:59 -0800789 "core/fxcodec/codec/ccodec_gifmodule.cpp",
dsinclaird55e11e2016-04-12 11:21:22 -0700790 "core/fxcodec/codec/ccodec_gifmodule.h",
dsinclair8a4e2862016-09-29 13:43:30 -0700791 "core/fxcodec/codec/ccodec_progressivedecoder.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400792 "core/fxcodec/codec/fx_codec_progress.cpp",
Ryan Harrison36a155d2017-09-27 15:39:26 -0400793 "core/fxcodec/gif/cfx_gif.cpp",
794 "core/fxcodec/gif/cfx_gif.h",
795 "core/fxcodec/gif/cfx_gifcontext.cpp",
796 "core/fxcodec/gif/cfx_gifcontext.h",
797 "core/fxcodec/gif/cfx_lzwdecompressor.cpp",
798 "core/fxcodec/gif/cfx_lzwdecompressor.h",
Tom Sepezd2e023b2015-12-08 14:36:16 -0800799 ]
Ryan Harrisond5d48452018-05-09 20:31:12 +0000800 if (pdf_enable_xfa_png) {
801 sources += [
802 "core/fxcodec/codec/ccodec_pngmodule.cpp",
803 "core/fxcodec/codec/ccodec_pngmodule.h",
804 ]
805 deps += [ "third_party:png" ]
806 }
Ryan Harrison27924e62018-05-09 14:42:42 +0000807 if (pdf_enable_xfa_tiff) {
808 sources += [
809 "core/fxcodec/codec/ccodec_tiffmodule.cpp",
810 "core/fxcodec/codec/ccodec_tiffmodule.h",
811 ]
812 deps += [ "third_party:fx_tiff" ]
813 }
Tom Sepezd2e023b2015-12-08 14:36:16 -0800814 }
Fabrice de Gans-Riberi8d970f72018-04-04 18:27:21 +0000815 if (is_posix || is_fuchsia) {
Dan Sinclair764ec512016-03-14 13:35:12 -0400816 # core/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int
John Abd-El-Malekdef5c7d2014-06-09 16:07:18 -0700817 # conversion to check that an address is 16-bit aligned (benign).
818 cflags_c = [ "-Wno-pointer-to-int-cast" ]
819 }
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400820}
821
822config("fxge_warnings") {
823 if (is_clang) {
824 cflags = [
825 # http://code.google.com/p/pdfium/issues/detail?id=188
826 "-Wno-switch",
827 ]
828 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700829}
830
Lei Zhang7981d152018-01-11 14:26:01 +0000831jumbo_static_library("fxcrt") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700832 sources = [
Dan Sinclairb8966992017-09-21 14:51:57 -0400833 "core/fxcrt/autorestorer.h",
Ryan Harrison275e2602017-09-18 14:23:18 -0400834 "core/fxcrt/bytestring.cpp",
835 "core/fxcrt/bytestring.h",
Dan Sinclaircd071232017-08-30 16:21:36 -0400836 "core/fxcrt/cfx_binarybuf.cpp",
837 "core/fxcrt/cfx_binarybuf.h",
Dan Sinclairccd5be02017-08-30 13:23:44 -0400838 "core/fxcrt/cfx_bitstream.cpp",
839 "core/fxcrt/cfx_bitstream.h",
Jane Liu54a42142017-07-24 16:40:54 -0400840 "core/fxcrt/cfx_datetime.cpp",
841 "core/fxcrt/cfx_datetime.h",
Dan Sinclair1e8dd542017-08-31 16:31:47 -0400842 "core/fxcrt/cfx_fileaccess_posix.cpp",
843 "core/fxcrt/cfx_fileaccess_posix.h",
844 "core/fxcrt/cfx_fileaccess_windows.cpp",
845 "core/fxcrt/cfx_fileaccess_windows.h",
Dan Sinclair4793f342017-08-30 16:44:57 -0400846 "core/fxcrt/cfx_fixedbufgrow.h",
Dan Sinclair283a0432017-04-20 14:11:21 -0400847 "core/fxcrt/cfx_memorystream.cpp",
848 "core/fxcrt/cfx_memorystream.h",
Ryan Harrisonccf206a2017-11-14 16:05:53 +0000849 "core/fxcrt/cfx_seekablemultistream.cpp",
850 "core/fxcrt/cfx_seekablemultistream.h",
dan sinclair19ae9bf2018-04-16 16:54:27 +0000851 "core/fxcrt/cfx_seekablestreamproxy.cpp",
852 "core/fxcrt/cfx_seekablestreamproxy.h",
Dan Sinclair5624fe32017-08-30 16:13:01 -0400853 "core/fxcrt/cfx_utf8decoder.cpp",
854 "core/fxcrt/cfx_utf8decoder.h",
Dan Sinclaira94566f2017-08-30 16:36:53 -0400855 "core/fxcrt/cfx_widetextbuf.cpp",
856 "core/fxcrt/cfx_widetextbuf.h",
Dan Sinclaira32145f2018-03-06 18:53:05 +0000857 "core/fxcrt/fileaccess_iface.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400858 "core/fxcrt/fx_bidi.cpp",
Dan Sinclaira8a28e02016-03-23 15:41:39 -0400859 "core/fxcrt/fx_bidi.h",
Tom Sepezaff0dfd2018-05-07 21:32:10 +0000860 "core/fxcrt/fx_codepage.cpp",
Dan Sinclairf51a02a2017-04-19 12:46:53 -0400861 "core/fxcrt/fx_codepage.h",
Tom Sepez63022882017-04-25 10:29:58 -0700862 "core/fxcrt/fx_coordinates.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700863 "core/fxcrt/fx_coordinates.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400864 "core/fxcrt/fx_extension.cpp",
Dan Sinclaircfb19442017-04-20 13:13:04 -0400865 "core/fxcrt/fx_extension.h",
Tom Sepeza9deea92017-04-25 10:37:47 -0700866 "core/fxcrt/fx_memory.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700867 "core/fxcrt/fx_memory.h",
Dan Sinclair6c902e62017-09-05 13:22:36 -0400868 "core/fxcrt/fx_random.cpp",
869 "core/fxcrt/fx_random.h",
dsinclaira52ab742016-09-29 13:59:29 -0700870 "core/fxcrt/fx_safe_types.h",
Dan Sinclaircfb19442017-04-20 13:13:04 -0400871 "core/fxcrt/fx_stream.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700872 "core/fxcrt/fx_stream.h",
Dan Sinclair0872b042017-08-31 15:50:25 -0400873 "core/fxcrt/fx_string.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700874 "core/fxcrt/fx_string.h",
Tom Sepez9ff306d2017-04-24 15:55:11 -0700875 "core/fxcrt/fx_system.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700876 "core/fxcrt/fx_system.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400877 "core/fxcrt/fx_ucddata.cpp",
Tom Sepez740bcd82017-09-01 12:40:05 -0700878 "core/fxcrt/fx_ucddata.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400879 "core/fxcrt/fx_unicode.cpp",
Tom Sepez740bcd82017-09-01 12:40:05 -0700880 "core/fxcrt/fx_unicode.h",
Dan Sinclairde44d152017-09-21 14:52:41 -0400881 "core/fxcrt/maybe_owned.h",
Dan Sinclair65ecca42017-09-21 15:25:32 -0400882 "core/fxcrt/observable.h",
Dan Sinclaira32145f2018-03-06 18:53:05 +0000883 "core/fxcrt/pauseindicator_iface.h",
Dan Sinclair0b950422017-09-21 15:49:49 -0400884 "core/fxcrt/retain_ptr.h",
Dan Sinclair9317f8f2017-09-21 16:19:19 -0400885 "core/fxcrt/shared_copy_on_write.h",
Dan Sinclair20a17552017-09-21 16:35:56 -0400886 "core/fxcrt/string_data_template.h",
Dan Sinclair8e9e3d82017-09-21 16:49:32 -0400887 "core/fxcrt/string_pool_template.h",
Ryan Harrison275e2602017-09-18 14:23:18 -0400888 "core/fxcrt/string_view_template.h",
Dan Sinclairaee0db02017-09-21 16:53:58 -0400889 "core/fxcrt/unowned_ptr.h",
Dan Sinclairb872a932017-09-21 17:05:15 -0400890 "core/fxcrt/weak_ptr.h",
Ryan Harrison275e2602017-09-18 14:23:18 -0400891 "core/fxcrt/widestring.cpp",
892 "core/fxcrt/widestring.h",
dan sinclair19ae9bf2018-04-16 16:54:27 +0000893 "core/fxcrt/xml/cfx_xmlchardata.cpp",
894 "core/fxcrt/xml/cfx_xmlchardata.h",
Dan Sinclair70180642018-05-02 16:02:03 +0000895 "core/fxcrt/xml/cfx_xmldocument.cpp",
896 "core/fxcrt/xml/cfx_xmldocument.h",
dan sinclair19ae9bf2018-04-16 16:54:27 +0000897 "core/fxcrt/xml/cfx_xmlelement.cpp",
898 "core/fxcrt/xml/cfx_xmlelement.h",
899 "core/fxcrt/xml/cfx_xmlinstruction.cpp",
900 "core/fxcrt/xml/cfx_xmlinstruction.h",
901 "core/fxcrt/xml/cfx_xmlnode.cpp",
902 "core/fxcrt/xml/cfx_xmlnode.h",
903 "core/fxcrt/xml/cfx_xmlparser.cpp",
904 "core/fxcrt/xml/cfx_xmlparser.h",
905 "core/fxcrt/xml/cfx_xmltext.cpp",
906 "core/fxcrt/xml/cfx_xmltext.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700907 ]
thestigc65e11e2016-08-30 21:56:33 -0700908 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700909 visibility += [ "third_party:*" ]
910 deps = [
911 "third_party:pdfium_base",
912 ]
913 public_deps = [
Dominik Röttsches4b0671a2017-03-30 11:07:43 +0300914 ":freetype_common",
thestig73c48562016-09-06 14:07:17 -0700915 "third_party:pdfium_base",
Ryan Harrison15c0fcc2018-03-12 15:20:04 +0000916 "//third_party/icu:icuuc",
thestig73c48562016-09-06 14:07:17 -0700917 ]
thestigc65e11e2016-08-30 21:56:33 -0700918
Tom Sepezd2e023b2015-12-08 14:36:16 -0800919 if (pdf_enable_xfa) {
920 sources += [
Dan Sinclair893822a2017-03-13 15:32:07 -0400921 "core/fxcrt/cfx_char.cpp",
922 "core/fxcrt/cfx_char.h",
Dan Sinclairb929ab02017-03-29 15:18:16 -0400923 "core/fxcrt/cfx_decimal.cpp",
924 "core/fxcrt/cfx_decimal.h",
Dan Sinclair9f0e85a2017-08-08 13:23:24 -0400925 "core/fxcrt/css/cfx_css.h",
926 "core/fxcrt/css/cfx_csscolorvalue.cpp",
927 "core/fxcrt/css/cfx_csscolorvalue.h",
928 "core/fxcrt/css/cfx_csscomputedstyle.cpp",
929 "core/fxcrt/css/cfx_csscomputedstyle.h",
930 "core/fxcrt/css/cfx_csscustomproperty.cpp",
931 "core/fxcrt/css/cfx_csscustomproperty.h",
Ryan Harrison55c62a42018-02-01 17:46:34 +0000932 "core/fxcrt/css/cfx_cssdata.cpp",
933 "core/fxcrt/css/cfx_cssdata.h",
Dan Sinclair9f0e85a2017-08-08 13:23:24 -0400934 "core/fxcrt/css/cfx_cssdeclaration.cpp",
935 "core/fxcrt/css/cfx_cssdeclaration.h",
936 "core/fxcrt/css/cfx_cssenumvalue.cpp",
937 "core/fxcrt/css/cfx_cssenumvalue.h",
938 "core/fxcrt/css/cfx_cssexttextbuf.cpp",
939 "core/fxcrt/css/cfx_cssexttextbuf.h",
940 "core/fxcrt/css/cfx_cssnumbervalue.cpp",
941 "core/fxcrt/css/cfx_cssnumbervalue.h",
942 "core/fxcrt/css/cfx_csspropertyholder.cpp",
943 "core/fxcrt/css/cfx_csspropertyholder.h",
944 "core/fxcrt/css/cfx_cssrulecollection.cpp",
945 "core/fxcrt/css/cfx_cssrulecollection.h",
946 "core/fxcrt/css/cfx_cssselector.cpp",
947 "core/fxcrt/css/cfx_cssselector.h",
948 "core/fxcrt/css/cfx_cssstringvalue.cpp",
949 "core/fxcrt/css/cfx_cssstringvalue.h",
950 "core/fxcrt/css/cfx_cssstylerule.cpp",
951 "core/fxcrt/css/cfx_cssstylerule.h",
952 "core/fxcrt/css/cfx_cssstyleselector.cpp",
953 "core/fxcrt/css/cfx_cssstyleselector.h",
954 "core/fxcrt/css/cfx_cssstylesheet.cpp",
955 "core/fxcrt/css/cfx_cssstylesheet.h",
956 "core/fxcrt/css/cfx_csssyntaxparser.cpp",
957 "core/fxcrt/css/cfx_csssyntaxparser.h",
958 "core/fxcrt/css/cfx_csstextbuf.cpp",
959 "core/fxcrt/css/cfx_csstextbuf.h",
960 "core/fxcrt/css/cfx_cssvalue.cpp",
961 "core/fxcrt/css/cfx_cssvalue.h",
962 "core/fxcrt/css/cfx_cssvaluelist.cpp",
963 "core/fxcrt/css/cfx_cssvaluelist.h",
964 "core/fxcrt/css/cfx_cssvaluelistparser.cpp",
965 "core/fxcrt/css/cfx_cssvaluelistparser.h",
pcce3bbfa22016-04-19 12:40:07 -0700966 "core/fxcrt/fx_arabic.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700967 "core/fxcrt/fx_arabic.h",
Dan Sinclaira32145f2018-03-06 18:53:05 +0000968 "core/fxcrt/locale_iface.h",
Tom Sepezd2e023b2015-12-08 14:36:16 -0800969 ]
970 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700971}
972
Lei Zhang27d718e2018-01-18 21:51:17 +0000973jumbo_static_library("fxge") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700974 sources = [
Lei Zhang19319b72017-08-17 01:31:18 -0700975 "core/fxge/android/cfpf_skiabufferfont.cpp",
npmcfcc11e2016-10-25 14:26:39 -0700976 "core/fxge/android/cfpf_skiabufferfont.h",
977 "core/fxge/android/cfpf_skiadevicemodule.cpp",
978 "core/fxge/android/cfpf_skiadevicemodule.h",
Lei Zhang19319b72017-08-17 01:31:18 -0700979 "core/fxge/android/cfpf_skiafilefont.cpp",
npmcfcc11e2016-10-25 14:26:39 -0700980 "core/fxge/android/cfpf_skiafilefont.h",
981 "core/fxge/android/cfpf_skiafont.cpp",
982 "core/fxge/android/cfpf_skiafont.h",
Lei Zhang19319b72017-08-17 01:31:18 -0700983 "core/fxge/android/cfpf_skiafontdescriptor.cpp",
npmcfcc11e2016-10-25 14:26:39 -0700984 "core/fxge/android/cfpf_skiafontdescriptor.h",
npm83828032016-10-21 11:56:53 -0700985 "core/fxge/android/cfpf_skiafontmgr.cpp",
npmcfcc11e2016-10-25 14:26:39 -0700986 "core/fxge/android/cfpf_skiafontmgr.h",
Lei Zhang19319b72017-08-17 01:31:18 -0700987 "core/fxge/android/cfpf_skiapathfont.cpp",
npmcfcc11e2016-10-25 14:26:39 -0700988 "core/fxge/android/cfpf_skiapathfont.h",
989 "core/fxge/android/cfx_androidfontinfo.cpp",
990 "core/fxge/android/cfx_androidfontinfo.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400991 "core/fxge/android/fx_android_imp.cpp",
Dan Sinclair92e22762017-07-10 15:14:26 -0400992 "core/fxge/cfx_cliprgn.cpp",
993 "core/fxge/cfx_cliprgn.h",
Dan Sinclair7f55a542017-07-13 14:17:10 -0400994 "core/fxge/cfx_color.cpp",
995 "core/fxge/cfx_color.h",
Dan Sinclaira5085d42017-05-11 16:26:50 -0400996 "core/fxge/cfx_defaultrenderdevice.h",
Dan Sinclair92e22762017-07-10 15:14:26 -0400997 "core/fxge/cfx_facecache.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -0700998 "core/fxge/cfx_facecache.h",
Dan Sinclair92e22762017-07-10 15:14:26 -0400999 "core/fxge/cfx_folderfontinfo.cpp",
1000 "core/fxge/cfx_folderfontinfo.h",
1001 "core/fxge/cfx_font.cpp",
1002 "core/fxge/cfx_fontcache.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001003 "core/fxge/cfx_fontcache.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001004 "core/fxge/cfx_fontmapper.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001005 "core/fxge/cfx_fontmapper.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001006 "core/fxge/cfx_fontmgr.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001007 "core/fxge/cfx_fontmgr.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001008 "core/fxge/cfx_gemodule.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001009 "core/fxge/cfx_gemodule.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001010 "core/fxge/cfx_graphstate.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001011 "core/fxge/cfx_graphstate.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001012 "core/fxge/cfx_graphstatedata.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001013 "core/fxge/cfx_graphstatedata.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001014 "core/fxge/cfx_pathdata.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001015 "core/fxge/cfx_pathdata.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001016 "core/fxge/cfx_renderdevice.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001017 "core/fxge/cfx_renderdevice.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001018 "core/fxge/cfx_substfont.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001019 "core/fxge/cfx_substfont.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001020 "core/fxge/cfx_unicodeencoding.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001021 "core/fxge/cfx_unicodeencoding.h",
Dan Sinclaira5085d42017-05-11 16:26:50 -04001022 "core/fxge/cfx_windowsrenderdevice.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001023 "core/fxge/cttfontdesc.cpp",
1024 "core/fxge/cttfontdesc.h",
Nicolas Pena0c972eb2017-04-03 13:43:52 -04001025 "core/fxge/dib/cfx_bitmapcomposer.cpp",
1026 "core/fxge/dib/cfx_bitmapcomposer.h",
1027 "core/fxge/dib/cfx_bitmapstorer.cpp",
1028 "core/fxge/dib/cfx_bitmapstorer.h",
Nicolas Pena192e4d92017-04-03 12:48:00 -04001029 "core/fxge/dib/cfx_dibextractor.cpp",
1030 "core/fxge/dib/cfx_dibextractor.h",
1031 "core/fxge/dib/cfx_dibitmap.cpp",
Nicolas Penafc715c32017-03-31 10:22:11 -04001032 "core/fxge/dib/cfx_dibitmap.h",
1033 "core/fxge/dib/cfx_dibsource.cpp",
1034 "core/fxge/dib/cfx_dibsource.h",
Nicolas Penaac66da22017-03-31 14:38:21 -04001035 "core/fxge/dib/cfx_filtereddib.cpp",
Nicolas Penafc715c32017-03-31 10:22:11 -04001036 "core/fxge/dib/cfx_filtereddib.h",
Nicolas Penabdbb0bd2017-03-31 15:39:44 -04001037 "core/fxge/dib/cfx_imagerenderer.cpp",
1038 "core/fxge/dib/cfx_imagerenderer.h",
Nicolas Pena0c972eb2017-04-03 13:43:52 -04001039 "core/fxge/dib/cfx_imagestretcher.cpp",
1040 "core/fxge/dib/cfx_imagestretcher.h",
Nicolas Penabdbb0bd2017-03-31 15:39:44 -04001041 "core/fxge/dib/cfx_imagetransformer.cpp",
1042 "core/fxge/dib/cfx_imagetransformer.h",
Nicolas Penaac66da22017-03-31 14:38:21 -04001043 "core/fxge/dib/cfx_scanlinecompositor.cpp",
1044 "core/fxge/dib/cfx_scanlinecompositor.h",
Nicolas Pena236ce3b2017-04-04 17:47:50 -04001045 "core/fxge/dib/cstretchengine.cpp",
1046 "core/fxge/dib/cstretchengine.h",
Dan Sinclair764ec512016-03-14 13:35:12 -04001047 "core/fxge/dib/fx_dib_main.cpp",
Dan Sinclairf8af5652018-03-06 18:56:33 +00001048 "core/fxge/dib/scanlinecomposer_iface.h",
Dan Sinclair764ec512016-03-14 13:35:12 -04001049 "core/fxge/fontdata/chromefontdata/FoxitDingbats.cpp",
1050 "core/fxge/fontdata/chromefontdata/FoxitFixed.cpp",
1051 "core/fxge/fontdata/chromefontdata/FoxitFixedBold.cpp",
1052 "core/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.cpp",
1053 "core/fxge/fontdata/chromefontdata/FoxitFixedItalic.cpp",
1054 "core/fxge/fontdata/chromefontdata/FoxitSans.cpp",
1055 "core/fxge/fontdata/chromefontdata/FoxitSansBold.cpp",
1056 "core/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.cpp",
1057 "core/fxge/fontdata/chromefontdata/FoxitSansItalic.cpp",
1058 "core/fxge/fontdata/chromefontdata/FoxitSansMM.cpp",
1059 "core/fxge/fontdata/chromefontdata/FoxitSerif.cpp",
1060 "core/fxge/fontdata/chromefontdata/FoxitSerifBold.cpp",
1061 "core/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.cpp",
1062 "core/fxge/fontdata/chromefontdata/FoxitSerifItalic.cpp",
1063 "core/fxge/fontdata/chromefontdata/FoxitSerifMM.cpp",
1064 "core/fxge/fontdata/chromefontdata/FoxitSymbol.cpp",
1065 "core/fxge/fontdata/chromefontdata/chromefontdata.h",
1066 "core/fxge/freetype/fx_freetype.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001067 "core/fxge/fx_dib.h",
1068 "core/fxge/fx_font.h",
1069 "core/fxge/fx_freetype.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001070 "core/fxge/fx_ge_fontmap.cpp",
1071 "core/fxge/fx_ge_linux.cpp",
1072 "core/fxge/fx_ge_text.cpp",
Dan Sinclairf8af5652018-03-06 18:56:33 +00001073 "core/fxge/renderdevicedriver_iface.cpp",
1074 "core/fxge/renderdevicedriver_iface.h",
1075 "core/fxge/systemfontinfo_iface.h",
npm74847622016-07-29 15:20:25 -07001076 "core/fxge/win32/cfx_windowsdib.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001077 ]
1078
Dan Sinclairbc6c6722015-10-22 14:58:54 -04001079 configs += [
Lei Zhang7b16ba52015-10-26 17:06:53 -07001080 ":fxge_warnings",
weili0abe6522016-06-06 14:41:22 -07001081 ":pdfium_core_config",
Dan Sinclairbc6c6722015-10-22 14:58:54 -04001082 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001083
thestig73c48562016-09-06 14:07:17 -07001084 deps = [
1085 ":fxcrt",
1086 ]
1087
Bruce Dawsonaeac9512017-08-12 21:45:12 -07001088 if (is_component_build || use_system_freetype) {
Bruce Dawsond27998f2017-08-10 16:07:07 -07001089 # ft_adobe_glyph_list is not exported from the Freetype shared library so we
Bruce Dawsonaeac9512017-08-12 21:45:12 -07001090 # need it defined in component builds and builds using system freetype.
Andrew Weintraub5a21af62018-01-24 23:54:02 +00001091 defines = [ "DEFINE_PS_TABLES_DATA" ]
Bruce Dawsond27998f2017-08-10 16:07:07 -07001092 }
Lei Zhang3de50052017-03-29 21:02:13 -07001093
npm1a8946b2016-08-18 10:55:29 -07001094 if (pdf_enable_xfa) {
1095 sources += [
Dan Sinclair92e22762017-07-10 15:14:26 -04001096 "core/fxge/cfx_unicodeencodingex.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001097 "core/fxge/cfx_unicodeencodingex.h",
npm1a8946b2016-08-18 10:55:29 -07001098 ]
1099 }
1100
caryclarkaf177fe2016-11-16 10:10:03 -08001101 if (pdf_use_skia || pdf_use_skia_paths) {
Cary Clark59b3a482016-03-17 12:00:39 -04001102 sources += [ "core/fxge/skia/fx_skia_device.cpp" ]
thestig73c48562016-09-06 14:07:17 -07001103 deps += [ "//skia" ]
caryclark749c14c2016-05-19 07:01:03 -07001104 } else {
1105 sources += [
1106 "core/fxge/agg/fx_agg_driver.cpp",
1107 "core/fxge/agg/fx_agg_driver.h",
1108 ]
thestig73c48562016-09-06 14:07:17 -07001109 deps += [ "third_party:fx_agg" ]
Dan Sinclair72a39ce2017-03-21 16:44:03 -04001110 }
npma97fc7c2016-11-07 08:50:04 -08001111
Dan Sinclair72a39ce2017-03-21 16:44:03 -04001112 if (is_mac) {
1113 sources += [ "core/fxge/apple/fx_apple_platform.cpp" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001114 }
1115
1116 if (is_win) {
1117 sources += [
rbpotter8d94b662017-01-06 08:10:18 -08001118 "core/fxge/win32/cfx_psrenderer.cpp",
1119 "core/fxge/win32/cfx_psrenderer.h",
1120 "core/fxge/win32/cpsoutput.cpp",
1121 "core/fxge/win32/cpsoutput.h",
Dan Sinclair764ec512016-03-14 13:35:12 -04001122 "core/fxge/win32/fx_win32_device.cpp",
1123 "core/fxge/win32/fx_win32_dib.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001124 "core/fxge/win32/fx_win32_gdipext.cpp",
1125 "core/fxge/win32/fx_win32_print.cpp",
1126 "core/fxge/win32/win32_int.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001127 ]
Tom Sepez465ed872015-12-09 14:55:41 -08001128 configs -= [ "//build/config/win:lean_and_mean" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001129 }
npma97fc7c2016-11-07 08:50:04 -08001130
1131 if (is_mac) {
1132 sources += [
1133 "core/fxge/apple/apple_int.h",
1134 "core/fxge/apple/fx_mac_imp.cpp",
1135 "core/fxge/apple/fx_quartz_device.cpp",
1136 ]
1137 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001138}
1139
Lei Zhang27d718e2018-01-18 21:51:17 +00001140jumbo_static_library("pwl") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001141 sources = [
Dan Sinclairc411eb92017-07-25 09:39:30 -04001142 "fpdfsdk/pwl/cpwl_appstream.cpp",
1143 "fpdfsdk/pwl/cpwl_appstream.h",
1144 "fpdfsdk/pwl/cpwl_button.cpp",
1145 "fpdfsdk/pwl/cpwl_button.h",
1146 "fpdfsdk/pwl/cpwl_caret.cpp",
1147 "fpdfsdk/pwl/cpwl_caret.h",
1148 "fpdfsdk/pwl/cpwl_combo_box.cpp",
1149 "fpdfsdk/pwl/cpwl_combo_box.h",
1150 "fpdfsdk/pwl/cpwl_edit.cpp",
1151 "fpdfsdk/pwl/cpwl_edit.h",
1152 "fpdfsdk/pwl/cpwl_edit_ctrl.cpp",
1153 "fpdfsdk/pwl/cpwl_edit_ctrl.h",
1154 "fpdfsdk/pwl/cpwl_edit_impl.cpp",
1155 "fpdfsdk/pwl/cpwl_edit_impl.h",
1156 "fpdfsdk/pwl/cpwl_font_map.cpp",
1157 "fpdfsdk/pwl/cpwl_font_map.h",
1158 "fpdfsdk/pwl/cpwl_icon.cpp",
1159 "fpdfsdk/pwl/cpwl_icon.h",
1160 "fpdfsdk/pwl/cpwl_list_box.cpp",
1161 "fpdfsdk/pwl/cpwl_list_box.h",
1162 "fpdfsdk/pwl/cpwl_list_impl.cpp",
1163 "fpdfsdk/pwl/cpwl_list_impl.h",
1164 "fpdfsdk/pwl/cpwl_scroll_bar.cpp",
1165 "fpdfsdk/pwl/cpwl_scroll_bar.h",
1166 "fpdfsdk/pwl/cpwl_special_button.cpp",
1167 "fpdfsdk/pwl/cpwl_special_button.h",
1168 "fpdfsdk/pwl/cpwl_timer.cpp",
1169 "fpdfsdk/pwl/cpwl_timer.h",
1170 "fpdfsdk/pwl/cpwl_timer_handler.cpp",
1171 "fpdfsdk/pwl/cpwl_timer_handler.h",
1172 "fpdfsdk/pwl/cpwl_wnd.cpp",
1173 "fpdfsdk/pwl/cpwl_wnd.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001174 ]
weili0abe6522016-06-06 14:41:22 -07001175 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -07001176 deps = [
1177 ":fxcrt",
1178 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001179}
1180
Lei Zhang81a1ac42017-12-21 21:49:55 -08001181jumbo_static_library("fxjs") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001182 sources = [
Tom Sepeza1fe7322018-04-18 22:48:22 +00001183 "fxjs/cjs_event_context_stub.cpp",
1184 "fxjs/cjs_event_context_stub.h",
1185 "fxjs/cjs_runtimestub.cpp",
1186 "fxjs/cjs_runtimestub.h",
Dan Sinclaire0345a42017-10-30 20:20:42 +00001187 "fxjs/ijs_event_context.h",
Tom Sepeza1fe7322018-04-18 22:48:22 +00001188 "fxjs/ijs_runtime.cpp",
Dan Sinclaire0345a42017-10-30 20:20:42 +00001189 "fxjs/ijs_runtime.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001190 ]
thestig73c48562016-09-06 14:07:17 -07001191 configs += [ ":pdfium_core_config" ]
1192 deps = [
1193 ":fxcrt",
1194 ]
1195
Tom Sepez452b4f32015-10-13 09:27:27 -07001196 if (pdf_enable_v8) {
1197 sources += [
Dan Sinclair93bb7252017-12-07 22:33:43 +00001198 "fxjs/CJX_Define.h",
Dan Sinclaire0345a42017-10-30 20:20:42 +00001199 "fxjs/JS_Define.cpp",
1200 "fxjs/JS_Define.h",
Tom Sepeze0518bf2018-02-08 21:44:59 +00001201 "fxjs/cfx_v8.cpp",
1202 "fxjs/cfx_v8.h",
Tom Sepezb7c7df62018-02-09 19:08:59 +00001203 "fxjs/cfxjs_engine.cpp",
1204 "fxjs/cfxjs_engine.h",
Dan Sinclaire0345a42017-10-30 20:20:42 +00001205 "fxjs/cjs_annot.cpp",
1206 "fxjs/cjs_annot.h",
1207 "fxjs/cjs_app.cpp",
1208 "fxjs/cjs_app.h",
1209 "fxjs/cjs_border.cpp",
1210 "fxjs/cjs_border.h",
1211 "fxjs/cjs_color.cpp",
1212 "fxjs/cjs_color.h",
1213 "fxjs/cjs_console.cpp",
1214 "fxjs/cjs_console.h",
1215 "fxjs/cjs_delaydata.cpp",
1216 "fxjs/cjs_delaydata.h",
1217 "fxjs/cjs_display.cpp",
1218 "fxjs/cjs_display.h",
1219 "fxjs/cjs_document.cpp",
1220 "fxjs/cjs_document.h",
Dan Sinclaire0345a42017-10-30 20:20:42 +00001221 "fxjs/cjs_event.cpp",
1222 "fxjs/cjs_event.h",
1223 "fxjs/cjs_event_context.cpp",
1224 "fxjs/cjs_event_context.h",
1225 "fxjs/cjs_eventhandler.cpp",
1226 "fxjs/cjs_eventhandler.h",
1227 "fxjs/cjs_field.cpp",
1228 "fxjs/cjs_field.h",
1229 "fxjs/cjs_font.cpp",
1230 "fxjs/cjs_font.h",
1231 "fxjs/cjs_global.cpp",
1232 "fxjs/cjs_global.h",
1233 "fxjs/cjs_globalarrays.cpp",
1234 "fxjs/cjs_globalarrays.h",
1235 "fxjs/cjs_globalconsts.cpp",
1236 "fxjs/cjs_globalconsts.h",
Dan Sinclaira3254622017-10-30 20:24:14 +00001237 "fxjs/cjs_globaldata.cpp",
1238 "fxjs/cjs_globaldata.h",
1239 "fxjs/cjs_globalvariablearray.cpp",
1240 "fxjs/cjs_globalvariablearray.h",
Dan Sinclaire0345a42017-10-30 20:20:42 +00001241 "fxjs/cjs_highlight.cpp",
1242 "fxjs/cjs_highlight.h",
1243 "fxjs/cjs_icon.cpp",
1244 "fxjs/cjs_icon.h",
Dan Sinclaira3254622017-10-30 20:24:14 +00001245 "fxjs/cjs_keyvalue.cpp",
1246 "fxjs/cjs_keyvalue.h",
Dan Sinclaire0345a42017-10-30 20:20:42 +00001247 "fxjs/cjs_object.cpp",
1248 "fxjs/cjs_object.h",
1249 "fxjs/cjs_position.cpp",
1250 "fxjs/cjs_position.h",
1251 "fxjs/cjs_printparamsobj.cpp",
1252 "fxjs/cjs_printparamsobj.h",
1253 "fxjs/cjs_publicmethods.cpp",
1254 "fxjs/cjs_publicmethods.h",
1255 "fxjs/cjs_report.cpp",
1256 "fxjs/cjs_report.h",
1257 "fxjs/cjs_return.cpp",
1258 "fxjs/cjs_return.h",
1259 "fxjs/cjs_runtime.cpp",
1260 "fxjs/cjs_runtime.h",
1261 "fxjs/cjs_scalehow.cpp",
1262 "fxjs/cjs_scalehow.h",
1263 "fxjs/cjs_scalewhen.cpp",
1264 "fxjs/cjs_scalewhen.h",
1265 "fxjs/cjs_style.cpp",
1266 "fxjs/cjs_style.h",
1267 "fxjs/cjs_timerobj.cpp",
1268 "fxjs/cjs_timerobj.h",
1269 "fxjs/cjs_util.cpp",
1270 "fxjs/cjs_util.h",
1271 "fxjs/cjs_zoomtype.cpp",
1272 "fxjs/cjs_zoomtype.h",
Dan Sinclaire0345a42017-10-30 20:20:42 +00001273 "fxjs/global_timer.cpp",
1274 "fxjs/global_timer.h",
1275 "fxjs/js_resources.cpp",
1276 "fxjs/js_resources.h",
Tom Sepez452b4f32015-10-13 09:27:27 -07001277 ]
Dan Sinclaire0345a42017-10-30 20:20:42 +00001278 deps += [
1279 ":fxcrt",
1280 "//v8",
1281 "//v8:v8_libplatform",
1282 ]
Jochen Eisinger7ed503d2015-12-10 14:38:06 +01001283 configs += [ "//v8:external_startup_data" ]
Dan Sinclaire0345a42017-10-30 20:20:42 +00001284 public_deps = [
1285 "//v8",
1286 ]
1287
1288 if (pdf_enable_xfa) {
1289 sources += [
1290 "fxjs/cfxjse_arguments.cpp",
1291 "fxjs/cfxjse_arguments.h",
1292 "fxjs/cfxjse_class.cpp",
1293 "fxjs/cfxjse_class.h",
1294 "fxjs/cfxjse_context.cpp",
1295 "fxjs/cfxjse_context.h",
Dan Sinclair3fff90a2017-11-01 13:12:39 +00001296 "fxjs/cfxjse_engine.cpp",
1297 "fxjs/cfxjse_engine.h",
1298 "fxjs/cfxjse_formcalc_context.cpp",
1299 "fxjs/cfxjse_formcalc_context.h",
Tom Sepez4d4731c2018-01-23 00:43:09 +00001300 "fxjs/cfxjse_isolatetracker.cpp",
Dan Sinclaire0345a42017-10-30 20:20:42 +00001301 "fxjs/cfxjse_isolatetracker.h",
Dan Sinclaird19aa7c2017-11-06 17:10:21 +00001302 "fxjs/cfxjse_resolveprocessor.cpp",
1303 "fxjs/cfxjse_resolveprocessor.h",
Dan Sinclaire0345a42017-10-30 20:20:42 +00001304 "fxjs/cfxjse_runtimedata.cpp",
1305 "fxjs/cfxjse_runtimedata.h",
1306 "fxjs/cfxjse_value.cpp",
1307 "fxjs/cfxjse_value.h",
1308 "fxjs/fxjse.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001309 "fxjs/xfa/cjx_arc.cpp",
1310 "fxjs/xfa/cjx_arc.h",
1311 "fxjs/xfa/cjx_area.cpp",
1312 "fxjs/xfa/cjx_area.h",
1313 "fxjs/xfa/cjx_assist.cpp",
1314 "fxjs/xfa/cjx_assist.h",
1315 "fxjs/xfa/cjx_barcode.cpp",
1316 "fxjs/xfa/cjx_barcode.h",
1317 "fxjs/xfa/cjx_bind.cpp",
1318 "fxjs/xfa/cjx_bind.h",
1319 "fxjs/xfa/cjx_binditems.cpp",
1320 "fxjs/xfa/cjx_binditems.h",
1321 "fxjs/xfa/cjx_bookend.cpp",
1322 "fxjs/xfa/cjx_bookend.h",
1323 "fxjs/xfa/cjx_boolean.cpp",
1324 "fxjs/xfa/cjx_boolean.h",
1325 "fxjs/xfa/cjx_border.cpp",
1326 "fxjs/xfa/cjx_border.h",
1327 "fxjs/xfa/cjx_break.cpp",
1328 "fxjs/xfa/cjx_break.h",
1329 "fxjs/xfa/cjx_breakafter.cpp",
1330 "fxjs/xfa/cjx_breakafter.h",
1331 "fxjs/xfa/cjx_breakbefore.cpp",
1332 "fxjs/xfa/cjx_breakbefore.h",
1333 "fxjs/xfa/cjx_button.cpp",
1334 "fxjs/xfa/cjx_button.h",
1335 "fxjs/xfa/cjx_calculate.cpp",
1336 "fxjs/xfa/cjx_calculate.h",
1337 "fxjs/xfa/cjx_caption.cpp",
1338 "fxjs/xfa/cjx_caption.h",
1339 "fxjs/xfa/cjx_certificate.cpp",
1340 "fxjs/xfa/cjx_certificate.h",
1341 "fxjs/xfa/cjx_certificates.cpp",
1342 "fxjs/xfa/cjx_certificates.h",
1343 "fxjs/xfa/cjx_checkbutton.cpp",
1344 "fxjs/xfa/cjx_checkbutton.h",
1345 "fxjs/xfa/cjx_choicelist.cpp",
1346 "fxjs/xfa/cjx_choicelist.h",
1347 "fxjs/xfa/cjx_color.cpp",
1348 "fxjs/xfa/cjx_color.h",
1349 "fxjs/xfa/cjx_comb.cpp",
1350 "fxjs/xfa/cjx_comb.h",
1351 "fxjs/xfa/cjx_command.cpp",
1352 "fxjs/xfa/cjx_command.h",
1353 "fxjs/xfa/cjx_connect.cpp",
1354 "fxjs/xfa/cjx_connect.h",
1355 "fxjs/xfa/cjx_connectstring.cpp",
1356 "fxjs/xfa/cjx_connectstring.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001357 "fxjs/xfa/cjx_container.cpp",
1358 "fxjs/xfa/cjx_container.h",
1359 "fxjs/xfa/cjx_content.cpp",
1360 "fxjs/xfa/cjx_content.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001361 "fxjs/xfa/cjx_contentarea.cpp",
1362 "fxjs/xfa/cjx_contentarea.h",
1363 "fxjs/xfa/cjx_corner.cpp",
1364 "fxjs/xfa/cjx_corner.h",
1365 "fxjs/xfa/cjx_datavalue.cpp",
1366 "fxjs/xfa/cjx_datavalue.h",
Dan Sinclairc0022612017-12-11 22:31:58 +00001367 "fxjs/xfa/cjx_datawindow.cpp",
1368 "fxjs/xfa/cjx_datawindow.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001369 "fxjs/xfa/cjx_date.cpp",
1370 "fxjs/xfa/cjx_date.h",
1371 "fxjs/xfa/cjx_datetime.cpp",
1372 "fxjs/xfa/cjx_datetime.h",
1373 "fxjs/xfa/cjx_datetimeedit.cpp",
1374 "fxjs/xfa/cjx_datetimeedit.h",
1375 "fxjs/xfa/cjx_decimal.cpp",
1376 "fxjs/xfa/cjx_decimal.h",
1377 "fxjs/xfa/cjx_defaultui.cpp",
1378 "fxjs/xfa/cjx_defaultui.h",
1379 "fxjs/xfa/cjx_delete.cpp",
1380 "fxjs/xfa/cjx_delete.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001381 "fxjs/xfa/cjx_delta.cpp",
1382 "fxjs/xfa/cjx_delta.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001383 "fxjs/xfa/cjx_deltas.cpp",
1384 "fxjs/xfa/cjx_deltas.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001385 "fxjs/xfa/cjx_desc.cpp",
1386 "fxjs/xfa/cjx_desc.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001387 "fxjs/xfa/cjx_digestmethod.cpp",
1388 "fxjs/xfa/cjx_digestmethod.h",
1389 "fxjs/xfa/cjx_digestmethods.cpp",
1390 "fxjs/xfa/cjx_digestmethods.h",
1391 "fxjs/xfa/cjx_draw.cpp",
1392 "fxjs/xfa/cjx_draw.h",
1393 "fxjs/xfa/cjx_edge.cpp",
1394 "fxjs/xfa/cjx_edge.h",
1395 "fxjs/xfa/cjx_encoding.cpp",
1396 "fxjs/xfa/cjx_encoding.h",
1397 "fxjs/xfa/cjx_encodings.cpp",
1398 "fxjs/xfa/cjx_encodings.h",
1399 "fxjs/xfa/cjx_encrypt.cpp",
1400 "fxjs/xfa/cjx_encrypt.h",
1401 "fxjs/xfa/cjx_event.cpp",
1402 "fxjs/xfa/cjx_event.h",
Dan Sinclairc0022612017-12-11 22:31:58 +00001403 "fxjs/xfa/cjx_eventpseudomodel.cpp",
1404 "fxjs/xfa/cjx_eventpseudomodel.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001405 "fxjs/xfa/cjx_exclgroup.cpp",
1406 "fxjs/xfa/cjx_exclgroup.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001407 "fxjs/xfa/cjx_exdata.cpp",
1408 "fxjs/xfa/cjx_exdata.h",
1409 "fxjs/xfa/cjx_execute.cpp",
1410 "fxjs/xfa/cjx_execute.h",
1411 "fxjs/xfa/cjx_exobject.cpp",
1412 "fxjs/xfa/cjx_exobject.h",
1413 "fxjs/xfa/cjx_extras.cpp",
1414 "fxjs/xfa/cjx_extras.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001415 "fxjs/xfa/cjx_field.cpp",
1416 "fxjs/xfa/cjx_field.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001417 "fxjs/xfa/cjx_fill.cpp",
1418 "fxjs/xfa/cjx_fill.h",
1419 "fxjs/xfa/cjx_filter.cpp",
1420 "fxjs/xfa/cjx_filter.h",
1421 "fxjs/xfa/cjx_float.cpp",
1422 "fxjs/xfa/cjx_float.h",
1423 "fxjs/xfa/cjx_font.cpp",
1424 "fxjs/xfa/cjx_font.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001425 "fxjs/xfa/cjx_form.cpp",
1426 "fxjs/xfa/cjx_form.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001427 "fxjs/xfa/cjx_format.cpp",
1428 "fxjs/xfa/cjx_format.h",
1429 "fxjs/xfa/cjx_handler.cpp",
1430 "fxjs/xfa/cjx_handler.h",
Dan Sinclairc0022612017-12-11 22:31:58 +00001431 "fxjs/xfa/cjx_hostpseudomodel.cpp",
1432 "fxjs/xfa/cjx_hostpseudomodel.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001433 "fxjs/xfa/cjx_image.cpp",
1434 "fxjs/xfa/cjx_image.h",
1435 "fxjs/xfa/cjx_imageedit.cpp",
1436 "fxjs/xfa/cjx_imageedit.h",
1437 "fxjs/xfa/cjx_insert.cpp",
1438 "fxjs/xfa/cjx_insert.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001439 "fxjs/xfa/cjx_instancemanager.cpp",
1440 "fxjs/xfa/cjx_instancemanager.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001441 "fxjs/xfa/cjx_integer.cpp",
1442 "fxjs/xfa/cjx_integer.h",
1443 "fxjs/xfa/cjx_issuers.cpp",
1444 "fxjs/xfa/cjx_issuers.h",
1445 "fxjs/xfa/cjx_items.cpp",
1446 "fxjs/xfa/cjx_items.h",
1447 "fxjs/xfa/cjx_keep.cpp",
1448 "fxjs/xfa/cjx_keep.h",
1449 "fxjs/xfa/cjx_keyusage.cpp",
1450 "fxjs/xfa/cjx_keyusage.h",
Dan Sinclairc0022612017-12-11 22:31:58 +00001451 "fxjs/xfa/cjx_layoutpseudomodel.cpp",
1452 "fxjs/xfa/cjx_layoutpseudomodel.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001453 "fxjs/xfa/cjx_line.cpp",
1454 "fxjs/xfa/cjx_line.h",
1455 "fxjs/xfa/cjx_linear.cpp",
1456 "fxjs/xfa/cjx_linear.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001457 "fxjs/xfa/cjx_list.cpp",
1458 "fxjs/xfa/cjx_list.h",
Dan Sinclairc0022612017-12-11 22:31:58 +00001459 "fxjs/xfa/cjx_logpseudomodel.cpp",
1460 "fxjs/xfa/cjx_logpseudomodel.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001461 "fxjs/xfa/cjx_manifest.cpp",
1462 "fxjs/xfa/cjx_manifest.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001463 "fxjs/xfa/cjx_map.cpp",
1464 "fxjs/xfa/cjx_map.h",
1465 "fxjs/xfa/cjx_margin.cpp",
1466 "fxjs/xfa/cjx_margin.h",
1467 "fxjs/xfa/cjx_mdp.cpp",
1468 "fxjs/xfa/cjx_mdp.h",
1469 "fxjs/xfa/cjx_medium.cpp",
1470 "fxjs/xfa/cjx_medium.h",
1471 "fxjs/xfa/cjx_message.cpp",
1472 "fxjs/xfa/cjx_message.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001473 "fxjs/xfa/cjx_model.cpp",
1474 "fxjs/xfa/cjx_model.h",
Dan Sinclairc0022612017-12-11 22:31:58 +00001475 "fxjs/xfa/cjx_node.cpp",
1476 "fxjs/xfa/cjx_node.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001477 "fxjs/xfa/cjx_numericedit.cpp",
1478 "fxjs/xfa/cjx_numericedit.h",
Dan Sinclairc0022612017-12-11 22:31:58 +00001479 "fxjs/xfa/cjx_object.cpp",
1480 "fxjs/xfa/cjx_object.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001481 "fxjs/xfa/cjx_occur.cpp",
1482 "fxjs/xfa/cjx_occur.h",
1483 "fxjs/xfa/cjx_oid.cpp",
1484 "fxjs/xfa/cjx_oid.h",
1485 "fxjs/xfa/cjx_oids.cpp",
1486 "fxjs/xfa/cjx_oids.h",
1487 "fxjs/xfa/cjx_operation.cpp",
1488 "fxjs/xfa/cjx_operation.h",
1489 "fxjs/xfa/cjx_overflow.cpp",
1490 "fxjs/xfa/cjx_overflow.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001491 "fxjs/xfa/cjx_packet.cpp",
1492 "fxjs/xfa/cjx_packet.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001493 "fxjs/xfa/cjx_pagearea.cpp",
1494 "fxjs/xfa/cjx_pagearea.h",
1495 "fxjs/xfa/cjx_pageset.cpp",
1496 "fxjs/xfa/cjx_pageset.h",
1497 "fxjs/xfa/cjx_para.cpp",
1498 "fxjs/xfa/cjx_para.h",
1499 "fxjs/xfa/cjx_password.cpp",
1500 "fxjs/xfa/cjx_password.h",
1501 "fxjs/xfa/cjx_passwordedit.cpp",
1502 "fxjs/xfa/cjx_passwordedit.h",
1503 "fxjs/xfa/cjx_pattern.cpp",
1504 "fxjs/xfa/cjx_pattern.h",
1505 "fxjs/xfa/cjx_picture.cpp",
1506 "fxjs/xfa/cjx_picture.h",
1507 "fxjs/xfa/cjx_query.cpp",
1508 "fxjs/xfa/cjx_query.h",
1509 "fxjs/xfa/cjx_radial.cpp",
1510 "fxjs/xfa/cjx_radial.h",
1511 "fxjs/xfa/cjx_reason.cpp",
1512 "fxjs/xfa/cjx_reason.h",
1513 "fxjs/xfa/cjx_reasons.cpp",
1514 "fxjs/xfa/cjx_reasons.h",
1515 "fxjs/xfa/cjx_recordset.cpp",
1516 "fxjs/xfa/cjx_recordset.h",
1517 "fxjs/xfa/cjx_rectangle.cpp",
1518 "fxjs/xfa/cjx_rectangle.h",
1519 "fxjs/xfa/cjx_ref.cpp",
1520 "fxjs/xfa/cjx_ref.h",
1521 "fxjs/xfa/cjx_rootelement.cpp",
1522 "fxjs/xfa/cjx_rootelement.h",
1523 "fxjs/xfa/cjx_script.cpp",
1524 "fxjs/xfa/cjx_script.h",
1525 "fxjs/xfa/cjx_select.cpp",
1526 "fxjs/xfa/cjx_select.h",
1527 "fxjs/xfa/cjx_setproperty.cpp",
1528 "fxjs/xfa/cjx_setproperty.h",
1529 "fxjs/xfa/cjx_signature.cpp",
1530 "fxjs/xfa/cjx_signature.h",
1531 "fxjs/xfa/cjx_signatureproperties.cpp",
1532 "fxjs/xfa/cjx_signatureproperties.h",
Dan Sinclairc0022612017-12-11 22:31:58 +00001533 "fxjs/xfa/cjx_signaturepseudomodel.cpp",
1534 "fxjs/xfa/cjx_signaturepseudomodel.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001535 "fxjs/xfa/cjx_signdata.cpp",
1536 "fxjs/xfa/cjx_signdata.h",
1537 "fxjs/xfa/cjx_signing.cpp",
1538 "fxjs/xfa/cjx_signing.h",
1539 "fxjs/xfa/cjx_soapaction.cpp",
1540 "fxjs/xfa/cjx_soapaction.h",
1541 "fxjs/xfa/cjx_soapaddress.cpp",
1542 "fxjs/xfa/cjx_soapaddress.h",
1543 "fxjs/xfa/cjx_solid.cpp",
1544 "fxjs/xfa/cjx_solid.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001545 "fxjs/xfa/cjx_source.cpp",
1546 "fxjs/xfa/cjx_source.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001547 "fxjs/xfa/cjx_sourceset.cpp",
1548 "fxjs/xfa/cjx_sourceset.h",
1549 "fxjs/xfa/cjx_speak.cpp",
1550 "fxjs/xfa/cjx_speak.h",
1551 "fxjs/xfa/cjx_stipple.cpp",
1552 "fxjs/xfa/cjx_stipple.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001553 "fxjs/xfa/cjx_subform.cpp",
1554 "fxjs/xfa/cjx_subform.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001555 "fxjs/xfa/cjx_subformset.cpp",
1556 "fxjs/xfa/cjx_subformset.h",
1557 "fxjs/xfa/cjx_subjectdn.cpp",
1558 "fxjs/xfa/cjx_subjectdn.h",
1559 "fxjs/xfa/cjx_subjectdns.cpp",
1560 "fxjs/xfa/cjx_subjectdns.h",
1561 "fxjs/xfa/cjx_submit.cpp",
1562 "fxjs/xfa/cjx_submit.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001563 "fxjs/xfa/cjx_template.cpp",
1564 "fxjs/xfa/cjx_template.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001565 "fxjs/xfa/cjx_text.cpp",
1566 "fxjs/xfa/cjx_text.h",
1567 "fxjs/xfa/cjx_textedit.cpp",
1568 "fxjs/xfa/cjx_textedit.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001569 "fxjs/xfa/cjx_textnode.cpp",
1570 "fxjs/xfa/cjx_textnode.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001571 "fxjs/xfa/cjx_time.cpp",
1572 "fxjs/xfa/cjx_time.h",
1573 "fxjs/xfa/cjx_timestamp.cpp",
1574 "fxjs/xfa/cjx_timestamp.h",
1575 "fxjs/xfa/cjx_tooltip.cpp",
1576 "fxjs/xfa/cjx_tooltip.h",
1577 "fxjs/xfa/cjx_traversal.cpp",
1578 "fxjs/xfa/cjx_traversal.h",
1579 "fxjs/xfa/cjx_traverse.cpp",
1580 "fxjs/xfa/cjx_traverse.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001581 "fxjs/xfa/cjx_tree.cpp",
1582 "fxjs/xfa/cjx_tree.h",
1583 "fxjs/xfa/cjx_treelist.cpp",
1584 "fxjs/xfa/cjx_treelist.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001585 "fxjs/xfa/cjx_ui.cpp",
1586 "fxjs/xfa/cjx_ui.h",
1587 "fxjs/xfa/cjx_update.cpp",
1588 "fxjs/xfa/cjx_update.h",
1589 "fxjs/xfa/cjx_uri.cpp",
1590 "fxjs/xfa/cjx_uri.h",
1591 "fxjs/xfa/cjx_user.cpp",
1592 "fxjs/xfa/cjx_user.h",
1593 "fxjs/xfa/cjx_validate.cpp",
1594 "fxjs/xfa/cjx_validate.h",
1595 "fxjs/xfa/cjx_value.cpp",
1596 "fxjs/xfa/cjx_value.h",
1597 "fxjs/xfa/cjx_variables.cpp",
1598 "fxjs/xfa/cjx_variables.h",
1599 "fxjs/xfa/cjx_wsdladdress.cpp",
1600 "fxjs/xfa/cjx_wsdladdress.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00001601 "fxjs/xfa/cjx_wsdlconnection.cpp",
1602 "fxjs/xfa/cjx_wsdlconnection.h",
Dan Sinclairfe9d6402017-12-14 19:45:53 +00001603 "fxjs/xfa/cjx_xfa.cpp",
1604 "fxjs/xfa/cjx_xfa.h",
1605 "fxjs/xfa/cjx_xmlconnection.cpp",
1606 "fxjs/xfa/cjx_xmlconnection.h",
1607 "fxjs/xfa/cjx_xsdconnection.cpp",
1608 "fxjs/xfa/cjx_xsdconnection.h",
Dan Sinclaire0345a42017-10-30 20:20:42 +00001609 ]
1610 }
Tom Sepez452b4f32015-10-13 09:27:27 -07001611 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001612}
1613
Lei Zhang81a1ac42017-12-21 21:49:55 -08001614jumbo_static_library("formfiller") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001615 sources = [
Dan Sinclairedbb3192016-03-21 09:08:24 -04001616 "fpdfsdk/formfiller/cba_fontmap.cpp",
1617 "fpdfsdk/formfiller/cba_fontmap.h",
Dan Sinclairb9eed2f2017-07-10 11:35:18 -04001618 "fpdfsdk/formfiller/cffl_button.cpp",
1619 "fpdfsdk/formfiller/cffl_button.h",
Dan Sinclairedbb3192016-03-21 09:08:24 -04001620 "fpdfsdk/formfiller/cffl_checkbox.cpp",
1621 "fpdfsdk/formfiller/cffl_checkbox.h",
1622 "fpdfsdk/formfiller/cffl_combobox.cpp",
1623 "fpdfsdk/formfiller/cffl_combobox.h",
1624 "fpdfsdk/formfiller/cffl_formfiller.cpp",
1625 "fpdfsdk/formfiller/cffl_formfiller.h",
dsinclairb94d7c92016-09-21 12:07:00 -07001626 "fpdfsdk/formfiller/cffl_interactiveformfiller.cpp",
1627 "fpdfsdk/formfiller/cffl_interactiveformfiller.h",
Dan Sinclairedbb3192016-03-21 09:08:24 -04001628 "fpdfsdk/formfiller/cffl_listbox.cpp",
1629 "fpdfsdk/formfiller/cffl_listbox.h",
1630 "fpdfsdk/formfiller/cffl_pushbutton.cpp",
1631 "fpdfsdk/formfiller/cffl_pushbutton.h",
1632 "fpdfsdk/formfiller/cffl_radiobutton.cpp",
1633 "fpdfsdk/formfiller/cffl_radiobutton.h",
1634 "fpdfsdk/formfiller/cffl_textfield.cpp",
1635 "fpdfsdk/formfiller/cffl_textfield.h",
Lei Zhangb4fee4d2017-08-01 18:34:43 -07001636 "fpdfsdk/formfiller/cffl_textobject.cpp",
1637 "fpdfsdk/formfiller/cffl_textobject.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001638 ]
weili0abe6522016-06-06 14:41:22 -07001639 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -07001640 deps = [
1641 ":fxcrt",
1642 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001643}
Tom Sepezc706fc02014-11-14 13:39:20 -08001644
dsinclairb3f24672016-07-12 10:42:14 -07001645if (pdf_enable_xfa) {
Lei Zhang81a1ac42017-12-21 21:49:55 -08001646 jumbo_static_library("fpdfxfa") {
Tom Sepezb36747d2015-12-08 15:49:25 -08001647 sources = [
dsinclair521b7502016-11-02 13:02:28 -07001648 "fpdfsdk/fpdfxfa/cpdfxfa_context.cpp",
1649 "fpdfsdk/fpdfxfa/cpdfxfa_context.h",
dsinclaira440bb32016-09-14 07:01:54 -07001650 "fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp",
dsinclairbec76922016-09-29 16:52:30 -07001651 "fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h",
dsinclair4d29e782016-10-04 14:02:47 -07001652 "fpdfsdk/fpdfxfa/cpdfxfa_page.cpp",
1653 "fpdfsdk/fpdfxfa/cpdfxfa_page.h",
1654 "fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.cpp",
1655 "fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h",
Tom Sepez452b4f32015-10-13 09:27:27 -07001656 ]
1657 deps = [
thestig73c48562016-09-06 14:07:17 -07001658 ":fxcrt",
dsinclair8837c912016-11-01 11:22:37 -07001659 ":fxjs",
Tom Sepezb36747d2015-12-08 15:49:25 -08001660 ":xfa",
1661 ]
weili0abe6522016-06-06 14:41:22 -07001662 configs += [ ":pdfium_core_config" ]
Tom Sepezb36747d2015-12-08 15:49:25 -08001663 }
1664
Lei Zhang53c4ba42018-01-12 21:49:50 +00001665 jumbo_static_library("fxbarcode") {
Dan Sinclaire7786682017-03-29 15:18:41 -04001666 sources = [
Dan Sinclaire7786682017-03-29 15:18:41 -04001667 "fxbarcode/BC_Library.cpp",
1668 "fxbarcode/BC_Library.h",
1669 "fxbarcode/BC_TwoDimWriter.cpp",
1670 "fxbarcode/BC_TwoDimWriter.h",
1671 "fxbarcode/BC_UtilCodingConvert.cpp",
1672 "fxbarcode/BC_UtilCodingConvert.h",
1673 "fxbarcode/BC_Utils.cpp",
1674 "fxbarcode/BC_Writer.cpp",
1675 "fxbarcode/BC_Writer.h",
1676 "fxbarcode/cbc_codabar.cpp",
1677 "fxbarcode/cbc_codabar.h",
1678 "fxbarcode/cbc_code128.cpp",
1679 "fxbarcode/cbc_code128.h",
1680 "fxbarcode/cbc_code39.cpp",
1681 "fxbarcode/cbc_code39.h",
1682 "fxbarcode/cbc_codebase.cpp",
1683 "fxbarcode/cbc_codebase.h",
1684 "fxbarcode/cbc_datamatrix.cpp",
1685 "fxbarcode/cbc_datamatrix.h",
1686 "fxbarcode/cbc_ean13.cpp",
1687 "fxbarcode/cbc_ean13.h",
1688 "fxbarcode/cbc_ean8.cpp",
1689 "fxbarcode/cbc_ean8.h",
1690 "fxbarcode/cbc_onecode.cpp",
1691 "fxbarcode/cbc_onecode.h",
1692 "fxbarcode/cbc_pdf417i.cpp",
1693 "fxbarcode/cbc_pdf417i.h",
1694 "fxbarcode/cbc_qrcode.cpp",
1695 "fxbarcode/cbc_qrcode.h",
1696 "fxbarcode/cbc_upca.cpp",
1697 "fxbarcode/cbc_upca.h",
1698 "fxbarcode/common/BC_CommonBitArray.cpp",
1699 "fxbarcode/common/BC_CommonBitArray.h",
1700 "fxbarcode/common/BC_CommonBitMatrix.cpp",
1701 "fxbarcode/common/BC_CommonBitMatrix.h",
1702 "fxbarcode/common/BC_CommonByteArray.cpp",
1703 "fxbarcode/common/BC_CommonByteArray.h",
1704 "fxbarcode/common/BC_CommonByteMatrix.cpp",
1705 "fxbarcode/common/BC_CommonByteMatrix.h",
1706 "fxbarcode/common/reedsolomon/BC_ReedSolomon.cpp",
1707 "fxbarcode/common/reedsolomon/BC_ReedSolomon.h",
1708 "fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.cpp",
1709 "fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h",
1710 "fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp",
1711 "fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h",
1712 "fxbarcode/datamatrix/BC_ASCIIEncoder.cpp",
1713 "fxbarcode/datamatrix/BC_ASCIIEncoder.h",
1714 "fxbarcode/datamatrix/BC_Base256Encoder.cpp",
1715 "fxbarcode/datamatrix/BC_Base256Encoder.h",
1716 "fxbarcode/datamatrix/BC_C40Encoder.cpp",
1717 "fxbarcode/datamatrix/BC_C40Encoder.h",
1718 "fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.cpp",
1719 "fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.h",
1720 "fxbarcode/datamatrix/BC_DataMatrixWriter.cpp",
1721 "fxbarcode/datamatrix/BC_DataMatrixWriter.h",
1722 "fxbarcode/datamatrix/BC_DefaultPlacement.cpp",
1723 "fxbarcode/datamatrix/BC_DefaultPlacement.h",
1724 "fxbarcode/datamatrix/BC_EdifactEncoder.cpp",
1725 "fxbarcode/datamatrix/BC_EdifactEncoder.h",
1726 "fxbarcode/datamatrix/BC_Encoder.cpp",
1727 "fxbarcode/datamatrix/BC_Encoder.h",
1728 "fxbarcode/datamatrix/BC_EncoderContext.cpp",
1729 "fxbarcode/datamatrix/BC_EncoderContext.h",
1730 "fxbarcode/datamatrix/BC_ErrorCorrection.cpp",
1731 "fxbarcode/datamatrix/BC_ErrorCorrection.h",
1732 "fxbarcode/datamatrix/BC_HighLevelEncoder.cpp",
1733 "fxbarcode/datamatrix/BC_HighLevelEncoder.h",
1734 "fxbarcode/datamatrix/BC_SymbolInfo.cpp",
1735 "fxbarcode/datamatrix/BC_SymbolInfo.h",
Dan Sinclaire7786682017-03-29 15:18:41 -04001736 "fxbarcode/datamatrix/BC_TextEncoder.cpp",
1737 "fxbarcode/datamatrix/BC_TextEncoder.h",
1738 "fxbarcode/datamatrix/BC_X12Encoder.cpp",
1739 "fxbarcode/datamatrix/BC_X12Encoder.h",
1740 "fxbarcode/oned/BC_OneDimWriter.cpp",
1741 "fxbarcode/oned/BC_OneDimWriter.h",
1742 "fxbarcode/oned/BC_OnedCodaBarWriter.cpp",
1743 "fxbarcode/oned/BC_OnedCodaBarWriter.h",
1744 "fxbarcode/oned/BC_OnedCode128Writer.cpp",
1745 "fxbarcode/oned/BC_OnedCode128Writer.h",
1746 "fxbarcode/oned/BC_OnedCode39Writer.cpp",
1747 "fxbarcode/oned/BC_OnedCode39Writer.h",
1748 "fxbarcode/oned/BC_OnedEAN13Writer.cpp",
1749 "fxbarcode/oned/BC_OnedEAN13Writer.h",
1750 "fxbarcode/oned/BC_OnedEAN8Writer.cpp",
1751 "fxbarcode/oned/BC_OnedEAN8Writer.h",
Henrique Nakashima7840dd62017-09-06 13:35:25 -04001752 "fxbarcode/oned/BC_OnedEANChecksum.cpp",
1753 "fxbarcode/oned/BC_OnedEANChecksum.h",
Dan Sinclaire7786682017-03-29 15:18:41 -04001754 "fxbarcode/oned/BC_OnedUPCAWriter.cpp",
1755 "fxbarcode/oned/BC_OnedUPCAWriter.h",
1756 "fxbarcode/pdf417/BC_PDF417.cpp",
1757 "fxbarcode/pdf417/BC_PDF417.h",
1758 "fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp",
1759 "fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h",
1760 "fxbarcode/pdf417/BC_PDF417BarcodeRow.cpp",
1761 "fxbarcode/pdf417/BC_PDF417BarcodeRow.h",
1762 "fxbarcode/pdf417/BC_PDF417Compaction.cpp",
1763 "fxbarcode/pdf417/BC_PDF417Compaction.h",
1764 "fxbarcode/pdf417/BC_PDF417ErrorCorrection.cpp",
1765 "fxbarcode/pdf417/BC_PDF417ErrorCorrection.h",
1766 "fxbarcode/pdf417/BC_PDF417HighLevelEncoder.cpp",
1767 "fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h",
1768 "fxbarcode/pdf417/BC_PDF417Writer.cpp",
1769 "fxbarcode/pdf417/BC_PDF417Writer.h",
1770 "fxbarcode/qrcode/BC_QRCodeWriter.cpp",
1771 "fxbarcode/qrcode/BC_QRCodeWriter.h",
1772 "fxbarcode/qrcode/BC_QRCoder.cpp",
1773 "fxbarcode/qrcode/BC_QRCoder.h",
1774 "fxbarcode/qrcode/BC_QRCoderBitVector.cpp",
1775 "fxbarcode/qrcode/BC_QRCoderBitVector.h",
1776 "fxbarcode/qrcode/BC_QRCoderBlockPair.cpp",
1777 "fxbarcode/qrcode/BC_QRCoderBlockPair.h",
Dan Sinclaire7786682017-03-29 15:18:41 -04001778 "fxbarcode/qrcode/BC_QRCoderECBlocks.cpp",
1779 "fxbarcode/qrcode/BC_QRCoderECBlocks.h",
Lei Zhang8a24b252017-04-06 14:23:26 -07001780 "fxbarcode/qrcode/BC_QRCoderECBlocksData.cpp",
1781 "fxbarcode/qrcode/BC_QRCoderECBlocksData.h",
Dan Sinclaire7786682017-03-29 15:18:41 -04001782 "fxbarcode/qrcode/BC_QRCoderEncoder.cpp",
1783 "fxbarcode/qrcode/BC_QRCoderEncoder.h",
1784 "fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.cpp",
1785 "fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.h",
1786 "fxbarcode/qrcode/BC_QRCoderMaskUtil.cpp",
1787 "fxbarcode/qrcode/BC_QRCoderMaskUtil.h",
1788 "fxbarcode/qrcode/BC_QRCoderMatrixUtil.cpp",
1789 "fxbarcode/qrcode/BC_QRCoderMatrixUtil.h",
1790 "fxbarcode/qrcode/BC_QRCoderMode.cpp",
1791 "fxbarcode/qrcode/BC_QRCoderMode.h",
1792 "fxbarcode/qrcode/BC_QRCoderVersion.cpp",
1793 "fxbarcode/qrcode/BC_QRCoderVersion.h",
1794 "fxbarcode/utils.h",
1795 ]
1796 deps = [
1797 ":fxcrt",
1798 ]
1799 configs += [ ":pdfium_core_config" ]
1800 }
1801
Lei Zhangc3ba98e2018-01-22 19:43:26 +00001802 group("xfa") {
1803 deps = [
1804 ":xfa_fde",
1805 ":xfa_fgas",
1806 ":xfa_fwl",
1807 ":xfa_fxfa",
1808 ":xfa_fxfa_fm2js",
1809 ":xfa_fxfa_parser",
1810 ":xfa_fxgraphics",
1811 ]
1812 }
1813
Lei Zhangab218bf2018-01-22 19:57:27 +00001814 jumbo_static_library("xfa_fde") {
Tom Sepezb36747d2015-12-08 15:49:25 -08001815 sources = [
Lei Zhangc3ba98e2018-01-22 19:43:26 +00001816 "xfa/fde/cfde_data.h",
Dan Sinclair68eefa62017-08-30 12:16:16 -04001817 "xfa/fde/cfde_texteditengine.cpp",
1818 "xfa/fde/cfde_texteditengine.h",
Dan Sinclairbccf5732017-03-30 14:10:32 -04001819 "xfa/fde/cfde_textout.cpp",
1820 "xfa/fde/cfde_textout.h",
Dan Sinclair8f6084b2017-09-06 13:52:35 -04001821 "xfa/fde/cfde_wordbreak_data.cpp",
1822 "xfa/fde/cfde_wordbreak_data.h",
Lei Zhangc3ba98e2018-01-22 19:43:26 +00001823 ]
1824 deps = [
1825 ":fxcrt",
1826 ]
1827 configs += [
1828 ":pdfium_core_config",
1829 ":xfa_warnings",
1830 ]
1831 }
1832
Lei Zhangab218bf2018-01-22 19:57:27 +00001833 jumbo_static_library("xfa_fgas") {
Lei Zhangc3ba98e2018-01-22 19:43:26 +00001834 sources = [
Dan Sinclairb929ab02017-03-29 15:18:16 -04001835 "xfa/fgas/crt/cfgas_formatstring.cpp",
1836 "xfa/fgas/crt/cfgas_formatstring.h",
Dan Sinclair959c2be2017-09-21 10:13:40 -04001837 "xfa/fgas/font/cfgas_defaultfontmanager.cpp",
1838 "xfa/fgas/font/cfgas_defaultfontmanager.h",
npm8f3eb602016-11-11 17:16:23 -08001839 "xfa/fgas/font/cfgas_fontmgr.cpp",
1840 "xfa/fgas/font/cfgas_fontmgr.h",
npm4b91a2d2016-11-21 15:19:44 -08001841 "xfa/fgas/font/cfgas_gefont.cpp",
1842 "xfa/fgas/font/cfgas_gefont.h",
Dan Sinclairdb0312e2017-09-21 09:46:03 -04001843 "xfa/fgas/font/cfgas_pdffontmgr.cpp",
1844 "xfa/fgas/font/cfgas_pdffontmgr.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001845 "xfa/fgas/font/fgas_fontutils.cpp",
1846 "xfa/fgas/font/fgas_fontutils.h",
Dan Sinclaire533b932017-03-16 11:47:20 -04001847 "xfa/fgas/layout/cfx_break.cpp",
1848 "xfa/fgas/layout/cfx_break.h",
Dan Sinclair893822a2017-03-13 15:32:07 -04001849 "xfa/fgas/layout/cfx_breakline.cpp",
1850 "xfa/fgas/layout/cfx_breakline.h",
1851 "xfa/fgas/layout/cfx_breakpiece.cpp",
1852 "xfa/fgas/layout/cfx_breakpiece.h",
Dan Sinclair994acdc2017-04-18 13:56:39 -04001853 "xfa/fgas/layout/cfx_linebreak.cpp",
1854 "xfa/fgas/layout/cfx_linebreak.h",
1855 "xfa/fgas/layout/cfx_rtfbreak.cpp",
1856 "xfa/fgas/layout/cfx_rtfbreak.h",
1857 "xfa/fgas/layout/cfx_txtbreak.cpp",
1858 "xfa/fgas/layout/cfx_txtbreak.h",
Lei Zhangc3ba98e2018-01-22 19:43:26 +00001859 ]
1860 deps = [
1861 ":fxcrt",
1862 ]
1863 configs += [
1864 ":pdfium_core_config",
1865 ":xfa_warnings",
1866 ]
1867 }
1868
Lei Zhangab218bf2018-01-22 19:57:27 +00001869 jumbo_static_library("xfa_fwl") {
Lei Zhangc3ba98e2018-01-22 19:43:26 +00001870 sources = [
dsinclair447b1f32016-12-08 10:06:32 -08001871 "xfa/fwl/cfwl_app.cpp",
1872 "xfa/fwl/cfwl_app.h",
1873 "xfa/fwl/cfwl_barcode.cpp",
1874 "xfa/fwl/cfwl_barcode.h",
1875 "xfa/fwl/cfwl_caret.cpp",
1876 "xfa/fwl/cfwl_caret.h",
1877 "xfa/fwl/cfwl_checkbox.cpp",
1878 "xfa/fwl/cfwl_checkbox.h",
1879 "xfa/fwl/cfwl_combobox.cpp",
1880 "xfa/fwl/cfwl_combobox.h",
1881 "xfa/fwl/cfwl_comboboxproxy.cpp",
1882 "xfa/fwl/cfwl_comboboxproxy.h",
1883 "xfa/fwl/cfwl_comboedit.cpp",
1884 "xfa/fwl/cfwl_comboedit.h",
1885 "xfa/fwl/cfwl_combolist.cpp",
1886 "xfa/fwl/cfwl_combolist.h",
1887 "xfa/fwl/cfwl_datetimeedit.cpp",
1888 "xfa/fwl/cfwl_datetimeedit.h",
1889 "xfa/fwl/cfwl_datetimepicker.cpp",
1890 "xfa/fwl/cfwl_datetimepicker.h",
1891 "xfa/fwl/cfwl_edit.cpp",
1892 "xfa/fwl/cfwl_edit.h",
1893 "xfa/fwl/cfwl_event.cpp",
1894 "xfa/fwl/cfwl_event.h",
dsinclair447b1f32016-12-08 10:06:32 -08001895 "xfa/fwl/cfwl_eventmouse.cpp",
1896 "xfa/fwl/cfwl_eventmouse.h",
1897 "xfa/fwl/cfwl_eventscroll.cpp",
1898 "xfa/fwl/cfwl_eventscroll.h",
1899 "xfa/fwl/cfwl_eventselectchanged.cpp",
1900 "xfa/fwl/cfwl_eventselectchanged.h",
1901 "xfa/fwl/cfwl_eventtarget.cpp",
1902 "xfa/fwl/cfwl_eventtarget.h",
1903 "xfa/fwl/cfwl_eventtextchanged.cpp",
1904 "xfa/fwl/cfwl_eventtextchanged.h",
1905 "xfa/fwl/cfwl_eventvalidate.cpp",
1906 "xfa/fwl/cfwl_eventvalidate.h",
1907 "xfa/fwl/cfwl_form.cpp",
1908 "xfa/fwl/cfwl_form.h",
1909 "xfa/fwl/cfwl_formproxy.cpp",
1910 "xfa/fwl/cfwl_formproxy.h",
1911 "xfa/fwl/cfwl_listbox.cpp",
1912 "xfa/fwl/cfwl_listbox.h",
1913 "xfa/fwl/cfwl_listitem.cpp",
1914 "xfa/fwl/cfwl_listitem.h",
1915 "xfa/fwl/cfwl_message.cpp",
1916 "xfa/fwl/cfwl_message.h",
1917 "xfa/fwl/cfwl_messagekey.cpp",
1918 "xfa/fwl/cfwl_messagekey.h",
1919 "xfa/fwl/cfwl_messagekillfocus.cpp",
1920 "xfa/fwl/cfwl_messagekillfocus.h",
1921 "xfa/fwl/cfwl_messagemouse.cpp",
1922 "xfa/fwl/cfwl_messagemouse.h",
1923 "xfa/fwl/cfwl_messagemousewheel.cpp",
1924 "xfa/fwl/cfwl_messagemousewheel.h",
1925 "xfa/fwl/cfwl_messagesetfocus.cpp",
1926 "xfa/fwl/cfwl_messagesetfocus.h",
1927 "xfa/fwl/cfwl_monthcalendar.cpp",
1928 "xfa/fwl/cfwl_monthcalendar.h",
1929 "xfa/fwl/cfwl_notedriver.cpp",
1930 "xfa/fwl/cfwl_notedriver.h",
1931 "xfa/fwl/cfwl_noteloop.cpp",
1932 "xfa/fwl/cfwl_noteloop.h",
1933 "xfa/fwl/cfwl_picturebox.cpp",
1934 "xfa/fwl/cfwl_picturebox.h",
1935 "xfa/fwl/cfwl_pushbutton.cpp",
1936 "xfa/fwl/cfwl_pushbutton.h",
1937 "xfa/fwl/cfwl_scrollbar.cpp",
1938 "xfa/fwl/cfwl_scrollbar.h",
dsinclair447b1f32016-12-08 10:06:32 -08001939 "xfa/fwl/cfwl_themebackground.h",
1940 "xfa/fwl/cfwl_themepart.cpp",
1941 "xfa/fwl/cfwl_themepart.h",
1942 "xfa/fwl/cfwl_themetext.h",
1943 "xfa/fwl/cfwl_timer.cpp",
1944 "xfa/fwl/cfwl_timer.h",
1945 "xfa/fwl/cfwl_timerinfo.cpp",
1946 "xfa/fwl/cfwl_timerinfo.h",
1947 "xfa/fwl/cfwl_widget.cpp",
1948 "xfa/fwl/cfwl_widget.h",
1949 "xfa/fwl/cfwl_widgetmgr.cpp",
1950 "xfa/fwl/cfwl_widgetmgr.h",
1951 "xfa/fwl/cfwl_widgetproperties.cpp",
1952 "xfa/fwl/cfwl_widgetproperties.h",
1953 "xfa/fwl/cfx_barcode.cpp",
1954 "xfa/fwl/cfx_barcode.h",
dsinclair447b1f32016-12-08 10:06:32 -08001955 "xfa/fwl/fwl_widgetdef.h",
1956 "xfa/fwl/fwl_widgethit.h",
1957 "xfa/fwl/ifwl_adaptertimermgr.h",
1958 "xfa/fwl/ifwl_themeprovider.h",
1959 "xfa/fwl/ifwl_widgetdelegate.h",
dsinclair7f432a12016-03-29 12:38:01 -07001960 "xfa/fwl/theme/cfwl_barcodetp.cpp",
1961 "xfa/fwl/theme/cfwl_barcodetp.h",
1962 "xfa/fwl/theme/cfwl_carettp.cpp",
1963 "xfa/fwl/theme/cfwl_carettp.h",
1964 "xfa/fwl/theme/cfwl_checkboxtp.cpp",
1965 "xfa/fwl/theme/cfwl_checkboxtp.h",
1966 "xfa/fwl/theme/cfwl_comboboxtp.cpp",
1967 "xfa/fwl/theme/cfwl_comboboxtp.h",
weilibeecc342016-08-04 11:57:22 -07001968 "xfa/fwl/theme/cfwl_datetimepickertp.cpp",
dsinclair7f432a12016-03-29 12:38:01 -07001969 "xfa/fwl/theme/cfwl_datetimepickertp.h",
1970 "xfa/fwl/theme/cfwl_edittp.cpp",
1971 "xfa/fwl/theme/cfwl_edittp.h",
dsinclair7f432a12016-03-29 12:38:01 -07001972 "xfa/fwl/theme/cfwl_listboxtp.cpp",
1973 "xfa/fwl/theme/cfwl_listboxtp.h",
1974 "xfa/fwl/theme/cfwl_monthcalendartp.cpp",
1975 "xfa/fwl/theme/cfwl_monthcalendartp.h",
1976 "xfa/fwl/theme/cfwl_pictureboxtp.cpp",
1977 "xfa/fwl/theme/cfwl_pictureboxtp.h",
1978 "xfa/fwl/theme/cfwl_pushbuttontp.cpp",
1979 "xfa/fwl/theme/cfwl_pushbuttontp.h",
1980 "xfa/fwl/theme/cfwl_scrollbartp.cpp",
1981 "xfa/fwl/theme/cfwl_scrollbartp.h",
1982 "xfa/fwl/theme/cfwl_utils.h",
1983 "xfa/fwl/theme/cfwl_widgettp.cpp",
1984 "xfa/fwl/theme/cfwl_widgettp.h",
Lei Zhangc3ba98e2018-01-22 19:43:26 +00001985 ]
1986 deps = [
1987 ":fxbarcode",
1988 ":fxcrt",
1989 ":xfa_fgas",
1990 ]
1991 configs += [
1992 ":pdfium_core_config",
1993 ":xfa_warnings",
1994 ]
1995 }
1996
Lei Zhangab218bf2018-01-22 19:57:27 +00001997 jumbo_static_library("xfa_fxfa") {
Lei Zhangc3ba98e2018-01-22 19:43:26 +00001998 sources = [
Dan Sinclair80c48782017-03-23 12:11:20 -04001999 "xfa/fxfa/cxfa_eventparam.cpp",
dsinclair5b493092016-09-29 20:20:24 -07002000 "xfa/fxfa/cxfa_eventparam.h",
Dan Sinclair80c48782017-03-23 12:11:20 -04002001 "xfa/fxfa/cxfa_ffapp.cpp",
2002 "xfa/fxfa/cxfa_ffapp.h",
Dan Sinclair24ef6332017-07-24 10:52:57 -04002003 "xfa/fxfa/cxfa_ffarc.cpp",
2004 "xfa/fxfa/cxfa_ffarc.h",
2005 "xfa/fxfa/cxfa_ffbarcode.cpp",
2006 "xfa/fxfa/cxfa_ffbarcode.h",
2007 "xfa/fxfa/cxfa_ffcheckbutton.cpp",
2008 "xfa/fxfa/cxfa_ffcheckbutton.h",
2009 "xfa/fxfa/cxfa_ffcombobox.cpp",
2010 "xfa/fxfa/cxfa_ffcombobox.h",
2011 "xfa/fxfa/cxfa_ffdatetimeedit.cpp",
2012 "xfa/fxfa/cxfa_ffdatetimeedit.h",
Dan Sinclair80c48782017-03-23 12:11:20 -04002013 "xfa/fxfa/cxfa_ffdoc.cpp",
2014 "xfa/fxfa/cxfa_ffdoc.h",
Dan Sinclair80c48782017-03-23 12:11:20 -04002015 "xfa/fxfa/cxfa_ffdocview.cpp",
2016 "xfa/fxfa/cxfa_ffdocview.h",
Dan Sinclair8308b8c2018-01-29 21:34:56 +00002017 "xfa/fxfa/cxfa_ffdropdown.cpp",
2018 "xfa/fxfa/cxfa_ffdropdown.h",
Dan Sinclair24ef6332017-07-24 10:52:57 -04002019 "xfa/fxfa/cxfa_ffexclgroup.cpp",
2020 "xfa/fxfa/cxfa_ffexclgroup.h",
2021 "xfa/fxfa/cxfa_fffield.cpp",
2022 "xfa/fxfa/cxfa_fffield.h",
2023 "xfa/fxfa/cxfa_ffimage.cpp",
2024 "xfa/fxfa/cxfa_ffimage.h",
2025 "xfa/fxfa/cxfa_ffimageedit.cpp",
2026 "xfa/fxfa/cxfa_ffimageedit.h",
2027 "xfa/fxfa/cxfa_ffline.cpp",
2028 "xfa/fxfa/cxfa_ffline.h",
2029 "xfa/fxfa/cxfa_fflistbox.cpp",
2030 "xfa/fxfa/cxfa_fflistbox.h",
2031 "xfa/fxfa/cxfa_ffnotify.cpp",
2032 "xfa/fxfa/cxfa_ffnotify.h",
2033 "xfa/fxfa/cxfa_ffnumericedit.cpp",
2034 "xfa/fxfa/cxfa_ffnumericedit.h",
Dan Sinclair80c48782017-03-23 12:11:20 -04002035 "xfa/fxfa/cxfa_ffpageview.cpp",
2036 "xfa/fxfa/cxfa_ffpageview.h",
Dan Sinclair24ef6332017-07-24 10:52:57 -04002037 "xfa/fxfa/cxfa_ffpasswordedit.cpp",
2038 "xfa/fxfa/cxfa_ffpasswordedit.h",
2039 "xfa/fxfa/cxfa_ffpushbutton.cpp",
2040 "xfa/fxfa/cxfa_ffpushbutton.h",
2041 "xfa/fxfa/cxfa_ffrectangle.cpp",
2042 "xfa/fxfa/cxfa_ffrectangle.h",
2043 "xfa/fxfa/cxfa_ffsignature.cpp",
2044 "xfa/fxfa/cxfa_ffsignature.h",
Dan Sinclair24ef6332017-07-24 10:52:57 -04002045 "xfa/fxfa/cxfa_fftext.cpp",
2046 "xfa/fxfa/cxfa_fftext.h",
2047 "xfa/fxfa/cxfa_fftextedit.cpp",
2048 "xfa/fxfa/cxfa_fftextedit.h",
Dan Sinclair80c48782017-03-23 12:11:20 -04002049 "xfa/fxfa/cxfa_ffwidget.cpp",
2050 "xfa/fxfa/cxfa_ffwidget.h",
2051 "xfa/fxfa/cxfa_ffwidgethandler.cpp",
2052 "xfa/fxfa/cxfa_ffwidgethandler.h",
2053 "xfa/fxfa/cxfa_fontmgr.cpp",
2054 "xfa/fxfa/cxfa_fontmgr.h",
Dan Sinclair24ef6332017-07-24 10:52:57 -04002055 "xfa/fxfa/cxfa_fwladapterwidgetmgr.cpp",
2056 "xfa/fxfa/cxfa_fwladapterwidgetmgr.h",
2057 "xfa/fxfa/cxfa_fwltheme.cpp",
2058 "xfa/fxfa/cxfa_fwltheme.h",
Dan Sinclair027190e2018-01-16 21:25:27 +00002059 "xfa/fxfa/cxfa_imagerenderer.cpp",
2060 "xfa/fxfa/cxfa_imagerenderer.h",
Dan Sinclair24ef6332017-07-24 10:52:57 -04002061 "xfa/fxfa/cxfa_linkuserdata.cpp",
2062 "xfa/fxfa/cxfa_linkuserdata.h",
2063 "xfa/fxfa/cxfa_loadercontext.cpp",
2064 "xfa/fxfa/cxfa_loadercontext.h",
Dan Sinclair24ef6332017-07-24 10:52:57 -04002065 "xfa/fxfa/cxfa_pieceline.cpp",
2066 "xfa/fxfa/cxfa_pieceline.h",
Dan Sinclair08915152018-01-23 15:22:54 +00002067 "xfa/fxfa/cxfa_readynodeiterator.cpp",
2068 "xfa/fxfa/cxfa_readynodeiterator.h",
Dan Sinclair80c48782017-03-23 12:11:20 -04002069 "xfa/fxfa/cxfa_rendercontext.cpp",
2070 "xfa/fxfa/cxfa_rendercontext.h",
Dan Sinclair24ef6332017-07-24 10:52:57 -04002071 "xfa/fxfa/cxfa_textlayout.cpp",
2072 "xfa/fxfa/cxfa_textlayout.h",
2073 "xfa/fxfa/cxfa_textparsecontext.cpp",
2074 "xfa/fxfa/cxfa_textparsecontext.h",
2075 "xfa/fxfa/cxfa_textparser.cpp",
2076 "xfa/fxfa/cxfa_textparser.h",
2077 "xfa/fxfa/cxfa_textpiece.cpp",
2078 "xfa/fxfa/cxfa_textpiece.h",
2079 "xfa/fxfa/cxfa_textprovider.cpp",
2080 "xfa/fxfa/cxfa_textprovider.h",
2081 "xfa/fxfa/cxfa_texttabstopscontext.cpp",
2082 "xfa/fxfa/cxfa_texttabstopscontext.h",
2083 "xfa/fxfa/cxfa_textuserdata.cpp",
2084 "xfa/fxfa/cxfa_textuserdata.h",
Lei Zhangc3ba98e2018-01-22 19:43:26 +00002085 "xfa/fxfa/fxfa.h",
2086 "xfa/fxfa/fxfa_basic.h",
2087 ]
2088 deps = [
2089 ":fxcrt",
2090 ":fxjs",
2091 ":xfa_fde",
2092 ":xfa_fgas",
2093 ]
2094 configs += [
2095 ":pdfium_core_config",
2096 ":xfa_warnings",
2097 ]
2098 }
2099
Lei Zhangab218bf2018-01-22 19:57:27 +00002100 jumbo_static_library("xfa_fxfa_fm2js") {
Lei Zhangc3ba98e2018-01-22 19:43:26 +00002101 sources = [
Dan Sinclair2e9d47a2017-05-16 15:14:02 -04002102 "xfa/fxfa/fm2js/cxfa_fmexpression.cpp",
2103 "xfa/fxfa/fm2js/cxfa_fmexpression.h",
2104 "xfa/fxfa/fm2js/cxfa_fmlexer.cpp",
2105 "xfa/fxfa/fm2js/cxfa_fmlexer.h",
Ryan Harrisondb1e8a52017-07-27 14:53:20 -04002106 "xfa/fxfa/fm2js/cxfa_fmparser.cpp",
2107 "xfa/fxfa/fm2js/cxfa_fmparser.h",
Dan Sinclair2e9d47a2017-05-16 15:14:02 -04002108 "xfa/fxfa/fm2js/cxfa_fmsimpleexpression.cpp",
2109 "xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h",
Ryan Harrison1e19e252017-10-25 14:32:14 -04002110 "xfa/fxfa/fm2js/cxfa_fmtojavascriptdepth.cpp",
2111 "xfa/fxfa/fm2js/cxfa_fmtojavascriptdepth.h",
Lei Zhangc3ba98e2018-01-22 19:43:26 +00002112 ]
2113 deps = [
2114 "//third_party/icu:icuuc",
2115 ]
2116 configs += [
2117 ":pdfium_core_config",
2118 ":xfa_warnings",
2119 ]
2120 }
2121
Lei Zhangec7d8e22018-02-07 19:57:25 +00002122 jumbo_static_library("xfa_fxfa_parser") {
Lei Zhangc3ba98e2018-01-22 19:43:26 +00002123 sources = [
dsinclairc1515ef2016-07-20 06:16:06 -07002124 "xfa/fxfa/parser/cscript_datawindow.cpp",
2125 "xfa/fxfa/parser/cscript_datawindow.h",
2126 "xfa/fxfa/parser/cscript_eventpseudomodel.cpp",
2127 "xfa/fxfa/parser/cscript_eventpseudomodel.h",
2128 "xfa/fxfa/parser/cscript_hostpseudomodel.cpp",
2129 "xfa/fxfa/parser/cscript_hostpseudomodel.h",
2130 "xfa/fxfa/parser/cscript_layoutpseudomodel.cpp",
2131 "xfa/fxfa/parser/cscript_layoutpseudomodel.h",
2132 "xfa/fxfa/parser/cscript_logpseudomodel.cpp",
2133 "xfa/fxfa/parser/cscript_logpseudomodel.h",
2134 "xfa/fxfa/parser/cscript_signaturepseudomodel.cpp",
2135 "xfa/fxfa/parser/cscript_signaturepseudomodel.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002136 "xfa/fxfa/parser/cxfa_accessiblecontent.cpp",
2137 "xfa/fxfa/parser/cxfa_accessiblecontent.h",
2138 "xfa/fxfa/parser/cxfa_acrobat.cpp",
2139 "xfa/fxfa/parser/cxfa_acrobat.h",
2140 "xfa/fxfa/parser/cxfa_acrobat7.cpp",
2141 "xfa/fxfa/parser/cxfa_acrobat7.h",
2142 "xfa/fxfa/parser/cxfa_adbe_jsconsole.cpp",
2143 "xfa/fxfa/parser/cxfa_adbe_jsconsole.h",
2144 "xfa/fxfa/parser/cxfa_adbe_jsdebugger.cpp",
2145 "xfa/fxfa/parser/cxfa_adbe_jsdebugger.h",
2146 "xfa/fxfa/parser/cxfa_addsilentprint.cpp",
2147 "xfa/fxfa/parser/cxfa_addsilentprint.h",
2148 "xfa/fxfa/parser/cxfa_addviewerpreferences.cpp",
2149 "xfa/fxfa/parser/cxfa_addviewerpreferences.h",
2150 "xfa/fxfa/parser/cxfa_adjustdata.cpp",
2151 "xfa/fxfa/parser/cxfa_adjustdata.h",
2152 "xfa/fxfa/parser/cxfa_adobeextensionlevel.cpp",
2153 "xfa/fxfa/parser/cxfa_adobeextensionlevel.h",
2154 "xfa/fxfa/parser/cxfa_agent.cpp",
2155 "xfa/fxfa/parser/cxfa_agent.h",
2156 "xfa/fxfa/parser/cxfa_alwaysembed.cpp",
2157 "xfa/fxfa/parser/cxfa_alwaysembed.h",
2158 "xfa/fxfa/parser/cxfa_amd.cpp",
2159 "xfa/fxfa/parser/cxfa_amd.h",
2160 "xfa/fxfa/parser/cxfa_appearancefilter.cpp",
2161 "xfa/fxfa/parser/cxfa_appearancefilter.h",
2162 "xfa/fxfa/parser/cxfa_arc.cpp",
2163 "xfa/fxfa/parser/cxfa_arc.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002164 "xfa/fxfa/parser/cxfa_area.cpp",
2165 "xfa/fxfa/parser/cxfa_area.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07002166 "xfa/fxfa/parser/cxfa_arraynodelist.cpp",
Dan Sinclairefcae5d2017-03-29 14:47:46 -04002167 "xfa/fxfa/parser/cxfa_arraynodelist.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002168 "xfa/fxfa/parser/cxfa_assist.cpp",
2169 "xfa/fxfa/parser/cxfa_assist.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07002170 "xfa/fxfa/parser/cxfa_attachnodelist.cpp",
Dan Sinclairefcae5d2017-03-29 14:47:46 -04002171 "xfa/fxfa/parser/cxfa_attachnodelist.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002172 "xfa/fxfa/parser/cxfa_attributes.cpp",
2173 "xfa/fxfa/parser/cxfa_attributes.h",
2174 "xfa/fxfa/parser/cxfa_autosave.cpp",
2175 "xfa/fxfa/parser/cxfa_autosave.h",
2176 "xfa/fxfa/parser/cxfa_barcode.cpp",
2177 "xfa/fxfa/parser/cxfa_barcode.h",
2178 "xfa/fxfa/parser/cxfa_base.cpp",
2179 "xfa/fxfa/parser/cxfa_base.h",
2180 "xfa/fxfa/parser/cxfa_batchoutput.cpp",
2181 "xfa/fxfa/parser/cxfa_batchoutput.h",
2182 "xfa/fxfa/parser/cxfa_behavioroverride.cpp",
2183 "xfa/fxfa/parser/cxfa_behavioroverride.h",
2184 "xfa/fxfa/parser/cxfa_bind.cpp",
2185 "xfa/fxfa/parser/cxfa_bind.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002186 "xfa/fxfa/parser/cxfa_binditems.cpp",
2187 "xfa/fxfa/parser/cxfa_binditems.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002188 "xfa/fxfa/parser/cxfa_bookend.cpp",
2189 "xfa/fxfa/parser/cxfa_bookend.h",
2190 "xfa/fxfa/parser/cxfa_boolean.cpp",
2191 "xfa/fxfa/parser/cxfa_boolean.h",
2192 "xfa/fxfa/parser/cxfa_border.cpp",
2193 "xfa/fxfa/parser/cxfa_border.h",
Dan Sinclair39628b02018-01-03 12:01:24 -05002194 "xfa/fxfa/parser/cxfa_box.cpp",
2195 "xfa/fxfa/parser/cxfa_box.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002196 "xfa/fxfa/parser/cxfa_break.cpp",
2197 "xfa/fxfa/parser/cxfa_break.h",
2198 "xfa/fxfa/parser/cxfa_breakafter.cpp",
2199 "xfa/fxfa/parser/cxfa_breakafter.h",
2200 "xfa/fxfa/parser/cxfa_breakbefore.cpp",
2201 "xfa/fxfa/parser/cxfa_breakbefore.h",
2202 "xfa/fxfa/parser/cxfa_button.cpp",
2203 "xfa/fxfa/parser/cxfa_button.h",
2204 "xfa/fxfa/parser/cxfa_cache.cpp",
2205 "xfa/fxfa/parser/cxfa_cache.h",
2206 "xfa/fxfa/parser/cxfa_calculate.cpp",
2207 "xfa/fxfa/parser/cxfa_calculate.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002208 "xfa/fxfa/parser/cxfa_calendarsymbols.cpp",
2209 "xfa/fxfa/parser/cxfa_calendarsymbols.h",
2210 "xfa/fxfa/parser/cxfa_caption.cpp",
2211 "xfa/fxfa/parser/cxfa_caption.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002212 "xfa/fxfa/parser/cxfa_certificate.cpp",
2213 "xfa/fxfa/parser/cxfa_certificate.h",
2214 "xfa/fxfa/parser/cxfa_certificates.cpp",
2215 "xfa/fxfa/parser/cxfa_certificates.h",
2216 "xfa/fxfa/parser/cxfa_change.cpp",
2217 "xfa/fxfa/parser/cxfa_change.h",
2218 "xfa/fxfa/parser/cxfa_checkbutton.cpp",
2219 "xfa/fxfa/parser/cxfa_checkbutton.h",
2220 "xfa/fxfa/parser/cxfa_choicelist.cpp",
2221 "xfa/fxfa/parser/cxfa_choicelist.h",
2222 "xfa/fxfa/parser/cxfa_color.cpp",
2223 "xfa/fxfa/parser/cxfa_color.h",
2224 "xfa/fxfa/parser/cxfa_comb.cpp",
2225 "xfa/fxfa/parser/cxfa_comb.h",
2226 "xfa/fxfa/parser/cxfa_command.cpp",
2227 "xfa/fxfa/parser/cxfa_command.h",
2228 "xfa/fxfa/parser/cxfa_common.cpp",
2229 "xfa/fxfa/parser/cxfa_common.h",
2230 "xfa/fxfa/parser/cxfa_compress.cpp",
2231 "xfa/fxfa/parser/cxfa_compress.h",
2232 "xfa/fxfa/parser/cxfa_compression.cpp",
2233 "xfa/fxfa/parser/cxfa_compression.h",
2234 "xfa/fxfa/parser/cxfa_compresslogicalstructure.cpp",
2235 "xfa/fxfa/parser/cxfa_compresslogicalstructure.h",
2236 "xfa/fxfa/parser/cxfa_compressobjectstream.cpp",
2237 "xfa/fxfa/parser/cxfa_compressobjectstream.h",
2238 "xfa/fxfa/parser/cxfa_config.cpp",
2239 "xfa/fxfa/parser/cxfa_config.h",
2240 "xfa/fxfa/parser/cxfa_conformance.cpp",
2241 "xfa/fxfa/parser/cxfa_conformance.h",
2242 "xfa/fxfa/parser/cxfa_connect.cpp",
2243 "xfa/fxfa/parser/cxfa_connect.h",
2244 "xfa/fxfa/parser/cxfa_connectionset.cpp",
2245 "xfa/fxfa/parser/cxfa_connectionset.h",
2246 "xfa/fxfa/parser/cxfa_connectstring.cpp",
2247 "xfa/fxfa/parser/cxfa_connectstring.h",
dsinclair0b851ff2016-07-21 12:03:01 -07002248 "xfa/fxfa/parser/cxfa_containerlayoutitem.cpp",
2249 "xfa/fxfa/parser/cxfa_containerlayoutitem.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002250 "xfa/fxfa/parser/cxfa_contentarea.cpp",
2251 "xfa/fxfa/parser/cxfa_contentarea.h",
2252 "xfa/fxfa/parser/cxfa_contentcopy.cpp",
2253 "xfa/fxfa/parser/cxfa_contentcopy.h",
dsinclair0b851ff2016-07-21 12:03:01 -07002254 "xfa/fxfa/parser/cxfa_contentlayoutitem.cpp",
2255 "xfa/fxfa/parser/cxfa_contentlayoutitem.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002256 "xfa/fxfa/parser/cxfa_copies.cpp",
2257 "xfa/fxfa/parser/cxfa_copies.h",
2258 "xfa/fxfa/parser/cxfa_corner.cpp",
2259 "xfa/fxfa/parser/cxfa_corner.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002260 "xfa/fxfa/parser/cxfa_creator.cpp",
2261 "xfa/fxfa/parser/cxfa_creator.h",
2262 "xfa/fxfa/parser/cxfa_currencysymbol.cpp",
2263 "xfa/fxfa/parser/cxfa_currencysymbol.h",
2264 "xfa/fxfa/parser/cxfa_currencysymbols.cpp",
2265 "xfa/fxfa/parser/cxfa_currencysymbols.h",
2266 "xfa/fxfa/parser/cxfa_currentpage.cpp",
2267 "xfa/fxfa/parser/cxfa_currentpage.h",
2268 "xfa/fxfa/parser/cxfa_data.cpp",
2269 "xfa/fxfa/parser/cxfa_data.h",
dsinclair3a7cc732016-07-21 12:04:34 -07002270 "xfa/fxfa/parser/cxfa_dataexporter.cpp",
2271 "xfa/fxfa/parser/cxfa_dataexporter.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002272 "xfa/fxfa/parser/cxfa_datagroup.cpp",
2273 "xfa/fxfa/parser/cxfa_datagroup.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002274 "xfa/fxfa/parser/cxfa_datamodel.cpp",
2275 "xfa/fxfa/parser/cxfa_datamodel.h",
2276 "xfa/fxfa/parser/cxfa_datavalue.cpp",
2277 "xfa/fxfa/parser/cxfa_datavalue.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002278 "xfa/fxfa/parser/cxfa_date.cpp",
2279 "xfa/fxfa/parser/cxfa_date.h",
2280 "xfa/fxfa/parser/cxfa_datepattern.cpp",
2281 "xfa/fxfa/parser/cxfa_datepattern.h",
2282 "xfa/fxfa/parser/cxfa_datepatterns.cpp",
2283 "xfa/fxfa/parser/cxfa_datepatterns.h",
2284 "xfa/fxfa/parser/cxfa_datetime.cpp",
2285 "xfa/fxfa/parser/cxfa_datetime.h",
2286 "xfa/fxfa/parser/cxfa_datetimeedit.cpp",
2287 "xfa/fxfa/parser/cxfa_datetimeedit.h",
2288 "xfa/fxfa/parser/cxfa_datetimesymbols.cpp",
2289 "xfa/fxfa/parser/cxfa_datetimesymbols.h",
2290 "xfa/fxfa/parser/cxfa_day.cpp",
2291 "xfa/fxfa/parser/cxfa_day.h",
2292 "xfa/fxfa/parser/cxfa_daynames.cpp",
2293 "xfa/fxfa/parser/cxfa_daynames.h",
2294 "xfa/fxfa/parser/cxfa_debug.cpp",
2295 "xfa/fxfa/parser/cxfa_debug.h",
2296 "xfa/fxfa/parser/cxfa_decimal.cpp",
2297 "xfa/fxfa/parser/cxfa_decimal.h",
2298 "xfa/fxfa/parser/cxfa_defaulttypeface.cpp",
2299 "xfa/fxfa/parser/cxfa_defaulttypeface.h",
2300 "xfa/fxfa/parser/cxfa_defaultui.cpp",
2301 "xfa/fxfa/parser/cxfa_defaultui.h",
2302 "xfa/fxfa/parser/cxfa_delete.cpp",
2303 "xfa/fxfa/parser/cxfa_delete.h",
2304 "xfa/fxfa/parser/cxfa_delta.cpp",
2305 "xfa/fxfa/parser/cxfa_delta.h",
2306 "xfa/fxfa/parser/cxfa_deltas.cpp",
2307 "xfa/fxfa/parser/cxfa_deltas.h",
2308 "xfa/fxfa/parser/cxfa_desc.cpp",
2309 "xfa/fxfa/parser/cxfa_desc.h",
2310 "xfa/fxfa/parser/cxfa_destination.cpp",
2311 "xfa/fxfa/parser/cxfa_destination.h",
2312 "xfa/fxfa/parser/cxfa_digestmethod.cpp",
2313 "xfa/fxfa/parser/cxfa_digestmethod.h",
2314 "xfa/fxfa/parser/cxfa_digestmethods.cpp",
2315 "xfa/fxfa/parser/cxfa_digestmethods.h",
dsinclair16280242016-07-21 12:03:47 -07002316 "xfa/fxfa/parser/cxfa_document.cpp",
2317 "xfa/fxfa/parser/cxfa_document.h",
Dan Sinclair876efaa2018-04-12 13:39:28 +00002318 "xfa/fxfa/parser/cxfa_document_parser.cpp",
2319 "xfa/fxfa/parser/cxfa_document_parser.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002320 "xfa/fxfa/parser/cxfa_documentassembly.cpp",
2321 "xfa/fxfa/parser/cxfa_documentassembly.h",
2322 "xfa/fxfa/parser/cxfa_draw.cpp",
2323 "xfa/fxfa/parser/cxfa_draw.h",
2324 "xfa/fxfa/parser/cxfa_driver.cpp",
2325 "xfa/fxfa/parser/cxfa_driver.h",
2326 "xfa/fxfa/parser/cxfa_dsigdata.cpp",
2327 "xfa/fxfa/parser/cxfa_dsigdata.h",
2328 "xfa/fxfa/parser/cxfa_duplexoption.cpp",
2329 "xfa/fxfa/parser/cxfa_duplexoption.h",
2330 "xfa/fxfa/parser/cxfa_dynamicrender.cpp",
2331 "xfa/fxfa/parser/cxfa_dynamicrender.h",
2332 "xfa/fxfa/parser/cxfa_edge.cpp",
2333 "xfa/fxfa/parser/cxfa_edge.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002334 "xfa/fxfa/parser/cxfa_effectiveinputpolicy.cpp",
2335 "xfa/fxfa/parser/cxfa_effectiveinputpolicy.h",
2336 "xfa/fxfa/parser/cxfa_effectiveoutputpolicy.cpp",
2337 "xfa/fxfa/parser/cxfa_effectiveoutputpolicy.h",
2338 "xfa/fxfa/parser/cxfa_embed.cpp",
2339 "xfa/fxfa/parser/cxfa_embed.h",
2340 "xfa/fxfa/parser/cxfa_encoding.cpp",
2341 "xfa/fxfa/parser/cxfa_encoding.h",
2342 "xfa/fxfa/parser/cxfa_encodings.cpp",
2343 "xfa/fxfa/parser/cxfa_encodings.h",
2344 "xfa/fxfa/parser/cxfa_encrypt.cpp",
2345 "xfa/fxfa/parser/cxfa_encrypt.h",
2346 "xfa/fxfa/parser/cxfa_encryption.cpp",
2347 "xfa/fxfa/parser/cxfa_encryption.h",
2348 "xfa/fxfa/parser/cxfa_encryptionlevel.cpp",
2349 "xfa/fxfa/parser/cxfa_encryptionlevel.h",
2350 "xfa/fxfa/parser/cxfa_encryptionmethod.cpp",
2351 "xfa/fxfa/parser/cxfa_encryptionmethod.h",
2352 "xfa/fxfa/parser/cxfa_encryptionmethods.cpp",
2353 "xfa/fxfa/parser/cxfa_encryptionmethods.h",
2354 "xfa/fxfa/parser/cxfa_enforce.cpp",
2355 "xfa/fxfa/parser/cxfa_enforce.h",
2356 "xfa/fxfa/parser/cxfa_equate.cpp",
2357 "xfa/fxfa/parser/cxfa_equate.h",
2358 "xfa/fxfa/parser/cxfa_equaterange.cpp",
2359 "xfa/fxfa/parser/cxfa_equaterange.h",
2360 "xfa/fxfa/parser/cxfa_era.cpp",
2361 "xfa/fxfa/parser/cxfa_era.h",
2362 "xfa/fxfa/parser/cxfa_eranames.cpp",
2363 "xfa/fxfa/parser/cxfa_eranames.h",
2364 "xfa/fxfa/parser/cxfa_event.cpp",
2365 "xfa/fxfa/parser/cxfa_event.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002366 "xfa/fxfa/parser/cxfa_exclgroup.cpp",
2367 "xfa/fxfa/parser/cxfa_exclgroup.h",
2368 "xfa/fxfa/parser/cxfa_exclude.cpp",
2369 "xfa/fxfa/parser/cxfa_exclude.h",
2370 "xfa/fxfa/parser/cxfa_excludens.cpp",
2371 "xfa/fxfa/parser/cxfa_excludens.h",
2372 "xfa/fxfa/parser/cxfa_exdata.cpp",
2373 "xfa/fxfa/parser/cxfa_exdata.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002374 "xfa/fxfa/parser/cxfa_execute.cpp",
2375 "xfa/fxfa/parser/cxfa_execute.h",
2376 "xfa/fxfa/parser/cxfa_exobject.cpp",
2377 "xfa/fxfa/parser/cxfa_exobject.h",
2378 "xfa/fxfa/parser/cxfa_extras.cpp",
2379 "xfa/fxfa/parser/cxfa_extras.h",
2380 "xfa/fxfa/parser/cxfa_field.cpp",
2381 "xfa/fxfa/parser/cxfa_field.h",
2382 "xfa/fxfa/parser/cxfa_fill.cpp",
2383 "xfa/fxfa/parser/cxfa_fill.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002384 "xfa/fxfa/parser/cxfa_filter.cpp",
2385 "xfa/fxfa/parser/cxfa_filter.h",
2386 "xfa/fxfa/parser/cxfa_fliplabel.cpp",
2387 "xfa/fxfa/parser/cxfa_fliplabel.h",
2388 "xfa/fxfa/parser/cxfa_float.cpp",
2389 "xfa/fxfa/parser/cxfa_float.h",
2390 "xfa/fxfa/parser/cxfa_font.cpp",
2391 "xfa/fxfa/parser/cxfa_font.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002392 "xfa/fxfa/parser/cxfa_fontinfo.cpp",
2393 "xfa/fxfa/parser/cxfa_fontinfo.h",
2394 "xfa/fxfa/parser/cxfa_form.cpp",
2395 "xfa/fxfa/parser/cxfa_form.h",
2396 "xfa/fxfa/parser/cxfa_format.cpp",
2397 "xfa/fxfa/parser/cxfa_format.h",
2398 "xfa/fxfa/parser/cxfa_formfieldfilling.cpp",
2399 "xfa/fxfa/parser/cxfa_formfieldfilling.h",
2400 "xfa/fxfa/parser/cxfa_groupparent.cpp",
2401 "xfa/fxfa/parser/cxfa_groupparent.h",
2402 "xfa/fxfa/parser/cxfa_handler.cpp",
2403 "xfa/fxfa/parser/cxfa_handler.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002404 "xfa/fxfa/parser/cxfa_hyphenation.cpp",
2405 "xfa/fxfa/parser/cxfa_hyphenation.h",
2406 "xfa/fxfa/parser/cxfa_ifempty.cpp",
2407 "xfa/fxfa/parser/cxfa_ifempty.h",
2408 "xfa/fxfa/parser/cxfa_image.cpp",
2409 "xfa/fxfa/parser/cxfa_image.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002410 "xfa/fxfa/parser/cxfa_imageedit.cpp",
2411 "xfa/fxfa/parser/cxfa_imageedit.h",
2412 "xfa/fxfa/parser/cxfa_includexdpcontent.cpp",
2413 "xfa/fxfa/parser/cxfa_includexdpcontent.h",
2414 "xfa/fxfa/parser/cxfa_incrementalload.cpp",
2415 "xfa/fxfa/parser/cxfa_incrementalload.h",
2416 "xfa/fxfa/parser/cxfa_incrementalmerge.cpp",
2417 "xfa/fxfa/parser/cxfa_incrementalmerge.h",
2418 "xfa/fxfa/parser/cxfa_insert.cpp",
2419 "xfa/fxfa/parser/cxfa_insert.h",
2420 "xfa/fxfa/parser/cxfa_instancemanager.cpp",
2421 "xfa/fxfa/parser/cxfa_instancemanager.h",
2422 "xfa/fxfa/parser/cxfa_integer.cpp",
2423 "xfa/fxfa/parser/cxfa_integer.h",
2424 "xfa/fxfa/parser/cxfa_interactive.cpp",
2425 "xfa/fxfa/parser/cxfa_interactive.h",
2426 "xfa/fxfa/parser/cxfa_issuers.cpp",
2427 "xfa/fxfa/parser/cxfa_issuers.h",
Dan Sinclairec1843d2017-03-28 16:04:41 -04002428 "xfa/fxfa/parser/cxfa_itemlayoutprocessor.cpp",
2429 "xfa/fxfa/parser/cxfa_itemlayoutprocessor.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002430 "xfa/fxfa/parser/cxfa_items.cpp",
2431 "xfa/fxfa/parser/cxfa_items.h",
2432 "xfa/fxfa/parser/cxfa_jog.cpp",
2433 "xfa/fxfa/parser/cxfa_jog.h",
2434 "xfa/fxfa/parser/cxfa_keep.cpp",
2435 "xfa/fxfa/parser/cxfa_keep.h",
2436 "xfa/fxfa/parser/cxfa_keyusage.cpp",
2437 "xfa/fxfa/parser/cxfa_keyusage.h",
2438 "xfa/fxfa/parser/cxfa_labelprinter.cpp",
2439 "xfa/fxfa/parser/cxfa_labelprinter.h",
2440 "xfa/fxfa/parser/cxfa_layout.cpp",
2441 "xfa/fxfa/parser/cxfa_layout.h",
Dan Sinclairec1843d2017-03-28 16:04:41 -04002442 "xfa/fxfa/parser/cxfa_layoutcontext.h",
dsinclair0b851ff2016-07-21 12:03:01 -07002443 "xfa/fxfa/parser/cxfa_layoutitem.cpp",
2444 "xfa/fxfa/parser/cxfa_layoutitem.h",
dsinclair8d0cc672016-08-03 12:58:53 -07002445 "xfa/fxfa/parser/cxfa_layoutpagemgr.cpp",
2446 "xfa/fxfa/parser/cxfa_layoutpagemgr.h",
dsinclair0b851ff2016-07-21 12:03:01 -07002447 "xfa/fxfa/parser/cxfa_layoutprocessor.cpp",
2448 "xfa/fxfa/parser/cxfa_layoutprocessor.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002449 "xfa/fxfa/parser/cxfa_level.cpp",
2450 "xfa/fxfa/parser/cxfa_level.h",
2451 "xfa/fxfa/parser/cxfa_line.cpp",
2452 "xfa/fxfa/parser/cxfa_line.h",
2453 "xfa/fxfa/parser/cxfa_linear.cpp",
2454 "xfa/fxfa/parser/cxfa_linear.h",
2455 "xfa/fxfa/parser/cxfa_linearized.cpp",
2456 "xfa/fxfa/parser/cxfa_linearized.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002457 "xfa/fxfa/parser/cxfa_list.cpp",
2458 "xfa/fxfa/parser/cxfa_list.h",
2459 "xfa/fxfa/parser/cxfa_locale.cpp",
2460 "xfa/fxfa/parser/cxfa_locale.h",
Dan Sinclairec1843d2017-03-28 16:04:41 -04002461 "xfa/fxfa/parser/cxfa_localemgr.cpp",
2462 "xfa/fxfa/parser/cxfa_localemgr.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002463 "xfa/fxfa/parser/cxfa_localeset.cpp",
2464 "xfa/fxfa/parser/cxfa_localeset.h",
Dan Sinclairec1843d2017-03-28 16:04:41 -04002465 "xfa/fxfa/parser/cxfa_localevalue.cpp",
2466 "xfa/fxfa/parser/cxfa_localevalue.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002467 "xfa/fxfa/parser/cxfa_lockdocument.cpp",
2468 "xfa/fxfa/parser/cxfa_lockdocument.h",
2469 "xfa/fxfa/parser/cxfa_log.cpp",
2470 "xfa/fxfa/parser/cxfa_log.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002471 "xfa/fxfa/parser/cxfa_manifest.cpp",
2472 "xfa/fxfa/parser/cxfa_manifest.h",
2473 "xfa/fxfa/parser/cxfa_map.cpp",
2474 "xfa/fxfa/parser/cxfa_map.h",
2475 "xfa/fxfa/parser/cxfa_margin.cpp",
2476 "xfa/fxfa/parser/cxfa_margin.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002477 "xfa/fxfa/parser/cxfa_mdp.cpp",
2478 "xfa/fxfa/parser/cxfa_mdp.h",
dsinclair9eb0db12016-07-21 12:01:39 -07002479 "xfa/fxfa/parser/cxfa_measurement.cpp",
2480 "xfa/fxfa/parser/cxfa_measurement.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002481 "xfa/fxfa/parser/cxfa_medium.cpp",
2482 "xfa/fxfa/parser/cxfa_medium.h",
2483 "xfa/fxfa/parser/cxfa_mediuminfo.cpp",
2484 "xfa/fxfa/parser/cxfa_mediuminfo.h",
2485 "xfa/fxfa/parser/cxfa_meridiem.cpp",
2486 "xfa/fxfa/parser/cxfa_meridiem.h",
2487 "xfa/fxfa/parser/cxfa_meridiemnames.cpp",
2488 "xfa/fxfa/parser/cxfa_meridiemnames.h",
2489 "xfa/fxfa/parser/cxfa_message.cpp",
2490 "xfa/fxfa/parser/cxfa_message.h",
2491 "xfa/fxfa/parser/cxfa_messaging.cpp",
2492 "xfa/fxfa/parser/cxfa_messaging.h",
2493 "xfa/fxfa/parser/cxfa_mode.cpp",
2494 "xfa/fxfa/parser/cxfa_mode.h",
2495 "xfa/fxfa/parser/cxfa_modifyannots.cpp",
2496 "xfa/fxfa/parser/cxfa_modifyannots.h",
2497 "xfa/fxfa/parser/cxfa_month.cpp",
2498 "xfa/fxfa/parser/cxfa_month.h",
2499 "xfa/fxfa/parser/cxfa_monthnames.cpp",
2500 "xfa/fxfa/parser/cxfa_monthnames.h",
2501 "xfa/fxfa/parser/cxfa_msgid.cpp",
2502 "xfa/fxfa/parser/cxfa_msgid.h",
2503 "xfa/fxfa/parser/cxfa_nameattr.cpp",
2504 "xfa/fxfa/parser/cxfa_nameattr.h",
2505 "xfa/fxfa/parser/cxfa_neverembed.cpp",
2506 "xfa/fxfa/parser/cxfa_neverembed.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07002507 "xfa/fxfa/parser/cxfa_node.cpp",
Dan Sinclairefcae5d2017-03-29 14:47:46 -04002508 "xfa/fxfa/parser/cxfa_node.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002509 "xfa/fxfa/parser/cxfa_node_statics.cpp",
dsinclair31f87402016-07-20 06:34:45 -07002510 "xfa/fxfa/parser/cxfa_nodehelper.cpp",
2511 "xfa/fxfa/parser/cxfa_nodehelper.h",
Dan Sinclair40116772017-11-14 21:29:35 +00002512 "xfa/fxfa/parser/cxfa_nodeiteratortemplate.h",
Dan Sinclairec1843d2017-03-28 16:04:41 -04002513 "xfa/fxfa/parser/cxfa_nodelocale.cpp",
2514 "xfa/fxfa/parser/cxfa_nodelocale.h",
Dan Sinclair80bf5822018-02-13 20:55:03 +00002515 "xfa/fxfa/parser/cxfa_nodeowner.cpp",
2516 "xfa/fxfa/parser/cxfa_nodeowner.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002517 "xfa/fxfa/parser/cxfa_numberofcopies.cpp",
2518 "xfa/fxfa/parser/cxfa_numberofcopies.h",
2519 "xfa/fxfa/parser/cxfa_numberpattern.cpp",
2520 "xfa/fxfa/parser/cxfa_numberpattern.h",
2521 "xfa/fxfa/parser/cxfa_numberpatterns.cpp",
2522 "xfa/fxfa/parser/cxfa_numberpatterns.h",
2523 "xfa/fxfa/parser/cxfa_numbersymbol.cpp",
2524 "xfa/fxfa/parser/cxfa_numbersymbol.h",
2525 "xfa/fxfa/parser/cxfa_numbersymbols.cpp",
2526 "xfa/fxfa/parser/cxfa_numbersymbols.h",
2527 "xfa/fxfa/parser/cxfa_numericedit.cpp",
2528 "xfa/fxfa/parser/cxfa_numericedit.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07002529 "xfa/fxfa/parser/cxfa_object.cpp",
Dan Sinclairefcae5d2017-03-29 14:47:46 -04002530 "xfa/fxfa/parser/cxfa_object.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002531 "xfa/fxfa/parser/cxfa_occur.cpp",
2532 "xfa/fxfa/parser/cxfa_occur.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002533 "xfa/fxfa/parser/cxfa_oid.cpp",
2534 "xfa/fxfa/parser/cxfa_oid.h",
2535 "xfa/fxfa/parser/cxfa_oids.cpp",
2536 "xfa/fxfa/parser/cxfa_oids.h",
2537 "xfa/fxfa/parser/cxfa_openaction.cpp",
2538 "xfa/fxfa/parser/cxfa_openaction.h",
2539 "xfa/fxfa/parser/cxfa_operation.cpp",
2540 "xfa/fxfa/parser/cxfa_operation.h",
2541 "xfa/fxfa/parser/cxfa_output.cpp",
2542 "xfa/fxfa/parser/cxfa_output.h",
2543 "xfa/fxfa/parser/cxfa_outputbin.cpp",
2544 "xfa/fxfa/parser/cxfa_outputbin.h",
2545 "xfa/fxfa/parser/cxfa_outputxsl.cpp",
2546 "xfa/fxfa/parser/cxfa_outputxsl.h",
2547 "xfa/fxfa/parser/cxfa_overflow.cpp",
2548 "xfa/fxfa/parser/cxfa_overflow.h",
2549 "xfa/fxfa/parser/cxfa_overprint.cpp",
2550 "xfa/fxfa/parser/cxfa_overprint.h",
2551 "xfa/fxfa/parser/cxfa_packet.cpp",
2552 "xfa/fxfa/parser/cxfa_packet.h",
2553 "xfa/fxfa/parser/cxfa_packets.cpp",
2554 "xfa/fxfa/parser/cxfa_packets.h",
2555 "xfa/fxfa/parser/cxfa_pagearea.cpp",
2556 "xfa/fxfa/parser/cxfa_pagearea.h",
2557 "xfa/fxfa/parser/cxfa_pageoffset.cpp",
2558 "xfa/fxfa/parser/cxfa_pageoffset.h",
2559 "xfa/fxfa/parser/cxfa_pagerange.cpp",
2560 "xfa/fxfa/parser/cxfa_pagerange.h",
2561 "xfa/fxfa/parser/cxfa_pageset.cpp",
2562 "xfa/fxfa/parser/cxfa_pageset.h",
2563 "xfa/fxfa/parser/cxfa_pagination.cpp",
2564 "xfa/fxfa/parser/cxfa_pagination.h",
2565 "xfa/fxfa/parser/cxfa_paginationoverride.cpp",
2566 "xfa/fxfa/parser/cxfa_paginationoverride.h",
2567 "xfa/fxfa/parser/cxfa_para.cpp",
2568 "xfa/fxfa/parser/cxfa_para.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002569 "xfa/fxfa/parser/cxfa_part.cpp",
2570 "xfa/fxfa/parser/cxfa_part.h",
2571 "xfa/fxfa/parser/cxfa_password.cpp",
2572 "xfa/fxfa/parser/cxfa_password.h",
2573 "xfa/fxfa/parser/cxfa_passwordedit.cpp",
2574 "xfa/fxfa/parser/cxfa_passwordedit.h",
2575 "xfa/fxfa/parser/cxfa_pattern.cpp",
2576 "xfa/fxfa/parser/cxfa_pattern.h",
2577 "xfa/fxfa/parser/cxfa_pcl.cpp",
2578 "xfa/fxfa/parser/cxfa_pcl.h",
2579 "xfa/fxfa/parser/cxfa_pdf.cpp",
2580 "xfa/fxfa/parser/cxfa_pdf.h",
2581 "xfa/fxfa/parser/cxfa_pdfa.cpp",
2582 "xfa/fxfa/parser/cxfa_pdfa.h",
2583 "xfa/fxfa/parser/cxfa_permissions.cpp",
2584 "xfa/fxfa/parser/cxfa_permissions.h",
2585 "xfa/fxfa/parser/cxfa_picktraybypdfsize.cpp",
2586 "xfa/fxfa/parser/cxfa_picktraybypdfsize.h",
2587 "xfa/fxfa/parser/cxfa_picture.cpp",
2588 "xfa/fxfa/parser/cxfa_picture.h",
2589 "xfa/fxfa/parser/cxfa_plaintextmetadata.cpp",
2590 "xfa/fxfa/parser/cxfa_plaintextmetadata.h",
2591 "xfa/fxfa/parser/cxfa_presence.cpp",
2592 "xfa/fxfa/parser/cxfa_presence.h",
2593 "xfa/fxfa/parser/cxfa_present.cpp",
2594 "xfa/fxfa/parser/cxfa_present.h",
2595 "xfa/fxfa/parser/cxfa_print.cpp",
2596 "xfa/fxfa/parser/cxfa_print.h",
2597 "xfa/fxfa/parser/cxfa_printername.cpp",
2598 "xfa/fxfa/parser/cxfa_printername.h",
2599 "xfa/fxfa/parser/cxfa_printhighquality.cpp",
2600 "xfa/fxfa/parser/cxfa_printhighquality.h",
2601 "xfa/fxfa/parser/cxfa_printscaling.cpp",
2602 "xfa/fxfa/parser/cxfa_printscaling.h",
2603 "xfa/fxfa/parser/cxfa_producer.cpp",
2604 "xfa/fxfa/parser/cxfa_producer.h",
2605 "xfa/fxfa/parser/cxfa_proto.cpp",
2606 "xfa/fxfa/parser/cxfa_proto.h",
2607 "xfa/fxfa/parser/cxfa_ps.cpp",
2608 "xfa/fxfa/parser/cxfa_ps.h",
2609 "xfa/fxfa/parser/cxfa_psmap.cpp",
2610 "xfa/fxfa/parser/cxfa_psmap.h",
2611 "xfa/fxfa/parser/cxfa_query.cpp",
2612 "xfa/fxfa/parser/cxfa_query.h",
2613 "xfa/fxfa/parser/cxfa_radial.cpp",
2614 "xfa/fxfa/parser/cxfa_radial.h",
2615 "xfa/fxfa/parser/cxfa_range.cpp",
2616 "xfa/fxfa/parser/cxfa_range.h",
2617 "xfa/fxfa/parser/cxfa_reason.cpp",
2618 "xfa/fxfa/parser/cxfa_reason.h",
2619 "xfa/fxfa/parser/cxfa_reasons.cpp",
2620 "xfa/fxfa/parser/cxfa_reasons.h",
2621 "xfa/fxfa/parser/cxfa_record.cpp",
2622 "xfa/fxfa/parser/cxfa_record.h",
2623 "xfa/fxfa/parser/cxfa_recordset.cpp",
2624 "xfa/fxfa/parser/cxfa_recordset.h",
2625 "xfa/fxfa/parser/cxfa_rectangle.cpp",
2626 "xfa/fxfa/parser/cxfa_rectangle.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002627 "xfa/fxfa/parser/cxfa_ref.cpp",
2628 "xfa/fxfa/parser/cxfa_ref.h",
2629 "xfa/fxfa/parser/cxfa_relevant.cpp",
2630 "xfa/fxfa/parser/cxfa_relevant.h",
2631 "xfa/fxfa/parser/cxfa_rename.cpp",
2632 "xfa/fxfa/parser/cxfa_rename.h",
2633 "xfa/fxfa/parser/cxfa_renderpolicy.cpp",
2634 "xfa/fxfa/parser/cxfa_renderpolicy.h",
2635 "xfa/fxfa/parser/cxfa_rootelement.cpp",
2636 "xfa/fxfa/parser/cxfa_rootelement.h",
2637 "xfa/fxfa/parser/cxfa_runscripts.cpp",
2638 "xfa/fxfa/parser/cxfa_runscripts.h",
2639 "xfa/fxfa/parser/cxfa_script.cpp",
2640 "xfa/fxfa/parser/cxfa_script.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002641 "xfa/fxfa/parser/cxfa_scriptmodel.cpp",
2642 "xfa/fxfa/parser/cxfa_scriptmodel.h",
2643 "xfa/fxfa/parser/cxfa_select.cpp",
2644 "xfa/fxfa/parser/cxfa_select.h",
2645 "xfa/fxfa/parser/cxfa_setproperty.cpp",
2646 "xfa/fxfa/parser/cxfa_setproperty.h",
2647 "xfa/fxfa/parser/cxfa_severity.cpp",
2648 "xfa/fxfa/parser/cxfa_severity.h",
2649 "xfa/fxfa/parser/cxfa_sharptext.cpp",
2650 "xfa/fxfa/parser/cxfa_sharptext.h",
2651 "xfa/fxfa/parser/cxfa_sharpxhtml.cpp",
2652 "xfa/fxfa/parser/cxfa_sharpxhtml.h",
2653 "xfa/fxfa/parser/cxfa_sharpxml.cpp",
2654 "xfa/fxfa/parser/cxfa_sharpxml.h",
2655 "xfa/fxfa/parser/cxfa_signature.cpp",
2656 "xfa/fxfa/parser/cxfa_signature.h",
2657 "xfa/fxfa/parser/cxfa_signatureproperties.cpp",
2658 "xfa/fxfa/parser/cxfa_signatureproperties.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002659 "xfa/fxfa/parser/cxfa_signdata.cpp",
2660 "xfa/fxfa/parser/cxfa_signdata.h",
2661 "xfa/fxfa/parser/cxfa_signing.cpp",
2662 "xfa/fxfa/parser/cxfa_signing.h",
2663 "xfa/fxfa/parser/cxfa_silentprint.cpp",
2664 "xfa/fxfa/parser/cxfa_silentprint.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002665 "xfa/fxfa/parser/cxfa_soapaction.cpp",
2666 "xfa/fxfa/parser/cxfa_soapaction.h",
2667 "xfa/fxfa/parser/cxfa_soapaddress.cpp",
2668 "xfa/fxfa/parser/cxfa_soapaddress.h",
2669 "xfa/fxfa/parser/cxfa_solid.cpp",
2670 "xfa/fxfa/parser/cxfa_solid.h",
2671 "xfa/fxfa/parser/cxfa_source.cpp",
2672 "xfa/fxfa/parser/cxfa_source.h",
2673 "xfa/fxfa/parser/cxfa_sourceset.cpp",
2674 "xfa/fxfa/parser/cxfa_sourceset.h",
2675 "xfa/fxfa/parser/cxfa_speak.cpp",
2676 "xfa/fxfa/parser/cxfa_speak.h",
2677 "xfa/fxfa/parser/cxfa_staple.cpp",
2678 "xfa/fxfa/parser/cxfa_staple.h",
2679 "xfa/fxfa/parser/cxfa_startnode.cpp",
2680 "xfa/fxfa/parser/cxfa_startnode.h",
2681 "xfa/fxfa/parser/cxfa_startpage.cpp",
2682 "xfa/fxfa/parser/cxfa_startpage.h",
2683 "xfa/fxfa/parser/cxfa_stipple.cpp",
2684 "xfa/fxfa/parser/cxfa_stipple.h",
Dan Sinclairbf1cf342018-01-03 15:52:41 -05002685 "xfa/fxfa/parser/cxfa_stroke.cpp",
2686 "xfa/fxfa/parser/cxfa_stroke.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002687 "xfa/fxfa/parser/cxfa_subform.cpp",
2688 "xfa/fxfa/parser/cxfa_subform.h",
2689 "xfa/fxfa/parser/cxfa_subformset.cpp",
2690 "xfa/fxfa/parser/cxfa_subformset.h",
2691 "xfa/fxfa/parser/cxfa_subjectdn.cpp",
2692 "xfa/fxfa/parser/cxfa_subjectdn.h",
2693 "xfa/fxfa/parser/cxfa_subjectdns.cpp",
2694 "xfa/fxfa/parser/cxfa_subjectdns.h",
2695 "xfa/fxfa/parser/cxfa_submit.cpp",
2696 "xfa/fxfa/parser/cxfa_submit.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002697 "xfa/fxfa/parser/cxfa_submitformat.cpp",
2698 "xfa/fxfa/parser/cxfa_submitformat.h",
2699 "xfa/fxfa/parser/cxfa_submiturl.cpp",
2700 "xfa/fxfa/parser/cxfa_submiturl.h",
2701 "xfa/fxfa/parser/cxfa_subsetbelow.cpp",
2702 "xfa/fxfa/parser/cxfa_subsetbelow.h",
2703 "xfa/fxfa/parser/cxfa_suppressbanner.cpp",
2704 "xfa/fxfa/parser/cxfa_suppressbanner.h",
2705 "xfa/fxfa/parser/cxfa_tagged.cpp",
2706 "xfa/fxfa/parser/cxfa_tagged.h",
2707 "xfa/fxfa/parser/cxfa_template.cpp",
2708 "xfa/fxfa/parser/cxfa_template.h",
2709 "xfa/fxfa/parser/cxfa_templatecache.cpp",
2710 "xfa/fxfa/parser/cxfa_templatecache.h",
2711 "xfa/fxfa/parser/cxfa_text.cpp",
2712 "xfa/fxfa/parser/cxfa_text.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002713 "xfa/fxfa/parser/cxfa_textedit.cpp",
2714 "xfa/fxfa/parser/cxfa_textedit.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07002715 "xfa/fxfa/parser/cxfa_thisproxy.cpp",
Dan Sinclairefcae5d2017-03-29 14:47:46 -04002716 "xfa/fxfa/parser/cxfa_thisproxy.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002717 "xfa/fxfa/parser/cxfa_threshold.cpp",
2718 "xfa/fxfa/parser/cxfa_threshold.h",
2719 "xfa/fxfa/parser/cxfa_time.cpp",
2720 "xfa/fxfa/parser/cxfa_time.h",
2721 "xfa/fxfa/parser/cxfa_timepattern.cpp",
2722 "xfa/fxfa/parser/cxfa_timepattern.h",
2723 "xfa/fxfa/parser/cxfa_timepatterns.cpp",
2724 "xfa/fxfa/parser/cxfa_timepatterns.h",
2725 "xfa/fxfa/parser/cxfa_timestamp.cpp",
2726 "xfa/fxfa/parser/cxfa_timestamp.h",
Dan Sinclairec1843d2017-03-28 16:04:41 -04002727 "xfa/fxfa/parser/cxfa_timezoneprovider.cpp",
2728 "xfa/fxfa/parser/cxfa_timezoneprovider.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002729 "xfa/fxfa/parser/cxfa_to.cpp",
2730 "xfa/fxfa/parser/cxfa_to.h",
2731 "xfa/fxfa/parser/cxfa_tooltip.cpp",
2732 "xfa/fxfa/parser/cxfa_tooltip.h",
2733 "xfa/fxfa/parser/cxfa_trace.cpp",
2734 "xfa/fxfa/parser/cxfa_trace.h",
2735 "xfa/fxfa/parser/cxfa_transform.cpp",
2736 "xfa/fxfa/parser/cxfa_transform.h",
2737 "xfa/fxfa/parser/cxfa_traversal.cpp",
2738 "xfa/fxfa/parser/cxfa_traversal.h",
2739 "xfa/fxfa/parser/cxfa_traverse.cpp",
2740 "xfa/fxfa/parser/cxfa_traverse.h",
dsinclair6ea5ba02016-08-03 10:20:32 -07002741 "xfa/fxfa/parser/cxfa_traversestrategy_contentareacontainerlayoutitem.h",
2742 "xfa/fxfa/parser/cxfa_traversestrategy_contentlayoutitem.h",
dsinclair0b851ff2016-07-21 12:03:01 -07002743 "xfa/fxfa/parser/cxfa_traversestrategy_layoutitem.h",
Dan Sinclairefcae5d2017-03-29 14:47:46 -04002744 "xfa/fxfa/parser/cxfa_traversestrategy_xfacontainernode.h",
2745 "xfa/fxfa/parser/cxfa_traversestrategy_xfanode.h",
Dan Sinclair93bb7252017-12-07 22:33:43 +00002746 "xfa/fxfa/parser/cxfa_treelist.cpp",
2747 "xfa/fxfa/parser/cxfa_treelist.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002748 "xfa/fxfa/parser/cxfa_type.cpp",
2749 "xfa/fxfa/parser/cxfa_type.h",
2750 "xfa/fxfa/parser/cxfa_typeface.cpp",
2751 "xfa/fxfa/parser/cxfa_typeface.h",
2752 "xfa/fxfa/parser/cxfa_typefaces.cpp",
2753 "xfa/fxfa/parser/cxfa_typefaces.h",
2754 "xfa/fxfa/parser/cxfa_ui.cpp",
2755 "xfa/fxfa/parser/cxfa_ui.h",
2756 "xfa/fxfa/parser/cxfa_update.cpp",
2757 "xfa/fxfa/parser/cxfa_update.h",
2758 "xfa/fxfa/parser/cxfa_uri.cpp",
2759 "xfa/fxfa/parser/cxfa_uri.h",
2760 "xfa/fxfa/parser/cxfa_user.cpp",
2761 "xfa/fxfa/parser/cxfa_user.h",
2762 "xfa/fxfa/parser/cxfa_validate.cpp",
2763 "xfa/fxfa/parser/cxfa_validate.h",
2764 "xfa/fxfa/parser/cxfa_validateapprovalsignatures.cpp",
2765 "xfa/fxfa/parser/cxfa_validateapprovalsignatures.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002766 "xfa/fxfa/parser/cxfa_validationmessaging.cpp",
2767 "xfa/fxfa/parser/cxfa_validationmessaging.h",
2768 "xfa/fxfa/parser/cxfa_value.cpp",
2769 "xfa/fxfa/parser/cxfa_value.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002770 "xfa/fxfa/parser/cxfa_variables.cpp",
2771 "xfa/fxfa/parser/cxfa_variables.h",
2772 "xfa/fxfa/parser/cxfa_version.cpp",
2773 "xfa/fxfa/parser/cxfa_version.h",
2774 "xfa/fxfa/parser/cxfa_versioncontrol.cpp",
2775 "xfa/fxfa/parser/cxfa_versioncontrol.h",
2776 "xfa/fxfa/parser/cxfa_viewerpreferences.cpp",
2777 "xfa/fxfa/parser/cxfa_viewerpreferences.h",
2778 "xfa/fxfa/parser/cxfa_webclient.cpp",
2779 "xfa/fxfa/parser/cxfa_webclient.h",
2780 "xfa/fxfa/parser/cxfa_whitespace.cpp",
2781 "xfa/fxfa/parser/cxfa_whitespace.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002782 "xfa/fxfa/parser/cxfa_window.cpp",
2783 "xfa/fxfa/parser/cxfa_window.h",
2784 "xfa/fxfa/parser/cxfa_wsdladdress.cpp",
2785 "xfa/fxfa/parser/cxfa_wsdladdress.h",
2786 "xfa/fxfa/parser/cxfa_wsdlconnection.cpp",
2787 "xfa/fxfa/parser/cxfa_wsdlconnection.h",
2788 "xfa/fxfa/parser/cxfa_xdc.cpp",
2789 "xfa/fxfa/parser/cxfa_xdc.h",
2790 "xfa/fxfa/parser/cxfa_xdp.cpp",
2791 "xfa/fxfa/parser/cxfa_xdp.h",
2792 "xfa/fxfa/parser/cxfa_xfa.cpp",
2793 "xfa/fxfa/parser/cxfa_xfa.h",
2794 "xfa/fxfa/parser/cxfa_xmlconnection.cpp",
2795 "xfa/fxfa/parser/cxfa_xmlconnection.h",
Dan Sinclairec1843d2017-03-28 16:04:41 -04002796 "xfa/fxfa/parser/cxfa_xmllocale.cpp",
2797 "xfa/fxfa/parser/cxfa_xmllocale.h",
Dan Sinclairf4736722017-11-27 18:10:47 +00002798 "xfa/fxfa/parser/cxfa_xsdconnection.cpp",
2799 "xfa/fxfa/parser/cxfa_xsdconnection.h",
2800 "xfa/fxfa/parser/cxfa_xsl.cpp",
2801 "xfa/fxfa/parser/cxfa_xsl.h",
2802 "xfa/fxfa/parser/cxfa_zpl.cpp",
2803 "xfa/fxfa/parser/cxfa_zpl.h",
dsinclairf1494f02016-07-07 12:56:17 -07002804 "xfa/fxfa/parser/xfa_basic_data.h",
dsinclair8bdbc882016-07-07 07:55:39 -07002805 "xfa/fxfa/parser/xfa_basic_data_element_script.cpp",
2806 "xfa/fxfa/parser/xfa_basic_data_enum.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04002807 "xfa/fxfa/parser/xfa_document_datamerger_imp.cpp",
2808 "xfa/fxfa/parser/xfa_document_datamerger_imp.h",
dsinclair31f87402016-07-20 06:34:45 -07002809 "xfa/fxfa/parser/xfa_resolvenode_rs.h",
dsinclair39fdfc32016-07-21 12:09:45 -07002810 "xfa/fxfa/parser/xfa_utils.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04002811 "xfa/fxfa/parser/xfa_utils.h",
Lei Zhangc3ba98e2018-01-22 19:43:26 +00002812 ]
2813 deps = [
Dan Sinclair9b85f4b2018-01-23 18:24:13 +00002814 ":fxcrt",
Lei Zhangc3ba98e2018-01-22 19:43:26 +00002815 ":fxjs",
Dan Sinclair9b85f4b2018-01-23 18:24:13 +00002816 ":xfa_fde",
Lei Zhangc3ba98e2018-01-22 19:43:26 +00002817 ":xfa_fgas",
Dan Sinclair9b85f4b2018-01-23 18:24:13 +00002818 ":xfa_fxfa",
Lei Zhangc3ba98e2018-01-22 19:43:26 +00002819 ]
2820 configs += [
2821 ":pdfium_core_config",
2822 ":xfa_warnings",
2823 ]
2824 }
2825
Lei Zhangab218bf2018-01-22 19:57:27 +00002826 jumbo_static_library("xfa_fxgraphics") {
Lei Zhangc3ba98e2018-01-22 19:43:26 +00002827 sources = [
Dan Sinclair5a423ef2017-11-14 18:56:54 +00002828 "xfa/fxgraphics/cxfa_gecolor.cpp",
2829 "xfa/fxgraphics/cxfa_gecolor.h",
2830 "xfa/fxgraphics/cxfa_gepath.cpp",
2831 "xfa/fxgraphics/cxfa_gepath.h",
2832 "xfa/fxgraphics/cxfa_gepattern.cpp",
2833 "xfa/fxgraphics/cxfa_gepattern.h",
2834 "xfa/fxgraphics/cxfa_geshading.cpp",
2835 "xfa/fxgraphics/cxfa_geshading.h",
Dan Sinclair2b918c82017-07-13 14:47:10 -04002836 "xfa/fxgraphics/cxfa_graphics.cpp",
2837 "xfa/fxgraphics/cxfa_graphics.h",
Tom Sepezb36747d2015-12-08 15:49:25 -08002838 ]
Tom Sepezb36747d2015-12-08 15:49:25 -08002839 configs += [
weili0abe6522016-06-06 14:41:22 -07002840 ":pdfium_core_config",
weilidcc29b12016-05-27 17:58:23 -07002841 ":xfa_warnings",
Tom Sepez452b4f32015-10-13 09:27:27 -07002842 ]
2843 }
Tom Sepezc706fc02014-11-14 13:39:20 -08002844}
Tom Sepez04681f32015-01-09 13:59:19 -08002845
2846test("pdfium_unittests") {
2847 sources = [
tsepezf5cabbf2016-11-21 12:08:22 -08002848 "core/fdrm/crypto/fx_crypt_unittest.cpp",
Nicolas Pena4bd0d992017-02-02 14:32:21 -05002849 "core/fpdfapi/edit/cpdf_pagecontentgenerator_unittest.cpp",
Nicolas Pena169b3012017-05-26 14:38:03 -04002850 "core/fpdfapi/font/cpdf_cmapparser_unittest.cpp",
2851 "core/fpdfapi/font/cpdf_tounicodemap_unittest.cpp",
Nicolas Pena67912952017-03-10 15:15:33 -05002852 "core/fpdfapi/page/cpdf_devicecs_unittest.cpp",
Lei Zhang89869032017-11-06 20:01:13 +00002853 "core/fpdfapi/page/cpdf_psengine_unittest.cpp",
npm014b0122016-11-07 08:42:11 -08002854 "core/fpdfapi/page/cpdf_streamcontentparser_unittest.cpp",
2855 "core/fpdfapi/page/cpdf_streamparser_unittest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07002856 "core/fpdfapi/parser/cpdf_array_unittest.cpp",
Artem Strygin626c2a52017-11-02 19:59:38 +00002857 "core/fpdfapi/parser/cpdf_cross_ref_avail_unittest.cpp",
npm3cad5962016-10-21 16:02:15 -07002858 "core/fpdfapi/parser/cpdf_document_unittest.cpp",
Artem Strygin71702262017-10-30 10:44:01 +00002859 "core/fpdfapi/parser/cpdf_hint_tables_unittest.cpp",
Artem Strygin16b77c72017-09-01 16:03:58 +03002860 "core/fpdfapi/parser/cpdf_indirect_object_holder_unittest.cpp",
Artem Strygin304eefb2017-08-29 00:26:42 +03002861 "core/fpdfapi/parser/cpdf_object_avail_unittest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07002862 "core/fpdfapi/parser/cpdf_object_unittest.cpp",
Artem Stryginf57cad42017-08-14 23:35:52 +03002863 "core/fpdfapi/parser/cpdf_object_walker_unittest.cpp",
Artem Strygin304eefb2017-08-29 00:26:42 +03002864 "core/fpdfapi/parser/cpdf_page_object_avail_unittest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07002865 "core/fpdfapi/parser/cpdf_parser_unittest.cpp",
Artem Strygin834ebec2017-07-27 14:01:32 +03002866 "core/fpdfapi/parser/cpdf_read_validator_unittest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07002867 "core/fpdfapi/parser/cpdf_simple_parser_unittest.cpp",
2868 "core/fpdfapi/parser/cpdf_syntax_parser_unittest.cpp",
2869 "core/fpdfapi/parser/fpdf_parser_decode_unittest.cpp",
Tom Sepeza7b15592018-04-16 19:22:57 +00002870 "core/fpdfapi/parser/fpdf_parser_utility_unittest.cpp",
Dan Sinclair53a80932018-03-28 20:00:35 +00002871 "core/fpdfdoc/cpdf_defaultappearance_unittest.cpp",
dsinclairc59fa882016-11-08 06:55:40 -08002872 "core/fpdfdoc/cpdf_dest_unittest.cpp",
dsinclair448c4332016-08-02 12:07:35 -07002873 "core/fpdfdoc/cpdf_filespec_unittest.cpp",
thestig695aac52016-08-25 09:13:52 -07002874 "core/fpdfdoc/cpdf_formfield_unittest.cpp",
dan sinclair00e72c12018-04-13 18:04:56 +00002875 "core/fpdfdoc/cpdf_metadata_unittest.cpp",
Jane Liu67ccef72017-07-19 13:10:50 -04002876 "core/fpdfdoc/cpdf_nametree_unittest.cpp",
Dan Sinclair3a4c4082017-05-25 14:21:20 -04002877 "core/fpdftext/cpdf_linkextract_unittest.cpp",
rbpotterdb764702017-01-12 10:31:43 -08002878 "core/fxcodec/codec/fx_codec_a85_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04002879 "core/fxcodec/codec/fx_codec_jpx_unittest.cpp",
rbpotterdb764702017-01-12 10:31:43 -08002880 "core/fxcodec/codec/fx_codec_rle_unittest.cpp",
Dan Sinclair0eb74762017-03-28 10:19:22 -04002881 "core/fxcodec/jbig2/JBig2_BitStream_unittest.cpp",
tsepeze21501d2016-08-02 13:36:16 -07002882 "core/fxcodec/jbig2/JBig2_Image_unittest.cpp",
Ryan Harrison275e2602017-09-18 14:23:18 -04002883 "core/fxcrt/bytestring_unittest.cpp",
Ryan Harrisonccf206a2017-11-14 16:05:53 +00002884 "core/fxcrt/cfx_seekablemultistream_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04002885 "core/fxcrt/fx_bidi_unittest.cpp",
Dan Sinclair233360e2017-04-25 15:08:04 -04002886 "core/fxcrt/fx_coordinates_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04002887 "core/fxcrt/fx_extension_unittest.cpp",
Tom Sepeza9deea92017-04-25 10:37:47 -07002888 "core/fxcrt/fx_memory_unittest.cpp",
Tom Sepeze8b3e0c2017-09-08 10:18:37 -07002889 "core/fxcrt/fx_random_unittest.cpp",
Dan Sinclair2a1c8ac2017-08-31 16:03:17 -04002890 "core/fxcrt/fx_string_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04002891 "core/fxcrt/fx_system_unittest.cpp",
Dan Sinclairde44d152017-09-21 14:52:41 -04002892 "core/fxcrt/maybe_owned_unittest.cpp",
Dan Sinclair65ecca42017-09-21 15:25:32 -04002893 "core/fxcrt/observable_unittest.cpp",
Tom Sepezc7639702018-04-11 21:18:38 +00002894 "core/fxcrt/pdfium_span_unittest.cpp",
Dan Sinclair0b950422017-09-21 15:49:49 -04002895 "core/fxcrt/retain_ptr_unittest.cpp",
Dan Sinclair9317f8f2017-09-21 16:19:19 -04002896 "core/fxcrt/shared_copy_on_write_unittest.cpp",
Dan Sinclair8e9e3d82017-09-21 16:49:32 -04002897 "core/fxcrt/string_pool_template_unittest.cpp",
Dan Sinclairaee0db02017-09-21 16:53:58 -04002898 "core/fxcrt/unowned_ptr_unittest.cpp",
Dan Sinclairb872a932017-09-21 17:05:15 -04002899 "core/fxcrt/weak_ptr_unittest.cpp",
Ryan Harrison275e2602017-09-18 14:23:18 -04002900 "core/fxcrt/widestring_unittest.cpp",
Dan Sinclair048afc62018-05-01 17:01:54 +00002901 "core/fxcrt/xml/cfx_xmlchardata_unittest.cpp",
Dan Sinclair70180642018-05-02 16:02:03 +00002902 "core/fxcrt/xml/cfx_xmldocument_unittest.cpp",
Dan Sinclair048afc62018-05-01 17:01:54 +00002903 "core/fxcrt/xml/cfx_xmlelement_unittest.cpp",
2904 "core/fxcrt/xml/cfx_xmlinstruction_unittest.cpp",
2905 "core/fxcrt/xml/cfx_xmlnode_unittest.cpp",
dan sinclair19ae9bf2018-04-16 16:54:27 +00002906 "core/fxcrt/xml/cfx_xmlparser_unittest.cpp",
Dan Sinclair048afc62018-05-01 17:01:54 +00002907 "core/fxcrt/xml/cfx_xmltext_unittest.cpp",
Henrique Nakashima83a01492018-03-12 17:18:14 +00002908 "core/fxge/dib/cfx_dibitmap_unittest.cpp",
Nicolas Pena236ce3b2017-04-04 17:47:50 -04002909 "core/fxge/dib/cstretchengine_unittest.cpp",
Dan Sinclair971a6742018-03-28 19:23:25 +00002910 "fpdfsdk/fpdf_catalog_unittest.cpp",
2911 "fpdfsdk/fpdf_doc_unittest.cpp",
2912 "fpdfsdk/fpdf_editimg_unittest.cpp",
Tom Sepez64ee2c32017-04-24 15:04:25 -07002913 "testing/unit_test_main.cpp",
Tom Sepez04681f32015-01-09 13:59:19 -08002914 ]
2915 deps = [
Tom Sepezd831dc72015-10-19 16:04:22 -07002916 ":pdfium",
2917 ":test_support",
Tom Sepez16b9d772017-04-17 09:07:48 -07002918 "//testing/gmock",
Dan Sinclairfffc9632016-03-08 08:57:05 -05002919 "//testing/gtest",
Tom Sepez04681f32015-01-09 13:59:19 -08002920 ]
Dan Sinclair30410ce2016-03-16 10:20:24 -04002921 include_dirs = []
Tom Sepezd2e023b2015-12-08 14:36:16 -08002922 if (pdf_enable_xfa) {
2923 sources += [
Ryan Harrison0feba6f2017-10-03 09:32:14 -04002924 "core/fxcodec/gif/cfx_gifcontext_unittest.cpp",
Ryan Harrison36a155d2017-09-27 15:39:26 -04002925 "core/fxcodec/gif/cfx_lzwdecompressor_unittest.cpp",
Dan Sinclair9f0e85a2017-08-08 13:23:24 -04002926 "core/fxcrt/css/cfx_cssdeclaration_unittest.cpp",
2927 "core/fxcrt/css/cfx_cssstylesheet_unittest.cpp",
2928 "core/fxcrt/css/cfx_cssvaluelistparser_unittest.cpp",
Henrique Nakashimaa1e87072017-09-05 17:34:19 -04002929 "fxbarcode/oned/BC_OnedCodaBarWriter_unittest.cpp",
Lei Zhang3684a152017-04-24 16:22:54 -07002930 "fxbarcode/oned/BC_OnedCode128Writer_unittest.cpp",
Henrique Nakashima067b7852017-09-05 15:42:06 -04002931 "fxbarcode/oned/BC_OnedCode39Writer_unittest.cpp",
Henrique Nakashimaab3c1112017-09-01 16:01:44 -04002932 "fxbarcode/oned/BC_OnedEAN13Writer_unittest.cpp",
Henrique Nakashima3c5944c2017-09-01 16:40:48 -04002933 "fxbarcode/oned/BC_OnedEAN8Writer_unittest.cpp",
Henrique Nakashima74655222017-09-06 11:11:49 -04002934 "fxbarcode/oned/BC_OnedUPCAWriter_unittest.cpp",
Dan Sinclaire7786682017-03-29 15:18:41 -04002935 "fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp",
Dan Sinclair68eefa62017-08-30 12:16:16 -04002936 "xfa/fde/cfde_texteditengine_unittest.cpp",
Dan Sinclair6c5ea102017-06-05 09:53:06 -04002937 "xfa/fgas/crt/cfgas_formatstring_unittest.cpp",
Dan Sinclair994acdc2017-04-18 13:56:39 -04002938 "xfa/fgas/layout/cfx_rtfbreak_unittest.cpp",
Tom Sepez5628fd72017-04-27 14:58:53 -07002939 "xfa/fwl/cfx_barcode_unittest.cpp",
Dan Sinclair24ef6332017-07-24 10:52:57 -04002940 "xfa/fxfa/cxfa_ffbarcode_unittest.cpp",
2941 "xfa/fxfa/cxfa_textparser_unittest.cpp",
Dan Sinclair2e9d47a2017-05-16 15:14:02 -04002942 "xfa/fxfa/fm2js/cxfa_fmlexer_unittest.cpp",
Ryan Harrisondb1e8a52017-07-27 14:53:20 -04002943 "xfa/fxfa/fm2js/cxfa_fmparser_unittest.cpp",
Dan Sinclair2e9d47a2017-05-16 15:14:02 -04002944 "xfa/fxfa/fm2js/cxfa_fmsimpleexpression_unittest.cpp",
Dan Sinclairba367062018-05-01 17:02:54 +00002945 "xfa/fxfa/parser/cxfa_document_parser_unittest.cpp",
Tom Sepez8b4a3c72018-04-17 17:59:58 +00002946 "xfa/fxfa/parser/cxfa_localevalue_unittest.cpp",
Dan Sinclairf351ba02017-11-27 18:28:06 +00002947 "xfa/fxfa/parser/cxfa_node_unittest.cpp",
Dan Sinclair40116772017-11-14 21:29:35 +00002948 "xfa/fxfa/parser/cxfa_nodeiteratortemplate_unittest.cpp",
dan sinclaircce4d312018-04-16 17:50:07 +00002949 "xfa/fxfa/parser/cxfa_xmllocale_unittest.cpp",
dsinclair39fdfc32016-07-21 12:09:45 -07002950 "xfa/fxfa/parser/xfa_utils_unittest.cpp",
Tom Sepezd2e023b2015-12-08 14:36:16 -08002951 ]
2952 }
caryclarkaf177fe2016-11-16 10:10:03 -08002953 if (pdf_use_skia || pdf_use_skia_paths) {
caryclarke89391e2016-06-29 07:10:49 -07002954 sources += [ "core/fxge/skia/fx_skia_device_unittest.cpp" ]
2955 deps += [ "//skia" ]
2956 }
Wei Li614d20a2016-03-15 13:55:12 -07002957 if (pdf_enable_v8) {
Henrique Nakashima3a4ebcc2017-07-14 14:24:42 -04002958 sources += [
Tom Sepez3f8ee5e2018-02-09 18:26:09 +00002959 "fxjs/cfx_v8_unittest.cpp",
Tom Sepez3e5fac82018-02-12 21:49:04 +00002960 "fxjs/cfx_v8_unittest.h",
2961 "fxjs/cfxjs_engine_unittest.cpp",
Dan Sinclaire0345a42017-10-30 20:20:42 +00002962 "fxjs/cjs_publicmethods_unittest.cpp",
2963 "fxjs/cjs_util_unittest.cpp",
Henrique Nakashima3a4ebcc2017-07-14 14:24:42 -04002964 ]
Tom Sepez0acd92b2018-02-09 21:21:49 +00002965 deps += [ ":fxjs" ]
Tom Sepez3f8ee5e2018-02-09 18:26:09 +00002966 configs += [ "//v8:external_startup_data" ]
Wei Li614d20a2016-03-15 13:55:12 -07002967 }
weili0abe6522016-06-06 14:41:22 -07002968 configs += [ ":pdfium_core_config" ]
jbudorick7f3a15f2016-06-10 06:28:40 -07002969 if (is_android) {
jbudorick7f3a15f2016-06-10 06:28:40 -07002970 use_raw_android_executable = true
2971 }
Tom Sepez04681f32015-01-09 13:59:19 -08002972}
Tom Sepez1b1bb492015-01-22 17:36:32 -08002973
2974test("pdfium_embeddertests") {
2975 sources = [
Artem Strygind24b97e2017-08-09 18:50:59 +03002976 "core/fpdfapi/edit/cpdf_creator_embeddertest.cpp",
Henrique Nakashimab92ec182018-04-11 21:55:49 +00002977 "core/fpdfapi/page/cpdf_docpagedata_embeddertest.cpp",
Henrique Nakashima97b47dc2018-04-13 20:04:27 +00002978 "core/fpdfapi/page/cpdf_function_embeddertest.cpp",
Dan Sinclair5acacd32017-05-25 14:04:59 -04002979 "core/fpdfapi/page/cpdf_stitchfunc_embeddertest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07002980 "core/fpdfapi/parser/cpdf_parser_embeddertest.cpp",
2981 "core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp",
2982 "core/fpdfapi/parser/fpdf_parser_decode_embeddertest.cpp",
dsinclair69d9c682016-10-04 12:18:35 -07002983 "core/fpdfapi/render/fpdf_render_loadimage_embeddertest.cpp",
2984 "core/fpdfapi/render/fpdf_render_pattern_embeddertest.cpp",
weili6faf9f92016-08-02 11:34:08 -07002985 "core/fxcodec/codec/fx_codec_embeddertest.cpp",
Dan Sinclair92e22762017-07-10 15:14:26 -04002986 "core/fxge/fx_ge_text_embeddertest.cpp",
Dan Sinclaircbf76e62018-03-28 21:00:35 +00002987 "fpdfsdk/cpdfsdk_annotiterator_embeddertest.cpp",
Dan Sinclair971a6742018-03-28 19:23:25 +00002988 "fpdfsdk/fpdf_annot_embeddertest.cpp",
2989 "fpdfsdk/fpdf_attachment_embeddertest.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -04002990 "fpdfsdk/fpdf_dataavail_embeddertest.cpp",
Dan Sinclair971a6742018-03-28 19:23:25 +00002991 "fpdfsdk/fpdf_doc_embeddertest.cpp",
2992 "fpdfsdk/fpdf_edit_embeddertest.cpp",
2993 "fpdfsdk/fpdf_editpath_embeddertest.cpp",
2994 "fpdfsdk/fpdf_ext_embeddertest.cpp",
tsepezd0ecd892016-11-08 17:30:04 -08002995 "fpdfsdk/fpdf_flatten_embeddertest.cpp",
Dan Sinclair971a6742018-03-28 19:23:25 +00002996 "fpdfsdk/fpdf_formfill_embeddertest.cpp",
2997 "fpdfsdk/fpdf_ppo_embeddertest.cpp",
2998 "fpdfsdk/fpdf_save_embeddertest.cpp",
thestig9067fd62016-11-23 14:10:06 -08002999 "fpdfsdk/fpdf_structtree_embeddertest.cpp",
Dan Sinclair971a6742018-03-28 19:23:25 +00003000 "fpdfsdk/fpdf_text_embeddertest.cpp",
3001 "fpdfsdk/fpdf_view_c_api_test.c",
3002 "fpdfsdk/fpdf_view_c_api_test.h",
3003 "fpdfsdk/fpdf_view_embeddertest.cpp",
Dan Sinclairc411eb92017-07-25 09:39:30 -04003004 "fpdfsdk/pwl/cpwl_combo_box_embeddertest.cpp",
3005 "fpdfsdk/pwl/cpwl_edit_embeddertest.cpp",
Tom Sepez1b1bb492015-01-22 17:36:32 -08003006 "testing/embedder_test.cpp",
3007 "testing/embedder_test.h",
Dan Sinclair5553d8b2018-01-03 09:44:28 -05003008 "testing/embedder_test_main.cpp",
Tom Sepeza310e002015-02-27 13:03:07 -08003009 "testing/embedder_test_mock_delegate.h",
Tom Sepez6efc0ad2015-06-02 17:11:18 -07003010 "testing/embedder_test_timer_handling_delegate.h",
Artem Strygin0e60b9e2017-09-28 18:46:03 +03003011 "testing/fake_file_access.cpp",
3012 "testing/fake_file_access.h",
3013 "testing/range_set.cpp",
3014 "testing/range_set.h",
Tom Sepez1b1bb492015-01-22 17:36:32 -08003015 ]
3016 deps = [
Henrique Nakashimadb269572018-01-16 19:02:15 +00003017 ":image_diff",
Tom Sepez452b4f32015-10-13 09:27:27 -07003018 ":pdfium",
Tom Sepezd831dc72015-10-19 16:04:22 -07003019 ":test_support",
Dan Sinclairfffc9632016-03-08 08:57:05 -05003020 "//testing/gmock",
3021 "//testing/gtest",
Tom Sepez1b1bb492015-01-22 17:36:32 -08003022 ]
dsinclair685bb882016-04-20 07:32:39 -07003023 include_dirs = [ "testing/gmock/include" ]
thestigc65e11e2016-08-30 21:56:33 -07003024 configs += [ ":pdfium_core_config" ]
3025
Tom Sepez452b4f32015-10-13 09:27:27 -07003026 if (pdf_enable_v8) {
Lei Zhang1ac47eb2015-12-21 11:04:44 -08003027 sources += [
Tom Sepezb7c7df62018-02-09 19:08:59 +00003028 "fxjs/cfxjs_engine_embeddertest.cpp",
Dan Sinclaire0345a42017-10-30 20:20:42 +00003029 "fxjs/cjs_publicmethods_embeddertest.cpp",
Lei Zhang1ac47eb2015-12-21 11:04:44 -08003030 "testing/js_embedder_test.cpp",
3031 "testing/js_embedder_test.h",
3032 ]
dsinclairb3f24672016-07-12 10:42:14 -07003033 deps += [ ":fxjs" ]
Jochen Eisinger7ed503d2015-12-10 14:38:06 +01003034 configs += [ "//v8:external_startup_data" ]
Tom Sepez452b4f32015-10-13 09:27:27 -07003035 }
Dan Sinclair14aacd52017-05-18 14:11:29 -04003036 if (pdf_enable_xfa) {
3037 sources += [
Dan Sinclair3fff90a2017-11-01 13:12:39 +00003038 "fxjs/cfxjse_formcalc_context_embeddertest.cpp",
Dan Sinclair14aacd52017-05-18 14:11:29 -04003039 "testing/xfa_js_embedder_test.cpp",
3040 "testing/xfa_js_embedder_test.h",
Dan Sinclairb8777a22017-09-20 16:21:31 -04003041 "xfa/fwl/cfwl_edit_embeddertest.cpp",
Dan Sinclair876efaa2018-04-12 13:39:28 +00003042 "xfa/fxfa/parser/cxfa_document_parser_embeddertest.cpp",
Dan Sinclair14aacd52017-05-18 14:11:29 -04003043 ]
3044 }
jbudorick7f3a15f2016-06-10 06:28:40 -07003045 if (is_android) {
3046 ignore_all_data_deps = true
3047 use_raw_android_executable = true
3048 }
Tom Sepez1b1bb492015-01-22 17:36:32 -08003049}
dsinclair685bb882016-04-20 07:32:39 -07003050
3051if (pdf_is_standalone) {
3052 source_set("samples") {
3053 testonly = true
3054 deps = [
3055 "//samples",
3056 ]
3057 }
Lei Zhang143959d2017-06-22 12:20:58 -07003058
3059 executable("pdfium_diff") {
3060 testonly = true
3061 sources = [
3062 "testing/image_diff/image_diff.cpp",
3063 ]
3064 deps = [
3065 ":image_diff",
3066 ":pdfium",
3067 "//build/config:exe_and_shlib_deps",
3068 "//build/win:default_exe_manifest",
3069 ]
3070 configs -= [ "//build/config/compiler:chromium_code" ]
3071 configs += [ "//build/config/compiler:no_chromium_code" ]
Ryan Harrison7b8f88a2017-07-13 16:05:31 -04003072 configs += [ ":pdfium_core_config" ]
Lei Zhang143959d2017-06-22 12:20:58 -07003073 }
3074
thestig62114cf2016-11-08 12:59:30 -08003075 group("fuzzers") {
3076 testonly = true
3077 deps = [
3078 "//testing/libfuzzer",
3079 ]
3080 }
dsinclair685bb882016-04-20 07:32:39 -07003081}
Lei Zhangf02c8bf2017-04-01 01:35:01 -07003082
3083group("pdfium_all") {
3084 testonly = true
3085 deps = [
3086 ":pdfium_embeddertests",
3087 ":pdfium_unittests",
3088 ]
3089 if (pdf_is_standalone) {
3090 deps += [
3091 ":fuzzers",
Lei Zhang143959d2017-06-22 12:20:58 -07003092 ":pdfium_diff",
Lei Zhangf02c8bf2017-04-01 01:35:01 -07003093 ":samples",
3094 ]
3095 }
3096}