blob: f7163ddf9860fd294f1a310eac11ef4fc3c6f2ec [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")
Tom Sepeza32f7602015-01-15 09:34:34 -08006import("//testing/test.gni")
dsinclair038bf0b2016-04-30 06:00:05 -07007import("pdfium.gni")
John Abd-El-Malekef4dce42015-02-02 16:52:07 -08008
Dominik Röttsches4b0671a2017-03-30 11:07:43 +03009group("freetype_common") {
10 public_deps = []
11 if (pdf_bundle_freetype) {
12 public_deps += [ "third_party:fx_freetype" ]
13 } else {
14 public_deps += [ "//build/config/freetype" ]
15 }
16}
17
weili0abe6522016-06-06 14:41:22 -070018config("pdfium_common_config") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070019 cflags = []
dsinclair6e162b52017-01-24 11:18:16 -080020 ldflags = []
Dominik Röttsches4b0671a2017-03-30 11:07:43 +030021 include_dirs = [ "." ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070022 defines = [
John Abd-El-Malekef4dce42015-02-02 16:52:07 -080023 "OPJ_STATIC",
John Abd-El-Malek385729b2015-02-06 15:51:11 -080024 "PNG_PREFIX",
John Abd-El-Malek385729b2015-02-06 15:51:11 -080025 "PNG_USE_READ_MACROS",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070026 ]
27
28 if (pdf_use_skia) {
29 defines += [ "_SKIA_SUPPORT_" ]
30 }
31
caryclarkaf177fe2016-11-16 10:10:03 -080032 if (pdf_use_skia_paths) {
33 defines += [ "_SKIA_SUPPORT_PATHS_" ]
34 }
35
Tom Sepez452b4f32015-10-13 09:27:27 -070036 if (pdf_enable_v8) {
37 defines += [ "PDF_ENABLE_V8" ]
38 }
39
Tom Sepeza8a39e22015-10-12 15:47:07 -070040 if (pdf_enable_xfa) {
41 defines += [ "PDF_ENABLE_XFA" ]
Tom Sepez73c9f3b2017-02-27 10:12:59 -080042 if (pdf_enable_xfa_bmp) {
43 defines += [ "PDF_ENABLE_XFA_BMP" ]
44 }
45 if (pdf_enable_xfa_gif) {
46 defines += [ "PDF_ENABLE_XFA_GIF" ]
47 }
48 if (pdf_enable_xfa_png) {
49 defines += [ "PDF_ENABLE_XFA_PNG" ]
50 }
51 if (pdf_enable_xfa_tiff) {
52 defines += [ "PDF_ENABLE_XFA_TIFF" ]
53 }
Tom Sepeza8a39e22015-10-12 15:47:07 -070054 }
thestig3e454bf2016-07-29 16:29:04 -070055
56 if (pdf_use_win32_gdi) {
57 defines += [ "PDFIUM_PRINT_TEXT_WITH_GDI" ]
58 }
dsinclair6e162b52017-01-24 11:18:16 -080059
60 if (use_coverage && is_clang) {
61 cflags += [
62 "--coverage",
63 "-g",
64 "-O0",
65 ]
66 ldflags += [ "--coverage" ]
67 }
Dan Sinclair77e2a6c2017-03-13 09:35:12 -040068
69 if (is_win) {
70 # Assume UTF-8 by default to avoid code page dependencies.
71 cflags += [ "/utf-8" ]
72 }
weili0abe6522016-06-06 14:41:22 -070073}
Tom Sepeza8a39e22015-10-12 15:47:07 -070074
weili0abe6522016-06-06 14:41:22 -070075config("pdfium_core_config") {
76 cflags = []
dsinclair8bd9ce02016-06-09 13:24:34 -070077 configs = [ ":pdfium_common_config" ]
78 defines = [ "V8_DEPRECATION_WARNINGS" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070079 if (is_linux) {
Tom Sepez25d5be62015-06-18 17:44:29 -070080 if (current_cpu == "x64") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070081 defines += [ "_FX_CPU_=_FX_X64_" ]
82 cflags += [ "-fPIC" ]
Tom Sepez25d5be62015-06-18 17:44:29 -070083 } else if (current_cpu == "x86") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070084 defines += [ "_FX_CPU_=_FX_X86_" ]
85 }
86 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070087 if (is_win) {
Tom Sepez3bb57512017-03-28 14:09:43 -070088 cflags += [
89 "/wd4267",
Tom Sepez5171a272017-06-01 12:29:09 -070090 "/wd4324",
Tom Sepez3bb57512017-03-28 14:09:43 -070091 "/wd4577",
92 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070093 }
weilidcc29b12016-05-27 17:58:23 -070094}
Lei Zhang476ac132015-11-05 20:07:27 -080095
weilidcc29b12016-05-27 17:58:23 -070096config("xfa_warnings") {
97 visibility = [ ":*" ]
Tom Sepez34209092016-03-18 09:00:33 -070098 if (is_posix && !is_clang) { # When GCC.
weilidcc29b12016-05-27 17:58:23 -070099 cflags = [ "-Wno-strict-overflow" ]
Tom Sepez34209092016-03-18 09:00:33 -0700100 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700101}
102
Henrique Nakashima7e805d12017-08-10 15:13:19 +0000103static_library("pdfium") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700104 sources = [
jaepark611adb82016-08-17 11:34:36 -0700105 "fpdfsdk/cba_annotiterator.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700106 "fpdfsdk/cba_annotiterator.h",
dsinclairb9590102016-04-27 06:38:59 -0700107 "fpdfsdk/cfx_systemhandler.cpp",
108 "fpdfsdk/cfx_systemhandler.h",
jaepark27362762016-08-11 13:10:39 -0700109 "fpdfsdk/cpdfsdk_annot.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700110 "fpdfsdk/cpdfsdk_annot.h",
jaepark98e10192016-08-15 10:51:11 -0700111 "fpdfsdk/cpdfsdk_annothandlermgr.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700112 "fpdfsdk/cpdfsdk_annothandlermgr.h",
tsepezd805eec2017-01-11 14:03:54 -0800113 "fpdfsdk/cpdfsdk_annotiteration.cpp",
114 "fpdfsdk/cpdfsdk_annotiteration.h",
jaepark27362762016-08-11 13:10:39 -0700115 "fpdfsdk/cpdfsdk_baannot.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700116 "fpdfsdk/cpdfsdk_baannot.h",
jaepark35512aa2016-08-29 17:15:08 -0700117 "fpdfsdk/cpdfsdk_baannothandler.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700118 "fpdfsdk/cpdfsdk_baannothandler.h",
jaepark27362762016-08-11 13:10:39 -0700119 "fpdfsdk/cpdfsdk_datetime.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700120 "fpdfsdk/cpdfsdk_datetime.h",
dsinclair735606d2016-10-05 15:47:02 -0700121 "fpdfsdk/cpdfsdk_formfillenvironment.cpp",
122 "fpdfsdk/cpdfsdk_formfillenvironment.h",
jaepark611adb82016-08-17 11:34:36 -0700123 "fpdfsdk/cpdfsdk_interform.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700124 "fpdfsdk/cpdfsdk_interform.h",
dsinclairf34518b2016-09-13 12:03:48 -0700125 "fpdfsdk/cpdfsdk_pageview.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700126 "fpdfsdk/cpdfsdk_pageview.h",
jaepark611adb82016-08-17 11:34:36 -0700127 "fpdfsdk/cpdfsdk_widget.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700128 "fpdfsdk/cpdfsdk_widget.h",
jaepark8c541822016-08-30 13:43:05 -0700129 "fpdfsdk/cpdfsdk_widgethandler.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700130 "fpdfsdk/cpdfsdk_widgethandler.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400131 "fpdfsdk/fpdf_dataavail.cpp",
132 "fpdfsdk/fpdf_ext.cpp",
133 "fpdfsdk/fpdf_flatten.cpp",
134 "fpdfsdk/fpdf_progressive.cpp",
135 "fpdfsdk/fpdf_searchex.cpp",
thestig9067fd62016-11-23 14:10:06 -0800136 "fpdfsdk/fpdf_structtree.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400137 "fpdfsdk/fpdf_sysfontinfo.cpp",
138 "fpdfsdk/fpdf_transformpage.cpp",
Jane Liu4fd9a472017-06-01 18:56:09 -0400139 "fpdfsdk/fpdfannot.cpp",
Jane Liu53aafa92017-07-12 19:55:02 -0400140 "fpdfsdk/fpdfattachment.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400141 "fpdfsdk/fpdfdoc.cpp",
142 "fpdfsdk/fpdfeditimg.cpp",
143 "fpdfsdk/fpdfeditpage.cpp",
Nicolas Pena55e026b2017-02-07 14:59:23 -0500144 "fpdfsdk/fpdfeditpath.cpp",
Nicolas Pena49058402017-02-14 18:26:20 -0500145 "fpdfsdk/fpdfedittext.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400146 "fpdfsdk/fpdfformfill.cpp",
147 "fpdfsdk/fpdfppo.cpp",
148 "fpdfsdk/fpdfsave.cpp",
149 "fpdfsdk/fpdftext.cpp",
150 "fpdfsdk/fpdfview.cpp",
151 "fpdfsdk/fsdk_actionhandler.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700152 "fpdfsdk/fsdk_actionhandler.h",
Dan Sinclairae4656e2017-05-09 12:36:41 -0400153 "fpdfsdk/fsdk_filewriteadapter.cpp",
154 "fpdfsdk/fsdk_filewriteadapter.h",
weili9f515bc2016-07-24 08:08:24 -0700155 "fpdfsdk/fsdk_pauseadapter.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700156 "fpdfsdk/fsdk_pauseadapter.h",
jaepark611adb82016-08-17 11:34:36 -0700157 "fpdfsdk/pdfsdk_fieldaction.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700158 "fpdfsdk/pdfsdk_fieldaction.h",
Tom Sepez1d17a042017-03-16 13:22:47 -0700159 "public/cpp/fpdf_deleters.h",
Jane Liu4fd9a472017-06-01 18:56:09 -0400160 "public/fpdf_annot.h",
Jane Liu53aafa92017-07-12 19:55:02 -0400161 "public/fpdf_attachment.h",
Tom Sepez1ed8a212015-05-11 15:25:39 -0700162 "public/fpdf_dataavail.h",
163 "public/fpdf_doc.h",
164 "public/fpdf_edit.h",
165 "public/fpdf_ext.h",
166 "public/fpdf_flatten.h",
167 "public/fpdf_formfill.h",
168 "public/fpdf_fwlevent.h",
169 "public/fpdf_ppo.h",
170 "public/fpdf_progressive.h",
171 "public/fpdf_save.h",
172 "public/fpdf_searchex.h",
thestig9067fd62016-11-23 14:10:06 -0800173 "public/fpdf_structtree.h",
Tom Sepez1ed8a212015-05-11 15:25:39 -0700174 "public/fpdf_sysfontinfo.h",
175 "public/fpdf_text.h",
176 "public/fpdf_transformpage.h",
177 "public/fpdfview.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700178 ]
179
180 libs = []
weili0abe6522016-06-06 14:41:22 -0700181 configs += [ ":pdfium_core_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700182
183 deps = [
184 ":fdrm",
185 ":formfiller",
186 ":fpdfapi",
187 ":fpdfdoc",
188 ":fpdftext",
189 ":fxcodec",
190 ":fxcrt",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700191 ":fxge",
192 ":javascript",
Dan Sinclairc411eb92017-07-25 09:39:30 -0400193 ":pwl",
Dan Sinclairfffc9632016-03-08 08:57:05 -0500194 "third_party:bigint",
195 "third_party:pdfium_base",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700196 ]
197
thestig73c48562016-09-06 14:07:17 -0700198 public_deps = [
199 ":fxcrt",
200 ]
Tom Sepeza8a39e22015-10-12 15:47:07 -0700201 if (pdf_enable_xfa) {
jaepark611adb82016-08-17 11:34:36 -0700202 sources += [
203 "fpdfsdk/cpdfsdk_xfawidget.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700204 "fpdfsdk/cpdfsdk_xfawidget.h",
jaepark8c541822016-08-30 13:43:05 -0700205 "fpdfsdk/cpdfsdk_xfawidgethandler.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700206 "fpdfsdk/cpdfsdk_xfawidgethandler.h",
jaepark611adb82016-08-17 11:34:36 -0700207 ]
208
Tom Sepezb5451592016-02-22 16:48:02 -0800209 deps += [ ":fpdfxfa" ]
Tom Sepeza8a39e22015-10-12 15:47:07 -0700210 }
211
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700212 if (is_win) {
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400213 libs += [
214 "advapi32.lib",
215 "gdi32.lib",
216 "user32.lib",
217 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700218 }
219
220 if (is_mac) {
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400221 libs += [
222 "AppKit.framework",
223 "CoreFoundation.framework",
224 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700225 }
John Abd-El-Malekef4dce42015-02-02 16:52:07 -0800226
dan sinclairfa171d22017-03-26 22:38:17 -0400227 if (pdf_is_complete_lib) {
228 complete_static_lib = true
229 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700230}
231
Henrique Nakashima7e805d12017-08-10 15:13:19 +0000232static_library("test_support") {
Tom Sepezd831dc72015-10-19 16:04:22 -0700233 testonly = true
234 sources = [
Henrique Nakashimab9776c72017-06-23 15:03:50 -0400235 "testing/fx_string_testhelpers.cpp",
236 "testing/fx_string_testhelpers.h",
Tom Sepezd831dc72015-10-19 16:04:22 -0700237 "testing/test_support.cpp",
238 "testing/test_support.h",
Oliver Changd46f1c82015-11-12 22:03:10 -0800239 "testing/utils/path_service.cpp",
thestigbcd3e532016-11-21 13:37:28 -0800240 "testing/utils/path_service.h",
Tom Sepezd831dc72015-10-19 16:04:22 -0700241 ]
jbudorickf6ee8202016-12-05 06:50:50 -0800242 data = [
243 "testing/resources/",
244 ]
Tom Sepezd831dc72015-10-19 16:04:22 -0700245 deps = [
Dan Sinclairfffc9632016-03-08 08:57:05 -0500246 ":pdfium",
Tom Sepezd831dc72015-10-19 16:04:22 -0700247 "//testing/gmock",
248 "//testing/gtest",
Tom Sepezd831dc72015-10-19 16:04:22 -0700249 ]
Lei Zhang8241df72015-11-06 14:38:48 -0800250 include_dirs = []
Tom Sepezd831dc72015-10-19 16:04:22 -0700251 if (pdf_enable_v8) {
252 deps += [
253 "//v8",
254 "//v8:v8_libplatform",
255 ]
256 include_dirs += [
257 "//v8",
258 "//v8/include",
259 ]
Jochen Eisinger7ed503d2015-12-10 14:38:06 +0100260 configs += [ "//v8:external_startup_data" ]
Tom Sepezd831dc72015-10-19 16:04:22 -0700261 }
weili0abe6522016-06-06 14:41:22 -0700262 configs += [ ":pdfium_core_config" ]
Tom Sepezd831dc72015-10-19 16:04:22 -0700263}
264
Henrique Nakashima7e805d12017-08-10 15:13:19 +0000265static_library("image_diff") {
Lei Zhang143959d2017-06-22 12:20:58 -0700266 testonly = true
267 sources = [
268 "testing/image_diff/image_diff_png.cpp",
269 "testing/image_diff/image_diff_png.h",
270 ]
Lei Zhangba57b6c2017-06-26 11:50:54 -0700271 configs += [ ":pdfium_core_config" ]
Lei Zhang143959d2017-06-22 12:20:58 -0700272 deps = []
273 if (!pdf_enable_xfa) {
274 deps += [ "third_party:fx_lpng" ]
275 }
276}
277
Tom Sepezd831dc72015-10-19 16:04:22 -0700278# Targets below this are only visible within this file (and to the
279# top-level gn_visibility target used to help gn_all build everything).
280visibility = [
281 ":*",
282 "//:gn_visibility",
283]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700284
Henrique Nakashima7e805d12017-08-10 15:13:19 +0000285static_library("fdrm") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700286 sources = [
Dan Sinclair764ec512016-03-14 13:35:12 -0400287 "core/fdrm/crypto/fx_crypt.cpp",
dsinclairb1469a22016-09-29 10:00:05 -0700288 "core/fdrm/crypto/fx_crypt.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400289 "core/fdrm/crypto/fx_crypt_aes.cpp",
290 "core/fdrm/crypto/fx_crypt_sha.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700291 ]
weili0abe6522016-06-06 14:41:22 -0700292 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700293 deps = [
294 ":fxcrt",
295 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700296}
297
Henrique Nakashima7e805d12017-08-10 15:13:19 +0000298static_library("fpdfdoc") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700299 sources = [
dsinclair448c4332016-08-02 12:07:35 -0700300 "core/fpdfdoc/cline.cpp",
301 "core/fpdfdoc/cline.h",
dsinclair02e6f592016-08-02 11:25:48 -0700302 "core/fpdfdoc/cpdf_aaction.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700303 "core/fpdfdoc/cpdf_aaction.h",
dsinclair02e6f592016-08-02 11:25:48 -0700304 "core/fpdfdoc/cpdf_action.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700305 "core/fpdfdoc/cpdf_action.h",
dsinclair02e6f592016-08-02 11:25:48 -0700306 "core/fpdfdoc/cpdf_actionfields.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700307 "core/fpdfdoc/cpdf_actionfields.h",
jaepark3b6c7e92016-07-20 14:18:04 -0700308 "core/fpdfdoc/cpdf_annot.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700309 "core/fpdfdoc/cpdf_annot.h",
jaepark3b6c7e92016-07-20 14:18:04 -0700310 "core/fpdfdoc/cpdf_annotlist.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700311 "core/fpdfdoc/cpdf_annotlist.h",
dsinclair27053d82016-08-02 15:43:46 -0700312 "core/fpdfdoc/cpdf_apsettings.cpp",
dsinclaircac704d2016-07-28 12:59:09 -0700313 "core/fpdfdoc/cpdf_apsettings.h",
dsinclair02e6f592016-08-02 11:25:48 -0700314 "core/fpdfdoc/cpdf_bookmark.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700315 "core/fpdfdoc/cpdf_bookmark.h",
dsinclair02e6f592016-08-02 11:25:48 -0700316 "core/fpdfdoc/cpdf_bookmarktree.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700317 "core/fpdfdoc/cpdf_bookmarktree.h",
dsinclair27053d82016-08-02 15:43:46 -0700318 "core/fpdfdoc/cpdf_defaultappearance.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700319 "core/fpdfdoc/cpdf_defaultappearance.h",
dsinclair448c4332016-08-02 12:07:35 -0700320 "core/fpdfdoc/cpdf_dest.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700321 "core/fpdfdoc/cpdf_dest.h",
dsinclair02e6f592016-08-02 11:25:48 -0700322 "core/fpdfdoc/cpdf_docjsactions.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700323 "core/fpdfdoc/cpdf_docjsactions.h",
dsinclair448c4332016-08-02 12:07:35 -0700324 "core/fpdfdoc/cpdf_filespec.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700325 "core/fpdfdoc/cpdf_filespec.h",
dsinclair27053d82016-08-02 15:43:46 -0700326 "core/fpdfdoc/cpdf_formcontrol.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700327 "core/fpdfdoc/cpdf_formcontrol.h",
dsinclair27053d82016-08-02 15:43:46 -0700328 "core/fpdfdoc/cpdf_formfield.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700329 "core/fpdfdoc/cpdf_formfield.h",
dsinclair27053d82016-08-02 15:43:46 -0700330 "core/fpdfdoc/cpdf_iconfit.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700331 "core/fpdfdoc/cpdf_iconfit.h",
dsinclair27053d82016-08-02 15:43:46 -0700332 "core/fpdfdoc/cpdf_interform.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700333 "core/fpdfdoc/cpdf_interform.h",
dsinclair02e6f592016-08-02 11:25:48 -0700334 "core/fpdfdoc/cpdf_link.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700335 "core/fpdfdoc/cpdf_link.h",
dsinclair02e6f592016-08-02 11:25:48 -0700336 "core/fpdfdoc/cpdf_linklist.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700337 "core/fpdfdoc/cpdf_linklist.h",
dsinclair02e6f592016-08-02 11:25:48 -0700338 "core/fpdfdoc/cpdf_metadata.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700339 "core/fpdfdoc/cpdf_metadata.h",
dsinclair448c4332016-08-02 12:07:35 -0700340 "core/fpdfdoc/cpdf_nametree.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700341 "core/fpdfdoc/cpdf_nametree.h",
dsinclair27053d82016-08-02 15:43:46 -0700342 "core/fpdfdoc/cpdf_numbertree.cpp",
343 "core/fpdfdoc/cpdf_numbertree.h",
dsinclair448c4332016-08-02 12:07:35 -0700344 "core/fpdfdoc/cpdf_occontext.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700345 "core/fpdfdoc/cpdf_occontext.h",
dsinclair448c4332016-08-02 12:07:35 -0700346 "core/fpdfdoc/cpdf_pagelabel.cpp",
dsinclaircac704d2016-07-28 12:59:09 -0700347 "core/fpdfdoc/cpdf_pagelabel.h",
dan sinclair7f389612017-04-06 13:38:54 -0400348 "core/fpdfdoc/cpdf_structelement.cpp",
349 "core/fpdfdoc/cpdf_structelement.h",
350 "core/fpdfdoc/cpdf_structtree.cpp",
351 "core/fpdfdoc/cpdf_structtree.h",
dsinclairc7a73492016-04-05 12:01:42 -0700352 "core/fpdfdoc/cpdf_variabletext.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700353 "core/fpdfdoc/cpdf_variabletext.h",
dsinclair02e6f592016-08-02 11:25:48 -0700354 "core/fpdfdoc/cpdf_viewerpreferences.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700355 "core/fpdfdoc/cpdf_viewerpreferences.h",
dsinclair777b3332016-03-31 20:03:08 -0700356 "core/fpdfdoc/cpvt_color.cpp",
357 "core/fpdfdoc/cpvt_color.h",
358 "core/fpdfdoc/cpvt_dash.h",
dsinclairc7a73492016-04-05 12:01:42 -0700359 "core/fpdfdoc/cpvt_floatrect.h",
dsinclair777b3332016-03-31 20:03:08 -0700360 "core/fpdfdoc/cpvt_fontmap.cpp",
361 "core/fpdfdoc/cpvt_fontmap.h",
362 "core/fpdfdoc/cpvt_generateap.cpp",
363 "core/fpdfdoc/cpvt_generateap.h",
dsinclair1727aee2016-09-29 13:12:56 -0700364 "core/fpdfdoc/cpvt_line.h",
dsinclairc7a73492016-04-05 12:01:42 -0700365 "core/fpdfdoc/cpvt_lineinfo.h",
dsinclair1727aee2016-09-29 13:12:56 -0700366 "core/fpdfdoc/cpvt_secprops.h",
367 "core/fpdfdoc/cpvt_section.h",
weili5a6c1392016-07-11 14:43:40 -0700368 "core/fpdfdoc/cpvt_sectioninfo.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700369 "core/fpdfdoc/cpvt_sectioninfo.h",
dsinclair1727aee2016-09-29 13:12:56 -0700370 "core/fpdfdoc/cpvt_word.h",
weili5a6c1392016-07-11 14:43:40 -0700371 "core/fpdfdoc/cpvt_wordinfo.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700372 "core/fpdfdoc/cpvt_wordinfo.h",
dsinclair1727aee2016-09-29 13:12:56 -0700373 "core/fpdfdoc/cpvt_wordplace.h",
374 "core/fpdfdoc/cpvt_wordprops.h",
375 "core/fpdfdoc/cpvt_wordrange.h",
thestig9c845c32016-05-13 11:08:41 -0700376 "core/fpdfdoc/csection.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700377 "core/fpdfdoc/csection.h",
thestig9c845c32016-05-13 11:08:41 -0700378 "core/fpdfdoc/ctypeset.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700379 "core/fpdfdoc/ctypeset.h",
dsinclair1727aee2016-09-29 13:12:56 -0700380 "core/fpdfdoc/ipdf_formnotify.h",
381 "core/fpdfdoc/ipvt_fontmap.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700382 ]
weili0abe6522016-06-06 14:41:22 -0700383 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700384 deps = [
385 ":fxcrt",
386 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700387}
388
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700389static_library("fpdfapi") {
390 sources = [
dsinclaira6c92152016-10-04 10:58:54 -0700391 "core/fpdfapi/cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp",
392 "core/fpdfapi/cmaps/CNS1/B5pc-H_0.cpp",
393 "core/fpdfapi/cmaps/CNS1/B5pc-V_0.cpp",
394 "core/fpdfapi/cmaps/CNS1/CNS-EUC-H_0.cpp",
395 "core/fpdfapi/cmaps/CNS1/CNS-EUC-V_0.cpp",
396 "core/fpdfapi/cmaps/CNS1/ETen-B5-H_0.cpp",
397 "core/fpdfapi/cmaps/CNS1/ETen-B5-V_0.cpp",
398 "core/fpdfapi/cmaps/CNS1/ETenms-B5-H_0.cpp",
399 "core/fpdfapi/cmaps/CNS1/ETenms-B5-V_0.cpp",
400 "core/fpdfapi/cmaps/CNS1/HKscs-B5-H_5.cpp",
401 "core/fpdfapi/cmaps/CNS1/HKscs-B5-V_5.cpp",
402 "core/fpdfapi/cmaps/CNS1/UniCNS-UCS2-H_3.cpp",
403 "core/fpdfapi/cmaps/CNS1/UniCNS-UCS2-V_3.cpp",
404 "core/fpdfapi/cmaps/CNS1/UniCNS-UTF16-H_0.cpp",
405 "core/fpdfapi/cmaps/CNS1/cmaps_cns1.cpp",
406 "core/fpdfapi/cmaps/GB1/Adobe-GB1-UCS2_5.cpp",
407 "core/fpdfapi/cmaps/GB1/GB-EUC-H_0.cpp",
408 "core/fpdfapi/cmaps/GB1/GB-EUC-V_0.cpp",
409 "core/fpdfapi/cmaps/GB1/GBK-EUC-H_2.cpp",
410 "core/fpdfapi/cmaps/GB1/GBK-EUC-V_2.cpp",
411 "core/fpdfapi/cmaps/GB1/GBK2K-H_5.cpp",
412 "core/fpdfapi/cmaps/GB1/GBK2K-V_5.cpp",
413 "core/fpdfapi/cmaps/GB1/GBKp-EUC-H_2.cpp",
414 "core/fpdfapi/cmaps/GB1/GBKp-EUC-V_2.cpp",
415 "core/fpdfapi/cmaps/GB1/GBpc-EUC-H_0.cpp",
416 "core/fpdfapi/cmaps/GB1/GBpc-EUC-V_0.cpp",
417 "core/fpdfapi/cmaps/GB1/UniGB-UCS2-H_4.cpp",
418 "core/fpdfapi/cmaps/GB1/UniGB-UCS2-V_4.cpp",
419 "core/fpdfapi/cmaps/GB1/cmaps_gb1.cpp",
420 "core/fpdfapi/cmaps/Japan1/83pv-RKSJ-H_1.cpp",
421 "core/fpdfapi/cmaps/Japan1/90ms-RKSJ-H_2.cpp",
422 "core/fpdfapi/cmaps/Japan1/90ms-RKSJ-V_2.cpp",
423 "core/fpdfapi/cmaps/Japan1/90msp-RKSJ-H_2.cpp",
424 "core/fpdfapi/cmaps/Japan1/90msp-RKSJ-V_2.cpp",
425 "core/fpdfapi/cmaps/Japan1/90pv-RKSJ-H_1.cpp",
426 "core/fpdfapi/cmaps/Japan1/Add-RKSJ-H_1.cpp",
427 "core/fpdfapi/cmaps/Japan1/Add-RKSJ-V_1.cpp",
428 "core/fpdfapi/cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp",
429 "core/fpdfapi/cmaps/Japan1/EUC-H_1.cpp",
430 "core/fpdfapi/cmaps/Japan1/EUC-V_1.cpp",
431 "core/fpdfapi/cmaps/Japan1/Ext-RKSJ-H_2.cpp",
432 "core/fpdfapi/cmaps/Japan1/Ext-RKSJ-V_2.cpp",
433 "core/fpdfapi/cmaps/Japan1/H_1.cpp",
434 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp",
435 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp",
436 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-H_4.cpp",
437 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-V_4.cpp",
438 "core/fpdfapi/cmaps/Japan1/V_1.cpp",
439 "core/fpdfapi/cmaps/Japan1/cmaps_japan1.cpp",
440 "core/fpdfapi/cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp",
441 "core/fpdfapi/cmaps/Korea1/KSC-EUC-H_0.cpp",
442 "core/fpdfapi/cmaps/Korea1/KSC-EUC-V_0.cpp",
443 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-HW-H_1.cpp",
444 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-HW-V_1.cpp",
445 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-H_1.cpp",
446 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-V_1.cpp",
447 "core/fpdfapi/cmaps/Korea1/KSCpc-EUC-H_0.cpp",
448 "core/fpdfapi/cmaps/Korea1/UniKS-UCS2-H_1.cpp",
449 "core/fpdfapi/cmaps/Korea1/UniKS-UCS2-V_1.cpp",
450 "core/fpdfapi/cmaps/Korea1/UniKS-UTF16-H_0.cpp",
451 "core/fpdfapi/cmaps/Korea1/cmaps_korea1.cpp",
452 "core/fpdfapi/cmaps/cmap_int.h",
453 "core/fpdfapi/cmaps/fpdf_cmaps.cpp",
tsepezddffb572016-05-24 16:20:29 -0700454 "core/fpdfapi/cpdf_modulemgr.cpp",
dsinclair39c62fd2016-09-29 12:49:17 -0700455 "core/fpdfapi/cpdf_modulemgr.h",
weili9f515bc2016-07-24 08:08:24 -0700456 "core/fpdfapi/cpdf_pagerendercontext.cpp",
dsinclair39c62fd2016-09-29 12:49:17 -0700457 "core/fpdfapi/cpdf_pagerendercontext.h",
Dan Sinclaira0b19542017-05-09 12:36:08 -0400458 "core/fpdfapi/edit/cpdf_creator.cpp",
dsinclair24154352016-10-04 11:01:48 -0700459 "core/fpdfapi/edit/cpdf_creator.h",
Dan Sinclaira0b19542017-05-09 12:36:08 -0400460 "core/fpdfapi/edit/cpdf_encryptor.cpp",
461 "core/fpdfapi/edit/cpdf_encryptor.h",
462 "core/fpdfapi/edit/cpdf_flateencoder.cpp",
463 "core/fpdfapi/edit/cpdf_flateencoder.h",
dsinclair24154352016-10-04 11:01:48 -0700464 "core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp",
465 "core/fpdfapi/edit/cpdf_pagecontentgenerator.h",
Nicolas Pena169b3012017-05-26 14:38:03 -0400466 "core/fpdfapi/font/cfx_cttgsubtable.cpp",
467 "core/fpdfapi/font/cfx_cttgsubtable.h",
468 "core/fpdfapi/font/cfx_stockfontarray.cpp",
469 "core/fpdfapi/font/cfx_stockfontarray.h",
470 "core/fpdfapi/font/cpdf_cid2unicodemap.cpp",
471 "core/fpdfapi/font/cpdf_cid2unicodemap.h",
dsinclairbc5e6d22016-10-04 11:08:49 -0700472 "core/fpdfapi/font/cpdf_cidfont.cpp",
473 "core/fpdfapi/font/cpdf_cidfont.h",
Nicolas Pena169b3012017-05-26 14:38:03 -0400474 "core/fpdfapi/font/cpdf_cmap.cpp",
475 "core/fpdfapi/font/cpdf_cmap.h",
476 "core/fpdfapi/font/cpdf_cmapmanager.cpp",
477 "core/fpdfapi/font/cpdf_cmapmanager.h",
478 "core/fpdfapi/font/cpdf_cmapparser.cpp",
479 "core/fpdfapi/font/cpdf_cmapparser.h",
dsinclairbc5e6d22016-10-04 11:08:49 -0700480 "core/fpdfapi/font/cpdf_font.cpp",
481 "core/fpdfapi/font/cpdf_font.h",
482 "core/fpdfapi/font/cpdf_fontencoding.cpp",
483 "core/fpdfapi/font/cpdf_fontencoding.h",
Nicolas Pena169b3012017-05-26 14:38:03 -0400484 "core/fpdfapi/font/cpdf_fontglobals.cpp",
485 "core/fpdfapi/font/cpdf_fontglobals.h",
dsinclairbc5e6d22016-10-04 11:08:49 -0700486 "core/fpdfapi/font/cpdf_simplefont.cpp",
487 "core/fpdfapi/font/cpdf_simplefont.h",
Nicolas Pena169b3012017-05-26 14:38:03 -0400488 "core/fpdfapi/font/cpdf_tounicodemap.cpp",
489 "core/fpdfapi/font/cpdf_tounicodemap.h",
dsinclairbc5e6d22016-10-04 11:08:49 -0700490 "core/fpdfapi/font/cpdf_truetypefont.cpp",
491 "core/fpdfapi/font/cpdf_truetypefont.h",
492 "core/fpdfapi/font/cpdf_type1font.cpp",
493 "core/fpdfapi/font/cpdf_type1font.h",
494 "core/fpdfapi/font/cpdf_type3char.cpp",
495 "core/fpdfapi/font/cpdf_type3char.h",
496 "core/fpdfapi/font/cpdf_type3font.cpp",
497 "core/fpdfapi/font/cpdf_type3font.h",
dsinclair41872fa2016-10-04 11:29:35 -0700498 "core/fpdfapi/page/cpdf_allstates.cpp",
499 "core/fpdfapi/page/cpdf_allstates.h",
500 "core/fpdfapi/page/cpdf_clippath.cpp",
501 "core/fpdfapi/page/cpdf_clippath.h",
502 "core/fpdfapi/page/cpdf_color.cpp",
503 "core/fpdfapi/page/cpdf_color.h",
504 "core/fpdfapi/page/cpdf_colorspace.cpp",
505 "core/fpdfapi/page/cpdf_colorspace.h",
506 "core/fpdfapi/page/cpdf_colorstate.cpp",
507 "core/fpdfapi/page/cpdf_colorstate.h",
508 "core/fpdfapi/page/cpdf_contentmark.cpp",
509 "core/fpdfapi/page/cpdf_contentmark.h",
510 "core/fpdfapi/page/cpdf_contentmarkitem.cpp",
511 "core/fpdfapi/page/cpdf_contentmarkitem.h",
npm014b0122016-11-07 08:42:11 -0800512 "core/fpdfapi/page/cpdf_contentparser.cpp",
tsepez1aff2652016-11-22 10:45:59 -0800513 "core/fpdfapi/page/cpdf_contentparser.h",
dsinclair41872fa2016-10-04 11:29:35 -0700514 "core/fpdfapi/page/cpdf_countedobject.h",
Dan Sinclair5acacd32017-05-25 14:04:59 -0400515 "core/fpdfapi/page/cpdf_devicecs.cpp",
516 "core/fpdfapi/page/cpdf_devicecs.h",
tsepez9fa95ef2016-10-11 12:29:38 -0700517 "core/fpdfapi/page/cpdf_docpagedata.cpp",
518 "core/fpdfapi/page/cpdf_docpagedata.h",
Dan Sinclair5acacd32017-05-25 14:04:59 -0400519 "core/fpdfapi/page/cpdf_expintfunc.cpp",
520 "core/fpdfapi/page/cpdf_expintfunc.h",
dsinclair41872fa2016-10-04 11:29:35 -0700521 "core/fpdfapi/page/cpdf_form.cpp",
522 "core/fpdfapi/page/cpdf_form.h",
523 "core/fpdfapi/page/cpdf_formobject.cpp",
524 "core/fpdfapi/page/cpdf_formobject.h",
Dan Sinclair5acacd32017-05-25 14:04:59 -0400525 "core/fpdfapi/page/cpdf_function.cpp",
526 "core/fpdfapi/page/cpdf_function.h",
dsinclair41872fa2016-10-04 11:29:35 -0700527 "core/fpdfapi/page/cpdf_generalstate.cpp",
528 "core/fpdfapi/page/cpdf_generalstate.h",
529 "core/fpdfapi/page/cpdf_graphicstates.cpp",
530 "core/fpdfapi/page/cpdf_graphicstates.h",
Dan Sinclair5acacd32017-05-25 14:04:59 -0400531 "core/fpdfapi/page/cpdf_iccprofile.cpp",
532 "core/fpdfapi/page/cpdf_iccprofile.h",
dsinclair41872fa2016-10-04 11:29:35 -0700533 "core/fpdfapi/page/cpdf_image.cpp",
534 "core/fpdfapi/page/cpdf_image.h",
535 "core/fpdfapi/page/cpdf_imageobject.cpp",
536 "core/fpdfapi/page/cpdf_imageobject.h",
537 "core/fpdfapi/page/cpdf_meshstream.cpp",
538 "core/fpdfapi/page/cpdf_meshstream.h",
539 "core/fpdfapi/page/cpdf_page.cpp",
540 "core/fpdfapi/page/cpdf_page.h",
541 "core/fpdfapi/page/cpdf_pagemodule.cpp",
542 "core/fpdfapi/page/cpdf_pagemodule.h",
543 "core/fpdfapi/page/cpdf_pageobject.cpp",
544 "core/fpdfapi/page/cpdf_pageobject.h",
545 "core/fpdfapi/page/cpdf_pageobjectholder.cpp",
546 "core/fpdfapi/page/cpdf_pageobjectholder.h",
547 "core/fpdfapi/page/cpdf_pageobjectlist.cpp",
548 "core/fpdfapi/page/cpdf_pageobjectlist.h",
549 "core/fpdfapi/page/cpdf_path.cpp",
550 "core/fpdfapi/page/cpdf_path.h",
551 "core/fpdfapi/page/cpdf_pathobject.cpp",
552 "core/fpdfapi/page/cpdf_pathobject.h",
553 "core/fpdfapi/page/cpdf_pattern.cpp",
554 "core/fpdfapi/page/cpdf_pattern.h",
Dan Sinclair5acacd32017-05-25 14:04:59 -0400555 "core/fpdfapi/page/cpdf_patterncs.cpp",
556 "core/fpdfapi/page/cpdf_patterncs.h",
557 "core/fpdfapi/page/cpdf_psengine.cpp",
558 "core/fpdfapi/page/cpdf_psengine.h",
559 "core/fpdfapi/page/cpdf_psfunc.cpp",
560 "core/fpdfapi/page/cpdf_psfunc.h",
561 "core/fpdfapi/page/cpdf_sampledfunc.cpp",
562 "core/fpdfapi/page/cpdf_sampledfunc.h",
dsinclair41872fa2016-10-04 11:29:35 -0700563 "core/fpdfapi/page/cpdf_shadingobject.cpp",
564 "core/fpdfapi/page/cpdf_shadingobject.h",
565 "core/fpdfapi/page/cpdf_shadingpattern.cpp",
566 "core/fpdfapi/page/cpdf_shadingpattern.h",
Dan Sinclair5acacd32017-05-25 14:04:59 -0400567 "core/fpdfapi/page/cpdf_stitchfunc.cpp",
568 "core/fpdfapi/page/cpdf_stitchfunc.h",
tsepez271d9c02016-10-13 11:29:04 -0700569 "core/fpdfapi/page/cpdf_streamcontentparser.cpp",
570 "core/fpdfapi/page/cpdf_streamcontentparser.h",
npm014b0122016-11-07 08:42:11 -0800571 "core/fpdfapi/page/cpdf_streamparser.cpp",
tsepez1aff2652016-11-22 10:45:59 -0800572 "core/fpdfapi/page/cpdf_streamparser.h",
dsinclair41872fa2016-10-04 11:29:35 -0700573 "core/fpdfapi/page/cpdf_textobject.cpp",
574 "core/fpdfapi/page/cpdf_textobject.h",
575 "core/fpdfapi/page/cpdf_textstate.cpp",
576 "core/fpdfapi/page/cpdf_textstate.h",
577 "core/fpdfapi/page/cpdf_tilingpattern.cpp",
578 "core/fpdfapi/page/cpdf_tilingpattern.h",
dsinclair488b7ad2016-10-04 11:55:50 -0700579 "core/fpdfapi/parser/cfdf_document.cpp",
580 "core/fpdfapi/parser/cfdf_document.h",
581 "core/fpdfapi/parser/cpdf_array.cpp",
582 "core/fpdfapi/parser/cpdf_array.h",
583 "core/fpdfapi/parser/cpdf_boolean.cpp",
584 "core/fpdfapi/parser/cpdf_boolean.h",
585 "core/fpdfapi/parser/cpdf_crypto_handler.cpp",
586 "core/fpdfapi/parser/cpdf_crypto_handler.h",
587 "core/fpdfapi/parser/cpdf_data_avail.cpp",
588 "core/fpdfapi/parser/cpdf_data_avail.h",
589 "core/fpdfapi/parser/cpdf_dictionary.cpp",
590 "core/fpdfapi/parser/cpdf_dictionary.h",
591 "core/fpdfapi/parser/cpdf_document.cpp",
592 "core/fpdfapi/parser/cpdf_document.h",
593 "core/fpdfapi/parser/cpdf_hint_tables.cpp",
594 "core/fpdfapi/parser/cpdf_hint_tables.h",
595 "core/fpdfapi/parser/cpdf_indirect_object_holder.cpp",
596 "core/fpdfapi/parser/cpdf_indirect_object_holder.h",
tsepezc09625c2016-11-07 11:46:09 -0800597 "core/fpdfapi/parser/cpdf_linearized_header.cpp",
598 "core/fpdfapi/parser/cpdf_linearized_header.h",
dsinclair488b7ad2016-10-04 11:55:50 -0700599 "core/fpdfapi/parser/cpdf_name.cpp",
600 "core/fpdfapi/parser/cpdf_name.h",
601 "core/fpdfapi/parser/cpdf_null.cpp",
602 "core/fpdfapi/parser/cpdf_null.h",
603 "core/fpdfapi/parser/cpdf_number.cpp",
604 "core/fpdfapi/parser/cpdf_number.h",
605 "core/fpdfapi/parser/cpdf_object.cpp",
606 "core/fpdfapi/parser/cpdf_object.h",
Artem Stryginf57cad42017-08-14 23:35:52 +0300607 "core/fpdfapi/parser/cpdf_object_walker.cpp",
608 "core/fpdfapi/parser/cpdf_object_walker.h",
dsinclair488b7ad2016-10-04 11:55:50 -0700609 "core/fpdfapi/parser/cpdf_parser.cpp",
610 "core/fpdfapi/parser/cpdf_parser.h",
Artem Strygin834ebec2017-07-27 14:01:32 +0300611 "core/fpdfapi/parser/cpdf_read_validator.cpp",
612 "core/fpdfapi/parser/cpdf_read_validator.h",
dsinclair488b7ad2016-10-04 11:55:50 -0700613 "core/fpdfapi/parser/cpdf_reference.cpp",
614 "core/fpdfapi/parser/cpdf_reference.h",
615 "core/fpdfapi/parser/cpdf_security_handler.cpp",
616 "core/fpdfapi/parser/cpdf_security_handler.h",
617 "core/fpdfapi/parser/cpdf_simple_parser.cpp",
618 "core/fpdfapi/parser/cpdf_simple_parser.h",
619 "core/fpdfapi/parser/cpdf_stream.cpp",
620 "core/fpdfapi/parser/cpdf_stream.h",
621 "core/fpdfapi/parser/cpdf_stream_acc.cpp",
622 "core/fpdfapi/parser/cpdf_stream_acc.h",
623 "core/fpdfapi/parser/cpdf_string.cpp",
624 "core/fpdfapi/parser/cpdf_string.h",
625 "core/fpdfapi/parser/cpdf_syntax_parser.cpp",
626 "core/fpdfapi/parser/cpdf_syntax_parser.h",
627 "core/fpdfapi/parser/fpdf_parser_decode.cpp",
628 "core/fpdfapi/parser/fpdf_parser_decode.h",
629 "core/fpdfapi/parser/fpdf_parser_utility.cpp",
630 "core/fpdfapi/parser/fpdf_parser_utility.h",
npm483f3c42016-11-17 13:50:44 -0800631 "core/fpdfapi/render/cpdf_charposlist.cpp",
632 "core/fpdfapi/render/cpdf_charposlist.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500633 "core/fpdfapi/render/cpdf_devicebuffer.cpp",
634 "core/fpdfapi/render/cpdf_devicebuffer.h",
Nicolas Pena0ef7ba02017-01-04 16:18:57 -0500635 "core/fpdfapi/render/cpdf_dibsource.cpp",
636 "core/fpdfapi/render/cpdf_dibsource.h",
npm4bed2af2016-12-02 14:01:36 -0800637 "core/fpdfapi/render/cpdf_dibtransferfunc.cpp",
638 "core/fpdfapi/render/cpdf_dibtransferfunc.h",
npm935c6312016-11-17 10:47:43 -0800639 "core/fpdfapi/render/cpdf_docrenderdata.cpp",
640 "core/fpdfapi/render/cpdf_docrenderdata.h",
npmd7ecb5f2016-12-01 15:37:42 -0800641 "core/fpdfapi/render/cpdf_imagecacheentry.cpp",
642 "core/fpdfapi/render/cpdf_imagecacheentry.h",
npmca5300a2016-11-21 07:28:42 -0800643 "core/fpdfapi/render/cpdf_imageloader.cpp",
644 "core/fpdfapi/render/cpdf_imageloader.h",
npm43f382c2016-11-23 07:35:23 -0800645 "core/fpdfapi/render/cpdf_imagerenderer.cpp",
646 "core/fpdfapi/render/cpdf_imagerenderer.h",
npmd7ecb5f2016-12-01 15:37:42 -0800647 "core/fpdfapi/render/cpdf_pagerendercache.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700648 "core/fpdfapi/render/cpdf_pagerendercache.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500649 "core/fpdfapi/render/cpdf_progressiverenderer.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700650 "core/fpdfapi/render/cpdf_progressiverenderer.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500651 "core/fpdfapi/render/cpdf_rendercontext.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700652 "core/fpdfapi/render/cpdf_rendercontext.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500653 "core/fpdfapi/render/cpdf_renderoptions.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700654 "core/fpdfapi/render/cpdf_renderoptions.h",
npm483f3c42016-11-17 13:50:44 -0800655 "core/fpdfapi/render/cpdf_renderstatus.cpp",
656 "core/fpdfapi/render/cpdf_renderstatus.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500657 "core/fpdfapi/render/cpdf_scaledrenderbuffer.cpp",
658 "core/fpdfapi/render/cpdf_scaledrenderbuffer.h",
npm4bed2af2016-12-02 14:01:36 -0800659 "core/fpdfapi/render/cpdf_textrenderer.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700660 "core/fpdfapi/render/cpdf_textrenderer.h",
npmca5300a2016-11-21 07:28:42 -0800661 "core/fpdfapi/render/cpdf_transferfunc.cpp",
662 "core/fpdfapi/render/cpdf_transferfunc.h",
dsinclair69d9c682016-10-04 12:18:35 -0700663 "core/fpdfapi/render/cpdf_type3cache.cpp",
664 "core/fpdfapi/render/cpdf_type3cache.h",
665 "core/fpdfapi/render/cpdf_type3glyphs.cpp",
666 "core/fpdfapi/render/cpdf_type3glyphs.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700667 ]
weili0abe6522016-06-06 14:41:22 -0700668 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700669 deps = [
670 ":fxcrt",
671 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700672}
673
674static_library("fpdftext") {
675 sources = [
npm2d396ac2016-08-26 10:00:25 -0700676 "core/fpdftext/cpdf_linkextract.cpp",
dsinclaire0307862016-09-29 13:25:38 -0700677 "core/fpdftext/cpdf_linkextract.h",
npm2d396ac2016-08-26 10:00:25 -0700678 "core/fpdftext/cpdf_textpage.cpp",
dsinclaire0307862016-09-29 13:25:38 -0700679 "core/fpdftext/cpdf_textpage.h",
npm2d396ac2016-08-26 10:00:25 -0700680 "core/fpdftext/cpdf_textpagefind.cpp",
dsinclaire0307862016-09-29 13:25:38 -0700681 "core/fpdftext/cpdf_textpagefind.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400682 "core/fpdftext/unicodenormalizationdata.cpp",
683 "core/fpdftext/unicodenormalizationdata.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",
688 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700689}
690
691static_library("fxcodec") {
692 sources = [
dsinclair8a4e2862016-09-29 13:43:30 -0700693 "core/fxcodec/JBig2_DocumentContext.h",
dsinclaird55e11e2016-04-12 11:21:22 -0700694 "core/fxcodec/codec/ccodec_basicmodule.h",
695 "core/fxcodec/codec/ccodec_faxmodule.h",
696 "core/fxcodec/codec/ccodec_flatemodule.h",
697 "core/fxcodec/codec/ccodec_iccmodule.h",
698 "core/fxcodec/codec/ccodec_jbig2module.h",
699 "core/fxcodec/codec/ccodec_jpegmodule.h",
700 "core/fxcodec/codec/ccodec_jpxmodule.h",
701 "core/fxcodec/codec/ccodec_scanlinedecoder.h",
Dan Sinclair0bb13332017-03-30 16:12:02 -0400702 "core/fxcodec/codec/cjpx_decoder.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400703 "core/fxcodec/codec/codec_int.h",
704 "core/fxcodec/codec/fx_codec.cpp",
705 "core/fxcodec/codec/fx_codec_fax.cpp",
706 "core/fxcodec/codec/fx_codec_flate.cpp",
707 "core/fxcodec/codec/fx_codec_icc.cpp",
708 "core/fxcodec/codec/fx_codec_jbig.cpp",
709 "core/fxcodec/codec/fx_codec_jpeg.cpp",
710 "core/fxcodec/codec/fx_codec_jpx_opj.cpp",
dsinclair8a4e2862016-09-29 13:43:30 -0700711 "core/fxcodec/fx_codec.h",
712 "core/fxcodec/fx_codec_def.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400713 "core/fxcodec/jbig2/JBig2_ArithDecoder.cpp",
714 "core/fxcodec/jbig2/JBig2_ArithDecoder.h",
715 "core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp",
716 "core/fxcodec/jbig2/JBig2_ArithIntDecoder.h",
717 "core/fxcodec/jbig2/JBig2_BitStream.cpp",
718 "core/fxcodec/jbig2/JBig2_BitStream.h",
719 "core/fxcodec/jbig2/JBig2_Context.cpp",
720 "core/fxcodec/jbig2/JBig2_Context.h",
721 "core/fxcodec/jbig2/JBig2_Define.h",
722 "core/fxcodec/jbig2/JBig2_GrdProc.cpp",
723 "core/fxcodec/jbig2/JBig2_GrdProc.h",
724 "core/fxcodec/jbig2/JBig2_GrrdProc.cpp",
725 "core/fxcodec/jbig2/JBig2_GrrdProc.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400726 "core/fxcodec/jbig2/JBig2_HtrdProc.cpp",
727 "core/fxcodec/jbig2/JBig2_HtrdProc.h",
728 "core/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp",
729 "core/fxcodec/jbig2/JBig2_HuffmanDecoder.h",
730 "core/fxcodec/jbig2/JBig2_HuffmanTable.cpp",
731 "core/fxcodec/jbig2/JBig2_HuffmanTable.h",
Tom Sepez4161c5c2016-03-21 12:26:54 -0700732 "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400733 "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h",
734 "core/fxcodec/jbig2/JBig2_Image.cpp",
735 "core/fxcodec/jbig2/JBig2_Image.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400736 "core/fxcodec/jbig2/JBig2_Page.h",
737 "core/fxcodec/jbig2/JBig2_PatternDict.cpp",
738 "core/fxcodec/jbig2/JBig2_PatternDict.h",
739 "core/fxcodec/jbig2/JBig2_PddProc.cpp",
740 "core/fxcodec/jbig2/JBig2_PddProc.h",
741 "core/fxcodec/jbig2/JBig2_SddProc.cpp",
742 "core/fxcodec/jbig2/JBig2_SddProc.h",
743 "core/fxcodec/jbig2/JBig2_Segment.cpp",
744 "core/fxcodec/jbig2/JBig2_Segment.h",
745 "core/fxcodec/jbig2/JBig2_SymbolDict.cpp",
746 "core/fxcodec/jbig2/JBig2_SymbolDict.h",
747 "core/fxcodec/jbig2/JBig2_TrdProc.cpp",
748 "core/fxcodec/jbig2/JBig2_TrdProc.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700749 ]
thestig73c48562016-09-06 14:07:17 -0700750 configs += [ ":pdfium_core_config" ]
Lei Zhang8241df72015-11-06 14:38:48 -0800751 include_dirs = []
thestig73c48562016-09-06 14:07:17 -0700752 deps = [
753 ":fxcrt",
thestig73c48562016-09-06 14:07:17 -0700754 "third_party:fx_libopenjpeg",
Miklos Vajna0fafb4f2017-05-24 08:40:49 +0200755 "third_party:lcms2",
Miklos Vajna2df760f2017-05-06 01:54:54 +0200756 "third_party:zlib",
thestig73c48562016-09-06 14:07:17 -0700757 "//third_party:jpeg",
758 ]
759
Tom Sepezd2e023b2015-12-08 14:36:16 -0800760 if (pdf_enable_xfa) {
761 sources += [
Tom Sepez73c9f3b2017-02-27 10:12:59 -0800762 "core/fxcodec/codec/ccodec_bmpmodule.cpp",
dsinclaird55e11e2016-04-12 11:21:22 -0700763 "core/fxcodec/codec/ccodec_bmpmodule.h",
Tom Sepez73c9f3b2017-02-27 10:12:59 -0800764 "core/fxcodec/codec/ccodec_gifmodule.cpp",
dsinclaird55e11e2016-04-12 11:21:22 -0700765 "core/fxcodec/codec/ccodec_gifmodule.h",
Tom Sepez73c9f3b2017-02-27 10:12:59 -0800766 "core/fxcodec/codec/ccodec_pngmodule.cpp",
dsinclaird55e11e2016-04-12 11:21:22 -0700767 "core/fxcodec/codec/ccodec_pngmodule.h",
dsinclair8a4e2862016-09-29 13:43:30 -0700768 "core/fxcodec/codec/ccodec_progressivedecoder.h",
Tom Sepez73c9f3b2017-02-27 10:12:59 -0800769 "core/fxcodec/codec/ccodec_tiffmodule.cpp",
dsinclaird55e11e2016-04-12 11:21:22 -0700770 "core/fxcodec/codec/ccodec_tiffmodule.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400771 "core/fxcodec/codec/fx_codec_progress.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400772 "core/fxcodec/lbmp/fx_bmp.cpp",
773 "core/fxcodec/lbmp/fx_bmp.h",
Nicolas Pena2199ab82017-05-11 18:44:29 -0400774 "core/fxcodec/lgif/cgifcontext.cpp",
775 "core/fxcodec/lgif/cgifcontext.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400776 "core/fxcodec/lgif/fx_gif.cpp",
777 "core/fxcodec/lgif/fx_gif.h",
Tom Sepezd2e023b2015-12-08 14:36:16 -0800778 ]
779 deps += [
780 "third_party:fx_lpng",
781 "third_party:fx_tiff",
782 ]
783 }
John Abd-El-Malekdef5c7d2014-06-09 16:07:18 -0700784 if (is_posix) {
Dan Sinclair764ec512016-03-14 13:35:12 -0400785 # core/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int
John Abd-El-Malekdef5c7d2014-06-09 16:07:18 -0700786 # conversion to check that an address is 16-bit aligned (benign).
787 cflags_c = [ "-Wno-pointer-to-int-cast" ]
788 }
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400789}
790
791config("fxge_warnings") {
792 if (is_clang) {
793 cflags = [
794 # http://code.google.com/p/pdfium/issues/detail?id=188
795 "-Wno-switch",
796 ]
797 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700798}
799
Henrique Nakashima7e805d12017-08-10 15:13:19 +0000800static_library("fxcrt") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700801 sources = [
Tom Sepezfcdb2df2017-03-31 10:32:07 -0700802 "core/fxcrt/cfx_bytestring.cpp",
803 "core/fxcrt/cfx_bytestring.h",
Jane Liu54a42142017-07-24 16:40:54 -0400804 "core/fxcrt/cfx_datetime.cpp",
805 "core/fxcrt/cfx_datetime.h",
tsepez81b22462016-11-23 14:20:19 -0800806 "core/fxcrt/cfx_maybe_owned.h",
Dan Sinclair283a0432017-04-20 14:11:21 -0400807 "core/fxcrt/cfx_memorystream.cpp",
808 "core/fxcrt/cfx_memorystream.h",
dsinclaira52ab742016-09-29 13:59:29 -0700809 "core/fxcrt/cfx_observable.h",
810 "core/fxcrt/cfx_retain_ptr.h",
tsepez2239cee2016-10-17 11:20:01 -0700811 "core/fxcrt/cfx_shared_copy_on_write.h",
tsepezf7036ba2016-05-13 15:02:43 -0700812 "core/fxcrt/cfx_string_c_template.h",
tsepez6fb598b2016-04-05 12:40:47 -0700813 "core/fxcrt/cfx_string_data_template.h",
dsinclaira52ab742016-09-29 13:59:29 -0700814 "core/fxcrt/cfx_string_pool_template.h",
Tom Sepezcc205132017-05-16 14:01:47 -0700815 "core/fxcrt/cfx_unowned_ptr.h",
dsinclaira52ab742016-09-29 13:59:29 -0700816 "core/fxcrt/cfx_weak_ptr.h",
Tom Sepezfcdb2df2017-03-31 10:32:07 -0700817 "core/fxcrt/cfx_widestring.cpp",
818 "core/fxcrt/cfx_widestring.h",
dsinclaira52ab742016-09-29 13:59:29 -0700819 "core/fxcrt/fx_basic.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400820 "core/fxcrt/fx_basic_buffer.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400821 "core/fxcrt/fx_basic_gcc.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400822 "core/fxcrt/fx_basic_utf.cpp",
823 "core/fxcrt/fx_basic_util.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400824 "core/fxcrt/fx_bidi.cpp",
Dan Sinclaira8a28e02016-03-23 15:41:39 -0400825 "core/fxcrt/fx_bidi.h",
Dan Sinclairf51a02a2017-04-19 12:46:53 -0400826 "core/fxcrt/fx_codepage.h",
Tom Sepez63022882017-04-25 10:29:58 -0700827 "core/fxcrt/fx_coordinates.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700828 "core/fxcrt/fx_coordinates.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400829 "core/fxcrt/fx_extension.cpp",
Dan Sinclaircfb19442017-04-20 13:13:04 -0400830 "core/fxcrt/fx_extension.h",
Tom Sepeza9deea92017-04-25 10:37:47 -0700831 "core/fxcrt/fx_memory.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700832 "core/fxcrt/fx_memory.h",
833 "core/fxcrt/fx_safe_types.h",
Dan Sinclaircfb19442017-04-20 13:13:04 -0400834 "core/fxcrt/fx_stream.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700835 "core/fxcrt/fx_stream.h",
836 "core/fxcrt/fx_string.h",
Tom Sepez9ff306d2017-04-24 15:55:11 -0700837 "core/fxcrt/fx_system.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700838 "core/fxcrt/fx_system.h",
839 "core/fxcrt/fx_ucd.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400840 "core/fxcrt/fx_ucddata.cpp",
841 "core/fxcrt/fx_unicode.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400842 "core/fxcrt/fxcrt_posix.cpp",
843 "core/fxcrt/fxcrt_posix.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400844 "core/fxcrt/fxcrt_windows.cpp",
845 "core/fxcrt/fxcrt_windows.h",
Dan Sinclaircfb19442017-04-20 13:13:04 -0400846 "core/fxcrt/ifxcrt_fileaccess.h",
Dan Sinclair908c8482017-03-30 14:33:28 -0400847 "core/fxcrt/xml/cxml_attritem.cpp",
848 "core/fxcrt/xml/cxml_attritem.h",
849 "core/fxcrt/xml/cxml_attrmap.cpp",
850 "core/fxcrt/xml/cxml_attrmap.h",
Tom Sepez8a6fdad2017-05-09 15:03:33 -0700851 "core/fxcrt/xml/cxml_content.cpp",
Dan Sinclair908c8482017-03-30 14:33:28 -0400852 "core/fxcrt/xml/cxml_content.h",
Dan Sinclaireccf4052017-04-18 12:19:34 -0400853 "core/fxcrt/xml/cxml_databufacc.cpp",
854 "core/fxcrt/xml/cxml_databufacc.h",
Dan Sinclair908c8482017-03-30 14:33:28 -0400855 "core/fxcrt/xml/cxml_element.cpp",
856 "core/fxcrt/xml/cxml_element.h",
Tom Sepez8a6fdad2017-05-09 15:03:33 -0700857 "core/fxcrt/xml/cxml_object.cpp",
858 "core/fxcrt/xml/cxml_object.h",
Dan Sinclair908c8482017-03-30 14:33:28 -0400859 "core/fxcrt/xml/cxml_parser.cpp",
860 "core/fxcrt/xml/cxml_parser.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700861 ]
thestigc65e11e2016-08-30 21:56:33 -0700862 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700863 visibility += [ "third_party:*" ]
864 deps = [
865 "third_party:pdfium_base",
866 ]
867 public_deps = [
Dominik Röttsches4b0671a2017-03-30 11:07:43 +0300868 ":freetype_common",
thestig73c48562016-09-06 14:07:17 -0700869 "third_party:pdfium_base",
870 ]
thestigc65e11e2016-08-30 21:56:33 -0700871
Tom Sepezd2e023b2015-12-08 14:36:16 -0800872 if (pdf_enable_xfa) {
873 sources += [
Dan Sinclairac355892017-04-03 16:46:21 -0400874 "core/fxcrt/cfx_blockbuffer.cpp",
875 "core/fxcrt/cfx_blockbuffer.h",
Dan Sinclair893822a2017-03-13 15:32:07 -0400876 "core/fxcrt/cfx_char.cpp",
877 "core/fxcrt/cfx_char.h",
Dan Sinclairddb70162017-03-30 14:01:31 -0400878 "core/fxcrt/cfx_chariter.cpp",
879 "core/fxcrt/cfx_chariter.h",
880 "core/fxcrt/cfx_checksumcontext.cpp",
881 "core/fxcrt/cfx_checksumcontext.h",
Dan Sinclaircfb19442017-04-20 13:13:04 -0400882 "core/fxcrt/cfx_crtfileaccess.cpp",
883 "core/fxcrt/cfx_crtfileaccess.h",
Dan Sinclairb929ab02017-03-29 15:18:16 -0400884 "core/fxcrt/cfx_decimal.cpp",
885 "core/fxcrt/cfx_decimal.h",
Dan Sinclair3b71d262017-04-19 08:58:54 -0400886 "core/fxcrt/cfx_seekablestreamproxy.cpp",
887 "core/fxcrt/cfx_seekablestreamproxy.h",
Dan Sinclairddb70162017-03-30 14:01:31 -0400888 "core/fxcrt/cfx_wordbreak.cpp",
889 "core/fxcrt/cfx_wordbreak.h",
Dan Sinclair9f0e85a2017-08-08 13:23:24 -0400890 "core/fxcrt/css/cfx_css.h",
891 "core/fxcrt/css/cfx_csscolorvalue.cpp",
892 "core/fxcrt/css/cfx_csscolorvalue.h",
893 "core/fxcrt/css/cfx_csscomputedstyle.cpp",
894 "core/fxcrt/css/cfx_csscomputedstyle.h",
895 "core/fxcrt/css/cfx_csscustomproperty.cpp",
896 "core/fxcrt/css/cfx_csscustomproperty.h",
897 "core/fxcrt/css/cfx_cssdatatable.cpp",
898 "core/fxcrt/css/cfx_cssdatatable.h",
899 "core/fxcrt/css/cfx_cssdeclaration.cpp",
900 "core/fxcrt/css/cfx_cssdeclaration.h",
901 "core/fxcrt/css/cfx_cssenumvalue.cpp",
902 "core/fxcrt/css/cfx_cssenumvalue.h",
903 "core/fxcrt/css/cfx_cssexttextbuf.cpp",
904 "core/fxcrt/css/cfx_cssexttextbuf.h",
905 "core/fxcrt/css/cfx_cssnumbervalue.cpp",
906 "core/fxcrt/css/cfx_cssnumbervalue.h",
907 "core/fxcrt/css/cfx_csspropertyholder.cpp",
908 "core/fxcrt/css/cfx_csspropertyholder.h",
909 "core/fxcrt/css/cfx_cssrulecollection.cpp",
910 "core/fxcrt/css/cfx_cssrulecollection.h",
911 "core/fxcrt/css/cfx_cssselector.cpp",
912 "core/fxcrt/css/cfx_cssselector.h",
913 "core/fxcrt/css/cfx_cssstringvalue.cpp",
914 "core/fxcrt/css/cfx_cssstringvalue.h",
915 "core/fxcrt/css/cfx_cssstylerule.cpp",
916 "core/fxcrt/css/cfx_cssstylerule.h",
917 "core/fxcrt/css/cfx_cssstyleselector.cpp",
918 "core/fxcrt/css/cfx_cssstyleselector.h",
919 "core/fxcrt/css/cfx_cssstylesheet.cpp",
920 "core/fxcrt/css/cfx_cssstylesheet.h",
921 "core/fxcrt/css/cfx_csssyntaxparser.cpp",
922 "core/fxcrt/css/cfx_csssyntaxparser.h",
923 "core/fxcrt/css/cfx_csstextbuf.cpp",
924 "core/fxcrt/css/cfx_csstextbuf.h",
925 "core/fxcrt/css/cfx_cssvalue.cpp",
926 "core/fxcrt/css/cfx_cssvalue.h",
927 "core/fxcrt/css/cfx_cssvaluelist.cpp",
928 "core/fxcrt/css/cfx_cssvaluelist.h",
929 "core/fxcrt/css/cfx_cssvaluelistparser.cpp",
930 "core/fxcrt/css/cfx_cssvaluelistparser.h",
pcce3bbfa22016-04-19 12:40:07 -0700931 "core/fxcrt/fx_arabic.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700932 "core/fxcrt/fx_arabic.h",
Dan Sinclairddb70162017-03-30 14:01:31 -0400933 "core/fxcrt/ifx_chariter.h",
Dan Sinclairb929ab02017-03-29 15:18:16 -0400934 "core/fxcrt/ifx_locale.h",
Henrique Nakashimaeed247e2017-07-19 14:12:03 -0400935 "core/fxcrt/xml/cfx_saxcontext.cpp",
Dan Sinclairddb70162017-03-30 14:01:31 -0400936 "core/fxcrt/xml/cfx_saxcontext.h",
937 "core/fxcrt/xml/cfx_saxreader.cpp",
938 "core/fxcrt/xml/cfx_saxreader.h",
939 "core/fxcrt/xml/cfx_saxreaderhandler.cpp",
940 "core/fxcrt/xml/cfx_saxreaderhandler.h",
Dan Sinclair0d86ecb2017-04-19 09:19:57 -0400941 "core/fxcrt/xml/cfx_xmlattributenode.cpp",
942 "core/fxcrt/xml/cfx_xmlattributenode.h",
943 "core/fxcrt/xml/cfx_xmlchardata.cpp",
944 "core/fxcrt/xml/cfx_xmlchardata.h",
945 "core/fxcrt/xml/cfx_xmldoc.cpp",
946 "core/fxcrt/xml/cfx_xmldoc.h",
947 "core/fxcrt/xml/cfx_xmlelement.cpp",
948 "core/fxcrt/xml/cfx_xmlelement.h",
949 "core/fxcrt/xml/cfx_xmlinstruction.cpp",
950 "core/fxcrt/xml/cfx_xmlinstruction.h",
951 "core/fxcrt/xml/cfx_xmlnode.cpp",
952 "core/fxcrt/xml/cfx_xmlnode.h",
953 "core/fxcrt/xml/cfx_xmlparser.cpp",
954 "core/fxcrt/xml/cfx_xmlparser.h",
955 "core/fxcrt/xml/cfx_xmlsyntaxparser.cpp",
956 "core/fxcrt/xml/cfx_xmlsyntaxparser.h",
957 "core/fxcrt/xml/cfx_xmltext.cpp",
958 "core/fxcrt/xml/cfx_xmltext.h",
Tom Sepezd2e023b2015-12-08 14:36:16 -0800959 ]
960 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700961}
962
963static_library("fxge") {
964 sources = [
Lei Zhang19319b72017-08-17 01:31:18 -0700965 "core/fxge/android/cfpf_skiabufferfont.cpp",
npmcfcc11e2016-10-25 14:26:39 -0700966 "core/fxge/android/cfpf_skiabufferfont.h",
967 "core/fxge/android/cfpf_skiadevicemodule.cpp",
968 "core/fxge/android/cfpf_skiadevicemodule.h",
Lei Zhang19319b72017-08-17 01:31:18 -0700969 "core/fxge/android/cfpf_skiafilefont.cpp",
npmcfcc11e2016-10-25 14:26:39 -0700970 "core/fxge/android/cfpf_skiafilefont.h",
971 "core/fxge/android/cfpf_skiafont.cpp",
972 "core/fxge/android/cfpf_skiafont.h",
Lei Zhang19319b72017-08-17 01:31:18 -0700973 "core/fxge/android/cfpf_skiafontdescriptor.cpp",
npmcfcc11e2016-10-25 14:26:39 -0700974 "core/fxge/android/cfpf_skiafontdescriptor.h",
npm83828032016-10-21 11:56:53 -0700975 "core/fxge/android/cfpf_skiafontmgr.cpp",
npmcfcc11e2016-10-25 14:26:39 -0700976 "core/fxge/android/cfpf_skiafontmgr.h",
Lei Zhang19319b72017-08-17 01:31:18 -0700977 "core/fxge/android/cfpf_skiapathfont.cpp",
npmcfcc11e2016-10-25 14:26:39 -0700978 "core/fxge/android/cfpf_skiapathfont.h",
979 "core/fxge/android/cfx_androidfontinfo.cpp",
980 "core/fxge/android/cfx_androidfontinfo.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400981 "core/fxge/android/fx_android_imp.cpp",
Dan Sinclair92e22762017-07-10 15:14:26 -0400982 "core/fxge/cfx_cliprgn.cpp",
983 "core/fxge/cfx_cliprgn.h",
Dan Sinclair7f55a542017-07-13 14:17:10 -0400984 "core/fxge/cfx_color.cpp",
985 "core/fxge/cfx_color.h",
Dan Sinclaira5085d42017-05-11 16:26:50 -0400986 "core/fxge/cfx_defaultrenderdevice.h",
Dan Sinclair92e22762017-07-10 15:14:26 -0400987 "core/fxge/cfx_facecache.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -0700988 "core/fxge/cfx_facecache.h",
Dan Sinclair92e22762017-07-10 15:14:26 -0400989 "core/fxge/cfx_folderfontinfo.cpp",
990 "core/fxge/cfx_folderfontinfo.h",
991 "core/fxge/cfx_font.cpp",
992 "core/fxge/cfx_fontcache.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -0700993 "core/fxge/cfx_fontcache.h",
Dan Sinclair92e22762017-07-10 15:14:26 -0400994 "core/fxge/cfx_fontmapper.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -0700995 "core/fxge/cfx_fontmapper.h",
Dan Sinclair92e22762017-07-10 15:14:26 -0400996 "core/fxge/cfx_fontmgr.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -0700997 "core/fxge/cfx_fontmgr.h",
Dan Sinclair92e22762017-07-10 15:14:26 -0400998 "core/fxge/cfx_gemodule.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -0700999 "core/fxge/cfx_gemodule.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001000 "core/fxge/cfx_graphstate.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001001 "core/fxge/cfx_graphstate.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001002 "core/fxge/cfx_graphstatedata.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001003 "core/fxge/cfx_graphstatedata.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001004 "core/fxge/cfx_pathdata.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001005 "core/fxge/cfx_pathdata.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001006 "core/fxge/cfx_renderdevice.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001007 "core/fxge/cfx_renderdevice.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001008 "core/fxge/cfx_substfont.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001009 "core/fxge/cfx_substfont.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001010 "core/fxge/cfx_unicodeencoding.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001011 "core/fxge/cfx_unicodeencoding.h",
Dan Sinclaira5085d42017-05-11 16:26:50 -04001012 "core/fxge/cfx_windowsrenderdevice.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001013 "core/fxge/cttfontdesc.cpp",
1014 "core/fxge/cttfontdesc.h",
Nicolas Pena0c972eb2017-04-03 13:43:52 -04001015 "core/fxge/dib/cfx_bitmapcomposer.cpp",
1016 "core/fxge/dib/cfx_bitmapcomposer.h",
1017 "core/fxge/dib/cfx_bitmapstorer.cpp",
1018 "core/fxge/dib/cfx_bitmapstorer.h",
Nicolas Pena192e4d92017-04-03 12:48:00 -04001019 "core/fxge/dib/cfx_dibextractor.cpp",
1020 "core/fxge/dib/cfx_dibextractor.h",
1021 "core/fxge/dib/cfx_dibitmap.cpp",
Nicolas Penafc715c32017-03-31 10:22:11 -04001022 "core/fxge/dib/cfx_dibitmap.h",
1023 "core/fxge/dib/cfx_dibsource.cpp",
1024 "core/fxge/dib/cfx_dibsource.h",
Nicolas Penaac66da22017-03-31 14:38:21 -04001025 "core/fxge/dib/cfx_filtereddib.cpp",
Nicolas Penafc715c32017-03-31 10:22:11 -04001026 "core/fxge/dib/cfx_filtereddib.h",
Nicolas Penabdbb0bd2017-03-31 15:39:44 -04001027 "core/fxge/dib/cfx_imagerenderer.cpp",
1028 "core/fxge/dib/cfx_imagerenderer.h",
Nicolas Pena0c972eb2017-04-03 13:43:52 -04001029 "core/fxge/dib/cfx_imagestretcher.cpp",
1030 "core/fxge/dib/cfx_imagestretcher.h",
Nicolas Penabdbb0bd2017-03-31 15:39:44 -04001031 "core/fxge/dib/cfx_imagetransformer.cpp",
1032 "core/fxge/dib/cfx_imagetransformer.h",
Nicolas Penaac66da22017-03-31 14:38:21 -04001033 "core/fxge/dib/cfx_scanlinecompositor.cpp",
1034 "core/fxge/dib/cfx_scanlinecompositor.h",
Nicolas Pena236ce3b2017-04-04 17:47:50 -04001035 "core/fxge/dib/cstretchengine.cpp",
1036 "core/fxge/dib/cstretchengine.h",
Dan Sinclair764ec512016-03-14 13:35:12 -04001037 "core/fxge/dib/fx_dib_main.cpp",
Nicolas Pena37cc5fb2017-04-04 12:12:49 -04001038 "core/fxge/dib/ifx_scanlinecomposer.h",
Dan Sinclair764ec512016-03-14 13:35:12 -04001039 "core/fxge/fontdata/chromefontdata/FoxitDingbats.cpp",
1040 "core/fxge/fontdata/chromefontdata/FoxitFixed.cpp",
1041 "core/fxge/fontdata/chromefontdata/FoxitFixedBold.cpp",
1042 "core/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.cpp",
1043 "core/fxge/fontdata/chromefontdata/FoxitFixedItalic.cpp",
1044 "core/fxge/fontdata/chromefontdata/FoxitSans.cpp",
1045 "core/fxge/fontdata/chromefontdata/FoxitSansBold.cpp",
1046 "core/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.cpp",
1047 "core/fxge/fontdata/chromefontdata/FoxitSansItalic.cpp",
1048 "core/fxge/fontdata/chromefontdata/FoxitSansMM.cpp",
1049 "core/fxge/fontdata/chromefontdata/FoxitSerif.cpp",
1050 "core/fxge/fontdata/chromefontdata/FoxitSerifBold.cpp",
1051 "core/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.cpp",
1052 "core/fxge/fontdata/chromefontdata/FoxitSerifItalic.cpp",
1053 "core/fxge/fontdata/chromefontdata/FoxitSerifMM.cpp",
1054 "core/fxge/fontdata/chromefontdata/FoxitSymbol.cpp",
1055 "core/fxge/fontdata/chromefontdata/chromefontdata.h",
1056 "core/fxge/freetype/fx_freetype.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001057 "core/fxge/fx_dib.h",
1058 "core/fxge/fx_font.h",
1059 "core/fxge/fx_freetype.h",
Dan Sinclair92e22762017-07-10 15:14:26 -04001060 "core/fxge/fx_ge_fontmap.cpp",
1061 "core/fxge/fx_ge_linux.cpp",
1062 "core/fxge/fx_ge_text.cpp",
1063 "core/fxge/fx_text_int.h",
weili095d3462016-06-21 11:24:24 -07001064 "core/fxge/ifx_renderdevicedriver.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001065 "core/fxge/ifx_renderdevicedriver.h",
1066 "core/fxge/ifx_systemfontinfo.h",
npm74847622016-07-29 15:20:25 -07001067 "core/fxge/win32/cfx_windowsdib.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001068 ]
1069
Dan Sinclairbc6c6722015-10-22 14:58:54 -04001070 configs += [
Lei Zhang7b16ba52015-10-26 17:06:53 -07001071 ":fxge_warnings",
weili0abe6522016-06-06 14:41:22 -07001072 ":pdfium_core_config",
Dan Sinclairbc6c6722015-10-22 14:58:54 -04001073 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001074
thestig73c48562016-09-06 14:07:17 -07001075 deps = [
1076 ":fxcrt",
1077 ]
1078
Lei Zhang3de50052017-03-29 21:02:13 -07001079 defines = [ "DEFINE_PS_TABLES" ]
Bruce Dawsonaeac9512017-08-12 21:45:12 -07001080 if (is_component_build || use_system_freetype) {
Bruce Dawsond27998f2017-08-10 16:07:07 -07001081 # ft_adobe_glyph_list is not exported from the Freetype shared library so we
Bruce Dawsonaeac9512017-08-12 21:45:12 -07001082 # need it defined in component builds and builds using system freetype.
Bruce Dawsond27998f2017-08-10 16:07:07 -07001083 defines += [ "DEFINE_PS_TABLES_DATA" ]
1084 }
Lei Zhang3de50052017-03-29 21:02:13 -07001085
npm1a8946b2016-08-18 10:55:29 -07001086 if (pdf_enable_xfa) {
1087 sources += [
Dan Sinclair92e22762017-07-10 15:14:26 -04001088 "core/fxge/cfx_unicodeencodingex.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -07001089 "core/fxge/cfx_unicodeencodingex.h",
npm1a8946b2016-08-18 10:55:29 -07001090 ]
1091 }
1092
caryclarkaf177fe2016-11-16 10:10:03 -08001093 if (pdf_use_skia || pdf_use_skia_paths) {
Cary Clark59b3a482016-03-17 12:00:39 -04001094 sources += [ "core/fxge/skia/fx_skia_device.cpp" ]
thestig73c48562016-09-06 14:07:17 -07001095 deps += [ "//skia" ]
caryclark749c14c2016-05-19 07:01:03 -07001096 } else {
1097 sources += [
1098 "core/fxge/agg/fx_agg_driver.cpp",
1099 "core/fxge/agg/fx_agg_driver.h",
1100 ]
thestig73c48562016-09-06 14:07:17 -07001101 deps += [ "third_party:fx_agg" ]
Dan Sinclair72a39ce2017-03-21 16:44:03 -04001102 }
npma97fc7c2016-11-07 08:50:04 -08001103
Dan Sinclair72a39ce2017-03-21 16:44:03 -04001104 if (is_mac) {
1105 sources += [ "core/fxge/apple/fx_apple_platform.cpp" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001106 }
1107
1108 if (is_win) {
1109 sources += [
rbpotter8d94b662017-01-06 08:10:18 -08001110 "core/fxge/win32/cfx_psrenderer.cpp",
1111 "core/fxge/win32/cfx_psrenderer.h",
1112 "core/fxge/win32/cpsoutput.cpp",
1113 "core/fxge/win32/cpsoutput.h",
Dan Sinclair764ec512016-03-14 13:35:12 -04001114 "core/fxge/win32/dwrite_int.h",
1115 "core/fxge/win32/fx_win32_device.cpp",
1116 "core/fxge/win32/fx_win32_dib.cpp",
1117 "core/fxge/win32/fx_win32_dwrite.cpp",
1118 "core/fxge/win32/fx_win32_gdipext.cpp",
1119 "core/fxge/win32/fx_win32_print.cpp",
1120 "core/fxge/win32/win32_int.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001121 ]
Tom Sepez465ed872015-12-09 14:55:41 -08001122 configs -= [ "//build/config/win:lean_and_mean" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001123 }
npma97fc7c2016-11-07 08:50:04 -08001124
1125 if (is_mac) {
1126 sources += [
1127 "core/fxge/apple/apple_int.h",
1128 "core/fxge/apple/fx_mac_imp.cpp",
1129 "core/fxge/apple/fx_quartz_device.cpp",
1130 ]
1131 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001132}
1133
Henrique Nakashima7e805d12017-08-10 15:13:19 +00001134static_library("pwl") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001135 sources = [
Dan Sinclairc411eb92017-07-25 09:39:30 -04001136 "fpdfsdk/pwl/cpwl_appstream.cpp",
1137 "fpdfsdk/pwl/cpwl_appstream.h",
1138 "fpdfsdk/pwl/cpwl_button.cpp",
1139 "fpdfsdk/pwl/cpwl_button.h",
1140 "fpdfsdk/pwl/cpwl_caret.cpp",
1141 "fpdfsdk/pwl/cpwl_caret.h",
1142 "fpdfsdk/pwl/cpwl_combo_box.cpp",
1143 "fpdfsdk/pwl/cpwl_combo_box.h",
1144 "fpdfsdk/pwl/cpwl_edit.cpp",
1145 "fpdfsdk/pwl/cpwl_edit.h",
1146 "fpdfsdk/pwl/cpwl_edit_ctrl.cpp",
1147 "fpdfsdk/pwl/cpwl_edit_ctrl.h",
1148 "fpdfsdk/pwl/cpwl_edit_impl.cpp",
1149 "fpdfsdk/pwl/cpwl_edit_impl.h",
1150 "fpdfsdk/pwl/cpwl_font_map.cpp",
1151 "fpdfsdk/pwl/cpwl_font_map.h",
1152 "fpdfsdk/pwl/cpwl_icon.cpp",
1153 "fpdfsdk/pwl/cpwl_icon.h",
1154 "fpdfsdk/pwl/cpwl_list_box.cpp",
1155 "fpdfsdk/pwl/cpwl_list_box.h",
1156 "fpdfsdk/pwl/cpwl_list_impl.cpp",
1157 "fpdfsdk/pwl/cpwl_list_impl.h",
1158 "fpdfsdk/pwl/cpwl_scroll_bar.cpp",
1159 "fpdfsdk/pwl/cpwl_scroll_bar.h",
1160 "fpdfsdk/pwl/cpwl_special_button.cpp",
1161 "fpdfsdk/pwl/cpwl_special_button.h",
1162 "fpdfsdk/pwl/cpwl_timer.cpp",
1163 "fpdfsdk/pwl/cpwl_timer.h",
1164 "fpdfsdk/pwl/cpwl_timer_handler.cpp",
1165 "fpdfsdk/pwl/cpwl_timer_handler.h",
1166 "fpdfsdk/pwl/cpwl_wnd.cpp",
1167 "fpdfsdk/pwl/cpwl_wnd.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001168 ]
weili0abe6522016-06-06 14:41:22 -07001169 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -07001170 deps = [
1171 ":fxcrt",
1172 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001173}
1174
Henrique Nakashima7e805d12017-08-10 15:13:19 +00001175static_library("javascript") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001176 sources = [
Tom Sepezd6ae2af2017-02-16 11:49:55 -08001177 "fpdfsdk/javascript/ijs_event_context.h",
dsinclair64376be2016-03-31 20:03:24 -07001178 "fpdfsdk/javascript/ijs_runtime.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001179 ]
thestig73c48562016-09-06 14:07:17 -07001180 configs += [ ":pdfium_core_config" ]
1181 deps = [
1182 ":fxcrt",
1183 ]
1184
Tom Sepez452b4f32015-10-13 09:27:27 -07001185 if (pdf_enable_v8) {
1186 sources += [
tonikitoo618cb1f2016-08-18 20:10:17 -07001187 "fpdfsdk/javascript/Annot.cpp",
1188 "fpdfsdk/javascript/Annot.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001189 "fpdfsdk/javascript/Consts.cpp",
1190 "fpdfsdk/javascript/Consts.h",
1191 "fpdfsdk/javascript/Document.cpp",
1192 "fpdfsdk/javascript/Document.h",
1193 "fpdfsdk/javascript/Field.cpp",
1194 "fpdfsdk/javascript/Field.h",
1195 "fpdfsdk/javascript/Icon.cpp",
1196 "fpdfsdk/javascript/Icon.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001197 "fpdfsdk/javascript/JS_Define.h",
1198 "fpdfsdk/javascript/JS_EventHandler.cpp",
1199 "fpdfsdk/javascript/JS_EventHandler.h",
1200 "fpdfsdk/javascript/JS_GlobalData.cpp",
1201 "fpdfsdk/javascript/JS_GlobalData.h",
weili47228ac2016-07-20 10:35:31 -07001202 "fpdfsdk/javascript/JS_KeyValue.cpp",
1203 "fpdfsdk/javascript/JS_KeyValue.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001204 "fpdfsdk/javascript/JS_Object.cpp",
1205 "fpdfsdk/javascript/JS_Object.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001206 "fpdfsdk/javascript/JS_Value.cpp",
1207 "fpdfsdk/javascript/JS_Value.h",
1208 "fpdfsdk/javascript/PublicMethods.cpp",
1209 "fpdfsdk/javascript/PublicMethods.h",
1210 "fpdfsdk/javascript/app.cpp",
1211 "fpdfsdk/javascript/app.h",
Tom Sepezd6ae2af2017-02-16 11:49:55 -08001212 "fpdfsdk/javascript/cjs_event_context.cpp",
1213 "fpdfsdk/javascript/cjs_event_context.h",
dsinclair64376be2016-03-31 20:03:24 -07001214 "fpdfsdk/javascript/cjs_runtime.cpp",
1215 "fpdfsdk/javascript/cjs_runtime.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001216 "fpdfsdk/javascript/color.cpp",
1217 "fpdfsdk/javascript/color.h",
1218 "fpdfsdk/javascript/console.cpp",
1219 "fpdfsdk/javascript/console.h",
1220 "fpdfsdk/javascript/event.cpp",
1221 "fpdfsdk/javascript/event.h",
1222 "fpdfsdk/javascript/global.cpp",
1223 "fpdfsdk/javascript/global.h",
1224 "fpdfsdk/javascript/report.cpp",
1225 "fpdfsdk/javascript/report.h",
1226 "fpdfsdk/javascript/resource.cpp",
1227 "fpdfsdk/javascript/resource.h",
1228 "fpdfsdk/javascript/util.cpp",
1229 "fpdfsdk/javascript/util.h",
Tom Sepez452b4f32015-10-13 09:27:27 -07001230 ]
thestig73c48562016-09-06 14:07:17 -07001231 deps += [ ":fxjs" ]
Jochen Eisinger7ed503d2015-12-10 14:38:06 +01001232 configs += [ "//v8:external_startup_data" ]
Tom Sepez452b4f32015-10-13 09:27:27 -07001233 } else {
Dan Sinclairf766ad22016-03-14 13:51:24 -04001234 sources += [ "fpdfsdk/javascript/JS_Runtime_Stub.cpp" ]
Tom Sepez452b4f32015-10-13 09:27:27 -07001235 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001236}
1237
Henrique Nakashima7e805d12017-08-10 15:13:19 +00001238static_library("formfiller") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001239 sources = [
Dan Sinclairedbb3192016-03-21 09:08:24 -04001240 "fpdfsdk/formfiller/cba_fontmap.cpp",
1241 "fpdfsdk/formfiller/cba_fontmap.h",
Dan Sinclairb9eed2f2017-07-10 11:35:18 -04001242 "fpdfsdk/formfiller/cffl_button.cpp",
1243 "fpdfsdk/formfiller/cffl_button.h",
Dan Sinclairedbb3192016-03-21 09:08:24 -04001244 "fpdfsdk/formfiller/cffl_checkbox.cpp",
1245 "fpdfsdk/formfiller/cffl_checkbox.h",
1246 "fpdfsdk/formfiller/cffl_combobox.cpp",
1247 "fpdfsdk/formfiller/cffl_combobox.h",
1248 "fpdfsdk/formfiller/cffl_formfiller.cpp",
1249 "fpdfsdk/formfiller/cffl_formfiller.h",
dsinclairb94d7c92016-09-21 12:07:00 -07001250 "fpdfsdk/formfiller/cffl_interactiveformfiller.cpp",
1251 "fpdfsdk/formfiller/cffl_interactiveformfiller.h",
Dan Sinclairedbb3192016-03-21 09:08:24 -04001252 "fpdfsdk/formfiller/cffl_listbox.cpp",
1253 "fpdfsdk/formfiller/cffl_listbox.h",
1254 "fpdfsdk/formfiller/cffl_pushbutton.cpp",
1255 "fpdfsdk/formfiller/cffl_pushbutton.h",
1256 "fpdfsdk/formfiller/cffl_radiobutton.cpp",
1257 "fpdfsdk/formfiller/cffl_radiobutton.h",
1258 "fpdfsdk/formfiller/cffl_textfield.cpp",
1259 "fpdfsdk/formfiller/cffl_textfield.h",
Lei Zhangb4fee4d2017-08-01 18:34:43 -07001260 "fpdfsdk/formfiller/cffl_textobject.cpp",
1261 "fpdfsdk/formfiller/cffl_textobject.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001262 ]
weili0abe6522016-06-06 14:41:22 -07001263 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -07001264 deps = [
1265 ":fxcrt",
1266 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001267}
Tom Sepezc706fc02014-11-14 13:39:20 -08001268
dsinclairb3f24672016-07-12 10:42:14 -07001269if (pdf_enable_v8) {
Henrique Nakashima7e805d12017-08-10 15:13:19 +00001270 static_library("fxjs") {
dsinclair7f9c8602016-07-12 10:41:43 -07001271 sources = [
dsinclairb3f24672016-07-12 10:42:14 -07001272 "fxjs/fxjs_v8.cpp",
dsinclair43554682016-09-29 17:29:48 -07001273 "fxjs/fxjs_v8.h",
dsinclair7f9c8602016-07-12 10:41:43 -07001274 ]
thestig73c48562016-09-06 14:07:17 -07001275 configs += [ ":pdfium_core_config" ]
1276 deps = [
1277 ":fxcrt",
1278 "//v8",
1279 "//v8:v8_libplatform",
1280 ]
1281 include_dirs = [
1282 "//v8",
1283 "//v8/include",
1284 ]
1285 public_deps = [
1286 "//v8",
1287 ]
1288
dsinclairb3f24672016-07-12 10:42:14 -07001289 if (pdf_enable_xfa) {
1290 sources += [
1291 "fxjs/cfxjse_arguments.cpp",
dsinclair43554682016-09-29 17:29:48 -07001292 "fxjs/cfxjse_arguments.h",
dsinclairb3f24672016-07-12 10:42:14 -07001293 "fxjs/cfxjse_class.cpp",
dsinclair43554682016-09-29 17:29:48 -07001294 "fxjs/cfxjse_class.h",
dsinclairb3f24672016-07-12 10:42:14 -07001295 "fxjs/cfxjse_context.cpp",
dsinclair43554682016-09-29 17:29:48 -07001296 "fxjs/cfxjse_context.h",
dsinclairb3f24672016-07-12 10:42:14 -07001297 "fxjs/cfxjse_isolatetracker.cpp",
1298 "fxjs/cfxjse_isolatetracker.h",
1299 "fxjs/cfxjse_runtimedata.cpp",
1300 "fxjs/cfxjse_runtimedata.h",
1301 "fxjs/cfxjse_value.cpp",
dsinclair43554682016-09-29 17:29:48 -07001302 "fxjs/cfxjse_value.h",
1303 "fxjs/fxjse.h",
dsinclairb3f24672016-07-12 10:42:14 -07001304 ]
1305 }
dsinclair7f9c8602016-07-12 10:41:43 -07001306 }
dsinclairb3f24672016-07-12 10:42:14 -07001307}
dsinclair7f9c8602016-07-12 10:41:43 -07001308
dsinclairb3f24672016-07-12 10:42:14 -07001309if (pdf_enable_xfa) {
Henrique Nakashima7e805d12017-08-10 15:13:19 +00001310 static_library("fpdfxfa") {
Tom Sepezb36747d2015-12-08 15:49:25 -08001311 sources = [
dsinclair521b7502016-11-02 13:02:28 -07001312 "fpdfsdk/fpdfxfa/cpdfxfa_context.cpp",
1313 "fpdfsdk/fpdfxfa/cpdfxfa_context.h",
dsinclaira440bb32016-09-14 07:01:54 -07001314 "fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp",
dsinclairbec76922016-09-29 16:52:30 -07001315 "fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h",
dsinclair4d29e782016-10-04 14:02:47 -07001316 "fpdfsdk/fpdfxfa/cpdfxfa_page.cpp",
1317 "fpdfsdk/fpdfxfa/cpdfxfa_page.h",
1318 "fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.cpp",
1319 "fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h",
Tom Sepez452b4f32015-10-13 09:27:27 -07001320 ]
1321 deps = [
thestig73c48562016-09-06 14:07:17 -07001322 ":fxcrt",
dsinclair8837c912016-11-01 11:22:37 -07001323 ":fxjs",
Tom Sepezb36747d2015-12-08 15:49:25 -08001324 ":xfa",
1325 ]
weili0abe6522016-06-06 14:41:22 -07001326 configs += [ ":pdfium_core_config" ]
Tom Sepezb36747d2015-12-08 15:49:25 -08001327 }
1328
Henrique Nakashima7e805d12017-08-10 15:13:19 +00001329 static_library("fxbarcode") {
Dan Sinclaire7786682017-03-29 15:18:41 -04001330 sources = [
Dan Sinclaire7786682017-03-29 15:18:41 -04001331 "fxbarcode/BC_Library.cpp",
1332 "fxbarcode/BC_Library.h",
1333 "fxbarcode/BC_TwoDimWriter.cpp",
1334 "fxbarcode/BC_TwoDimWriter.h",
1335 "fxbarcode/BC_UtilCodingConvert.cpp",
1336 "fxbarcode/BC_UtilCodingConvert.h",
1337 "fxbarcode/BC_Utils.cpp",
1338 "fxbarcode/BC_Writer.cpp",
1339 "fxbarcode/BC_Writer.h",
1340 "fxbarcode/cbc_codabar.cpp",
1341 "fxbarcode/cbc_codabar.h",
1342 "fxbarcode/cbc_code128.cpp",
1343 "fxbarcode/cbc_code128.h",
1344 "fxbarcode/cbc_code39.cpp",
1345 "fxbarcode/cbc_code39.h",
1346 "fxbarcode/cbc_codebase.cpp",
1347 "fxbarcode/cbc_codebase.h",
1348 "fxbarcode/cbc_datamatrix.cpp",
1349 "fxbarcode/cbc_datamatrix.h",
1350 "fxbarcode/cbc_ean13.cpp",
1351 "fxbarcode/cbc_ean13.h",
1352 "fxbarcode/cbc_ean8.cpp",
1353 "fxbarcode/cbc_ean8.h",
1354 "fxbarcode/cbc_onecode.cpp",
1355 "fxbarcode/cbc_onecode.h",
1356 "fxbarcode/cbc_pdf417i.cpp",
1357 "fxbarcode/cbc_pdf417i.h",
1358 "fxbarcode/cbc_qrcode.cpp",
1359 "fxbarcode/cbc_qrcode.h",
1360 "fxbarcode/cbc_upca.cpp",
1361 "fxbarcode/cbc_upca.h",
1362 "fxbarcode/common/BC_CommonBitArray.cpp",
1363 "fxbarcode/common/BC_CommonBitArray.h",
1364 "fxbarcode/common/BC_CommonBitMatrix.cpp",
1365 "fxbarcode/common/BC_CommonBitMatrix.h",
1366 "fxbarcode/common/BC_CommonByteArray.cpp",
1367 "fxbarcode/common/BC_CommonByteArray.h",
1368 "fxbarcode/common/BC_CommonByteMatrix.cpp",
1369 "fxbarcode/common/BC_CommonByteMatrix.h",
1370 "fxbarcode/common/reedsolomon/BC_ReedSolomon.cpp",
1371 "fxbarcode/common/reedsolomon/BC_ReedSolomon.h",
1372 "fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.cpp",
1373 "fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h",
1374 "fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp",
1375 "fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h",
1376 "fxbarcode/datamatrix/BC_ASCIIEncoder.cpp",
1377 "fxbarcode/datamatrix/BC_ASCIIEncoder.h",
1378 "fxbarcode/datamatrix/BC_Base256Encoder.cpp",
1379 "fxbarcode/datamatrix/BC_Base256Encoder.h",
1380 "fxbarcode/datamatrix/BC_C40Encoder.cpp",
1381 "fxbarcode/datamatrix/BC_C40Encoder.h",
1382 "fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.cpp",
1383 "fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.h",
1384 "fxbarcode/datamatrix/BC_DataMatrixWriter.cpp",
1385 "fxbarcode/datamatrix/BC_DataMatrixWriter.h",
1386 "fxbarcode/datamatrix/BC_DefaultPlacement.cpp",
1387 "fxbarcode/datamatrix/BC_DefaultPlacement.h",
1388 "fxbarcode/datamatrix/BC_EdifactEncoder.cpp",
1389 "fxbarcode/datamatrix/BC_EdifactEncoder.h",
1390 "fxbarcode/datamatrix/BC_Encoder.cpp",
1391 "fxbarcode/datamatrix/BC_Encoder.h",
1392 "fxbarcode/datamatrix/BC_EncoderContext.cpp",
1393 "fxbarcode/datamatrix/BC_EncoderContext.h",
1394 "fxbarcode/datamatrix/BC_ErrorCorrection.cpp",
1395 "fxbarcode/datamatrix/BC_ErrorCorrection.h",
1396 "fxbarcode/datamatrix/BC_HighLevelEncoder.cpp",
1397 "fxbarcode/datamatrix/BC_HighLevelEncoder.h",
1398 "fxbarcode/datamatrix/BC_SymbolInfo.cpp",
1399 "fxbarcode/datamatrix/BC_SymbolInfo.h",
Dan Sinclaire7786682017-03-29 15:18:41 -04001400 "fxbarcode/datamatrix/BC_TextEncoder.cpp",
1401 "fxbarcode/datamatrix/BC_TextEncoder.h",
1402 "fxbarcode/datamatrix/BC_X12Encoder.cpp",
1403 "fxbarcode/datamatrix/BC_X12Encoder.h",
1404 "fxbarcode/oned/BC_OneDimWriter.cpp",
1405 "fxbarcode/oned/BC_OneDimWriter.h",
1406 "fxbarcode/oned/BC_OnedCodaBarWriter.cpp",
1407 "fxbarcode/oned/BC_OnedCodaBarWriter.h",
1408 "fxbarcode/oned/BC_OnedCode128Writer.cpp",
1409 "fxbarcode/oned/BC_OnedCode128Writer.h",
1410 "fxbarcode/oned/BC_OnedCode39Writer.cpp",
1411 "fxbarcode/oned/BC_OnedCode39Writer.h",
1412 "fxbarcode/oned/BC_OnedEAN13Writer.cpp",
1413 "fxbarcode/oned/BC_OnedEAN13Writer.h",
1414 "fxbarcode/oned/BC_OnedEAN8Writer.cpp",
1415 "fxbarcode/oned/BC_OnedEAN8Writer.h",
1416 "fxbarcode/oned/BC_OnedUPCAWriter.cpp",
1417 "fxbarcode/oned/BC_OnedUPCAWriter.h",
1418 "fxbarcode/pdf417/BC_PDF417.cpp",
1419 "fxbarcode/pdf417/BC_PDF417.h",
1420 "fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp",
1421 "fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h",
1422 "fxbarcode/pdf417/BC_PDF417BarcodeRow.cpp",
1423 "fxbarcode/pdf417/BC_PDF417BarcodeRow.h",
1424 "fxbarcode/pdf417/BC_PDF417Compaction.cpp",
1425 "fxbarcode/pdf417/BC_PDF417Compaction.h",
1426 "fxbarcode/pdf417/BC_PDF417ErrorCorrection.cpp",
1427 "fxbarcode/pdf417/BC_PDF417ErrorCorrection.h",
1428 "fxbarcode/pdf417/BC_PDF417HighLevelEncoder.cpp",
1429 "fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h",
1430 "fxbarcode/pdf417/BC_PDF417Writer.cpp",
1431 "fxbarcode/pdf417/BC_PDF417Writer.h",
1432 "fxbarcode/qrcode/BC_QRCodeWriter.cpp",
1433 "fxbarcode/qrcode/BC_QRCodeWriter.h",
1434 "fxbarcode/qrcode/BC_QRCoder.cpp",
1435 "fxbarcode/qrcode/BC_QRCoder.h",
1436 "fxbarcode/qrcode/BC_QRCoderBitVector.cpp",
1437 "fxbarcode/qrcode/BC_QRCoderBitVector.h",
1438 "fxbarcode/qrcode/BC_QRCoderBlockPair.cpp",
1439 "fxbarcode/qrcode/BC_QRCoderBlockPair.h",
Dan Sinclaire7786682017-03-29 15:18:41 -04001440 "fxbarcode/qrcode/BC_QRCoderECBlocks.cpp",
1441 "fxbarcode/qrcode/BC_QRCoderECBlocks.h",
Lei Zhang8a24b252017-04-06 14:23:26 -07001442 "fxbarcode/qrcode/BC_QRCoderECBlocksData.cpp",
1443 "fxbarcode/qrcode/BC_QRCoderECBlocksData.h",
Dan Sinclaire7786682017-03-29 15:18:41 -04001444 "fxbarcode/qrcode/BC_QRCoderEncoder.cpp",
1445 "fxbarcode/qrcode/BC_QRCoderEncoder.h",
1446 "fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.cpp",
1447 "fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.h",
1448 "fxbarcode/qrcode/BC_QRCoderMaskUtil.cpp",
1449 "fxbarcode/qrcode/BC_QRCoderMaskUtil.h",
1450 "fxbarcode/qrcode/BC_QRCoderMatrixUtil.cpp",
1451 "fxbarcode/qrcode/BC_QRCoderMatrixUtil.h",
1452 "fxbarcode/qrcode/BC_QRCoderMode.cpp",
1453 "fxbarcode/qrcode/BC_QRCoderMode.h",
1454 "fxbarcode/qrcode/BC_QRCoderVersion.cpp",
1455 "fxbarcode/qrcode/BC_QRCoderVersion.h",
1456 "fxbarcode/utils.h",
1457 ]
1458 deps = [
1459 ":fxcrt",
1460 ]
1461 configs += [ ":pdfium_core_config" ]
1462 }
1463
Henrique Nakashima7e805d12017-08-10 15:13:19 +00001464 static_library("xfa") {
Tom Sepezb36747d2015-12-08 15:49:25 -08001465 sources = [
Dan Sinclairbccf5732017-03-30 14:10:32 -04001466 "xfa/fde/cfde_textout.cpp",
1467 "xfa/fde/cfde_textout.h",
dsinclair65395182016-05-18 11:09:47 -07001468 "xfa/fde/cfde_txtedtbuf.cpp",
1469 "xfa/fde/cfde_txtedtbuf.h",
dsinclair65395182016-05-18 11:09:47 -07001470 "xfa/fde/cfde_txtedtengine.cpp",
1471 "xfa/fde/cfde_txtedtengine.h",
1472 "xfa/fde/cfde_txtedtpage.cpp",
1473 "xfa/fde/cfde_txtedtpage.h",
1474 "xfa/fde/cfde_txtedtparag.cpp",
1475 "xfa/fde/cfde_txtedtparag.h",
1476 "xfa/fde/cfde_txtedttextset.cpp",
1477 "xfa/fde/cfde_txtedttextset.h",
dsinclair65395182016-05-18 11:09:47 -07001478 "xfa/fde/ifde_txtedtdorecord.h",
dsinclair65395182016-05-18 11:09:47 -07001479 "xfa/fde/ifde_txtedtpage.h",
Dan Sinclairb929ab02017-03-29 15:18:16 -04001480 "xfa/fgas/crt/cfgas_formatstring.cpp",
1481 "xfa/fgas/crt/cfgas_formatstring.h",
npm8f3eb602016-11-11 17:16:23 -08001482 "xfa/fgas/font/cfgas_fontmgr.cpp",
1483 "xfa/fgas/font/cfgas_fontmgr.h",
npm4b91a2d2016-11-21 15:19:44 -08001484 "xfa/fgas/font/cfgas_gefont.cpp",
1485 "xfa/fgas/font/cfgas_gefont.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001486 "xfa/fgas/font/fgas_fontutils.cpp",
1487 "xfa/fgas/font/fgas_fontutils.h",
Dan Sinclaire533b932017-03-16 11:47:20 -04001488 "xfa/fgas/layout/cfx_break.cpp",
1489 "xfa/fgas/layout/cfx_break.h",
Dan Sinclair893822a2017-03-13 15:32:07 -04001490 "xfa/fgas/layout/cfx_breakline.cpp",
1491 "xfa/fgas/layout/cfx_breakline.h",
1492 "xfa/fgas/layout/cfx_breakpiece.cpp",
1493 "xfa/fgas/layout/cfx_breakpiece.h",
Dan Sinclair994acdc2017-04-18 13:56:39 -04001494 "xfa/fgas/layout/cfx_linebreak.cpp",
1495 "xfa/fgas/layout/cfx_linebreak.h",
1496 "xfa/fgas/layout/cfx_rtfbreak.cpp",
1497 "xfa/fgas/layout/cfx_rtfbreak.h",
1498 "xfa/fgas/layout/cfx_txtbreak.cpp",
1499 "xfa/fgas/layout/cfx_txtbreak.h",
dsinclair447b1f32016-12-08 10:06:32 -08001500 "xfa/fwl/cfwl_app.cpp",
1501 "xfa/fwl/cfwl_app.h",
1502 "xfa/fwl/cfwl_barcode.cpp",
1503 "xfa/fwl/cfwl_barcode.h",
1504 "xfa/fwl/cfwl_caret.cpp",
1505 "xfa/fwl/cfwl_caret.h",
1506 "xfa/fwl/cfwl_checkbox.cpp",
1507 "xfa/fwl/cfwl_checkbox.h",
1508 "xfa/fwl/cfwl_combobox.cpp",
1509 "xfa/fwl/cfwl_combobox.h",
1510 "xfa/fwl/cfwl_comboboxproxy.cpp",
1511 "xfa/fwl/cfwl_comboboxproxy.h",
1512 "xfa/fwl/cfwl_comboedit.cpp",
1513 "xfa/fwl/cfwl_comboedit.h",
1514 "xfa/fwl/cfwl_combolist.cpp",
1515 "xfa/fwl/cfwl_combolist.h",
1516 "xfa/fwl/cfwl_datetimeedit.cpp",
1517 "xfa/fwl/cfwl_datetimeedit.h",
1518 "xfa/fwl/cfwl_datetimepicker.cpp",
1519 "xfa/fwl/cfwl_datetimepicker.h",
1520 "xfa/fwl/cfwl_edit.cpp",
1521 "xfa/fwl/cfwl_edit.h",
1522 "xfa/fwl/cfwl_event.cpp",
1523 "xfa/fwl/cfwl_event.h",
1524 "xfa/fwl/cfwl_eventcheckword.cpp",
1525 "xfa/fwl/cfwl_eventcheckword.h",
1526 "xfa/fwl/cfwl_eventmouse.cpp",
1527 "xfa/fwl/cfwl_eventmouse.h",
1528 "xfa/fwl/cfwl_eventscroll.cpp",
1529 "xfa/fwl/cfwl_eventscroll.h",
1530 "xfa/fwl/cfwl_eventselectchanged.cpp",
1531 "xfa/fwl/cfwl_eventselectchanged.h",
1532 "xfa/fwl/cfwl_eventtarget.cpp",
1533 "xfa/fwl/cfwl_eventtarget.h",
1534 "xfa/fwl/cfwl_eventtextchanged.cpp",
1535 "xfa/fwl/cfwl_eventtextchanged.h",
1536 "xfa/fwl/cfwl_eventvalidate.cpp",
1537 "xfa/fwl/cfwl_eventvalidate.h",
1538 "xfa/fwl/cfwl_form.cpp",
1539 "xfa/fwl/cfwl_form.h",
1540 "xfa/fwl/cfwl_formproxy.cpp",
1541 "xfa/fwl/cfwl_formproxy.h",
1542 "xfa/fwl/cfwl_listbox.cpp",
1543 "xfa/fwl/cfwl_listbox.h",
1544 "xfa/fwl/cfwl_listitem.cpp",
1545 "xfa/fwl/cfwl_listitem.h",
1546 "xfa/fwl/cfwl_message.cpp",
1547 "xfa/fwl/cfwl_message.h",
1548 "xfa/fwl/cfwl_messagekey.cpp",
1549 "xfa/fwl/cfwl_messagekey.h",
1550 "xfa/fwl/cfwl_messagekillfocus.cpp",
1551 "xfa/fwl/cfwl_messagekillfocus.h",
1552 "xfa/fwl/cfwl_messagemouse.cpp",
1553 "xfa/fwl/cfwl_messagemouse.h",
1554 "xfa/fwl/cfwl_messagemousewheel.cpp",
1555 "xfa/fwl/cfwl_messagemousewheel.h",
1556 "xfa/fwl/cfwl_messagesetfocus.cpp",
1557 "xfa/fwl/cfwl_messagesetfocus.h",
1558 "xfa/fwl/cfwl_monthcalendar.cpp",
1559 "xfa/fwl/cfwl_monthcalendar.h",
1560 "xfa/fwl/cfwl_notedriver.cpp",
1561 "xfa/fwl/cfwl_notedriver.h",
1562 "xfa/fwl/cfwl_noteloop.cpp",
1563 "xfa/fwl/cfwl_noteloop.h",
1564 "xfa/fwl/cfwl_picturebox.cpp",
1565 "xfa/fwl/cfwl_picturebox.h",
1566 "xfa/fwl/cfwl_pushbutton.cpp",
1567 "xfa/fwl/cfwl_pushbutton.h",
1568 "xfa/fwl/cfwl_scrollbar.cpp",
1569 "xfa/fwl/cfwl_scrollbar.h",
1570 "xfa/fwl/cfwl_spinbutton.cpp",
1571 "xfa/fwl/cfwl_spinbutton.h",
dsinclair447b1f32016-12-08 10:06:32 -08001572 "xfa/fwl/cfwl_themebackground.h",
1573 "xfa/fwl/cfwl_themepart.cpp",
1574 "xfa/fwl/cfwl_themepart.h",
1575 "xfa/fwl/cfwl_themetext.h",
1576 "xfa/fwl/cfwl_timer.cpp",
1577 "xfa/fwl/cfwl_timer.h",
1578 "xfa/fwl/cfwl_timerinfo.cpp",
1579 "xfa/fwl/cfwl_timerinfo.h",
1580 "xfa/fwl/cfwl_widget.cpp",
1581 "xfa/fwl/cfwl_widget.h",
1582 "xfa/fwl/cfwl_widgetmgr.cpp",
1583 "xfa/fwl/cfwl_widgetmgr.h",
1584 "xfa/fwl/cfwl_widgetproperties.cpp",
1585 "xfa/fwl/cfwl_widgetproperties.h",
1586 "xfa/fwl/cfx_barcode.cpp",
1587 "xfa/fwl/cfx_barcode.h",
dsinclair447b1f32016-12-08 10:06:32 -08001588 "xfa/fwl/fwl_widgetdef.h",
1589 "xfa/fwl/fwl_widgethit.h",
1590 "xfa/fwl/ifwl_adaptertimermgr.h",
1591 "xfa/fwl/ifwl_themeprovider.h",
1592 "xfa/fwl/ifwl_widgetdelegate.h",
dsinclair7f432a12016-03-29 12:38:01 -07001593 "xfa/fwl/theme/cfwl_barcodetp.cpp",
1594 "xfa/fwl/theme/cfwl_barcodetp.h",
1595 "xfa/fwl/theme/cfwl_carettp.cpp",
1596 "xfa/fwl/theme/cfwl_carettp.h",
1597 "xfa/fwl/theme/cfwl_checkboxtp.cpp",
1598 "xfa/fwl/theme/cfwl_checkboxtp.h",
1599 "xfa/fwl/theme/cfwl_comboboxtp.cpp",
1600 "xfa/fwl/theme/cfwl_comboboxtp.h",
weilibeecc342016-08-04 11:57:22 -07001601 "xfa/fwl/theme/cfwl_datetimepickertp.cpp",
dsinclair7f432a12016-03-29 12:38:01 -07001602 "xfa/fwl/theme/cfwl_datetimepickertp.h",
1603 "xfa/fwl/theme/cfwl_edittp.cpp",
1604 "xfa/fwl/theme/cfwl_edittp.h",
dsinclair7f432a12016-03-29 12:38:01 -07001605 "xfa/fwl/theme/cfwl_listboxtp.cpp",
1606 "xfa/fwl/theme/cfwl_listboxtp.h",
1607 "xfa/fwl/theme/cfwl_monthcalendartp.cpp",
1608 "xfa/fwl/theme/cfwl_monthcalendartp.h",
1609 "xfa/fwl/theme/cfwl_pictureboxtp.cpp",
1610 "xfa/fwl/theme/cfwl_pictureboxtp.h",
1611 "xfa/fwl/theme/cfwl_pushbuttontp.cpp",
1612 "xfa/fwl/theme/cfwl_pushbuttontp.h",
1613 "xfa/fwl/theme/cfwl_scrollbartp.cpp",
1614 "xfa/fwl/theme/cfwl_scrollbartp.h",
1615 "xfa/fwl/theme/cfwl_utils.h",
1616 "xfa/fwl/theme/cfwl_widgettp.cpp",
1617 "xfa/fwl/theme/cfwl_widgettp.h",
Dan Sinclair80c48782017-03-23 12:11:20 -04001618 "xfa/fxfa/cxfa_deffontmgr.cpp",
1619 "xfa/fxfa/cxfa_deffontmgr.h",
1620 "xfa/fxfa/cxfa_eventparam.cpp",
dsinclair5b493092016-09-29 20:20:24 -07001621 "xfa/fxfa/cxfa_eventparam.h",
Dan Sinclair80c48782017-03-23 12:11:20 -04001622 "xfa/fxfa/cxfa_ffapp.cpp",
1623 "xfa/fxfa/cxfa_ffapp.h",
Dan Sinclair24ef6332017-07-24 10:52:57 -04001624 "xfa/fxfa/cxfa_ffarc.cpp",
1625 "xfa/fxfa/cxfa_ffarc.h",
1626 "xfa/fxfa/cxfa_ffbarcode.cpp",
1627 "xfa/fxfa/cxfa_ffbarcode.h",
1628 "xfa/fxfa/cxfa_ffcheckbutton.cpp",
1629 "xfa/fxfa/cxfa_ffcheckbutton.h",
1630 "xfa/fxfa/cxfa_ffcombobox.cpp",
1631 "xfa/fxfa/cxfa_ffcombobox.h",
1632 "xfa/fxfa/cxfa_ffdatetimeedit.cpp",
1633 "xfa/fxfa/cxfa_ffdatetimeedit.h",
Dan Sinclair80c48782017-03-23 12:11:20 -04001634 "xfa/fxfa/cxfa_ffdoc.cpp",
1635 "xfa/fxfa/cxfa_ffdoc.h",
1636 "xfa/fxfa/cxfa_ffdochandler.cpp",
1637 "xfa/fxfa/cxfa_ffdochandler.h",
1638 "xfa/fxfa/cxfa_ffdocview.cpp",
1639 "xfa/fxfa/cxfa_ffdocview.h",
Dan Sinclair24ef6332017-07-24 10:52:57 -04001640 "xfa/fxfa/cxfa_ffdraw.cpp",
1641 "xfa/fxfa/cxfa_ffdraw.h",
1642 "xfa/fxfa/cxfa_ffexclgroup.cpp",
1643 "xfa/fxfa/cxfa_ffexclgroup.h",
1644 "xfa/fxfa/cxfa_fffield.cpp",
1645 "xfa/fxfa/cxfa_fffield.h",
1646 "xfa/fxfa/cxfa_ffimage.cpp",
1647 "xfa/fxfa/cxfa_ffimage.h",
1648 "xfa/fxfa/cxfa_ffimageedit.cpp",
1649 "xfa/fxfa/cxfa_ffimageedit.h",
1650 "xfa/fxfa/cxfa_ffline.cpp",
1651 "xfa/fxfa/cxfa_ffline.h",
1652 "xfa/fxfa/cxfa_fflistbox.cpp",
1653 "xfa/fxfa/cxfa_fflistbox.h",
1654 "xfa/fxfa/cxfa_ffnotify.cpp",
1655 "xfa/fxfa/cxfa_ffnotify.h",
1656 "xfa/fxfa/cxfa_ffnumericedit.cpp",
1657 "xfa/fxfa/cxfa_ffnumericedit.h",
Dan Sinclair80c48782017-03-23 12:11:20 -04001658 "xfa/fxfa/cxfa_ffpageview.cpp",
1659 "xfa/fxfa/cxfa_ffpageview.h",
Dan Sinclair24ef6332017-07-24 10:52:57 -04001660 "xfa/fxfa/cxfa_ffpasswordedit.cpp",
1661 "xfa/fxfa/cxfa_ffpasswordedit.h",
1662 "xfa/fxfa/cxfa_ffpushbutton.cpp",
1663 "xfa/fxfa/cxfa_ffpushbutton.h",
1664 "xfa/fxfa/cxfa_ffrectangle.cpp",
1665 "xfa/fxfa/cxfa_ffrectangle.h",
1666 "xfa/fxfa/cxfa_ffsignature.cpp",
1667 "xfa/fxfa/cxfa_ffsignature.h",
1668 "xfa/fxfa/cxfa_ffsubform.cpp",
1669 "xfa/fxfa/cxfa_ffsubform.h",
1670 "xfa/fxfa/cxfa_fftext.cpp",
1671 "xfa/fxfa/cxfa_fftext.h",
1672 "xfa/fxfa/cxfa_fftextedit.cpp",
1673 "xfa/fxfa/cxfa_fftextedit.h",
Dan Sinclair80c48782017-03-23 12:11:20 -04001674 "xfa/fxfa/cxfa_ffwidget.cpp",
1675 "xfa/fxfa/cxfa_ffwidget.h",
1676 "xfa/fxfa/cxfa_ffwidgethandler.cpp",
1677 "xfa/fxfa/cxfa_ffwidgethandler.h",
Dan Sinclair9d6a2082017-04-12 11:32:32 -04001678 "xfa/fxfa/cxfa_fileread.cpp",
1679 "xfa/fxfa/cxfa_fileread.h",
Dan Sinclair80c48782017-03-23 12:11:20 -04001680 "xfa/fxfa/cxfa_fontmgr.cpp",
1681 "xfa/fxfa/cxfa_fontmgr.h",
Dan Sinclair24ef6332017-07-24 10:52:57 -04001682 "xfa/fxfa/cxfa_fwladapterwidgetmgr.cpp",
1683 "xfa/fxfa/cxfa_fwladapterwidgetmgr.h",
1684 "xfa/fxfa/cxfa_fwltheme.cpp",
1685 "xfa/fxfa/cxfa_fwltheme.h",
1686 "xfa/fxfa/cxfa_linkuserdata.cpp",
1687 "xfa/fxfa/cxfa_linkuserdata.h",
1688 "xfa/fxfa/cxfa_loadercontext.cpp",
1689 "xfa/fxfa/cxfa_loadercontext.h",
Dan Sinclair80c48782017-03-23 12:11:20 -04001690 "xfa/fxfa/cxfa_pdffontmgr.cpp",
1691 "xfa/fxfa/cxfa_pdffontmgr.h",
Dan Sinclair24ef6332017-07-24 10:52:57 -04001692 "xfa/fxfa/cxfa_pieceline.cpp",
1693 "xfa/fxfa/cxfa_pieceline.h",
Dan Sinclair80c48782017-03-23 12:11:20 -04001694 "xfa/fxfa/cxfa_rendercontext.cpp",
1695 "xfa/fxfa/cxfa_rendercontext.h",
Dan Sinclair24ef6332017-07-24 10:52:57 -04001696 "xfa/fxfa/cxfa_textlayout.cpp",
1697 "xfa/fxfa/cxfa_textlayout.h",
1698 "xfa/fxfa/cxfa_textparsecontext.cpp",
1699 "xfa/fxfa/cxfa_textparsecontext.h",
1700 "xfa/fxfa/cxfa_textparser.cpp",
1701 "xfa/fxfa/cxfa_textparser.h",
1702 "xfa/fxfa/cxfa_textpiece.cpp",
1703 "xfa/fxfa/cxfa_textpiece.h",
1704 "xfa/fxfa/cxfa_textprovider.cpp",
1705 "xfa/fxfa/cxfa_textprovider.h",
1706 "xfa/fxfa/cxfa_texttabstopscontext.cpp",
1707 "xfa/fxfa/cxfa_texttabstopscontext.h",
1708 "xfa/fxfa/cxfa_textuserdata.cpp",
1709 "xfa/fxfa/cxfa_textuserdata.h",
Dan Sinclair80c48782017-03-23 12:11:20 -04001710 "xfa/fxfa/cxfa_widgetacc.cpp",
1711 "xfa/fxfa/cxfa_widgetacc.h",
1712 "xfa/fxfa/cxfa_widgetacciterator.cpp",
1713 "xfa/fxfa/cxfa_widgetacciterator.h",
Dan Sinclair2e9d47a2017-05-16 15:14:02 -04001714 "xfa/fxfa/fm2js/cxfa_fm2jscontext.cpp",
1715 "xfa/fxfa/fm2js/cxfa_fm2jscontext.h",
Dan Sinclair2e9d47a2017-05-16 15:14:02 -04001716 "xfa/fxfa/fm2js/cxfa_fmexpression.cpp",
1717 "xfa/fxfa/fm2js/cxfa_fmexpression.h",
1718 "xfa/fxfa/fm2js/cxfa_fmlexer.cpp",
1719 "xfa/fxfa/fm2js/cxfa_fmlexer.h",
Ryan Harrisondb1e8a52017-07-27 14:53:20 -04001720 "xfa/fxfa/fm2js/cxfa_fmparser.cpp",
1721 "xfa/fxfa/fm2js/cxfa_fmparser.h",
Dan Sinclair2e9d47a2017-05-16 15:14:02 -04001722 "xfa/fxfa/fm2js/cxfa_fmsimpleexpression.cpp",
1723 "xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h",
dsinclair5b493092016-09-29 20:20:24 -07001724 "xfa/fxfa/fxfa.h",
1725 "xfa/fxfa/fxfa_basic.h",
dsinclairc1515ef2016-07-20 06:16:06 -07001726 "xfa/fxfa/parser/cscript_datawindow.cpp",
1727 "xfa/fxfa/parser/cscript_datawindow.h",
1728 "xfa/fxfa/parser/cscript_eventpseudomodel.cpp",
1729 "xfa/fxfa/parser/cscript_eventpseudomodel.h",
1730 "xfa/fxfa/parser/cscript_hostpseudomodel.cpp",
1731 "xfa/fxfa/parser/cscript_hostpseudomodel.h",
1732 "xfa/fxfa/parser/cscript_layoutpseudomodel.cpp",
1733 "xfa/fxfa/parser/cscript_layoutpseudomodel.h",
1734 "xfa/fxfa/parser/cscript_logpseudomodel.cpp",
1735 "xfa/fxfa/parser/cscript_logpseudomodel.h",
1736 "xfa/fxfa/parser/cscript_signaturepseudomodel.cpp",
1737 "xfa/fxfa/parser/cscript_signaturepseudomodel.h",
dsinclair44d054c2016-04-06 10:23:46 -07001738 "xfa/fxfa/parser/cxfa_arc.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001739 "xfa/fxfa/parser/cxfa_arraynodelist.cpp",
Dan Sinclairefcae5d2017-03-29 14:47:46 -04001740 "xfa/fxfa/parser/cxfa_arraynodelist.h",
dsinclair44d054c2016-04-06 10:23:46 -07001741 "xfa/fxfa/parser/cxfa_assist.cpp",
1742 "xfa/fxfa/parser/cxfa_assist.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001743 "xfa/fxfa/parser/cxfa_attachnodelist.cpp",
Dan Sinclairefcae5d2017-03-29 14:47:46 -04001744 "xfa/fxfa/parser/cxfa_attachnodelist.h",
dsinclair44d054c2016-04-06 10:23:46 -07001745 "xfa/fxfa/parser/cxfa_bind.cpp",
1746 "xfa/fxfa/parser/cxfa_bind.h",
1747 "xfa/fxfa/parser/cxfa_binditems.cpp",
1748 "xfa/fxfa/parser/cxfa_binditems.h",
1749 "xfa/fxfa/parser/cxfa_border.h",
1750 "xfa/fxfa/parser/cxfa_box.cpp",
1751 "xfa/fxfa/parser/cxfa_box.h",
1752 "xfa/fxfa/parser/cxfa_calculate.cpp",
1753 "xfa/fxfa/parser/cxfa_calculate.h",
1754 "xfa/fxfa/parser/cxfa_caption.cpp",
1755 "xfa/fxfa/parser/cxfa_caption.h",
dsinclair0b851ff2016-07-21 12:03:01 -07001756 "xfa/fxfa/parser/cxfa_containerlayoutitem.cpp",
1757 "xfa/fxfa/parser/cxfa_containerlayoutitem.h",
1758 "xfa/fxfa/parser/cxfa_contentlayoutitem.cpp",
1759 "xfa/fxfa/parser/cxfa_contentlayoutitem.h",
dsinclair44d054c2016-04-06 10:23:46 -07001760 "xfa/fxfa/parser/cxfa_corner.h",
1761 "xfa/fxfa/parser/cxfa_data.cpp",
1762 "xfa/fxfa/parser/cxfa_data.h",
dsinclair3a7cc732016-07-21 12:04:34 -07001763 "xfa/fxfa/parser/cxfa_dataexporter.cpp",
1764 "xfa/fxfa/parser/cxfa_dataexporter.h",
1765 "xfa/fxfa/parser/cxfa_dataimporter.cpp",
1766 "xfa/fxfa/parser/cxfa_dataimporter.h",
dsinclair16280242016-07-21 12:03:47 -07001767 "xfa/fxfa/parser/cxfa_document.cpp",
1768 "xfa/fxfa/parser/cxfa_document.h",
dsinclair34f86b02016-07-11 08:42:33 -07001769 "xfa/fxfa/parser/cxfa_document_parser.cpp",
1770 "xfa/fxfa/parser/cxfa_document_parser.h",
dsinclair44d054c2016-04-06 10:23:46 -07001771 "xfa/fxfa/parser/cxfa_edge.h",
1772 "xfa/fxfa/parser/cxfa_event.cpp",
1773 "xfa/fxfa/parser/cxfa_event.h",
1774 "xfa/fxfa/parser/cxfa_exdata.cpp",
1775 "xfa/fxfa/parser/cxfa_exdata.h",
1776 "xfa/fxfa/parser/cxfa_fill.cpp",
1777 "xfa/fxfa/parser/cxfa_fill.h",
1778 "xfa/fxfa/parser/cxfa_font.cpp",
1779 "xfa/fxfa/parser/cxfa_font.h",
1780 "xfa/fxfa/parser/cxfa_image.cpp",
1781 "xfa/fxfa/parser/cxfa_image.h",
Dan Sinclairec1843d2017-03-28 16:04:41 -04001782 "xfa/fxfa/parser/cxfa_itemlayoutprocessor.cpp",
1783 "xfa/fxfa/parser/cxfa_itemlayoutprocessor.h",
1784 "xfa/fxfa/parser/cxfa_layoutcontext.h",
dsinclair0b851ff2016-07-21 12:03:01 -07001785 "xfa/fxfa/parser/cxfa_layoutitem.cpp",
1786 "xfa/fxfa/parser/cxfa_layoutitem.h",
dsinclair8d0cc672016-08-03 12:58:53 -07001787 "xfa/fxfa/parser/cxfa_layoutpagemgr.cpp",
1788 "xfa/fxfa/parser/cxfa_layoutpagemgr.h",
dsinclair0b851ff2016-07-21 12:03:01 -07001789 "xfa/fxfa/parser/cxfa_layoutprocessor.cpp",
1790 "xfa/fxfa/parser/cxfa_layoutprocessor.h",
dsinclair44d054c2016-04-06 10:23:46 -07001791 "xfa/fxfa/parser/cxfa_line.cpp",
1792 "xfa/fxfa/parser/cxfa_line.h",
Dan Sinclairec1843d2017-03-28 16:04:41 -04001793 "xfa/fxfa/parser/cxfa_localemgr.cpp",
1794 "xfa/fxfa/parser/cxfa_localemgr.h",
1795 "xfa/fxfa/parser/cxfa_localevalue.cpp",
1796 "xfa/fxfa/parser/cxfa_localevalue.h",
dsinclair44d054c2016-04-06 10:23:46 -07001797 "xfa/fxfa/parser/cxfa_margin.cpp",
1798 "xfa/fxfa/parser/cxfa_margin.h",
dsinclair9eb0db12016-07-21 12:01:39 -07001799 "xfa/fxfa/parser/cxfa_measurement.cpp",
1800 "xfa/fxfa/parser/cxfa_measurement.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001801 "xfa/fxfa/parser/cxfa_node.cpp",
Dan Sinclairefcae5d2017-03-29 14:47:46 -04001802 "xfa/fxfa/parser/cxfa_node.h",
dsinclair31f87402016-07-20 06:34:45 -07001803 "xfa/fxfa/parser/cxfa_nodehelper.cpp",
1804 "xfa/fxfa/parser/cxfa_nodehelper.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001805 "xfa/fxfa/parser/cxfa_nodelist.cpp",
Dan Sinclairefcae5d2017-03-29 14:47:46 -04001806 "xfa/fxfa/parser/cxfa_nodelist.h",
Dan Sinclairec1843d2017-03-28 16:04:41 -04001807 "xfa/fxfa/parser/cxfa_nodelocale.cpp",
1808 "xfa/fxfa/parser/cxfa_nodelocale.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001809 "xfa/fxfa/parser/cxfa_object.cpp",
Dan Sinclairefcae5d2017-03-29 14:47:46 -04001810 "xfa/fxfa/parser/cxfa_object.h",
dsinclair44d054c2016-04-06 10:23:46 -07001811 "xfa/fxfa/parser/cxfa_occur.cpp",
1812 "xfa/fxfa/parser/cxfa_occur.h",
1813 "xfa/fxfa/parser/cxfa_para.cpp",
1814 "xfa/fxfa/parser/cxfa_para.h",
1815 "xfa/fxfa/parser/cxfa_rectangle.h",
dsinclair31f87402016-07-20 06:34:45 -07001816 "xfa/fxfa/parser/cxfa_resolveprocessor.cpp",
1817 "xfa/fxfa/parser/cxfa_resolveprocessor.h",
dsinclair44d054c2016-04-06 10:23:46 -07001818 "xfa/fxfa/parser/cxfa_script.cpp",
1819 "xfa/fxfa/parser/cxfa_script.h",
dsinclair31f87402016-07-20 06:34:45 -07001820 "xfa/fxfa/parser/cxfa_scriptcontext.cpp",
1821 "xfa/fxfa/parser/cxfa_scriptcontext.h",
dsinclair34f86b02016-07-11 08:42:33 -07001822 "xfa/fxfa/parser/cxfa_simple_parser.cpp",
1823 "xfa/fxfa/parser/cxfa_simple_parser.h",
dsinclair44d054c2016-04-06 10:23:46 -07001824 "xfa/fxfa/parser/cxfa_stroke.cpp",
1825 "xfa/fxfa/parser/cxfa_stroke.h",
1826 "xfa/fxfa/parser/cxfa_submit.cpp",
1827 "xfa/fxfa/parser/cxfa_submit.h",
1828 "xfa/fxfa/parser/cxfa_text.cpp",
1829 "xfa/fxfa/parser/cxfa_text.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001830 "xfa/fxfa/parser/cxfa_thisproxy.cpp",
Dan Sinclairefcae5d2017-03-29 14:47:46 -04001831 "xfa/fxfa/parser/cxfa_thisproxy.h",
Dan Sinclairec1843d2017-03-28 16:04:41 -04001832 "xfa/fxfa/parser/cxfa_timezoneprovider.cpp",
1833 "xfa/fxfa/parser/cxfa_timezoneprovider.h",
dsinclair44d054c2016-04-06 10:23:46 -07001834 "xfa/fxfa/parser/cxfa_tooltip.cpp",
1835 "xfa/fxfa/parser/cxfa_tooltip.h",
dsinclair6ea5ba02016-08-03 10:20:32 -07001836 "xfa/fxfa/parser/cxfa_traversestrategy_contentareacontainerlayoutitem.h",
1837 "xfa/fxfa/parser/cxfa_traversestrategy_contentlayoutitem.h",
dsinclair0b851ff2016-07-21 12:03:01 -07001838 "xfa/fxfa/parser/cxfa_traversestrategy_layoutitem.h",
Dan Sinclairefcae5d2017-03-29 14:47:46 -04001839 "xfa/fxfa/parser/cxfa_traversestrategy_xfacontainernode.h",
1840 "xfa/fxfa/parser/cxfa_traversestrategy_xfanode.h",
dsinclair44d054c2016-04-06 10:23:46 -07001841 "xfa/fxfa/parser/cxfa_validate.cpp",
1842 "xfa/fxfa/parser/cxfa_validate.h",
1843 "xfa/fxfa/parser/cxfa_value.cpp",
1844 "xfa/fxfa/parser/cxfa_value.h",
dsinclair8f3074b2016-06-02 17:45:25 -07001845 "xfa/fxfa/parser/cxfa_valuearray.cpp",
1846 "xfa/fxfa/parser/cxfa_valuearray.h",
dsinclair44d054c2016-04-06 10:23:46 -07001847 "xfa/fxfa/parser/cxfa_widgetdata.cpp",
1848 "xfa/fxfa/parser/cxfa_widgetdata.h",
Dan Sinclairec1843d2017-03-28 16:04:41 -04001849 "xfa/fxfa/parser/cxfa_xmllocale.cpp",
1850 "xfa/fxfa/parser/cxfa_xmllocale.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001851 "xfa/fxfa/parser/xfa_basic_data.cpp",
dsinclairf1494f02016-07-07 12:56:17 -07001852 "xfa/fxfa/parser/xfa_basic_data.h",
dsinclair8bdbc882016-07-07 07:55:39 -07001853 "xfa/fxfa/parser/xfa_basic_data_attributes.cpp",
1854 "xfa/fxfa/parser/xfa_basic_data_element_attributes.cpp",
1855 "xfa/fxfa/parser/xfa_basic_data_element_properties.cpp",
1856 "xfa/fxfa/parser/xfa_basic_data_element_script.cpp",
1857 "xfa/fxfa/parser/xfa_basic_data_enum.cpp",
1858 "xfa/fxfa/parser/xfa_basic_data_packets.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001859 "xfa/fxfa/parser/xfa_document_datamerger_imp.cpp",
1860 "xfa/fxfa/parser/xfa_document_datamerger_imp.h",
dsinclair31f87402016-07-20 06:34:45 -07001861 "xfa/fxfa/parser/xfa_resolvenode_rs.h",
dsinclair39fdfc32016-07-21 12:09:45 -07001862 "xfa/fxfa/parser/xfa_utils.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001863 "xfa/fxfa/parser/xfa_utils.h",
Dan Sinclairfe759972017-07-13 13:51:04 -04001864 "xfa/fxgraphics/cxfa_color.cpp",
1865 "xfa/fxgraphics/cxfa_color.h",
Dan Sinclair2b918c82017-07-13 14:47:10 -04001866 "xfa/fxgraphics/cxfa_graphics.cpp",
1867 "xfa/fxgraphics/cxfa_graphics.h",
1868 "xfa/fxgraphics/cxfa_path.cpp",
1869 "xfa/fxgraphics/cxfa_path.h",
1870 "xfa/fxgraphics/cxfa_pattern.cpp",
1871 "xfa/fxgraphics/cxfa_pattern.h",
1872 "xfa/fxgraphics/cxfa_shading.cpp",
1873 "xfa/fxgraphics/cxfa_shading.h",
Tom Sepezb36747d2015-12-08 15:49:25 -08001874 ]
dsinclairb3f24672016-07-12 10:42:14 -07001875 include_dirs = [ "." ]
dsinclair8bd9ce02016-06-09 13:24:34 -07001876 deps = [
Dan Sinclaire7786682017-03-29 15:18:41 -04001877 ":fxbarcode",
thestig73c48562016-09-06 14:07:17 -07001878 ":fxcrt",
dsinclair7f9c8602016-07-12 10:41:43 -07001879 ":fxjs",
dsinclair8bd9ce02016-06-09 13:24:34 -07001880 ]
Tom Sepezb36747d2015-12-08 15:49:25 -08001881 configs += [
weili0abe6522016-06-06 14:41:22 -07001882 ":pdfium_core_config",
weilidcc29b12016-05-27 17:58:23 -07001883 ":xfa_warnings",
Tom Sepez452b4f32015-10-13 09:27:27 -07001884 ]
1885 }
Tom Sepezc706fc02014-11-14 13:39:20 -08001886}
Tom Sepez04681f32015-01-09 13:59:19 -08001887
1888test("pdfium_unittests") {
1889 sources = [
tsepezf5cabbf2016-11-21 12:08:22 -08001890 "core/fdrm/crypto/fx_crypt_unittest.cpp",
Nicolas Pena4bd0d992017-02-02 14:32:21 -05001891 "core/fpdfapi/edit/cpdf_pagecontentgenerator_unittest.cpp",
Nicolas Pena169b3012017-05-26 14:38:03 -04001892 "core/fpdfapi/font/cpdf_cmapparser_unittest.cpp",
1893 "core/fpdfapi/font/cpdf_tounicodemap_unittest.cpp",
Nicolas Pena67912952017-03-10 15:15:33 -05001894 "core/fpdfapi/page/cpdf_devicecs_unittest.cpp",
npm014b0122016-11-07 08:42:11 -08001895 "core/fpdfapi/page/cpdf_streamcontentparser_unittest.cpp",
1896 "core/fpdfapi/page/cpdf_streamparser_unittest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07001897 "core/fpdfapi/parser/cpdf_array_unittest.cpp",
npm3cad5962016-10-21 16:02:15 -07001898 "core/fpdfapi/parser/cpdf_document_unittest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07001899 "core/fpdfapi/parser/cpdf_object_unittest.cpp",
Artem Stryginf57cad42017-08-14 23:35:52 +03001900 "core/fpdfapi/parser/cpdf_object_walker_unittest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07001901 "core/fpdfapi/parser/cpdf_parser_unittest.cpp",
Artem Strygin834ebec2017-07-27 14:01:32 +03001902 "core/fpdfapi/parser/cpdf_read_validator_unittest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07001903 "core/fpdfapi/parser/cpdf_simple_parser_unittest.cpp",
1904 "core/fpdfapi/parser/cpdf_syntax_parser_unittest.cpp",
1905 "core/fpdfapi/parser/fpdf_parser_decode_unittest.cpp",
dsinclairc59fa882016-11-08 06:55:40 -08001906 "core/fpdfdoc/cpdf_dest_unittest.cpp",
dsinclair448c4332016-08-02 12:07:35 -07001907 "core/fpdfdoc/cpdf_filespec_unittest.cpp",
thestig695aac52016-08-25 09:13:52 -07001908 "core/fpdfdoc/cpdf_formfield_unittest.cpp",
Jane Liu67ccef72017-07-19 13:10:50 -04001909 "core/fpdfdoc/cpdf_nametree_unittest.cpp",
Dan Sinclair3a4c4082017-05-25 14:21:20 -04001910 "core/fpdftext/cpdf_linkextract_unittest.cpp",
rbpotterdb764702017-01-12 10:31:43 -08001911 "core/fxcodec/codec/fx_codec_a85_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001912 "core/fxcodec/codec/fx_codec_jpx_unittest.cpp",
rbpotterdb764702017-01-12 10:31:43 -08001913 "core/fxcodec/codec/fx_codec_rle_unittest.cpp",
Dan Sinclair0eb74762017-03-28 10:19:22 -04001914 "core/fxcodec/jbig2/JBig2_BitStream_unittest.cpp",
tsepeze21501d2016-08-02 13:36:16 -07001915 "core/fxcodec/jbig2/JBig2_Image_unittest.cpp",
Tom Sepezfcdb2df2017-03-31 10:32:07 -07001916 "core/fxcrt/cfx_bytestring_unittest.cpp",
tsepez81b22462016-11-23 14:20:19 -08001917 "core/fxcrt/cfx_maybe_owned_unittest.cpp",
tsepez1c620542016-09-12 09:47:52 -07001918 "core/fxcrt/cfx_observable_unittest.cpp",
tsepez602aebc2016-03-29 15:04:21 -07001919 "core/fxcrt/cfx_retain_ptr_unittest.cpp",
tsepez2239cee2016-10-17 11:20:01 -07001920 "core/fxcrt/cfx_shared_copy_on_write_unittest.cpp",
tsepezd9871432016-09-15 14:01:31 -07001921 "core/fxcrt/cfx_string_pool_template_unittest.cpp",
Tom Sepezcc205132017-05-16 14:01:47 -07001922 "core/fxcrt/cfx_unowned_ptr_unittest.cpp",
tsepez4ba37c62016-09-28 14:49:01 -07001923 "core/fxcrt/cfx_weak_ptr_unittest.cpp",
Tom Sepezfcdb2df2017-03-31 10:32:07 -07001924 "core/fxcrt/cfx_widestring_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001925 "core/fxcrt/fx_basic_gcc_unittest.cpp",
thestig1b99b2d2016-05-20 11:50:06 -07001926 "core/fxcrt/fx_basic_util_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001927 "core/fxcrt/fx_bidi_unittest.cpp",
Dan Sinclair233360e2017-04-25 15:08:04 -04001928 "core/fxcrt/fx_coordinates_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001929 "core/fxcrt/fx_extension_unittest.cpp",
Tom Sepeza9deea92017-04-25 10:37:47 -07001930 "core/fxcrt/fx_memory_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001931 "core/fxcrt/fx_system_unittest.cpp",
Nicolas Pena236ce3b2017-04-04 17:47:50 -04001932 "core/fxge/dib/cstretchengine_unittest.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001933 "fpdfsdk/fpdfdoc_unittest.cpp",
thestigdc359b02016-08-09 15:46:20 -07001934 "fpdfsdk/fpdfeditimg_unittest.cpp",
tsepez02759102016-12-01 08:29:25 -08001935 "fpdfsdk/fpdfview_unittest.cpp",
Tom Sepez64ee2c32017-04-24 15:04:25 -07001936 "testing/unit_test_main.cpp",
Tom Sepez04681f32015-01-09 13:59:19 -08001937 ]
1938 deps = [
Tom Sepezd831dc72015-10-19 16:04:22 -07001939 ":pdfium",
1940 ":test_support",
Tom Sepez16b9d772017-04-17 09:07:48 -07001941 "//testing/gmock",
Dan Sinclairfffc9632016-03-08 08:57:05 -05001942 "//testing/gtest",
Tom Sepez04681f32015-01-09 13:59:19 -08001943 ]
Dan Sinclair30410ce2016-03-16 10:20:24 -04001944 include_dirs = []
Tom Sepezd2e023b2015-12-08 14:36:16 -08001945 if (pdf_enable_xfa) {
1946 sources += [
Dan Sinclair9f0e85a2017-08-08 13:23:24 -04001947 "core/fxcrt/css/cfx_cssdeclaration_unittest.cpp",
1948 "core/fxcrt/css/cfx_cssstylesheet_unittest.cpp",
1949 "core/fxcrt/css/cfx_cssvaluelistparser_unittest.cpp",
Tom Sepez16b9d772017-04-17 09:07:48 -07001950 "core/fxcrt/xml/cfx_saxreader_unittest.cpp",
Dan Sinclair0d86ecb2017-04-19 09:19:57 -04001951 "core/fxcrt/xml/cfx_xmlsyntaxparser_unittest.cpp",
Lei Zhang3684a152017-04-24 16:22:54 -07001952 "fxbarcode/oned/BC_OnedCode128Writer_unittest.cpp",
Dan Sinclaire7786682017-03-29 15:18:41 -04001953 "fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp",
dsinclair5e9066c2017-01-09 13:43:07 -08001954 "xfa/fde/cfde_txtedtbuf_unittest.cpp",
Dan Sinclair6c5ea102017-06-05 09:53:06 -04001955 "xfa/fgas/crt/cfgas_formatstring_unittest.cpp",
Dan Sinclair994acdc2017-04-18 13:56:39 -04001956 "xfa/fgas/layout/cfx_rtfbreak_unittest.cpp",
Tom Sepez5628fd72017-04-27 14:58:53 -07001957 "xfa/fwl/cfx_barcode_unittest.cpp",
Chris Palmer2b797292017-04-06 14:45:39 -07001958 "xfa/fxfa/cxfa_ffapp_unittest.cpp",
Dan Sinclair24ef6332017-07-24 10:52:57 -04001959 "xfa/fxfa/cxfa_ffbarcode_unittest.cpp",
1960 "xfa/fxfa/cxfa_textparser_unittest.cpp",
Dan Sinclair2e9d47a2017-05-16 15:14:02 -04001961 "xfa/fxfa/fm2js/cxfa_fmlexer_unittest.cpp",
Ryan Harrisondb1e8a52017-07-27 14:53:20 -04001962 "xfa/fxfa/fm2js/cxfa_fmparser_unittest.cpp",
Dan Sinclair2e9d47a2017-05-16 15:14:02 -04001963 "xfa/fxfa/fm2js/cxfa_fmsimpleexpression_unittest.cpp",
dsinclair39fdfc32016-07-21 12:09:45 -07001964 "xfa/fxfa/parser/xfa_utils_unittest.cpp",
Tom Sepezd2e023b2015-12-08 14:36:16 -08001965 ]
1966 }
caryclarkaf177fe2016-11-16 10:10:03 -08001967 if (pdf_use_skia || pdf_use_skia_paths) {
caryclarke89391e2016-06-29 07:10:49 -07001968 sources += [ "core/fxge/skia/fx_skia_device_unittest.cpp" ]
1969 deps += [ "//skia" ]
1970 }
Wei Li614d20a2016-03-15 13:55:12 -07001971 if (pdf_enable_v8) {
Henrique Nakashima3a4ebcc2017-07-14 14:24:42 -04001972 sources += [
1973 "fpdfsdk/javascript/public_methods_unittest.cpp",
1974 "fpdfsdk/javascript/util_unittest.cpp",
1975 ]
Wei Li614d20a2016-03-15 13:55:12 -07001976 include_dirs += [
1977 "//v8",
1978 "//v8/include",
1979 ]
1980 }
weili0abe6522016-06-06 14:41:22 -07001981 configs += [ ":pdfium_core_config" ]
jbudorick7f3a15f2016-06-10 06:28:40 -07001982 if (is_android) {
jbudorick7f3a15f2016-06-10 06:28:40 -07001983 use_raw_android_executable = true
1984 }
Tom Sepez04681f32015-01-09 13:59:19 -08001985}
Tom Sepez1b1bb492015-01-22 17:36:32 -08001986
1987test("pdfium_embeddertests") {
1988 sources = [
Artem Strygind24b97e2017-08-09 18:50:59 +03001989 "core/fpdfapi/edit/cpdf_creator_embeddertest.cpp",
Dan Sinclair5acacd32017-05-25 14:04:59 -04001990 "core/fpdfapi/page/cpdf_stitchfunc_embeddertest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07001991 "core/fpdfapi/parser/cpdf_parser_embeddertest.cpp",
1992 "core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp",
1993 "core/fpdfapi/parser/fpdf_parser_decode_embeddertest.cpp",
dsinclair69d9c682016-10-04 12:18:35 -07001994 "core/fpdfapi/render/fpdf_render_loadimage_embeddertest.cpp",
1995 "core/fpdfapi/render/fpdf_render_pattern_embeddertest.cpp",
weili6faf9f92016-08-02 11:34:08 -07001996 "core/fxcodec/codec/fx_codec_embeddertest.cpp",
Dan Sinclair92e22762017-07-10 15:14:26 -04001997 "core/fxge/fx_ge_text_embeddertest.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001998 "fpdfsdk/fpdf_dataavail_embeddertest.cpp",
tsepezd0ecd892016-11-08 17:30:04 -08001999 "fpdfsdk/fpdf_flatten_embeddertest.cpp",
thestig9067fd62016-11-23 14:10:06 -08002000 "fpdfsdk/fpdf_structtree_embeddertest.cpp",
Jane Liu4fd9a472017-06-01 18:56:09 -04002001 "fpdfsdk/fpdfannot_embeddertest.cpp",
Jane Liu53aafa92017-07-12 19:55:02 -04002002 "fpdfsdk/fpdfattachment_embeddertest.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -04002003 "fpdfsdk/fpdfdoc_embeddertest.cpp",
2004 "fpdfsdk/fpdfedit_embeddertest.cpp",
2005 "fpdfsdk/fpdfext_embeddertest.cpp",
2006 "fpdfsdk/fpdfformfill_embeddertest.cpp",
tsepez211d4ed2016-11-11 17:23:48 -08002007 "fpdfsdk/fpdfppo_embeddertest.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -04002008 "fpdfsdk/fpdfsave_embeddertest.cpp",
2009 "fpdfsdk/fpdftext_embeddertest.cpp",
2010 "fpdfsdk/fpdfview_c_api_test.c",
2011 "fpdfsdk/fpdfview_c_api_test.h",
2012 "fpdfsdk/fpdfview_embeddertest.cpp",
2013 "fpdfsdk/fsdk_baseform_embeddertest.cpp",
Dan Sinclairc411eb92017-07-25 09:39:30 -04002014 "fpdfsdk/pwl/cpwl_combo_box_embeddertest.cpp",
2015 "fpdfsdk/pwl/cpwl_edit_embeddertest.cpp",
Tom Sepez1b1bb492015-01-22 17:36:32 -08002016 "testing/embedder_test.cpp",
2017 "testing/embedder_test.h",
Tom Sepeza310e002015-02-27 13:03:07 -08002018 "testing/embedder_test_mock_delegate.h",
Tom Sepez6efc0ad2015-06-02 17:11:18 -07002019 "testing/embedder_test_timer_handling_delegate.h",
Tom Sepez1b1bb492015-01-22 17:36:32 -08002020 ]
2021 deps = [
Tom Sepez452b4f32015-10-13 09:27:27 -07002022 ":pdfium",
Tom Sepezd831dc72015-10-19 16:04:22 -07002023 ":test_support",
Dan Sinclairfffc9632016-03-08 08:57:05 -05002024 "//testing/gmock",
2025 "//testing/gtest",
Tom Sepez1b1bb492015-01-22 17:36:32 -08002026 ]
dsinclair685bb882016-04-20 07:32:39 -07002027 include_dirs = [ "testing/gmock/include" ]
thestigc65e11e2016-08-30 21:56:33 -07002028 configs += [ ":pdfium_core_config" ]
2029
Tom Sepez452b4f32015-10-13 09:27:27 -07002030 if (pdf_enable_v8) {
Lei Zhang1ac47eb2015-12-21 11:04:44 -08002031 sources += [
Dan Sinclairf766ad22016-03-14 13:51:24 -04002032 "fpdfsdk/javascript/public_methods_embeddertest.cpp",
dsinclairb3f24672016-07-12 10:42:14 -07002033 "fxjs/fxjs_v8_embeddertest.cpp",
Lei Zhang1ac47eb2015-12-21 11:04:44 -08002034 "testing/js_embedder_test.cpp",
2035 "testing/js_embedder_test.h",
2036 ]
dsinclairb3f24672016-07-12 10:42:14 -07002037 deps += [ ":fxjs" ]
Jochen Eisinger7ed503d2015-12-10 14:38:06 +01002038 configs += [ "//v8:external_startup_data" ]
Tom Sepez452b4f32015-10-13 09:27:27 -07002039 }
Dan Sinclair14aacd52017-05-18 14:11:29 -04002040 if (pdf_enable_xfa) {
2041 sources += [
2042 "testing/xfa_js_embedder_test.cpp",
2043 "testing/xfa_js_embedder_test.h",
2044 "xfa/fxfa/fm2js/cxfa_fm2jscontext_embeddertest.cpp",
2045 "xfa/fxfa/parser/cxfa_simple_parser_embeddertest.cpp",
2046 ]
2047 }
jbudorick7f3a15f2016-06-10 06:28:40 -07002048 if (is_android) {
2049 ignore_all_data_deps = true
2050 use_raw_android_executable = true
2051 }
Tom Sepez1b1bb492015-01-22 17:36:32 -08002052}
dsinclair685bb882016-04-20 07:32:39 -07002053
2054if (pdf_is_standalone) {
2055 source_set("samples") {
2056 testonly = true
2057 deps = [
2058 "//samples",
2059 ]
2060 }
Lei Zhang143959d2017-06-22 12:20:58 -07002061
2062 executable("pdfium_diff") {
2063 testonly = true
2064 sources = [
2065 "testing/image_diff/image_diff.cpp",
2066 ]
2067 deps = [
2068 ":image_diff",
2069 ":pdfium",
2070 "//build/config:exe_and_shlib_deps",
2071 "//build/win:default_exe_manifest",
2072 ]
2073 configs -= [ "//build/config/compiler:chromium_code" ]
2074 configs += [ "//build/config/compiler:no_chromium_code" ]
Ryan Harrison7b8f88a2017-07-13 16:05:31 -04002075 configs += [ ":pdfium_core_config" ]
Lei Zhang143959d2017-06-22 12:20:58 -07002076 }
2077
thestig62114cf2016-11-08 12:59:30 -08002078 group("fuzzers") {
2079 testonly = true
2080 deps = [
2081 "//testing/libfuzzer",
2082 ]
2083 }
dsinclair685bb882016-04-20 07:32:39 -07002084}
Lei Zhangf02c8bf2017-04-01 01:35:01 -07002085
2086group("pdfium_all") {
2087 testonly = true
2088 deps = [
2089 ":pdfium_embeddertests",
2090 ":pdfium_unittests",
2091 ]
2092 if (pdf_is_standalone) {
2093 deps += [
2094 ":fuzzers",
Lei Zhang143959d2017-06-22 12:20:58 -07002095 ":pdfium_diff",
Lei Zhangf02c8bf2017-04-01 01:35:01 -07002096 ":samples",
2097 ]
2098 }
2099}