blob: 6d383510b472b13d89c46f4396385b17393df791 [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
Tom Sepeza32f7602015-01-15 09:34:34 -08005import("//testing/test.gni")
dsinclair038bf0b2016-04-30 06:00:05 -07006import("pdfium.gni")
John Abd-El-Malekef4dce42015-02-02 16:52:07 -08007
weili0abe6522016-06-06 14:41:22 -07008config("pdfium_common_config") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07009 cflags = []
dsinclair6e162b52017-01-24 11:18:16 -080010 ldflags = []
Oliver Changcec3f682015-11-05 16:00:40 -080011 include_dirs = [
Lei Zhang8241df72015-11-06 14:38:48 -080012 ".",
Oliver Changcec3f682015-11-05 16:00:40 -080013 "third_party/freetype/include",
14 "third_party/freetype/include/freetype",
15 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070016 defines = [
John Abd-El-Malekef4dce42015-02-02 16:52:07 -080017 "OPJ_STATIC",
John Abd-El-Malek385729b2015-02-06 15:51:11 -080018 "PNG_PREFIX",
John Abd-El-Malek385729b2015-02-06 15:51:11 -080019 "PNG_USE_READ_MACROS",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070020 ]
21
22 if (pdf_use_skia) {
23 defines += [ "_SKIA_SUPPORT_" ]
24 }
25
caryclarkaf177fe2016-11-16 10:10:03 -080026 if (pdf_use_skia_paths) {
27 defines += [ "_SKIA_SUPPORT_PATHS_" ]
28 }
29
Tom Sepez452b4f32015-10-13 09:27:27 -070030 if (pdf_enable_v8) {
31 defines += [ "PDF_ENABLE_V8" ]
32 }
33
Tom Sepeza8a39e22015-10-12 15:47:07 -070034 if (pdf_enable_xfa) {
35 defines += [ "PDF_ENABLE_XFA" ]
Tom Sepez73c9f3b2017-02-27 10:12:59 -080036 if (pdf_enable_xfa_bmp) {
37 defines += [ "PDF_ENABLE_XFA_BMP" ]
38 }
39 if (pdf_enable_xfa_gif) {
40 defines += [ "PDF_ENABLE_XFA_GIF" ]
41 }
42 if (pdf_enable_xfa_png) {
43 defines += [ "PDF_ENABLE_XFA_PNG" ]
44 }
45 if (pdf_enable_xfa_tiff) {
46 defines += [ "PDF_ENABLE_XFA_TIFF" ]
47 }
Tom Sepeza8a39e22015-10-12 15:47:07 -070048 }
thestig3e454bf2016-07-29 16:29:04 -070049
50 if (pdf_use_win32_gdi) {
51 defines += [ "PDFIUM_PRINT_TEXT_WITH_GDI" ]
52 }
dsinclair6e162b52017-01-24 11:18:16 -080053
54 if (use_coverage && is_clang) {
55 cflags += [
56 "--coverage",
57 "-g",
58 "-O0",
59 ]
60 ldflags += [ "--coverage" ]
61 }
Dan Sinclair77e2a6c2017-03-13 09:35:12 -040062
63 if (is_win) {
64 # Assume UTF-8 by default to avoid code page dependencies.
65 cflags += [ "/utf-8" ]
66 }
weili0abe6522016-06-06 14:41:22 -070067}
Tom Sepeza8a39e22015-10-12 15:47:07 -070068
weili0abe6522016-06-06 14:41:22 -070069config("pdfium_core_config") {
70 cflags = []
dsinclair8bd9ce02016-06-09 13:24:34 -070071 configs = [ ":pdfium_common_config" ]
72 defines = [ "V8_DEPRECATION_WARNINGS" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070073 if (is_linux) {
Tom Sepez25d5be62015-06-18 17:44:29 -070074 if (current_cpu == "x64") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070075 defines += [ "_FX_CPU_=_FX_X64_" ]
76 cflags += [ "-fPIC" ]
Tom Sepez25d5be62015-06-18 17:44:29 -070077 } else if (current_cpu == "x86") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070078 defines += [ "_FX_CPU_=_FX_X86_" ]
79 }
80 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070081 if (is_win) {
Tom Sepez3bb57512017-03-28 14:09:43 -070082 cflags += [
83 "/wd4267",
84 "/wd4577",
85 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070086 }
weilidcc29b12016-05-27 17:58:23 -070087}
Lei Zhang476ac132015-11-05 20:07:27 -080088
weilidcc29b12016-05-27 17:58:23 -070089config("xfa_warnings") {
90 visibility = [ ":*" ]
Tom Sepez34209092016-03-18 09:00:33 -070091 if (is_posix && !is_clang) { # When GCC.
weilidcc29b12016-05-27 17:58:23 -070092 cflags = [ "-Wno-strict-overflow" ]
Tom Sepez34209092016-03-18 09:00:33 -070093 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070094}
95
96static_library("pdfium") {
97 sources = [
jaepark611adb82016-08-17 11:34:36 -070098 "fpdfsdk/cba_annotiterator.cpp",
dsinclair114e46a2016-09-29 17:18:21 -070099 "fpdfsdk/cba_annotiterator.h",
dsinclairb9590102016-04-27 06:38:59 -0700100 "fpdfsdk/cfx_systemhandler.cpp",
101 "fpdfsdk/cfx_systemhandler.h",
jaepark27362762016-08-11 13:10:39 -0700102 "fpdfsdk/cpdfsdk_annot.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700103 "fpdfsdk/cpdfsdk_annot.h",
jaepark98e10192016-08-15 10:51:11 -0700104 "fpdfsdk/cpdfsdk_annothandlermgr.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700105 "fpdfsdk/cpdfsdk_annothandlermgr.h",
tsepezd805eec2017-01-11 14:03:54 -0800106 "fpdfsdk/cpdfsdk_annotiteration.cpp",
107 "fpdfsdk/cpdfsdk_annotiteration.h",
jaepark27362762016-08-11 13:10:39 -0700108 "fpdfsdk/cpdfsdk_baannot.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700109 "fpdfsdk/cpdfsdk_baannot.h",
jaepark35512aa2016-08-29 17:15:08 -0700110 "fpdfsdk/cpdfsdk_baannothandler.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700111 "fpdfsdk/cpdfsdk_baannothandler.h",
jaepark27362762016-08-11 13:10:39 -0700112 "fpdfsdk/cpdfsdk_datetime.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700113 "fpdfsdk/cpdfsdk_datetime.h",
dsinclair735606d2016-10-05 15:47:02 -0700114 "fpdfsdk/cpdfsdk_formfillenvironment.cpp",
115 "fpdfsdk/cpdfsdk_formfillenvironment.h",
jaepark611adb82016-08-17 11:34:36 -0700116 "fpdfsdk/cpdfsdk_interform.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700117 "fpdfsdk/cpdfsdk_interform.h",
dsinclairf34518b2016-09-13 12:03:48 -0700118 "fpdfsdk/cpdfsdk_pageview.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700119 "fpdfsdk/cpdfsdk_pageview.h",
jaepark611adb82016-08-17 11:34:36 -0700120 "fpdfsdk/cpdfsdk_widget.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700121 "fpdfsdk/cpdfsdk_widget.h",
jaepark8c541822016-08-30 13:43:05 -0700122 "fpdfsdk/cpdfsdk_widgethandler.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700123 "fpdfsdk/cpdfsdk_widgethandler.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400124 "fpdfsdk/fpdf_dataavail.cpp",
125 "fpdfsdk/fpdf_ext.cpp",
126 "fpdfsdk/fpdf_flatten.cpp",
127 "fpdfsdk/fpdf_progressive.cpp",
128 "fpdfsdk/fpdf_searchex.cpp",
thestig9067fd62016-11-23 14:10:06 -0800129 "fpdfsdk/fpdf_structtree.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400130 "fpdfsdk/fpdf_sysfontinfo.cpp",
131 "fpdfsdk/fpdf_transformpage.cpp",
132 "fpdfsdk/fpdfdoc.cpp",
133 "fpdfsdk/fpdfeditimg.cpp",
134 "fpdfsdk/fpdfeditpage.cpp",
Nicolas Pena55e026b2017-02-07 14:59:23 -0500135 "fpdfsdk/fpdfeditpath.cpp",
Nicolas Pena49058402017-02-14 18:26:20 -0500136 "fpdfsdk/fpdfedittext.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400137 "fpdfsdk/fpdfformfill.cpp",
138 "fpdfsdk/fpdfppo.cpp",
139 "fpdfsdk/fpdfsave.cpp",
140 "fpdfsdk/fpdftext.cpp",
141 "fpdfsdk/fpdfview.cpp",
142 "fpdfsdk/fsdk_actionhandler.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700143 "fpdfsdk/fsdk_actionhandler.h",
weili9f515bc2016-07-24 08:08:24 -0700144 "fpdfsdk/fsdk_pauseadapter.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700145 "fpdfsdk/fsdk_pauseadapter.h",
jaepark611adb82016-08-17 11:34:36 -0700146 "fpdfsdk/pdfsdk_fieldaction.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700147 "fpdfsdk/pdfsdk_fieldaction.h",
Tom Sepez1d17a042017-03-16 13:22:47 -0700148 "public/cpp/fpdf_deleters.h",
Tom Sepez1ed8a212015-05-11 15:25:39 -0700149 "public/fpdf_dataavail.h",
150 "public/fpdf_doc.h",
151 "public/fpdf_edit.h",
152 "public/fpdf_ext.h",
153 "public/fpdf_flatten.h",
154 "public/fpdf_formfill.h",
155 "public/fpdf_fwlevent.h",
156 "public/fpdf_ppo.h",
157 "public/fpdf_progressive.h",
158 "public/fpdf_save.h",
159 "public/fpdf_searchex.h",
thestig9067fd62016-11-23 14:10:06 -0800160 "public/fpdf_structtree.h",
Tom Sepez1ed8a212015-05-11 15:25:39 -0700161 "public/fpdf_sysfontinfo.h",
162 "public/fpdf_text.h",
163 "public/fpdf_transformpage.h",
164 "public/fpdfview.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700165 ]
166
167 libs = []
weili0abe6522016-06-06 14:41:22 -0700168 configs += [ ":pdfium_core_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700169
170 deps = [
171 ":fdrm",
172 ":formfiller",
173 ":fpdfapi",
174 ":fpdfdoc",
175 ":fpdftext",
176 ":fxcodec",
177 ":fxcrt",
178 ":fxedit",
179 ":fxge",
180 ":javascript",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700181 ":pdfwindow",
Dan Sinclairfffc9632016-03-08 08:57:05 -0500182 "third_party:bigint",
183 "third_party:pdfium_base",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700184 ]
185
thestig73c48562016-09-06 14:07:17 -0700186 public_deps = [
187 ":fxcrt",
188 ]
Tom Sepeza8a39e22015-10-12 15:47:07 -0700189 if (pdf_enable_xfa) {
jaepark611adb82016-08-17 11:34:36 -0700190 sources += [
191 "fpdfsdk/cpdfsdk_xfawidget.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700192 "fpdfsdk/cpdfsdk_xfawidget.h",
jaepark8c541822016-08-30 13:43:05 -0700193 "fpdfsdk/cpdfsdk_xfawidgethandler.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700194 "fpdfsdk/cpdfsdk_xfawidgethandler.h",
jaepark611adb82016-08-17 11:34:36 -0700195 ]
196
Tom Sepezb5451592016-02-22 16:48:02 -0800197 deps += [ ":fpdfxfa" ]
Tom Sepeza8a39e22015-10-12 15:47:07 -0700198 }
199
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700200 if (is_win) {
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400201 libs += [
202 "advapi32.lib",
203 "gdi32.lib",
204 "user32.lib",
205 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700206 }
207
208 if (is_mac) {
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400209 libs += [
210 "AppKit.framework",
211 "CoreFoundation.framework",
212 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700213 }
John Abd-El-Malekef4dce42015-02-02 16:52:07 -0800214
Tom Sepez0dfd0302015-10-12 15:38:22 -0700215 if (pdfium_bundle_freetype) {
216 deps += [ "third_party:fx_freetype" ]
John Abd-El-Malekef4dce42015-02-02 16:52:07 -0800217 } else {
218 libs += [ "freetype" ]
219 }
dan sinclairfa171d22017-03-26 22:38:17 -0400220
221 if (pdf_is_complete_lib) {
222 complete_static_lib = true
223 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700224}
225
brettwe283e472016-07-21 09:38:22 -0700226static_library("test_support") {
Tom Sepezd831dc72015-10-19 16:04:22 -0700227 testonly = true
228 sources = [
229 "testing/fx_string_testhelpers.cpp",
230 "testing/fx_string_testhelpers.h",
231 "testing/test_support.cpp",
232 "testing/test_support.h",
Oliver Changd46f1c82015-11-12 22:03:10 -0800233 "testing/utils/path_service.cpp",
thestigbcd3e532016-11-21 13:37:28 -0800234 "testing/utils/path_service.h",
Tom Sepezd831dc72015-10-19 16:04:22 -0700235 ]
jbudorickf6ee8202016-12-05 06:50:50 -0800236 data = [
237 "testing/resources/",
238 ]
Tom Sepezd831dc72015-10-19 16:04:22 -0700239 deps = [
Dan Sinclairfffc9632016-03-08 08:57:05 -0500240 ":pdfium",
Tom Sepezd831dc72015-10-19 16:04:22 -0700241 "//testing/gmock",
242 "//testing/gtest",
Tom Sepezd831dc72015-10-19 16:04:22 -0700243 ]
Lei Zhang8241df72015-11-06 14:38:48 -0800244 include_dirs = []
Tom Sepezd831dc72015-10-19 16:04:22 -0700245 if (pdf_enable_v8) {
246 deps += [
247 "//v8",
248 "//v8:v8_libplatform",
249 ]
250 include_dirs += [
251 "//v8",
252 "//v8/include",
253 ]
Jochen Eisinger7ed503d2015-12-10 14:38:06 +0100254 configs += [ "//v8:external_startup_data" ]
Tom Sepezd831dc72015-10-19 16:04:22 -0700255 }
weili0abe6522016-06-06 14:41:22 -0700256 configs += [ ":pdfium_core_config" ]
Tom Sepezd831dc72015-10-19 16:04:22 -0700257}
258
259# Targets below this are only visible within this file (and to the
260# top-level gn_visibility target used to help gn_all build everything).
261visibility = [
262 ":*",
263 "//:gn_visibility",
264]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700265
266static_library("fdrm") {
267 sources = [
Dan Sinclair764ec512016-03-14 13:35:12 -0400268 "core/fdrm/crypto/fx_crypt.cpp",
dsinclairb1469a22016-09-29 10:00:05 -0700269 "core/fdrm/crypto/fx_crypt.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400270 "core/fdrm/crypto/fx_crypt_aes.cpp",
271 "core/fdrm/crypto/fx_crypt_sha.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700272 ]
weili0abe6522016-06-06 14:41:22 -0700273 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700274 deps = [
275 ":fxcrt",
276 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700277}
278
279static_library("fpdfdoc") {
280 sources = [
dsinclair448c4332016-08-02 12:07:35 -0700281 "core/fpdfdoc/cline.cpp",
282 "core/fpdfdoc/cline.h",
dsinclair02e6f592016-08-02 11:25:48 -0700283 "core/fpdfdoc/cpdf_aaction.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700284 "core/fpdfdoc/cpdf_aaction.h",
dsinclair02e6f592016-08-02 11:25:48 -0700285 "core/fpdfdoc/cpdf_action.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700286 "core/fpdfdoc/cpdf_action.h",
dsinclair02e6f592016-08-02 11:25:48 -0700287 "core/fpdfdoc/cpdf_actionfields.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700288 "core/fpdfdoc/cpdf_actionfields.h",
jaepark3b6c7e92016-07-20 14:18:04 -0700289 "core/fpdfdoc/cpdf_annot.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700290 "core/fpdfdoc/cpdf_annot.h",
jaepark3b6c7e92016-07-20 14:18:04 -0700291 "core/fpdfdoc/cpdf_annotlist.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700292 "core/fpdfdoc/cpdf_annotlist.h",
dsinclair27053d82016-08-02 15:43:46 -0700293 "core/fpdfdoc/cpdf_apsettings.cpp",
dsinclaircac704d2016-07-28 12:59:09 -0700294 "core/fpdfdoc/cpdf_apsettings.h",
dsinclair02e6f592016-08-02 11:25:48 -0700295 "core/fpdfdoc/cpdf_bookmark.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700296 "core/fpdfdoc/cpdf_bookmark.h",
dsinclair02e6f592016-08-02 11:25:48 -0700297 "core/fpdfdoc/cpdf_bookmarktree.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700298 "core/fpdfdoc/cpdf_bookmarktree.h",
dsinclair27053d82016-08-02 15:43:46 -0700299 "core/fpdfdoc/cpdf_defaultappearance.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700300 "core/fpdfdoc/cpdf_defaultappearance.h",
dsinclair448c4332016-08-02 12:07:35 -0700301 "core/fpdfdoc/cpdf_dest.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700302 "core/fpdfdoc/cpdf_dest.h",
dsinclair02e6f592016-08-02 11:25:48 -0700303 "core/fpdfdoc/cpdf_docjsactions.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700304 "core/fpdfdoc/cpdf_docjsactions.h",
dsinclair448c4332016-08-02 12:07:35 -0700305 "core/fpdfdoc/cpdf_filespec.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700306 "core/fpdfdoc/cpdf_filespec.h",
dsinclair27053d82016-08-02 15:43:46 -0700307 "core/fpdfdoc/cpdf_formcontrol.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700308 "core/fpdfdoc/cpdf_formcontrol.h",
dsinclair27053d82016-08-02 15:43:46 -0700309 "core/fpdfdoc/cpdf_formfield.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700310 "core/fpdfdoc/cpdf_formfield.h",
dsinclair27053d82016-08-02 15:43:46 -0700311 "core/fpdfdoc/cpdf_iconfit.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700312 "core/fpdfdoc/cpdf_iconfit.h",
dsinclair27053d82016-08-02 15:43:46 -0700313 "core/fpdfdoc/cpdf_interform.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700314 "core/fpdfdoc/cpdf_interform.h",
dsinclair02e6f592016-08-02 11:25:48 -0700315 "core/fpdfdoc/cpdf_link.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700316 "core/fpdfdoc/cpdf_link.h",
dsinclair02e6f592016-08-02 11:25:48 -0700317 "core/fpdfdoc/cpdf_linklist.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700318 "core/fpdfdoc/cpdf_linklist.h",
dsinclair02e6f592016-08-02 11:25:48 -0700319 "core/fpdfdoc/cpdf_metadata.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700320 "core/fpdfdoc/cpdf_metadata.h",
dsinclair448c4332016-08-02 12:07:35 -0700321 "core/fpdfdoc/cpdf_nametree.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700322 "core/fpdfdoc/cpdf_nametree.h",
dsinclair27053d82016-08-02 15:43:46 -0700323 "core/fpdfdoc/cpdf_numbertree.cpp",
324 "core/fpdfdoc/cpdf_numbertree.h",
dsinclair448c4332016-08-02 12:07:35 -0700325 "core/fpdfdoc/cpdf_occontext.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700326 "core/fpdfdoc/cpdf_occontext.h",
dsinclair448c4332016-08-02 12:07:35 -0700327 "core/fpdfdoc/cpdf_pagelabel.cpp",
dsinclaircac704d2016-07-28 12:59:09 -0700328 "core/fpdfdoc/cpdf_pagelabel.h",
dsinclairc7a73492016-04-05 12:01:42 -0700329 "core/fpdfdoc/cpdf_variabletext.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700330 "core/fpdfdoc/cpdf_variabletext.h",
dsinclair02e6f592016-08-02 11:25:48 -0700331 "core/fpdfdoc/cpdf_viewerpreferences.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700332 "core/fpdfdoc/cpdf_viewerpreferences.h",
dsinclair777b3332016-03-31 20:03:08 -0700333 "core/fpdfdoc/cpvt_color.cpp",
334 "core/fpdfdoc/cpvt_color.h",
335 "core/fpdfdoc/cpvt_dash.h",
dsinclairc7a73492016-04-05 12:01:42 -0700336 "core/fpdfdoc/cpvt_floatrect.h",
dsinclair777b3332016-03-31 20:03:08 -0700337 "core/fpdfdoc/cpvt_fontmap.cpp",
338 "core/fpdfdoc/cpvt_fontmap.h",
339 "core/fpdfdoc/cpvt_generateap.cpp",
340 "core/fpdfdoc/cpvt_generateap.h",
dsinclair1727aee2016-09-29 13:12:56 -0700341 "core/fpdfdoc/cpvt_line.h",
dsinclairc7a73492016-04-05 12:01:42 -0700342 "core/fpdfdoc/cpvt_lineinfo.h",
dsinclair1727aee2016-09-29 13:12:56 -0700343 "core/fpdfdoc/cpvt_secprops.h",
344 "core/fpdfdoc/cpvt_section.h",
weili5a6c1392016-07-11 14:43:40 -0700345 "core/fpdfdoc/cpvt_sectioninfo.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700346 "core/fpdfdoc/cpvt_sectioninfo.h",
dsinclair1727aee2016-09-29 13:12:56 -0700347 "core/fpdfdoc/cpvt_word.h",
weili5a6c1392016-07-11 14:43:40 -0700348 "core/fpdfdoc/cpvt_wordinfo.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700349 "core/fpdfdoc/cpvt_wordinfo.h",
dsinclair1727aee2016-09-29 13:12:56 -0700350 "core/fpdfdoc/cpvt_wordplace.h",
351 "core/fpdfdoc/cpvt_wordprops.h",
352 "core/fpdfdoc/cpvt_wordrange.h",
thestig9c845c32016-05-13 11:08:41 -0700353 "core/fpdfdoc/csection.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700354 "core/fpdfdoc/csection.h",
thestig9c845c32016-05-13 11:08:41 -0700355 "core/fpdfdoc/ctypeset.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700356 "core/fpdfdoc/ctypeset.h",
npm0c2d0a52016-08-26 11:32:09 -0700357 "core/fpdfdoc/doc_tagged.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700358 "core/fpdfdoc/fpdf_tagged.h",
359 "core/fpdfdoc/ipdf_formnotify.h",
360 "core/fpdfdoc/ipvt_fontmap.h",
npm0c2d0a52016-08-26 11:32:09 -0700361 "core/fpdfdoc/tagged_int.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700362 ]
weili0abe6522016-06-06 14:41:22 -0700363 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700364 deps = [
365 ":fxcrt",
366 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700367}
368
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700369static_library("fpdfapi") {
370 sources = [
dsinclaira6c92152016-10-04 10:58:54 -0700371 "core/fpdfapi/cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp",
372 "core/fpdfapi/cmaps/CNS1/B5pc-H_0.cpp",
373 "core/fpdfapi/cmaps/CNS1/B5pc-V_0.cpp",
374 "core/fpdfapi/cmaps/CNS1/CNS-EUC-H_0.cpp",
375 "core/fpdfapi/cmaps/CNS1/CNS-EUC-V_0.cpp",
376 "core/fpdfapi/cmaps/CNS1/ETen-B5-H_0.cpp",
377 "core/fpdfapi/cmaps/CNS1/ETen-B5-V_0.cpp",
378 "core/fpdfapi/cmaps/CNS1/ETenms-B5-H_0.cpp",
379 "core/fpdfapi/cmaps/CNS1/ETenms-B5-V_0.cpp",
380 "core/fpdfapi/cmaps/CNS1/HKscs-B5-H_5.cpp",
381 "core/fpdfapi/cmaps/CNS1/HKscs-B5-V_5.cpp",
382 "core/fpdfapi/cmaps/CNS1/UniCNS-UCS2-H_3.cpp",
383 "core/fpdfapi/cmaps/CNS1/UniCNS-UCS2-V_3.cpp",
384 "core/fpdfapi/cmaps/CNS1/UniCNS-UTF16-H_0.cpp",
385 "core/fpdfapi/cmaps/CNS1/cmaps_cns1.cpp",
386 "core/fpdfapi/cmaps/GB1/Adobe-GB1-UCS2_5.cpp",
387 "core/fpdfapi/cmaps/GB1/GB-EUC-H_0.cpp",
388 "core/fpdfapi/cmaps/GB1/GB-EUC-V_0.cpp",
389 "core/fpdfapi/cmaps/GB1/GBK-EUC-H_2.cpp",
390 "core/fpdfapi/cmaps/GB1/GBK-EUC-V_2.cpp",
391 "core/fpdfapi/cmaps/GB1/GBK2K-H_5.cpp",
392 "core/fpdfapi/cmaps/GB1/GBK2K-V_5.cpp",
393 "core/fpdfapi/cmaps/GB1/GBKp-EUC-H_2.cpp",
394 "core/fpdfapi/cmaps/GB1/GBKp-EUC-V_2.cpp",
395 "core/fpdfapi/cmaps/GB1/GBpc-EUC-H_0.cpp",
396 "core/fpdfapi/cmaps/GB1/GBpc-EUC-V_0.cpp",
397 "core/fpdfapi/cmaps/GB1/UniGB-UCS2-H_4.cpp",
398 "core/fpdfapi/cmaps/GB1/UniGB-UCS2-V_4.cpp",
399 "core/fpdfapi/cmaps/GB1/cmaps_gb1.cpp",
400 "core/fpdfapi/cmaps/Japan1/83pv-RKSJ-H_1.cpp",
401 "core/fpdfapi/cmaps/Japan1/90ms-RKSJ-H_2.cpp",
402 "core/fpdfapi/cmaps/Japan1/90ms-RKSJ-V_2.cpp",
403 "core/fpdfapi/cmaps/Japan1/90msp-RKSJ-H_2.cpp",
404 "core/fpdfapi/cmaps/Japan1/90msp-RKSJ-V_2.cpp",
405 "core/fpdfapi/cmaps/Japan1/90pv-RKSJ-H_1.cpp",
406 "core/fpdfapi/cmaps/Japan1/Add-RKSJ-H_1.cpp",
407 "core/fpdfapi/cmaps/Japan1/Add-RKSJ-V_1.cpp",
408 "core/fpdfapi/cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp",
409 "core/fpdfapi/cmaps/Japan1/EUC-H_1.cpp",
410 "core/fpdfapi/cmaps/Japan1/EUC-V_1.cpp",
411 "core/fpdfapi/cmaps/Japan1/Ext-RKSJ-H_2.cpp",
412 "core/fpdfapi/cmaps/Japan1/Ext-RKSJ-V_2.cpp",
413 "core/fpdfapi/cmaps/Japan1/H_1.cpp",
414 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp",
415 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp",
416 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-H_4.cpp",
417 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-V_4.cpp",
418 "core/fpdfapi/cmaps/Japan1/V_1.cpp",
419 "core/fpdfapi/cmaps/Japan1/cmaps_japan1.cpp",
420 "core/fpdfapi/cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp",
421 "core/fpdfapi/cmaps/Korea1/KSC-EUC-H_0.cpp",
422 "core/fpdfapi/cmaps/Korea1/KSC-EUC-V_0.cpp",
423 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-HW-H_1.cpp",
424 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-HW-V_1.cpp",
425 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-H_1.cpp",
426 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-V_1.cpp",
427 "core/fpdfapi/cmaps/Korea1/KSCpc-EUC-H_0.cpp",
428 "core/fpdfapi/cmaps/Korea1/UniKS-UCS2-H_1.cpp",
429 "core/fpdfapi/cmaps/Korea1/UniKS-UCS2-V_1.cpp",
430 "core/fpdfapi/cmaps/Korea1/UniKS-UTF16-H_0.cpp",
431 "core/fpdfapi/cmaps/Korea1/cmaps_korea1.cpp",
432 "core/fpdfapi/cmaps/cmap_int.h",
433 "core/fpdfapi/cmaps/fpdf_cmaps.cpp",
tsepezddffb572016-05-24 16:20:29 -0700434 "core/fpdfapi/cpdf_modulemgr.cpp",
dsinclair39c62fd2016-09-29 12:49:17 -0700435 "core/fpdfapi/cpdf_modulemgr.h",
weili9f515bc2016-07-24 08:08:24 -0700436 "core/fpdfapi/cpdf_pagerendercontext.cpp",
dsinclair39c62fd2016-09-29 12:49:17 -0700437 "core/fpdfapi/cpdf_pagerendercontext.h",
dsinclair24154352016-10-04 11:01:48 -0700438 "core/fpdfapi/edit/cpdf_creator.h",
439 "core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp",
440 "core/fpdfapi/edit/cpdf_pagecontentgenerator.h",
441 "core/fpdfapi/edit/editint.h",
442 "core/fpdfapi/edit/fpdf_edit_create.cpp",
dsinclairbc5e6d22016-10-04 11:08:49 -0700443 "core/fpdfapi/font/cpdf_cidfont.cpp",
444 "core/fpdfapi/font/cpdf_cidfont.h",
445 "core/fpdfapi/font/cpdf_font.cpp",
446 "core/fpdfapi/font/cpdf_font.h",
447 "core/fpdfapi/font/cpdf_fontencoding.cpp",
448 "core/fpdfapi/font/cpdf_fontencoding.h",
449 "core/fpdfapi/font/cpdf_simplefont.cpp",
450 "core/fpdfapi/font/cpdf_simplefont.h",
451 "core/fpdfapi/font/cpdf_truetypefont.cpp",
452 "core/fpdfapi/font/cpdf_truetypefont.h",
453 "core/fpdfapi/font/cpdf_type1font.cpp",
454 "core/fpdfapi/font/cpdf_type1font.h",
455 "core/fpdfapi/font/cpdf_type3char.cpp",
456 "core/fpdfapi/font/cpdf_type3char.h",
457 "core/fpdfapi/font/cpdf_type3font.cpp",
458 "core/fpdfapi/font/cpdf_type3font.h",
459 "core/fpdfapi/font/font_int.h",
460 "core/fpdfapi/font/fpdf_font.cpp",
461 "core/fpdfapi/font/fpdf_font_cid.cpp",
462 "core/fpdfapi/font/ttgsubtable.cpp",
463 "core/fpdfapi/font/ttgsubtable.h",
dsinclair41872fa2016-10-04 11:29:35 -0700464 "core/fpdfapi/page/cpdf_allstates.cpp",
465 "core/fpdfapi/page/cpdf_allstates.h",
466 "core/fpdfapi/page/cpdf_clippath.cpp",
467 "core/fpdfapi/page/cpdf_clippath.h",
468 "core/fpdfapi/page/cpdf_color.cpp",
469 "core/fpdfapi/page/cpdf_color.h",
470 "core/fpdfapi/page/cpdf_colorspace.cpp",
471 "core/fpdfapi/page/cpdf_colorspace.h",
472 "core/fpdfapi/page/cpdf_colorstate.cpp",
473 "core/fpdfapi/page/cpdf_colorstate.h",
474 "core/fpdfapi/page/cpdf_contentmark.cpp",
475 "core/fpdfapi/page/cpdf_contentmark.h",
476 "core/fpdfapi/page/cpdf_contentmarkitem.cpp",
477 "core/fpdfapi/page/cpdf_contentmarkitem.h",
npm014b0122016-11-07 08:42:11 -0800478 "core/fpdfapi/page/cpdf_contentparser.cpp",
tsepez1aff2652016-11-22 10:45:59 -0800479 "core/fpdfapi/page/cpdf_contentparser.h",
dsinclair41872fa2016-10-04 11:29:35 -0700480 "core/fpdfapi/page/cpdf_countedobject.h",
tsepez9fa95ef2016-10-11 12:29:38 -0700481 "core/fpdfapi/page/cpdf_docpagedata.cpp",
482 "core/fpdfapi/page/cpdf_docpagedata.h",
dsinclair41872fa2016-10-04 11:29:35 -0700483 "core/fpdfapi/page/cpdf_form.cpp",
484 "core/fpdfapi/page/cpdf_form.h",
485 "core/fpdfapi/page/cpdf_formobject.cpp",
486 "core/fpdfapi/page/cpdf_formobject.h",
487 "core/fpdfapi/page/cpdf_generalstate.cpp",
488 "core/fpdfapi/page/cpdf_generalstate.h",
489 "core/fpdfapi/page/cpdf_graphicstates.cpp",
490 "core/fpdfapi/page/cpdf_graphicstates.h",
491 "core/fpdfapi/page/cpdf_image.cpp",
492 "core/fpdfapi/page/cpdf_image.h",
493 "core/fpdfapi/page/cpdf_imageobject.cpp",
494 "core/fpdfapi/page/cpdf_imageobject.h",
495 "core/fpdfapi/page/cpdf_meshstream.cpp",
496 "core/fpdfapi/page/cpdf_meshstream.h",
497 "core/fpdfapi/page/cpdf_page.cpp",
498 "core/fpdfapi/page/cpdf_page.h",
499 "core/fpdfapi/page/cpdf_pagemodule.cpp",
500 "core/fpdfapi/page/cpdf_pagemodule.h",
501 "core/fpdfapi/page/cpdf_pageobject.cpp",
502 "core/fpdfapi/page/cpdf_pageobject.h",
503 "core/fpdfapi/page/cpdf_pageobjectholder.cpp",
504 "core/fpdfapi/page/cpdf_pageobjectholder.h",
505 "core/fpdfapi/page/cpdf_pageobjectlist.cpp",
506 "core/fpdfapi/page/cpdf_pageobjectlist.h",
507 "core/fpdfapi/page/cpdf_path.cpp",
508 "core/fpdfapi/page/cpdf_path.h",
509 "core/fpdfapi/page/cpdf_pathobject.cpp",
510 "core/fpdfapi/page/cpdf_pathobject.h",
511 "core/fpdfapi/page/cpdf_pattern.cpp",
512 "core/fpdfapi/page/cpdf_pattern.h",
513 "core/fpdfapi/page/cpdf_shadingobject.cpp",
514 "core/fpdfapi/page/cpdf_shadingobject.h",
515 "core/fpdfapi/page/cpdf_shadingpattern.cpp",
516 "core/fpdfapi/page/cpdf_shadingpattern.h",
tsepez271d9c02016-10-13 11:29:04 -0700517 "core/fpdfapi/page/cpdf_streamcontentparser.cpp",
518 "core/fpdfapi/page/cpdf_streamcontentparser.h",
npm014b0122016-11-07 08:42:11 -0800519 "core/fpdfapi/page/cpdf_streamparser.cpp",
tsepez1aff2652016-11-22 10:45:59 -0800520 "core/fpdfapi/page/cpdf_streamparser.h",
dsinclair41872fa2016-10-04 11:29:35 -0700521 "core/fpdfapi/page/cpdf_textobject.cpp",
522 "core/fpdfapi/page/cpdf_textobject.h",
523 "core/fpdfapi/page/cpdf_textstate.cpp",
524 "core/fpdfapi/page/cpdf_textstate.h",
525 "core/fpdfapi/page/cpdf_tilingpattern.cpp",
526 "core/fpdfapi/page/cpdf_tilingpattern.h",
527 "core/fpdfapi/page/fpdf_page_colors.cpp",
dsinclair41872fa2016-10-04 11:29:35 -0700528 "core/fpdfapi/page/fpdf_page_func.cpp",
dsinclair41872fa2016-10-04 11:29:35 -0700529 "core/fpdfapi/page/pageint.h",
dsinclair488b7ad2016-10-04 11:55:50 -0700530 "core/fpdfapi/parser/cfdf_document.cpp",
531 "core/fpdfapi/parser/cfdf_document.h",
532 "core/fpdfapi/parser/cpdf_array.cpp",
533 "core/fpdfapi/parser/cpdf_array.h",
534 "core/fpdfapi/parser/cpdf_boolean.cpp",
535 "core/fpdfapi/parser/cpdf_boolean.h",
536 "core/fpdfapi/parser/cpdf_crypto_handler.cpp",
537 "core/fpdfapi/parser/cpdf_crypto_handler.h",
538 "core/fpdfapi/parser/cpdf_data_avail.cpp",
539 "core/fpdfapi/parser/cpdf_data_avail.h",
540 "core/fpdfapi/parser/cpdf_dictionary.cpp",
541 "core/fpdfapi/parser/cpdf_dictionary.h",
542 "core/fpdfapi/parser/cpdf_document.cpp",
543 "core/fpdfapi/parser/cpdf_document.h",
544 "core/fpdfapi/parser/cpdf_hint_tables.cpp",
545 "core/fpdfapi/parser/cpdf_hint_tables.h",
546 "core/fpdfapi/parser/cpdf_indirect_object_holder.cpp",
547 "core/fpdfapi/parser/cpdf_indirect_object_holder.h",
tsepezc09625c2016-11-07 11:46:09 -0800548 "core/fpdfapi/parser/cpdf_linearized_header.cpp",
549 "core/fpdfapi/parser/cpdf_linearized_header.h",
dsinclair488b7ad2016-10-04 11:55:50 -0700550 "core/fpdfapi/parser/cpdf_name.cpp",
551 "core/fpdfapi/parser/cpdf_name.h",
552 "core/fpdfapi/parser/cpdf_null.cpp",
553 "core/fpdfapi/parser/cpdf_null.h",
554 "core/fpdfapi/parser/cpdf_number.cpp",
555 "core/fpdfapi/parser/cpdf_number.h",
556 "core/fpdfapi/parser/cpdf_object.cpp",
557 "core/fpdfapi/parser/cpdf_object.h",
558 "core/fpdfapi/parser/cpdf_parser.cpp",
559 "core/fpdfapi/parser/cpdf_parser.h",
560 "core/fpdfapi/parser/cpdf_reference.cpp",
561 "core/fpdfapi/parser/cpdf_reference.h",
562 "core/fpdfapi/parser/cpdf_security_handler.cpp",
563 "core/fpdfapi/parser/cpdf_security_handler.h",
564 "core/fpdfapi/parser/cpdf_simple_parser.cpp",
565 "core/fpdfapi/parser/cpdf_simple_parser.h",
566 "core/fpdfapi/parser/cpdf_stream.cpp",
567 "core/fpdfapi/parser/cpdf_stream.h",
568 "core/fpdfapi/parser/cpdf_stream_acc.cpp",
569 "core/fpdfapi/parser/cpdf_stream_acc.h",
570 "core/fpdfapi/parser/cpdf_string.cpp",
571 "core/fpdfapi/parser/cpdf_string.h",
572 "core/fpdfapi/parser/cpdf_syntax_parser.cpp",
573 "core/fpdfapi/parser/cpdf_syntax_parser.h",
574 "core/fpdfapi/parser/fpdf_parser_decode.cpp",
575 "core/fpdfapi/parser/fpdf_parser_decode.h",
576 "core/fpdfapi/parser/fpdf_parser_utility.cpp",
577 "core/fpdfapi/parser/fpdf_parser_utility.h",
npm483f3c42016-11-17 13:50:44 -0800578 "core/fpdfapi/render/cpdf_charposlist.cpp",
579 "core/fpdfapi/render/cpdf_charposlist.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500580 "core/fpdfapi/render/cpdf_devicebuffer.cpp",
581 "core/fpdfapi/render/cpdf_devicebuffer.h",
Nicolas Pena0ef7ba02017-01-04 16:18:57 -0500582 "core/fpdfapi/render/cpdf_dibsource.cpp",
583 "core/fpdfapi/render/cpdf_dibsource.h",
npm4bed2af2016-12-02 14:01:36 -0800584 "core/fpdfapi/render/cpdf_dibtransferfunc.cpp",
585 "core/fpdfapi/render/cpdf_dibtransferfunc.h",
npm935c6312016-11-17 10:47:43 -0800586 "core/fpdfapi/render/cpdf_docrenderdata.cpp",
587 "core/fpdfapi/render/cpdf_docrenderdata.h",
npmd7ecb5f2016-12-01 15:37:42 -0800588 "core/fpdfapi/render/cpdf_imagecacheentry.cpp",
589 "core/fpdfapi/render/cpdf_imagecacheentry.h",
npmca5300a2016-11-21 07:28:42 -0800590 "core/fpdfapi/render/cpdf_imageloader.cpp",
591 "core/fpdfapi/render/cpdf_imageloader.h",
npm43f382c2016-11-23 07:35:23 -0800592 "core/fpdfapi/render/cpdf_imagerenderer.cpp",
593 "core/fpdfapi/render/cpdf_imagerenderer.h",
npmd7ecb5f2016-12-01 15:37:42 -0800594 "core/fpdfapi/render/cpdf_pagerendercache.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700595 "core/fpdfapi/render/cpdf_pagerendercache.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500596 "core/fpdfapi/render/cpdf_progressiverenderer.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700597 "core/fpdfapi/render/cpdf_progressiverenderer.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500598 "core/fpdfapi/render/cpdf_rendercontext.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700599 "core/fpdfapi/render/cpdf_rendercontext.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500600 "core/fpdfapi/render/cpdf_renderoptions.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700601 "core/fpdfapi/render/cpdf_renderoptions.h",
npm483f3c42016-11-17 13:50:44 -0800602 "core/fpdfapi/render/cpdf_renderstatus.cpp",
603 "core/fpdfapi/render/cpdf_renderstatus.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500604 "core/fpdfapi/render/cpdf_scaledrenderbuffer.cpp",
605 "core/fpdfapi/render/cpdf_scaledrenderbuffer.h",
npm4bed2af2016-12-02 14:01:36 -0800606 "core/fpdfapi/render/cpdf_textrenderer.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700607 "core/fpdfapi/render/cpdf_textrenderer.h",
npmca5300a2016-11-21 07:28:42 -0800608 "core/fpdfapi/render/cpdf_transferfunc.cpp",
609 "core/fpdfapi/render/cpdf_transferfunc.h",
dsinclair69d9c682016-10-04 12:18:35 -0700610 "core/fpdfapi/render/cpdf_type3cache.cpp",
611 "core/fpdfapi/render/cpdf_type3cache.h",
612 "core/fpdfapi/render/cpdf_type3glyphs.cpp",
613 "core/fpdfapi/render/cpdf_type3glyphs.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700614 ]
weili0abe6522016-06-06 14:41:22 -0700615 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700616 deps = [
617 ":fxcrt",
618 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700619}
620
621static_library("fpdftext") {
622 sources = [
npm2d396ac2016-08-26 10:00:25 -0700623 "core/fpdftext/cpdf_linkextract.cpp",
dsinclaire0307862016-09-29 13:25:38 -0700624 "core/fpdftext/cpdf_linkextract.h",
npm2d396ac2016-08-26 10:00:25 -0700625 "core/fpdftext/cpdf_textpage.cpp",
dsinclaire0307862016-09-29 13:25:38 -0700626 "core/fpdftext/cpdf_textpage.h",
npm2d396ac2016-08-26 10:00:25 -0700627 "core/fpdftext/cpdf_textpagefind.cpp",
dsinclaire0307862016-09-29 13:25:38 -0700628 "core/fpdftext/cpdf_textpagefind.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400629 "core/fpdftext/unicodenormalizationdata.cpp",
630 "core/fpdftext/unicodenormalizationdata.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700631 ]
weili0abe6522016-06-06 14:41:22 -0700632 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700633 deps = [
634 ":fxcrt",
635 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700636}
637
638static_library("fxcodec") {
639 sources = [
dsinclair8a4e2862016-09-29 13:43:30 -0700640 "core/fxcodec/JBig2_DocumentContext.h",
dsinclaird55e11e2016-04-12 11:21:22 -0700641 "core/fxcodec/codec/ccodec_basicmodule.h",
642 "core/fxcodec/codec/ccodec_faxmodule.h",
643 "core/fxcodec/codec/ccodec_flatemodule.h",
644 "core/fxcodec/codec/ccodec_iccmodule.h",
645 "core/fxcodec/codec/ccodec_jbig2module.h",
646 "core/fxcodec/codec/ccodec_jpegmodule.h",
647 "core/fxcodec/codec/ccodec_jpxmodule.h",
648 "core/fxcodec/codec/ccodec_scanlinedecoder.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400649 "core/fxcodec/codec/codec_int.h",
650 "core/fxcodec/codec/fx_codec.cpp",
651 "core/fxcodec/codec/fx_codec_fax.cpp",
652 "core/fxcodec/codec/fx_codec_flate.cpp",
653 "core/fxcodec/codec/fx_codec_icc.cpp",
654 "core/fxcodec/codec/fx_codec_jbig.cpp",
655 "core/fxcodec/codec/fx_codec_jpeg.cpp",
656 "core/fxcodec/codec/fx_codec_jpx_opj.cpp",
dsinclair8a4e2862016-09-29 13:43:30 -0700657 "core/fxcodec/fx_codec.h",
658 "core/fxcodec/fx_codec_def.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400659 "core/fxcodec/jbig2/JBig2_ArithDecoder.cpp",
660 "core/fxcodec/jbig2/JBig2_ArithDecoder.h",
661 "core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp",
662 "core/fxcodec/jbig2/JBig2_ArithIntDecoder.h",
663 "core/fxcodec/jbig2/JBig2_BitStream.cpp",
664 "core/fxcodec/jbig2/JBig2_BitStream.h",
665 "core/fxcodec/jbig2/JBig2_Context.cpp",
666 "core/fxcodec/jbig2/JBig2_Context.h",
667 "core/fxcodec/jbig2/JBig2_Define.h",
668 "core/fxcodec/jbig2/JBig2_GrdProc.cpp",
669 "core/fxcodec/jbig2/JBig2_GrdProc.h",
670 "core/fxcodec/jbig2/JBig2_GrrdProc.cpp",
671 "core/fxcodec/jbig2/JBig2_GrrdProc.h",
672 "core/fxcodec/jbig2/JBig2_GsidProc.cpp",
673 "core/fxcodec/jbig2/JBig2_GsidProc.h",
674 "core/fxcodec/jbig2/JBig2_HtrdProc.cpp",
675 "core/fxcodec/jbig2/JBig2_HtrdProc.h",
676 "core/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp",
677 "core/fxcodec/jbig2/JBig2_HuffmanDecoder.h",
678 "core/fxcodec/jbig2/JBig2_HuffmanTable.cpp",
679 "core/fxcodec/jbig2/JBig2_HuffmanTable.h",
Tom Sepez4161c5c2016-03-21 12:26:54 -0700680 "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400681 "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h",
682 "core/fxcodec/jbig2/JBig2_Image.cpp",
683 "core/fxcodec/jbig2/JBig2_Image.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400684 "core/fxcodec/jbig2/JBig2_Page.h",
685 "core/fxcodec/jbig2/JBig2_PatternDict.cpp",
686 "core/fxcodec/jbig2/JBig2_PatternDict.h",
687 "core/fxcodec/jbig2/JBig2_PddProc.cpp",
688 "core/fxcodec/jbig2/JBig2_PddProc.h",
689 "core/fxcodec/jbig2/JBig2_SddProc.cpp",
690 "core/fxcodec/jbig2/JBig2_SddProc.h",
691 "core/fxcodec/jbig2/JBig2_Segment.cpp",
692 "core/fxcodec/jbig2/JBig2_Segment.h",
693 "core/fxcodec/jbig2/JBig2_SymbolDict.cpp",
694 "core/fxcodec/jbig2/JBig2_SymbolDict.h",
695 "core/fxcodec/jbig2/JBig2_TrdProc.cpp",
696 "core/fxcodec/jbig2/JBig2_TrdProc.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700697 ]
thestig73c48562016-09-06 14:07:17 -0700698 configs += [ ":pdfium_core_config" ]
Lei Zhang8241df72015-11-06 14:38:48 -0800699 include_dirs = []
thestig73c48562016-09-06 14:07:17 -0700700 deps = [
701 ":fxcrt",
702 "third_party:fx_lcms2",
703 "third_party:fx_libopenjpeg",
704 "third_party:fx_zlib",
705
706 # This is a generic JPEG library dependency.
707 "//third_party:jpeg",
708 ]
709
Tom Sepezd2e023b2015-12-08 14:36:16 -0800710 if (pdf_enable_xfa) {
711 sources += [
Tom Sepez73c9f3b2017-02-27 10:12:59 -0800712 "core/fxcodec/codec/ccodec_bmpmodule.cpp",
dsinclaird55e11e2016-04-12 11:21:22 -0700713 "core/fxcodec/codec/ccodec_bmpmodule.h",
Tom Sepez73c9f3b2017-02-27 10:12:59 -0800714 "core/fxcodec/codec/ccodec_gifmodule.cpp",
dsinclaird55e11e2016-04-12 11:21:22 -0700715 "core/fxcodec/codec/ccodec_gifmodule.h",
Tom Sepez73c9f3b2017-02-27 10:12:59 -0800716 "core/fxcodec/codec/ccodec_pngmodule.cpp",
dsinclaird55e11e2016-04-12 11:21:22 -0700717 "core/fxcodec/codec/ccodec_pngmodule.h",
dsinclair8a4e2862016-09-29 13:43:30 -0700718 "core/fxcodec/codec/ccodec_progressivedecoder.h",
Tom Sepez73c9f3b2017-02-27 10:12:59 -0800719 "core/fxcodec/codec/ccodec_tiffmodule.cpp",
dsinclaird55e11e2016-04-12 11:21:22 -0700720 "core/fxcodec/codec/ccodec_tiffmodule.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400721 "core/fxcodec/codec/fx_codec_progress.cpp",
Tom Sepezb4a26182017-03-01 12:15:00 -0800722 "core/fxcodec/codec/icodec_bmpmodule.h",
723 "core/fxcodec/codec/icodec_gifmodule.h",
724 "core/fxcodec/codec/icodec_pngmodule.h",
725 "core/fxcodec/codec/icodec_tiffmodule.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400726 "core/fxcodec/lbmp/fx_bmp.cpp",
727 "core/fxcodec/lbmp/fx_bmp.h",
728 "core/fxcodec/lgif/fx_gif.cpp",
729 "core/fxcodec/lgif/fx_gif.h",
Tom Sepezd2e023b2015-12-08 14:36:16 -0800730 ]
731 deps += [
732 "third_party:fx_lpng",
733 "third_party:fx_tiff",
734 ]
735 }
John Abd-El-Malekdef5c7d2014-06-09 16:07:18 -0700736 if (is_posix) {
Dan Sinclair764ec512016-03-14 13:35:12 -0400737 # core/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int
John Abd-El-Malekdef5c7d2014-06-09 16:07:18 -0700738 # conversion to check that an address is 16-bit aligned (benign).
739 cflags_c = [ "-Wno-pointer-to-int-cast" ]
740 }
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400741}
742
743config("fxge_warnings") {
744 if (is_clang) {
745 cflags = [
746 # http://code.google.com/p/pdfium/issues/detail?id=188
747 "-Wno-switch",
748 ]
749 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700750}
751
752static_library("fxcrt") {
753 sources = [
tsepez81b22462016-11-23 14:20:19 -0800754 "core/fxcrt/cfx_maybe_owned.h",
dsinclaira52ab742016-09-29 13:59:29 -0700755 "core/fxcrt/cfx_observable.h",
756 "core/fxcrt/cfx_retain_ptr.h",
tsepez2239cee2016-10-17 11:20:01 -0700757 "core/fxcrt/cfx_shared_copy_on_write.h",
tsepezf7036ba2016-05-13 15:02:43 -0700758 "core/fxcrt/cfx_string_c_template.h",
tsepez6fb598b2016-04-05 12:40:47 -0700759 "core/fxcrt/cfx_string_data_template.h",
dsinclaira52ab742016-09-29 13:59:29 -0700760 "core/fxcrt/cfx_string_pool_template.h",
761 "core/fxcrt/cfx_weak_ptr.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400762 "core/fxcrt/extension.h",
dsinclaira52ab742016-09-29 13:59:29 -0700763 "core/fxcrt/fx_basic.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400764 "core/fxcrt/fx_basic_bstring.cpp",
765 "core/fxcrt/fx_basic_buffer.cpp",
766 "core/fxcrt/fx_basic_coords.cpp",
767 "core/fxcrt/fx_basic_gcc.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400768 "core/fxcrt/fx_basic_memmgr.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400769 "core/fxcrt/fx_basic_utf.cpp",
770 "core/fxcrt/fx_basic_util.cpp",
771 "core/fxcrt/fx_basic_wstring.cpp",
772 "core/fxcrt/fx_bidi.cpp",
Dan Sinclaira8a28e02016-03-23 15:41:39 -0400773 "core/fxcrt/fx_bidi.h",
dsinclaira52ab742016-09-29 13:59:29 -0700774 "core/fxcrt/fx_coordinates.h",
775 "core/fxcrt/fx_ext.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400776 "core/fxcrt/fx_extension.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700777 "core/fxcrt/fx_memory.h",
778 "core/fxcrt/fx_safe_types.h",
779 "core/fxcrt/fx_stream.h",
780 "core/fxcrt/fx_string.h",
781 "core/fxcrt/fx_system.h",
782 "core/fxcrt/fx_ucd.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400783 "core/fxcrt/fx_ucddata.cpp",
784 "core/fxcrt/fx_unicode.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700785 "core/fxcrt/fx_xml.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400786 "core/fxcrt/fx_xml_composer.cpp",
787 "core/fxcrt/fx_xml_parser.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400788 "core/fxcrt/fxcrt_posix.cpp",
789 "core/fxcrt/fxcrt_posix.h",
790 "core/fxcrt/fxcrt_stream.cpp",
791 "core/fxcrt/fxcrt_windows.cpp",
792 "core/fxcrt/fxcrt_windows.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400793 "core/fxcrt/xml_int.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700794 ]
thestigc65e11e2016-08-30 21:56:33 -0700795 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700796 visibility += [ "third_party:*" ]
797 deps = [
798 "third_party:pdfium_base",
799 ]
800 public_deps = [
801 "third_party:pdfium_base",
802 ]
thestigc65e11e2016-08-30 21:56:33 -0700803
Tom Sepezd2e023b2015-12-08 14:36:16 -0800804 if (pdf_enable_xfa) {
805 sources += [
Dan Sinclair893822a2017-03-13 15:32:07 -0400806 "core/fxcrt/cfx_char.cpp",
807 "core/fxcrt/cfx_char.h",
pcce3bbfa22016-04-19 12:40:07 -0700808 "core/fxcrt/fx_arabic.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700809 "core/fxcrt/fx_arabic.h",
Tom Sepezd2e023b2015-12-08 14:36:16 -0800810 ]
811 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700812}
813
814static_library("fxge") {
815 sources = [
npmcfcc11e2016-10-25 14:26:39 -0700816 "core/fxge/android/cfpf_skiabufferfont.h",
817 "core/fxge/android/cfpf_skiadevicemodule.cpp",
818 "core/fxge/android/cfpf_skiadevicemodule.h",
819 "core/fxge/android/cfpf_skiafilefont.h",
820 "core/fxge/android/cfpf_skiafont.cpp",
821 "core/fxge/android/cfpf_skiafont.h",
822 "core/fxge/android/cfpf_skiafontdescriptor.h",
npm83828032016-10-21 11:56:53 -0700823 "core/fxge/android/cfpf_skiafontmgr.cpp",
npmcfcc11e2016-10-25 14:26:39 -0700824 "core/fxge/android/cfpf_skiafontmgr.h",
825 "core/fxge/android/cfpf_skiapathfont.h",
826 "core/fxge/android/cfx_androidfontinfo.cpp",
827 "core/fxge/android/cfx_androidfontinfo.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400828 "core/fxge/android/fx_android_imp.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -0700829 "core/fxge/cfx_facecache.h",
830 "core/fxge/cfx_fontcache.h",
831 "core/fxge/cfx_fontmapper.h",
832 "core/fxge/cfx_fontmgr.h",
833 "core/fxge/cfx_fxgedevice.h",
834 "core/fxge/cfx_gemodule.h",
835 "core/fxge/cfx_graphstate.h",
836 "core/fxge/cfx_graphstatedata.h",
837 "core/fxge/cfx_pathdata.h",
838 "core/fxge/cfx_renderdevice.h",
839 "core/fxge/cfx_substfont.h",
840 "core/fxge/cfx_unicodeencoding.h",
841 "core/fxge/cfx_windowsdevice.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400842 "core/fxge/dib/dib_int.h",
843 "core/fxge/dib/fx_dib_composite.cpp",
844 "core/fxge/dib/fx_dib_convert.cpp",
845 "core/fxge/dib/fx_dib_engine.cpp",
846 "core/fxge/dib/fx_dib_main.cpp",
847 "core/fxge/dib/fx_dib_transform.cpp",
848 "core/fxge/fontdata/chromefontdata/FoxitDingbats.cpp",
849 "core/fxge/fontdata/chromefontdata/FoxitFixed.cpp",
850 "core/fxge/fontdata/chromefontdata/FoxitFixedBold.cpp",
851 "core/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.cpp",
852 "core/fxge/fontdata/chromefontdata/FoxitFixedItalic.cpp",
853 "core/fxge/fontdata/chromefontdata/FoxitSans.cpp",
854 "core/fxge/fontdata/chromefontdata/FoxitSansBold.cpp",
855 "core/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.cpp",
856 "core/fxge/fontdata/chromefontdata/FoxitSansItalic.cpp",
857 "core/fxge/fontdata/chromefontdata/FoxitSansMM.cpp",
858 "core/fxge/fontdata/chromefontdata/FoxitSerif.cpp",
859 "core/fxge/fontdata/chromefontdata/FoxitSerifBold.cpp",
860 "core/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.cpp",
861 "core/fxge/fontdata/chromefontdata/FoxitSerifItalic.cpp",
862 "core/fxge/fontdata/chromefontdata/FoxitSerifMM.cpp",
863 "core/fxge/fontdata/chromefontdata/FoxitSymbol.cpp",
864 "core/fxge/fontdata/chromefontdata/chromefontdata.h",
865 "core/fxge/freetype/fx_freetype.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -0700866 "core/fxge/fx_dib.h",
867 "core/fxge/fx_font.h",
868 "core/fxge/fx_freetype.h",
npm660de3c2016-08-08 08:18:29 -0700869 "core/fxge/ge/cfx_cliprgn.cpp",
870 "core/fxge/ge/cfx_cliprgn.h",
npm19ecc232016-08-19 16:17:57 -0700871 "core/fxge/ge/cfx_facecache.cpp",
npmf73893a2016-07-27 13:54:25 -0700872 "core/fxge/ge/cfx_folderfontinfo.cpp",
873 "core/fxge/ge/cfx_folderfontinfo.h",
npm155c8802016-09-06 07:31:02 -0700874 "core/fxge/ge/cfx_font.cpp",
npmd6918992016-08-17 13:22:16 -0700875 "core/fxge/ge/cfx_fontcache.cpp",
npmf73893a2016-07-27 13:54:25 -0700876 "core/fxge/ge/cfx_fontmapper.cpp",
877 "core/fxge/ge/cfx_fontmgr.cpp",
npm26b86e62016-08-04 17:22:14 -0700878 "core/fxge/ge/cfx_gemodule.cpp",
tsepez7c9f0a12016-09-06 13:02:55 -0700879 "core/fxge/ge/cfx_graphstate.cpp",
npm9ada2d82016-08-10 07:51:38 -0700880 "core/fxge/ge/cfx_graphstatedata.cpp",
npm660de3c2016-08-08 08:18:29 -0700881 "core/fxge/ge/cfx_pathdata.cpp",
npm9ada2d82016-08-10 07:51:38 -0700882 "core/fxge/ge/cfx_renderdevice.cpp",
npm81ee14d2016-08-29 09:35:12 -0700883 "core/fxge/ge/cfx_substfont.cpp",
npm1a8946b2016-08-18 10:55:29 -0700884 "core/fxge/ge/cfx_unicodeencoding.cpp",
npm81ee14d2016-08-29 09:35:12 -0700885 "core/fxge/ge/cttfontdesc.cpp",
886 "core/fxge/ge/cttfontdesc.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400887 "core/fxge/ge/fx_ge_fontmap.cpp",
888 "core/fxge/ge/fx_ge_linux.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400889 "core/fxge/ge/fx_ge_text.cpp",
890 "core/fxge/ge/fx_text_int.h",
weili095d3462016-06-21 11:24:24 -0700891 "core/fxge/ifx_renderdevicedriver.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -0700892 "core/fxge/ifx_renderdevicedriver.h",
893 "core/fxge/ifx_systemfontinfo.h",
npm74847622016-07-29 15:20:25 -0700894 "core/fxge/win32/cfx_windowsdib.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700895 ]
896
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400897 configs += [
Lei Zhang7b16ba52015-10-26 17:06:53 -0700898 ":fxge_warnings",
weili0abe6522016-06-06 14:41:22 -0700899 ":pdfium_core_config",
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400900 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700901
thestig73c48562016-09-06 14:07:17 -0700902 deps = [
903 ":fxcrt",
904 ]
905
npm1a8946b2016-08-18 10:55:29 -0700906 if (pdf_enable_xfa) {
907 sources += [
dsinclair74a34fc2016-09-29 16:41:42 -0700908 "core/fxge/cfx_unicodeencodingex.h",
npm1a8946b2016-08-18 10:55:29 -0700909 "core/fxge/ge/cfx_unicodeencodingex.cpp",
npm1a8946b2016-08-18 10:55:29 -0700910 ]
911 }
912
caryclarkaf177fe2016-11-16 10:10:03 -0800913 if (pdf_use_skia || pdf_use_skia_paths) {
Cary Clark59b3a482016-03-17 12:00:39 -0400914 sources += [ "core/fxge/skia/fx_skia_device.cpp" ]
thestig73c48562016-09-06 14:07:17 -0700915 deps += [ "//skia" ]
caryclark749c14c2016-05-19 07:01:03 -0700916 } else {
917 sources += [
918 "core/fxge/agg/fx_agg_driver.cpp",
919 "core/fxge/agg/fx_agg_driver.h",
920 ]
thestig73c48562016-09-06 14:07:17 -0700921 deps += [ "third_party:fx_agg" ]
Dan Sinclair72a39ce2017-03-21 16:44:03 -0400922 }
npma97fc7c2016-11-07 08:50:04 -0800923
Dan Sinclair72a39ce2017-03-21 16:44:03 -0400924 if (is_mac) {
925 sources += [ "core/fxge/apple/fx_apple_platform.cpp" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700926 }
927
928 if (is_win) {
929 sources += [
rbpotter8d94b662017-01-06 08:10:18 -0800930 "core/fxge/win32/cfx_psrenderer.cpp",
931 "core/fxge/win32/cfx_psrenderer.h",
932 "core/fxge/win32/cpsoutput.cpp",
933 "core/fxge/win32/cpsoutput.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400934 "core/fxge/win32/dwrite_int.h",
935 "core/fxge/win32/fx_win32_device.cpp",
936 "core/fxge/win32/fx_win32_dib.cpp",
937 "core/fxge/win32/fx_win32_dwrite.cpp",
938 "core/fxge/win32/fx_win32_gdipext.cpp",
939 "core/fxge/win32/fx_win32_print.cpp",
940 "core/fxge/win32/win32_int.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700941 ]
Tom Sepez465ed872015-12-09 14:55:41 -0800942 configs -= [ "//build/config/win:lean_and_mean" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700943 }
npma97fc7c2016-11-07 08:50:04 -0800944
945 if (is_mac) {
946 sources += [
947 "core/fxge/apple/apple_int.h",
948 "core/fxge/apple/fx_mac_imp.cpp",
949 "core/fxge/apple/fx_quartz_device.cpp",
950 ]
951 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700952}
953
954static_library("fxedit") {
955 sources = [
dsinclair0bb385b2016-09-29 17:03:59 -0700956 "fpdfsdk/fxedit/fx_edit.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400957 "fpdfsdk/fxedit/fxet_ap.cpp",
958 "fpdfsdk/fxedit/fxet_edit.cpp",
dsinclair0bb385b2016-09-29 17:03:59 -0700959 "fpdfsdk/fxedit/fxet_edit.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400960 "fpdfsdk/fxedit/fxet_list.cpp",
dsinclair0bb385b2016-09-29 17:03:59 -0700961 "fpdfsdk/fxedit/fxet_list.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700962 ]
weili0abe6522016-06-06 14:41:22 -0700963 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700964 deps = [
965 ":fxcrt",
966 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700967}
968
969static_library("pdfwindow") {
970 sources = [
Dan Sinclairf766ad22016-03-14 13:51:24 -0400971 "fpdfsdk/pdfwindow/PWL_Button.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400972 "fpdfsdk/pdfwindow/PWL_Button.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400973 "fpdfsdk/pdfwindow/PWL_Caret.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400974 "fpdfsdk/pdfwindow/PWL_Caret.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400975 "fpdfsdk/pdfwindow/PWL_ComboBox.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400976 "fpdfsdk/pdfwindow/PWL_ComboBox.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400977 "fpdfsdk/pdfwindow/PWL_Edit.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400978 "fpdfsdk/pdfwindow/PWL_Edit.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400979 "fpdfsdk/pdfwindow/PWL_EditCtrl.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400980 "fpdfsdk/pdfwindow/PWL_EditCtrl.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400981 "fpdfsdk/pdfwindow/PWL_FontMap.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400982 "fpdfsdk/pdfwindow/PWL_FontMap.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400983 "fpdfsdk/pdfwindow/PWL_Icon.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400984 "fpdfsdk/pdfwindow/PWL_Icon.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400985 "fpdfsdk/pdfwindow/PWL_ListBox.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400986 "fpdfsdk/pdfwindow/PWL_ListBox.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400987 "fpdfsdk/pdfwindow/PWL_ScrollBar.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400988 "fpdfsdk/pdfwindow/PWL_ScrollBar.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400989 "fpdfsdk/pdfwindow/PWL_SpecialButton.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400990 "fpdfsdk/pdfwindow/PWL_SpecialButton.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400991 "fpdfsdk/pdfwindow/PWL_Utils.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400992 "fpdfsdk/pdfwindow/PWL_Utils.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400993 "fpdfsdk/pdfwindow/PWL_Wnd.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400994 "fpdfsdk/pdfwindow/PWL_Wnd.h",
Dan Sinclairfc54e052017-02-23 09:59:05 -0500995 "fpdfsdk/pdfwindow/cpwl_color.cpp",
Dan Sinclairbc8dcc32017-01-19 13:53:02 -0500996 "fpdfsdk/pdfwindow/cpwl_color.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700997 ]
weili0abe6522016-06-06 14:41:22 -0700998 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700999 deps = [
1000 ":fxcrt",
1001 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001002}
1003
1004static_library("javascript") {
1005 sources = [
Tom Sepezd6ae2af2017-02-16 11:49:55 -08001006 "fpdfsdk/javascript/ijs_event_context.h",
dsinclair64376be2016-03-31 20:03:24 -07001007 "fpdfsdk/javascript/ijs_runtime.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001008 ]
thestig73c48562016-09-06 14:07:17 -07001009 configs += [ ":pdfium_core_config" ]
1010 deps = [
1011 ":fxcrt",
1012 ]
1013
Tom Sepez452b4f32015-10-13 09:27:27 -07001014 if (pdf_enable_v8) {
1015 sources += [
tonikitoo618cb1f2016-08-18 20:10:17 -07001016 "fpdfsdk/javascript/Annot.cpp",
1017 "fpdfsdk/javascript/Annot.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001018 "fpdfsdk/javascript/Consts.cpp",
1019 "fpdfsdk/javascript/Consts.h",
1020 "fpdfsdk/javascript/Document.cpp",
1021 "fpdfsdk/javascript/Document.h",
1022 "fpdfsdk/javascript/Field.cpp",
1023 "fpdfsdk/javascript/Field.h",
1024 "fpdfsdk/javascript/Icon.cpp",
1025 "fpdfsdk/javascript/Icon.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001026 "fpdfsdk/javascript/JS_Define.h",
1027 "fpdfsdk/javascript/JS_EventHandler.cpp",
1028 "fpdfsdk/javascript/JS_EventHandler.h",
1029 "fpdfsdk/javascript/JS_GlobalData.cpp",
1030 "fpdfsdk/javascript/JS_GlobalData.h",
weili47228ac2016-07-20 10:35:31 -07001031 "fpdfsdk/javascript/JS_KeyValue.cpp",
1032 "fpdfsdk/javascript/JS_KeyValue.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001033 "fpdfsdk/javascript/JS_Object.cpp",
1034 "fpdfsdk/javascript/JS_Object.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001035 "fpdfsdk/javascript/JS_Value.cpp",
1036 "fpdfsdk/javascript/JS_Value.h",
1037 "fpdfsdk/javascript/PublicMethods.cpp",
1038 "fpdfsdk/javascript/PublicMethods.h",
1039 "fpdfsdk/javascript/app.cpp",
1040 "fpdfsdk/javascript/app.h",
Tom Sepezd6ae2af2017-02-16 11:49:55 -08001041 "fpdfsdk/javascript/cjs_event_context.cpp",
1042 "fpdfsdk/javascript/cjs_event_context.h",
dsinclair64376be2016-03-31 20:03:24 -07001043 "fpdfsdk/javascript/cjs_runtime.cpp",
1044 "fpdfsdk/javascript/cjs_runtime.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001045 "fpdfsdk/javascript/color.cpp",
1046 "fpdfsdk/javascript/color.h",
1047 "fpdfsdk/javascript/console.cpp",
1048 "fpdfsdk/javascript/console.h",
1049 "fpdfsdk/javascript/event.cpp",
1050 "fpdfsdk/javascript/event.h",
1051 "fpdfsdk/javascript/global.cpp",
1052 "fpdfsdk/javascript/global.h",
1053 "fpdfsdk/javascript/report.cpp",
1054 "fpdfsdk/javascript/report.h",
1055 "fpdfsdk/javascript/resource.cpp",
1056 "fpdfsdk/javascript/resource.h",
1057 "fpdfsdk/javascript/util.cpp",
1058 "fpdfsdk/javascript/util.h",
Tom Sepez452b4f32015-10-13 09:27:27 -07001059 ]
thestig73c48562016-09-06 14:07:17 -07001060 deps += [ ":fxjs" ]
Jochen Eisinger7ed503d2015-12-10 14:38:06 +01001061 configs += [ "//v8:external_startup_data" ]
Tom Sepez452b4f32015-10-13 09:27:27 -07001062 } else {
Dan Sinclairf766ad22016-03-14 13:51:24 -04001063 sources += [ "fpdfsdk/javascript/JS_Runtime_Stub.cpp" ]
Tom Sepez452b4f32015-10-13 09:27:27 -07001064 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001065}
1066
1067static_library("formfiller") {
1068 sources = [
Dan Sinclairedbb3192016-03-21 09:08:24 -04001069 "fpdfsdk/formfiller/cba_fontmap.cpp",
1070 "fpdfsdk/formfiller/cba_fontmap.h",
1071 "fpdfsdk/formfiller/cffl_checkbox.cpp",
1072 "fpdfsdk/formfiller/cffl_checkbox.h",
1073 "fpdfsdk/formfiller/cffl_combobox.cpp",
1074 "fpdfsdk/formfiller/cffl_combobox.h",
1075 "fpdfsdk/formfiller/cffl_formfiller.cpp",
1076 "fpdfsdk/formfiller/cffl_formfiller.h",
dsinclairb94d7c92016-09-21 12:07:00 -07001077 "fpdfsdk/formfiller/cffl_interactiveformfiller.cpp",
1078 "fpdfsdk/formfiller/cffl_interactiveformfiller.h",
Dan Sinclairedbb3192016-03-21 09:08:24 -04001079 "fpdfsdk/formfiller/cffl_listbox.cpp",
1080 "fpdfsdk/formfiller/cffl_listbox.h",
1081 "fpdfsdk/formfiller/cffl_pushbutton.cpp",
1082 "fpdfsdk/formfiller/cffl_pushbutton.h",
1083 "fpdfsdk/formfiller/cffl_radiobutton.cpp",
1084 "fpdfsdk/formfiller/cffl_radiobutton.h",
1085 "fpdfsdk/formfiller/cffl_textfield.cpp",
1086 "fpdfsdk/formfiller/cffl_textfield.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001087 ]
weili0abe6522016-06-06 14:41:22 -07001088 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -07001089 deps = [
1090 ":fxcrt",
1091 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001092}
Tom Sepezc706fc02014-11-14 13:39:20 -08001093
dsinclairb3f24672016-07-12 10:42:14 -07001094if (pdf_enable_v8) {
dsinclair7f9c8602016-07-12 10:41:43 -07001095 static_library("fxjs") {
1096 sources = [
dsinclairb3f24672016-07-12 10:42:14 -07001097 "fxjs/fxjs_v8.cpp",
dsinclair43554682016-09-29 17:29:48 -07001098 "fxjs/fxjs_v8.h",
dsinclair7f9c8602016-07-12 10:41:43 -07001099 ]
thestig73c48562016-09-06 14:07:17 -07001100 configs += [ ":pdfium_core_config" ]
1101 deps = [
1102 ":fxcrt",
1103 "//v8",
1104 "//v8:v8_libplatform",
1105 ]
1106 include_dirs = [
1107 "//v8",
1108 "//v8/include",
1109 ]
1110 public_deps = [
1111 "//v8",
1112 ]
1113
dsinclairb3f24672016-07-12 10:42:14 -07001114 if (pdf_enable_xfa) {
1115 sources += [
1116 "fxjs/cfxjse_arguments.cpp",
dsinclair43554682016-09-29 17:29:48 -07001117 "fxjs/cfxjse_arguments.h",
dsinclairb3f24672016-07-12 10:42:14 -07001118 "fxjs/cfxjse_class.cpp",
dsinclair43554682016-09-29 17:29:48 -07001119 "fxjs/cfxjse_class.h",
dsinclairb3f24672016-07-12 10:42:14 -07001120 "fxjs/cfxjse_context.cpp",
dsinclair43554682016-09-29 17:29:48 -07001121 "fxjs/cfxjse_context.h",
dsinclairb3f24672016-07-12 10:42:14 -07001122 "fxjs/cfxjse_isolatetracker.cpp",
1123 "fxjs/cfxjse_isolatetracker.h",
1124 "fxjs/cfxjse_runtimedata.cpp",
1125 "fxjs/cfxjse_runtimedata.h",
1126 "fxjs/cfxjse_value.cpp",
dsinclair43554682016-09-29 17:29:48 -07001127 "fxjs/cfxjse_value.h",
1128 "fxjs/fxjse.h",
dsinclairb3f24672016-07-12 10:42:14 -07001129 ]
1130 }
dsinclair7f9c8602016-07-12 10:41:43 -07001131 }
dsinclairb3f24672016-07-12 10:42:14 -07001132}
dsinclair7f9c8602016-07-12 10:41:43 -07001133
dsinclairb3f24672016-07-12 10:42:14 -07001134if (pdf_enable_xfa) {
Tom Sepezb36747d2015-12-08 15:49:25 -08001135 static_library("fpdfxfa") {
1136 sources = [
dsinclair521b7502016-11-02 13:02:28 -07001137 "fpdfsdk/fpdfxfa/cpdfxfa_context.cpp",
1138 "fpdfsdk/fpdfxfa/cpdfxfa_context.h",
dsinclaira440bb32016-09-14 07:01:54 -07001139 "fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp",
dsinclairbec76922016-09-29 16:52:30 -07001140 "fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h",
dsinclair4d29e782016-10-04 14:02:47 -07001141 "fpdfsdk/fpdfxfa/cpdfxfa_page.cpp",
1142 "fpdfsdk/fpdfxfa/cpdfxfa_page.h",
1143 "fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.cpp",
1144 "fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h",
Tom Sepez452b4f32015-10-13 09:27:27 -07001145 ]
1146 deps = [
thestig73c48562016-09-06 14:07:17 -07001147 ":fxcrt",
dsinclair8837c912016-11-01 11:22:37 -07001148 ":fxjs",
Tom Sepezb36747d2015-12-08 15:49:25 -08001149 ":xfa",
1150 ]
weili0abe6522016-06-06 14:41:22 -07001151 configs += [ ":pdfium_core_config" ]
Tom Sepezb36747d2015-12-08 15:49:25 -08001152 }
1153
1154 static_library("xfa") {
1155 sources = [
dsinclairacd0d592016-04-21 11:06:27 -07001156 "xfa/fde/cfde_path.cpp",
1157 "xfa/fde/cfde_path.h",
dsinclair65395182016-05-18 11:09:47 -07001158 "xfa/fde/cfde_txtedtbuf.cpp",
1159 "xfa/fde/cfde_txtedtbuf.h",
dsinclair65395182016-05-18 11:09:47 -07001160 "xfa/fde/cfde_txtedtdorecord_deleterange.cpp",
1161 "xfa/fde/cfde_txtedtdorecord_deleterange.h",
1162 "xfa/fde/cfde_txtedtdorecord_insert.cpp",
1163 "xfa/fde/cfde_txtedtdorecord_insert.h",
1164 "xfa/fde/cfde_txtedtengine.cpp",
1165 "xfa/fde/cfde_txtedtengine.h",
1166 "xfa/fde/cfde_txtedtpage.cpp",
1167 "xfa/fde/cfde_txtedtpage.h",
1168 "xfa/fde/cfde_txtedtparag.cpp",
1169 "xfa/fde/cfde_txtedtparag.h",
1170 "xfa/fde/cfde_txtedttextset.cpp",
1171 "xfa/fde/cfde_txtedttextset.h",
1172 "xfa/fde/cfx_chariter.cpp",
1173 "xfa/fde/cfx_chariter.h",
1174 "xfa/fde/cfx_wordbreak.cpp",
1175 "xfa/fde/cfx_wordbreak.h",
Dan Sinclair19c209d2017-01-18 12:47:24 -05001176 "xfa/fde/css/cfde_csscolorvalue.cpp",
1177 "xfa/fde/css/cfde_csscolorvalue.h",
Dan Sinclair95bec802017-01-19 10:27:58 -05001178 "xfa/fde/css/cfde_csscomputedstyle.cpp",
1179 "xfa/fde/css/cfde_csscomputedstyle.h",
Dan Sinclair21e954b2017-02-08 10:05:05 -05001180 "xfa/fde/css/cfde_csscustomproperty.cpp",
Dan Sinclair95bec802017-01-19 10:27:58 -05001181 "xfa/fde/css/cfde_csscustomproperty.h",
1182 "xfa/fde/css/cfde_cssdeclaration.cpp",
1183 "xfa/fde/css/cfde_cssdeclaration.h",
Dan Sinclair19c209d2017-01-18 12:47:24 -05001184 "xfa/fde/css/cfde_cssenumvalue.cpp",
1185 "xfa/fde/css/cfde_cssenumvalue.h",
1186 "xfa/fde/css/cfde_cssnumbervalue.cpp",
1187 "xfa/fde/css/cfde_cssnumbervalue.h",
Dan Sinclair95bec802017-01-19 10:27:58 -05001188 "xfa/fde/css/cfde_csspropertyholder.cpp",
1189 "xfa/fde/css/cfde_csspropertyholder.h",
npm69f160d2016-07-20 10:48:27 -07001190 "xfa/fde/css/cfde_cssrulecollection.cpp",
Dan Sinclair95bec802017-01-19 10:27:58 -05001191 "xfa/fde/css/cfde_cssrulecollection.h",
1192 "xfa/fde/css/cfde_cssselector.cpp",
1193 "xfa/fde/css/cfde_cssselector.h",
Dan Sinclair19c209d2017-01-18 12:47:24 -05001194 "xfa/fde/css/cfde_cssstringvalue.cpp",
1195 "xfa/fde/css/cfde_cssstringvalue.h",
Dan Sinclair95bec802017-01-19 10:27:58 -05001196 "xfa/fde/css/cfde_cssstylerule.cpp",
1197 "xfa/fde/css/cfde_cssstylerule.h",
1198 "xfa/fde/css/cfde_cssstyleselector.cpp",
1199 "xfa/fde/css/cfde_cssstyleselector.h",
1200 "xfa/fde/css/cfde_cssstylesheet.cpp",
1201 "xfa/fde/css/cfde_cssstylesheet.h",
1202 "xfa/fde/css/cfde_csssyntaxparser.cpp",
1203 "xfa/fde/css/cfde_csssyntaxparser.h",
Dan Sinclair95bec802017-01-19 10:27:58 -05001204 "xfa/fde/css/cfde_csstextbuf.cpp",
1205 "xfa/fde/css/cfde_csstextbuf.h",
Dan Sinclair6efd0d72017-01-16 16:05:17 -05001206 "xfa/fde/css/cfde_cssvalue.cpp",
1207 "xfa/fde/css/cfde_cssvalue.h",
Dan Sinclair19c209d2017-01-18 12:47:24 -05001208 "xfa/fde/css/cfde_cssvaluelist.cpp",
1209 "xfa/fde/css/cfde_cssvaluelist.h",
1210 "xfa/fde/css/cfde_cssvaluelistparser.cpp",
1211 "xfa/fde/css/cfde_cssvaluelistparser.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001212 "xfa/fde/css/fde_css.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001213 "xfa/fde/css/fde_cssdatatable.cpp",
1214 "xfa/fde/css/fde_cssdatatable.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001215 "xfa/fde/fde_gedevice.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001216 "xfa/fde/fde_iterator.cpp",
1217 "xfa/fde/fde_iterator.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001218 "xfa/fde/fde_object.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001219 "xfa/fde/fde_render.cpp",
1220 "xfa/fde/fde_render.h",
dsinclair65395182016-05-18 11:09:47 -07001221 "xfa/fde/ifde_txtedtdorecord.h",
1222 "xfa/fde/ifde_txtedtengine.h",
1223 "xfa/fde/ifde_txtedtpage.h",
1224 "xfa/fde/ifx_chariter.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001225 "xfa/fde/tto/fde_textout.cpp",
1226 "xfa/fde/tto/fde_textout.h",
dsinclair6c93df82016-05-19 18:13:53 -07001227 "xfa/fde/xml/cfx_saxreader.cpp",
1228 "xfa/fde/xml/cfx_saxreader.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001229 "xfa/fde/xml/fde_xml.h",
1230 "xfa/fde/xml/fde_xml_imp.cpp",
1231 "xfa/fde/xml/fde_xml_imp.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001232 "xfa/fgas/crt/fgas_codepage.cpp",
1233 "xfa/fgas/crt/fgas_codepage.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001234 "xfa/fgas/crt/fgas_language.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001235 "xfa/fgas/crt/fgas_stream.cpp",
1236 "xfa/fgas/crt/fgas_stream.h",
npm8f3eb602016-11-11 17:16:23 -08001237 "xfa/fgas/font/cfgas_fontmgr.cpp",
1238 "xfa/fgas/font/cfgas_fontmgr.h",
npm4b91a2d2016-11-21 15:19:44 -08001239 "xfa/fgas/font/cfgas_gefont.cpp",
1240 "xfa/fgas/font/cfgas_gefont.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001241 "xfa/fgas/font/fgas_fontutils.cpp",
1242 "xfa/fgas/font/fgas_fontutils.h",
Dan Sinclaire533b932017-03-16 11:47:20 -04001243 "xfa/fgas/layout/cfx_break.cpp",
1244 "xfa/fgas/layout/cfx_break.h",
Dan Sinclair893822a2017-03-13 15:32:07 -04001245 "xfa/fgas/layout/cfx_breakline.cpp",
1246 "xfa/fgas/layout/cfx_breakline.h",
1247 "xfa/fgas/layout/cfx_breakpiece.cpp",
1248 "xfa/fgas/layout/cfx_breakpiece.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001249 "xfa/fgas/layout/fgas_linebreak.cpp",
1250 "xfa/fgas/layout/fgas_linebreak.h",
1251 "xfa/fgas/layout/fgas_rtfbreak.cpp",
1252 "xfa/fgas/layout/fgas_rtfbreak.h",
1253 "xfa/fgas/layout/fgas_textbreak.cpp",
1254 "xfa/fgas/layout/fgas_textbreak.h",
Dan Sinclair939121f2017-03-16 16:55:43 -04001255 "xfa/fgas/localization/cfx_decimal.cpp",
1256 "xfa/fgas/localization/cfx_formatstring.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001257 "xfa/fgas/localization/fgas_datetime.cpp",
1258 "xfa/fgas/localization/fgas_datetime.h",
1259 "xfa/fgas/localization/fgas_locale.cpp",
1260 "xfa/fgas/localization/fgas_locale.h",
dsinclair447b1f32016-12-08 10:06:32 -08001261 "xfa/fwl/cfwl_app.cpp",
1262 "xfa/fwl/cfwl_app.h",
1263 "xfa/fwl/cfwl_barcode.cpp",
1264 "xfa/fwl/cfwl_barcode.h",
1265 "xfa/fwl/cfwl_caret.cpp",
1266 "xfa/fwl/cfwl_caret.h",
1267 "xfa/fwl/cfwl_checkbox.cpp",
1268 "xfa/fwl/cfwl_checkbox.h",
1269 "xfa/fwl/cfwl_combobox.cpp",
1270 "xfa/fwl/cfwl_combobox.h",
1271 "xfa/fwl/cfwl_comboboxproxy.cpp",
1272 "xfa/fwl/cfwl_comboboxproxy.h",
1273 "xfa/fwl/cfwl_comboedit.cpp",
1274 "xfa/fwl/cfwl_comboedit.h",
1275 "xfa/fwl/cfwl_combolist.cpp",
1276 "xfa/fwl/cfwl_combolist.h",
1277 "xfa/fwl/cfwl_datetimeedit.cpp",
1278 "xfa/fwl/cfwl_datetimeedit.h",
1279 "xfa/fwl/cfwl_datetimepicker.cpp",
1280 "xfa/fwl/cfwl_datetimepicker.h",
1281 "xfa/fwl/cfwl_edit.cpp",
1282 "xfa/fwl/cfwl_edit.h",
1283 "xfa/fwl/cfwl_event.cpp",
1284 "xfa/fwl/cfwl_event.h",
1285 "xfa/fwl/cfwl_eventcheckword.cpp",
1286 "xfa/fwl/cfwl_eventcheckword.h",
1287 "xfa/fwl/cfwl_eventmouse.cpp",
1288 "xfa/fwl/cfwl_eventmouse.h",
1289 "xfa/fwl/cfwl_eventscroll.cpp",
1290 "xfa/fwl/cfwl_eventscroll.h",
1291 "xfa/fwl/cfwl_eventselectchanged.cpp",
1292 "xfa/fwl/cfwl_eventselectchanged.h",
1293 "xfa/fwl/cfwl_eventtarget.cpp",
1294 "xfa/fwl/cfwl_eventtarget.h",
1295 "xfa/fwl/cfwl_eventtextchanged.cpp",
1296 "xfa/fwl/cfwl_eventtextchanged.h",
1297 "xfa/fwl/cfwl_eventvalidate.cpp",
1298 "xfa/fwl/cfwl_eventvalidate.h",
1299 "xfa/fwl/cfwl_form.cpp",
1300 "xfa/fwl/cfwl_form.h",
1301 "xfa/fwl/cfwl_formproxy.cpp",
1302 "xfa/fwl/cfwl_formproxy.h",
1303 "xfa/fwl/cfwl_listbox.cpp",
1304 "xfa/fwl/cfwl_listbox.h",
1305 "xfa/fwl/cfwl_listitem.cpp",
1306 "xfa/fwl/cfwl_listitem.h",
1307 "xfa/fwl/cfwl_message.cpp",
1308 "xfa/fwl/cfwl_message.h",
1309 "xfa/fwl/cfwl_messagekey.cpp",
1310 "xfa/fwl/cfwl_messagekey.h",
1311 "xfa/fwl/cfwl_messagekillfocus.cpp",
1312 "xfa/fwl/cfwl_messagekillfocus.h",
1313 "xfa/fwl/cfwl_messagemouse.cpp",
1314 "xfa/fwl/cfwl_messagemouse.h",
1315 "xfa/fwl/cfwl_messagemousewheel.cpp",
1316 "xfa/fwl/cfwl_messagemousewheel.h",
1317 "xfa/fwl/cfwl_messagesetfocus.cpp",
1318 "xfa/fwl/cfwl_messagesetfocus.h",
1319 "xfa/fwl/cfwl_monthcalendar.cpp",
1320 "xfa/fwl/cfwl_monthcalendar.h",
1321 "xfa/fwl/cfwl_notedriver.cpp",
1322 "xfa/fwl/cfwl_notedriver.h",
1323 "xfa/fwl/cfwl_noteloop.cpp",
1324 "xfa/fwl/cfwl_noteloop.h",
1325 "xfa/fwl/cfwl_picturebox.cpp",
1326 "xfa/fwl/cfwl_picturebox.h",
1327 "xfa/fwl/cfwl_pushbutton.cpp",
1328 "xfa/fwl/cfwl_pushbutton.h",
1329 "xfa/fwl/cfwl_scrollbar.cpp",
1330 "xfa/fwl/cfwl_scrollbar.h",
1331 "xfa/fwl/cfwl_spinbutton.cpp",
1332 "xfa/fwl/cfwl_spinbutton.h",
dsinclair447b1f32016-12-08 10:06:32 -08001333 "xfa/fwl/cfwl_themebackground.h",
1334 "xfa/fwl/cfwl_themepart.cpp",
1335 "xfa/fwl/cfwl_themepart.h",
1336 "xfa/fwl/cfwl_themetext.h",
1337 "xfa/fwl/cfwl_timer.cpp",
1338 "xfa/fwl/cfwl_timer.h",
1339 "xfa/fwl/cfwl_timerinfo.cpp",
1340 "xfa/fwl/cfwl_timerinfo.h",
1341 "xfa/fwl/cfwl_widget.cpp",
1342 "xfa/fwl/cfwl_widget.h",
1343 "xfa/fwl/cfwl_widgetmgr.cpp",
1344 "xfa/fwl/cfwl_widgetmgr.h",
1345 "xfa/fwl/cfwl_widgetproperties.cpp",
1346 "xfa/fwl/cfwl_widgetproperties.h",
1347 "xfa/fwl/cfx_barcode.cpp",
1348 "xfa/fwl/cfx_barcode.h",
dsinclair447b1f32016-12-08 10:06:32 -08001349 "xfa/fwl/fwl_widgetdef.h",
1350 "xfa/fwl/fwl_widgethit.h",
1351 "xfa/fwl/ifwl_adaptertimermgr.h",
1352 "xfa/fwl/ifwl_themeprovider.h",
1353 "xfa/fwl/ifwl_widgetdelegate.h",
1354 "xfa/fwl/ifwl_widgetmgrdelegate.h",
dsinclair7f432a12016-03-29 12:38:01 -07001355 "xfa/fwl/theme/cfwl_barcodetp.cpp",
1356 "xfa/fwl/theme/cfwl_barcodetp.h",
1357 "xfa/fwl/theme/cfwl_carettp.cpp",
1358 "xfa/fwl/theme/cfwl_carettp.h",
1359 "xfa/fwl/theme/cfwl_checkboxtp.cpp",
1360 "xfa/fwl/theme/cfwl_checkboxtp.h",
1361 "xfa/fwl/theme/cfwl_comboboxtp.cpp",
1362 "xfa/fwl/theme/cfwl_comboboxtp.h",
weilibeecc342016-08-04 11:57:22 -07001363 "xfa/fwl/theme/cfwl_datetimepickertp.cpp",
dsinclair7f432a12016-03-29 12:38:01 -07001364 "xfa/fwl/theme/cfwl_datetimepickertp.h",
1365 "xfa/fwl/theme/cfwl_edittp.cpp",
1366 "xfa/fwl/theme/cfwl_edittp.h",
dsinclair7f432a12016-03-29 12:38:01 -07001367 "xfa/fwl/theme/cfwl_listboxtp.cpp",
1368 "xfa/fwl/theme/cfwl_listboxtp.h",
1369 "xfa/fwl/theme/cfwl_monthcalendartp.cpp",
1370 "xfa/fwl/theme/cfwl_monthcalendartp.h",
1371 "xfa/fwl/theme/cfwl_pictureboxtp.cpp",
1372 "xfa/fwl/theme/cfwl_pictureboxtp.h",
1373 "xfa/fwl/theme/cfwl_pushbuttontp.cpp",
1374 "xfa/fwl/theme/cfwl_pushbuttontp.h",
1375 "xfa/fwl/theme/cfwl_scrollbartp.cpp",
1376 "xfa/fwl/theme/cfwl_scrollbartp.h",
1377 "xfa/fwl/theme/cfwl_utils.h",
1378 "xfa/fwl/theme/cfwl_widgettp.cpp",
1379 "xfa/fwl/theme/cfwl_widgettp.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001380 "xfa/fxbarcode/BC_Dimension.cpp",
1381 "xfa/fxbarcode/BC_Dimension.h",
1382 "xfa/fxbarcode/BC_Library.cpp",
dsinclair202ad722016-09-29 17:41:42 -07001383 "xfa/fxbarcode/BC_Library.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001384 "xfa/fxbarcode/BC_TwoDimWriter.cpp",
1385 "xfa/fxbarcode/BC_TwoDimWriter.h",
1386 "xfa/fxbarcode/BC_UtilCodingConvert.cpp",
1387 "xfa/fxbarcode/BC_UtilCodingConvert.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001388 "xfa/fxbarcode/BC_Utils.cpp",
1389 "xfa/fxbarcode/BC_Writer.cpp",
1390 "xfa/fxbarcode/BC_Writer.h",
Dan Sinclaira8a28e02016-03-23 15:41:39 -04001391 "xfa/fxbarcode/cbc_codabar.cpp",
1392 "xfa/fxbarcode/cbc_codabar.h",
1393 "xfa/fxbarcode/cbc_code128.cpp",
1394 "xfa/fxbarcode/cbc_code128.h",
1395 "xfa/fxbarcode/cbc_code39.cpp",
1396 "xfa/fxbarcode/cbc_code39.h",
1397 "xfa/fxbarcode/cbc_codebase.cpp",
1398 "xfa/fxbarcode/cbc_codebase.h",
1399 "xfa/fxbarcode/cbc_datamatrix.cpp",
1400 "xfa/fxbarcode/cbc_datamatrix.h",
1401 "xfa/fxbarcode/cbc_ean13.cpp",
1402 "xfa/fxbarcode/cbc_ean13.h",
1403 "xfa/fxbarcode/cbc_ean8.cpp",
1404 "xfa/fxbarcode/cbc_ean8.h",
1405 "xfa/fxbarcode/cbc_onecode.cpp",
1406 "xfa/fxbarcode/cbc_onecode.h",
1407 "xfa/fxbarcode/cbc_pdf417i.cpp",
1408 "xfa/fxbarcode/cbc_pdf417i.h",
1409 "xfa/fxbarcode/cbc_qrcode.cpp",
1410 "xfa/fxbarcode/cbc_qrcode.h",
1411 "xfa/fxbarcode/cbc_upca.cpp",
1412 "xfa/fxbarcode/cbc_upca.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001413 "xfa/fxbarcode/common/BC_CommonBitArray.cpp",
1414 "xfa/fxbarcode/common/BC_CommonBitArray.h",
1415 "xfa/fxbarcode/common/BC_CommonBitMatrix.cpp",
1416 "xfa/fxbarcode/common/BC_CommonBitMatrix.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001417 "xfa/fxbarcode/common/BC_CommonByteArray.cpp",
1418 "xfa/fxbarcode/common/BC_CommonByteArray.h",
1419 "xfa/fxbarcode/common/BC_CommonByteMatrix.cpp",
1420 "xfa/fxbarcode/common/BC_CommonByteMatrix.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001421 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomon.cpp",
1422 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomon.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001423 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.cpp",
1424 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h",
1425 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp",
1426 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h",
1427 "xfa/fxbarcode/datamatrix/BC_ASCIIEncoder.cpp",
1428 "xfa/fxbarcode/datamatrix/BC_ASCIIEncoder.h",
1429 "xfa/fxbarcode/datamatrix/BC_Base256Encoder.cpp",
1430 "xfa/fxbarcode/datamatrix/BC_Base256Encoder.h",
1431 "xfa/fxbarcode/datamatrix/BC_C40Encoder.cpp",
1432 "xfa/fxbarcode/datamatrix/BC_C40Encoder.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001433 "xfa/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.cpp",
1434 "xfa/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001435 "xfa/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp",
1436 "xfa/fxbarcode/datamatrix/BC_DataMatrixWriter.h",
1437 "xfa/fxbarcode/datamatrix/BC_DefaultPlacement.cpp",
1438 "xfa/fxbarcode/datamatrix/BC_DefaultPlacement.h",
1439 "xfa/fxbarcode/datamatrix/BC_EdifactEncoder.cpp",
1440 "xfa/fxbarcode/datamatrix/BC_EdifactEncoder.h",
1441 "xfa/fxbarcode/datamatrix/BC_Encoder.cpp",
1442 "xfa/fxbarcode/datamatrix/BC_Encoder.h",
1443 "xfa/fxbarcode/datamatrix/BC_EncoderContext.cpp",
1444 "xfa/fxbarcode/datamatrix/BC_EncoderContext.h",
1445 "xfa/fxbarcode/datamatrix/BC_ErrorCorrection.cpp",
1446 "xfa/fxbarcode/datamatrix/BC_ErrorCorrection.h",
1447 "xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp",
1448 "xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.h",
1449 "xfa/fxbarcode/datamatrix/BC_SymbolInfo.cpp",
1450 "xfa/fxbarcode/datamatrix/BC_SymbolInfo.h",
1451 "xfa/fxbarcode/datamatrix/BC_SymbolShapeHint.cpp",
1452 "xfa/fxbarcode/datamatrix/BC_SymbolShapeHint.h",
1453 "xfa/fxbarcode/datamatrix/BC_TextEncoder.cpp",
1454 "xfa/fxbarcode/datamatrix/BC_TextEncoder.h",
1455 "xfa/fxbarcode/datamatrix/BC_X12Encoder.cpp",
1456 "xfa/fxbarcode/datamatrix/BC_X12Encoder.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001457 "xfa/fxbarcode/oned/BC_OneDimWriter.cpp",
1458 "xfa/fxbarcode/oned/BC_OneDimWriter.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001459 "xfa/fxbarcode/oned/BC_OnedCodaBarWriter.cpp",
1460 "xfa/fxbarcode/oned/BC_OnedCodaBarWriter.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001461 "xfa/fxbarcode/oned/BC_OnedCode128Writer.cpp",
1462 "xfa/fxbarcode/oned/BC_OnedCode128Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001463 "xfa/fxbarcode/oned/BC_OnedCode39Writer.cpp",
1464 "xfa/fxbarcode/oned/BC_OnedCode39Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001465 "xfa/fxbarcode/oned/BC_OnedEAN13Writer.cpp",
1466 "xfa/fxbarcode/oned/BC_OnedEAN13Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001467 "xfa/fxbarcode/oned/BC_OnedEAN8Writer.cpp",
1468 "xfa/fxbarcode/oned/BC_OnedEAN8Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001469 "xfa/fxbarcode/oned/BC_OnedUPCAWriter.cpp",
1470 "xfa/fxbarcode/oned/BC_OnedUPCAWriter.h",
1471 "xfa/fxbarcode/pdf417/BC_PDF417.cpp",
1472 "xfa/fxbarcode/pdf417/BC_PDF417.h",
1473 "xfa/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp",
1474 "xfa/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001475 "xfa/fxbarcode/pdf417/BC_PDF417BarcodeRow.cpp",
1476 "xfa/fxbarcode/pdf417/BC_PDF417BarcodeRow.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001477 "xfa/fxbarcode/pdf417/BC_PDF417Compaction.cpp",
1478 "xfa/fxbarcode/pdf417/BC_PDF417Compaction.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001479 "xfa/fxbarcode/pdf417/BC_PDF417ErrorCorrection.cpp",
1480 "xfa/fxbarcode/pdf417/BC_PDF417ErrorCorrection.h",
1481 "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.cpp",
1482 "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001483 "xfa/fxbarcode/pdf417/BC_PDF417Writer.cpp",
1484 "xfa/fxbarcode/pdf417/BC_PDF417Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001485 "xfa/fxbarcode/qrcode/BC_QRCodeWriter.cpp",
1486 "xfa/fxbarcode/qrcode/BC_QRCodeWriter.h",
1487 "xfa/fxbarcode/qrcode/BC_QRCoder.cpp",
1488 "xfa/fxbarcode/qrcode/BC_QRCoder.h",
1489 "xfa/fxbarcode/qrcode/BC_QRCoderBitVector.cpp",
1490 "xfa/fxbarcode/qrcode/BC_QRCoderBitVector.h",
1491 "xfa/fxbarcode/qrcode/BC_QRCoderBlockPair.cpp",
1492 "xfa/fxbarcode/qrcode/BC_QRCoderBlockPair.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001493 "xfa/fxbarcode/qrcode/BC_QRCoderECB.cpp",
1494 "xfa/fxbarcode/qrcode/BC_QRCoderECB.h",
1495 "xfa/fxbarcode/qrcode/BC_QRCoderECBlocks.cpp",
1496 "xfa/fxbarcode/qrcode/BC_QRCoderECBlocks.h",
1497 "xfa/fxbarcode/qrcode/BC_QRCoderEncoder.cpp",
1498 "xfa/fxbarcode/qrcode/BC_QRCoderEncoder.h",
1499 "xfa/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.cpp",
1500 "xfa/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001501 "xfa/fxbarcode/qrcode/BC_QRCoderMaskUtil.cpp",
1502 "xfa/fxbarcode/qrcode/BC_QRCoderMaskUtil.h",
1503 "xfa/fxbarcode/qrcode/BC_QRCoderMatrixUtil.cpp",
1504 "xfa/fxbarcode/qrcode/BC_QRCoderMatrixUtil.h",
1505 "xfa/fxbarcode/qrcode/BC_QRCoderMode.cpp",
1506 "xfa/fxbarcode/qrcode/BC_QRCoderMode.h",
1507 "xfa/fxbarcode/qrcode/BC_QRCoderVersion.cpp",
1508 "xfa/fxbarcode/qrcode/BC_QRCoderVersion.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001509 "xfa/fxbarcode/utils.h",
Dan Sinclair1f5d4982017-01-10 16:37:32 -05001510 "xfa/fxfa/app/cxfa_csstagprovider.cpp",
1511 "xfa/fxfa/app/cxfa_csstagprovider.h",
Dan Sinclair1f5d4982017-01-10 16:37:32 -05001512 "xfa/fxfa/app/cxfa_linkuserdata.cpp",
1513 "xfa/fxfa/app/cxfa_linkuserdata.h",
1514 "xfa/fxfa/app/cxfa_loadercontext.cpp",
1515 "xfa/fxfa/app/cxfa_loadercontext.h",
1516 "xfa/fxfa/app/cxfa_pieceline.cpp",
1517 "xfa/fxfa/app/cxfa_pieceline.h",
1518 "xfa/fxfa/app/cxfa_textlayout.cpp",
1519 "xfa/fxfa/app/cxfa_textlayout.h",
1520 "xfa/fxfa/app/cxfa_textparsecontext.cpp",
1521 "xfa/fxfa/app/cxfa_textparsecontext.h",
1522 "xfa/fxfa/app/cxfa_textparser.cpp",
1523 "xfa/fxfa/app/cxfa_textparser.h",
1524 "xfa/fxfa/app/cxfa_texttabstopscontext.cpp",
1525 "xfa/fxfa/app/cxfa_texttabstopscontext.h",
1526 "xfa/fxfa/app/cxfa_textuserdata.cpp",
1527 "xfa/fxfa/app/cxfa_textuserdata.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001528 "xfa/fxfa/app/xfa_ffbarcode.cpp",
1529 "xfa/fxfa/app/xfa_ffbarcode.h",
1530 "xfa/fxfa/app/xfa_ffcheckbutton.cpp",
1531 "xfa/fxfa/app/xfa_ffcheckbutton.h",
1532 "xfa/fxfa/app/xfa_ffchoicelist.cpp",
1533 "xfa/fxfa/app/xfa_ffchoicelist.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001534 "xfa/fxfa/app/xfa_ffdraw.cpp",
1535 "xfa/fxfa/app/xfa_ffdraw.h",
1536 "xfa/fxfa/app/xfa_ffexclgroup.cpp",
1537 "xfa/fxfa/app/xfa_ffexclgroup.h",
1538 "xfa/fxfa/app/xfa_fffield.cpp",
1539 "xfa/fxfa/app/xfa_fffield.h",
1540 "xfa/fxfa/app/xfa_ffimage.cpp",
1541 "xfa/fxfa/app/xfa_ffimage.h",
1542 "xfa/fxfa/app/xfa_ffimageedit.cpp",
1543 "xfa/fxfa/app/xfa_ffimageedit.h",
1544 "xfa/fxfa/app/xfa_ffnotify.cpp",
1545 "xfa/fxfa/app/xfa_ffnotify.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001546 "xfa/fxfa/app/xfa_ffpath.cpp",
1547 "xfa/fxfa/app/xfa_ffpath.h",
1548 "xfa/fxfa/app/xfa_ffpushbutton.cpp",
1549 "xfa/fxfa/app/xfa_ffpushbutton.h",
1550 "xfa/fxfa/app/xfa_ffsignature.cpp",
1551 "xfa/fxfa/app/xfa_ffsignature.h",
1552 "xfa/fxfa/app/xfa_ffsubform.cpp",
1553 "xfa/fxfa/app/xfa_ffsubform.h",
1554 "xfa/fxfa/app/xfa_fftext.cpp",
1555 "xfa/fxfa/app/xfa_fftext.h",
1556 "xfa/fxfa/app/xfa_fftextedit.cpp",
1557 "xfa/fxfa/app/xfa_fftextedit.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001558 "xfa/fxfa/app/xfa_ffwidgetacc.cpp",
1559 "xfa/fxfa/app/xfa_ffwidgetacc.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001560 "xfa/fxfa/app/xfa_fwladapter.cpp",
1561 "xfa/fxfa/app/xfa_fwladapter.h",
1562 "xfa/fxfa/app/xfa_fwltheme.cpp",
1563 "xfa/fxfa/app/xfa_fwltheme.h",
Dan Sinclair1f5d4982017-01-10 16:37:32 -05001564 "xfa/fxfa/app/xfa_textpiece.cpp",
1565 "xfa/fxfa/app/xfa_textpiece.h",
Dan Sinclair80c48782017-03-23 12:11:20 -04001566 "xfa/fxfa/cxfa_checksumcontext.cpp",
1567 "xfa/fxfa/cxfa_checksumcontext.h",
1568 "xfa/fxfa/cxfa_deffontmgr.cpp",
1569 "xfa/fxfa/cxfa_deffontmgr.h",
1570 "xfa/fxfa/cxfa_eventparam.cpp",
dsinclair5b493092016-09-29 20:20:24 -07001571 "xfa/fxfa/cxfa_eventparam.h",
Dan Sinclair80c48782017-03-23 12:11:20 -04001572 "xfa/fxfa/cxfa_ffapp.cpp",
1573 "xfa/fxfa/cxfa_ffapp.h",
1574 "xfa/fxfa/cxfa_ffdoc.cpp",
1575 "xfa/fxfa/cxfa_ffdoc.h",
1576 "xfa/fxfa/cxfa_ffdochandler.cpp",
1577 "xfa/fxfa/cxfa_ffdochandler.h",
1578 "xfa/fxfa/cxfa_ffdocview.cpp",
1579 "xfa/fxfa/cxfa_ffdocview.h",
1580 "xfa/fxfa/cxfa_ffpageview.cpp",
1581 "xfa/fxfa/cxfa_ffpageview.h",
1582 "xfa/fxfa/cxfa_ffwidget.cpp",
1583 "xfa/fxfa/cxfa_ffwidget.h",
1584 "xfa/fxfa/cxfa_ffwidgethandler.cpp",
1585 "xfa/fxfa/cxfa_ffwidgethandler.h",
1586 "xfa/fxfa/cxfa_fontmgr.cpp",
1587 "xfa/fxfa/cxfa_fontmgr.h",
1588 "xfa/fxfa/cxfa_pdffontmgr.cpp",
1589 "xfa/fxfa/cxfa_pdffontmgr.h",
1590 "xfa/fxfa/cxfa_rendercontext.cpp",
1591 "xfa/fxfa/cxfa_rendercontext.h",
1592 "xfa/fxfa/cxfa_saxcontext.h",
1593 "xfa/fxfa/cxfa_saxreaderhandler.cpp",
1594 "xfa/fxfa/cxfa_saxreaderhandler.h",
1595 "xfa/fxfa/cxfa_widgetacc.cpp",
1596 "xfa/fxfa/cxfa_widgetacc.h",
1597 "xfa/fxfa/cxfa_widgetacciterator.cpp",
1598 "xfa/fxfa/cxfa_widgetacciterator.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001599 "xfa/fxfa/fm2js/xfa_error.cpp",
1600 "xfa/fxfa/fm2js/xfa_error.h",
1601 "xfa/fxfa/fm2js/xfa_expression.cpp",
1602 "xfa/fxfa/fm2js/xfa_expression.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001603 "xfa/fxfa/fm2js/xfa_fm2jscontext.cpp",
1604 "xfa/fxfa/fm2js/xfa_fm2jscontext.h",
1605 "xfa/fxfa/fm2js/xfa_fmparse.cpp",
1606 "xfa/fxfa/fm2js/xfa_fmparse.h",
1607 "xfa/fxfa/fm2js/xfa_lexer.cpp",
1608 "xfa/fxfa/fm2js/xfa_lexer.h",
1609 "xfa/fxfa/fm2js/xfa_program.cpp",
1610 "xfa/fxfa/fm2js/xfa_program.h",
1611 "xfa/fxfa/fm2js/xfa_simpleexpression.cpp",
1612 "xfa/fxfa/fm2js/xfa_simpleexpression.h",
dsinclair5b493092016-09-29 20:20:24 -07001613 "xfa/fxfa/fxfa.h",
1614 "xfa/fxfa/fxfa_basic.h",
dsinclairc1515ef2016-07-20 06:16:06 -07001615 "xfa/fxfa/parser/cscript_datawindow.cpp",
1616 "xfa/fxfa/parser/cscript_datawindow.h",
1617 "xfa/fxfa/parser/cscript_eventpseudomodel.cpp",
1618 "xfa/fxfa/parser/cscript_eventpseudomodel.h",
1619 "xfa/fxfa/parser/cscript_hostpseudomodel.cpp",
1620 "xfa/fxfa/parser/cscript_hostpseudomodel.h",
1621 "xfa/fxfa/parser/cscript_layoutpseudomodel.cpp",
1622 "xfa/fxfa/parser/cscript_layoutpseudomodel.h",
1623 "xfa/fxfa/parser/cscript_logpseudomodel.cpp",
1624 "xfa/fxfa/parser/cscript_logpseudomodel.h",
1625 "xfa/fxfa/parser/cscript_signaturepseudomodel.cpp",
1626 "xfa/fxfa/parser/cscript_signaturepseudomodel.h",
dsinclair44d054c2016-04-06 10:23:46 -07001627 "xfa/fxfa/parser/cxfa_arc.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001628 "xfa/fxfa/parser/cxfa_arraynodelist.cpp",
dsinclair44d054c2016-04-06 10:23:46 -07001629 "xfa/fxfa/parser/cxfa_assist.cpp",
1630 "xfa/fxfa/parser/cxfa_assist.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001631 "xfa/fxfa/parser/cxfa_attachnodelist.cpp",
dsinclair44d054c2016-04-06 10:23:46 -07001632 "xfa/fxfa/parser/cxfa_bind.cpp",
1633 "xfa/fxfa/parser/cxfa_bind.h",
1634 "xfa/fxfa/parser/cxfa_binditems.cpp",
1635 "xfa/fxfa/parser/cxfa_binditems.h",
1636 "xfa/fxfa/parser/cxfa_border.h",
1637 "xfa/fxfa/parser/cxfa_box.cpp",
1638 "xfa/fxfa/parser/cxfa_box.h",
1639 "xfa/fxfa/parser/cxfa_calculate.cpp",
1640 "xfa/fxfa/parser/cxfa_calculate.h",
1641 "xfa/fxfa/parser/cxfa_caption.cpp",
1642 "xfa/fxfa/parser/cxfa_caption.h",
dsinclair0b851ff2016-07-21 12:03:01 -07001643 "xfa/fxfa/parser/cxfa_containerlayoutitem.cpp",
1644 "xfa/fxfa/parser/cxfa_containerlayoutitem.h",
1645 "xfa/fxfa/parser/cxfa_contentlayoutitem.cpp",
1646 "xfa/fxfa/parser/cxfa_contentlayoutitem.h",
dsinclair44d054c2016-04-06 10:23:46 -07001647 "xfa/fxfa/parser/cxfa_corner.h",
1648 "xfa/fxfa/parser/cxfa_data.cpp",
1649 "xfa/fxfa/parser/cxfa_data.h",
dsinclair3a7cc732016-07-21 12:04:34 -07001650 "xfa/fxfa/parser/cxfa_dataexporter.cpp",
1651 "xfa/fxfa/parser/cxfa_dataexporter.h",
1652 "xfa/fxfa/parser/cxfa_dataimporter.cpp",
1653 "xfa/fxfa/parser/cxfa_dataimporter.h",
dsinclair16280242016-07-21 12:03:47 -07001654 "xfa/fxfa/parser/cxfa_document.cpp",
1655 "xfa/fxfa/parser/cxfa_document.h",
dsinclair34f86b02016-07-11 08:42:33 -07001656 "xfa/fxfa/parser/cxfa_document_parser.cpp",
1657 "xfa/fxfa/parser/cxfa_document_parser.h",
dsinclair44d054c2016-04-06 10:23:46 -07001658 "xfa/fxfa/parser/cxfa_edge.h",
1659 "xfa/fxfa/parser/cxfa_event.cpp",
1660 "xfa/fxfa/parser/cxfa_event.h",
1661 "xfa/fxfa/parser/cxfa_exdata.cpp",
1662 "xfa/fxfa/parser/cxfa_exdata.h",
1663 "xfa/fxfa/parser/cxfa_fill.cpp",
1664 "xfa/fxfa/parser/cxfa_fill.h",
1665 "xfa/fxfa/parser/cxfa_font.cpp",
1666 "xfa/fxfa/parser/cxfa_font.h",
1667 "xfa/fxfa/parser/cxfa_image.cpp",
1668 "xfa/fxfa/parser/cxfa_image.h",
dsinclair0b851ff2016-07-21 12:03:01 -07001669 "xfa/fxfa/parser/cxfa_layoutitem.cpp",
1670 "xfa/fxfa/parser/cxfa_layoutitem.h",
dsinclair8d0cc672016-08-03 12:58:53 -07001671 "xfa/fxfa/parser/cxfa_layoutpagemgr.cpp",
1672 "xfa/fxfa/parser/cxfa_layoutpagemgr.h",
dsinclair0b851ff2016-07-21 12:03:01 -07001673 "xfa/fxfa/parser/cxfa_layoutprocessor.cpp",
1674 "xfa/fxfa/parser/cxfa_layoutprocessor.h",
dsinclair44d054c2016-04-06 10:23:46 -07001675 "xfa/fxfa/parser/cxfa_line.cpp",
1676 "xfa/fxfa/parser/cxfa_line.h",
1677 "xfa/fxfa/parser/cxfa_margin.cpp",
1678 "xfa/fxfa/parser/cxfa_margin.h",
dsinclair9eb0db12016-07-21 12:01:39 -07001679 "xfa/fxfa/parser/cxfa_measurement.cpp",
1680 "xfa/fxfa/parser/cxfa_measurement.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001681 "xfa/fxfa/parser/cxfa_node.cpp",
dsinclair31f87402016-07-20 06:34:45 -07001682 "xfa/fxfa/parser/cxfa_nodehelper.cpp",
1683 "xfa/fxfa/parser/cxfa_nodehelper.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001684 "xfa/fxfa/parser/cxfa_nodelist.cpp",
1685 "xfa/fxfa/parser/cxfa_object.cpp",
dsinclair44d054c2016-04-06 10:23:46 -07001686 "xfa/fxfa/parser/cxfa_occur.cpp",
1687 "xfa/fxfa/parser/cxfa_occur.h",
1688 "xfa/fxfa/parser/cxfa_para.cpp",
1689 "xfa/fxfa/parser/cxfa_para.h",
1690 "xfa/fxfa/parser/cxfa_rectangle.h",
dsinclair31f87402016-07-20 06:34:45 -07001691 "xfa/fxfa/parser/cxfa_resolveprocessor.cpp",
1692 "xfa/fxfa/parser/cxfa_resolveprocessor.h",
dsinclair44d054c2016-04-06 10:23:46 -07001693 "xfa/fxfa/parser/cxfa_script.cpp",
1694 "xfa/fxfa/parser/cxfa_script.h",
dsinclair31f87402016-07-20 06:34:45 -07001695 "xfa/fxfa/parser/cxfa_scriptcontext.cpp",
1696 "xfa/fxfa/parser/cxfa_scriptcontext.h",
dsinclair34f86b02016-07-11 08:42:33 -07001697 "xfa/fxfa/parser/cxfa_simple_parser.cpp",
1698 "xfa/fxfa/parser/cxfa_simple_parser.h",
dsinclair44d054c2016-04-06 10:23:46 -07001699 "xfa/fxfa/parser/cxfa_stroke.cpp",
1700 "xfa/fxfa/parser/cxfa_stroke.h",
1701 "xfa/fxfa/parser/cxfa_submit.cpp",
1702 "xfa/fxfa/parser/cxfa_submit.h",
1703 "xfa/fxfa/parser/cxfa_text.cpp",
1704 "xfa/fxfa/parser/cxfa_text.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001705 "xfa/fxfa/parser/cxfa_thisproxy.cpp",
dsinclair44d054c2016-04-06 10:23:46 -07001706 "xfa/fxfa/parser/cxfa_tooltip.cpp",
1707 "xfa/fxfa/parser/cxfa_tooltip.h",
dsinclair6ea5ba02016-08-03 10:20:32 -07001708 "xfa/fxfa/parser/cxfa_traversestrategy_contentareacontainerlayoutitem.h",
1709 "xfa/fxfa/parser/cxfa_traversestrategy_contentlayoutitem.h",
dsinclair0b851ff2016-07-21 12:03:01 -07001710 "xfa/fxfa/parser/cxfa_traversestrategy_layoutitem.h",
dsinclair44d054c2016-04-06 10:23:46 -07001711 "xfa/fxfa/parser/cxfa_validate.cpp",
1712 "xfa/fxfa/parser/cxfa_validate.h",
1713 "xfa/fxfa/parser/cxfa_value.cpp",
1714 "xfa/fxfa/parser/cxfa_value.h",
dsinclair8f3074b2016-06-02 17:45:25 -07001715 "xfa/fxfa/parser/cxfa_valuearray.cpp",
1716 "xfa/fxfa/parser/cxfa_valuearray.h",
dsinclair9eb0db12016-07-21 12:01:39 -07001717 "xfa/fxfa/parser/cxfa_widetextread.cpp",
1718 "xfa/fxfa/parser/cxfa_widetextread.h",
dsinclair44d054c2016-04-06 10:23:46 -07001719 "xfa/fxfa/parser/cxfa_widgetdata.cpp",
1720 "xfa/fxfa/parser/cxfa_widgetdata.h",
dsinclair34f86b02016-07-11 08:42:33 -07001721 "xfa/fxfa/parser/cxfa_xml_parser.cpp",
1722 "xfa/fxfa/parser/cxfa_xml_parser.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001723 "xfa/fxfa/parser/xfa_basic_data.cpp",
dsinclairf1494f02016-07-07 12:56:17 -07001724 "xfa/fxfa/parser/xfa_basic_data.h",
dsinclair8bdbc882016-07-07 07:55:39 -07001725 "xfa/fxfa/parser/xfa_basic_data_attributes.cpp",
1726 "xfa/fxfa/parser/xfa_basic_data_element_attributes.cpp",
1727 "xfa/fxfa/parser/xfa_basic_data_element_properties.cpp",
1728 "xfa/fxfa/parser/xfa_basic_data_element_script.cpp",
1729 "xfa/fxfa/parser/xfa_basic_data_enum.cpp",
1730 "xfa/fxfa/parser/xfa_basic_data_packets.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001731 "xfa/fxfa/parser/xfa_document_datamerger_imp.cpp",
1732 "xfa/fxfa/parser/xfa_document_datamerger_imp.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001733 "xfa/fxfa/parser/xfa_layout_itemlayout.cpp",
1734 "xfa/fxfa/parser/xfa_layout_itemlayout.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001735 "xfa/fxfa/parser/xfa_locale.cpp",
1736 "xfa/fxfa/parser/xfa_locale.h",
1737 "xfa/fxfa/parser/xfa_localemgr.cpp",
1738 "xfa/fxfa/parser/xfa_localemgr.h",
1739 "xfa/fxfa/parser/xfa_localevalue.cpp",
1740 "xfa/fxfa/parser/xfa_localevalue.h",
1741 "xfa/fxfa/parser/xfa_object.h",
dsinclair31f87402016-07-20 06:34:45 -07001742 "xfa/fxfa/parser/xfa_resolvenode_rs.h",
dsinclair39fdfc32016-07-21 12:09:45 -07001743 "xfa/fxfa/parser/xfa_utils.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001744 "xfa/fxfa/parser/xfa_utils.h",
Dan Sinclair811b8a42016-03-17 08:59:42 -04001745 "xfa/fxgraphics/cfx_color.cpp",
1746 "xfa/fxgraphics/cfx_color.h",
1747 "xfa/fxgraphics/cfx_graphics.cpp",
dsinclair202ad722016-09-29 17:41:42 -07001748 "xfa/fxgraphics/cfx_graphics.h",
Dan Sinclair811b8a42016-03-17 08:59:42 -04001749 "xfa/fxgraphics/cfx_path.cpp",
1750 "xfa/fxgraphics/cfx_path.h",
Dan Sinclair811b8a42016-03-17 08:59:42 -04001751 "xfa/fxgraphics/cfx_pattern.cpp",
1752 "xfa/fxgraphics/cfx_pattern.h",
1753 "xfa/fxgraphics/cfx_shading.cpp",
1754 "xfa/fxgraphics/cfx_shading.h",
Tom Sepezb36747d2015-12-08 15:49:25 -08001755 ]
dsinclairb3f24672016-07-12 10:42:14 -07001756 include_dirs = [ "." ]
dsinclair8bd9ce02016-06-09 13:24:34 -07001757 deps = [
thestig73c48562016-09-06 14:07:17 -07001758 ":fxcrt",
dsinclair7f9c8602016-07-12 10:41:43 -07001759 ":fxjs",
dsinclair8bd9ce02016-06-09 13:24:34 -07001760 ]
Tom Sepezb36747d2015-12-08 15:49:25 -08001761 configs += [
weili0abe6522016-06-06 14:41:22 -07001762 ":pdfium_core_config",
weilidcc29b12016-05-27 17:58:23 -07001763 ":xfa_warnings",
Tom Sepez452b4f32015-10-13 09:27:27 -07001764 ]
1765 }
Tom Sepezc706fc02014-11-14 13:39:20 -08001766}
Tom Sepez04681f32015-01-09 13:59:19 -08001767
1768test("pdfium_unittests") {
1769 sources = [
tsepezf5cabbf2016-11-21 12:08:22 -08001770 "core/fdrm/crypto/fx_crypt_unittest.cpp",
Nicolas Pena4bd0d992017-02-02 14:32:21 -05001771 "core/fpdfapi/edit/cpdf_pagecontentgenerator_unittest.cpp",
dsinclairbc5e6d22016-10-04 11:08:49 -07001772 "core/fpdfapi/font/fpdf_font_cid_unittest.cpp",
1773 "core/fpdfapi/font/fpdf_font_unittest.cpp",
Nicolas Pena67912952017-03-10 15:15:33 -05001774 "core/fpdfapi/page/cpdf_devicecs_unittest.cpp",
npm014b0122016-11-07 08:42:11 -08001775 "core/fpdfapi/page/cpdf_streamcontentparser_unittest.cpp",
1776 "core/fpdfapi/page/cpdf_streamparser_unittest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07001777 "core/fpdfapi/parser/cpdf_array_unittest.cpp",
npm3cad5962016-10-21 16:02:15 -07001778 "core/fpdfapi/parser/cpdf_document_unittest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07001779 "core/fpdfapi/parser/cpdf_object_unittest.cpp",
1780 "core/fpdfapi/parser/cpdf_parser_unittest.cpp",
1781 "core/fpdfapi/parser/cpdf_simple_parser_unittest.cpp",
1782 "core/fpdfapi/parser/cpdf_syntax_parser_unittest.cpp",
1783 "core/fpdfapi/parser/fpdf_parser_decode_unittest.cpp",
dsinclairc59fa882016-11-08 06:55:40 -08001784 "core/fpdfdoc/cpdf_dest_unittest.cpp",
dsinclair448c4332016-08-02 12:07:35 -07001785 "core/fpdfdoc/cpdf_filespec_unittest.cpp",
thestig695aac52016-08-25 09:13:52 -07001786 "core/fpdfdoc/cpdf_formfield_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001787 "core/fpdftext/fpdf_text_int_unittest.cpp",
rbpotterdb764702017-01-12 10:31:43 -08001788 "core/fxcodec/codec/fx_codec_a85_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001789 "core/fxcodec/codec/fx_codec_jpx_unittest.cpp",
rbpotterdb764702017-01-12 10:31:43 -08001790 "core/fxcodec/codec/fx_codec_rle_unittest.cpp",
Dan Sinclair0eb74762017-03-28 10:19:22 -04001791 "core/fxcodec/jbig2/JBig2_BitStream_unittest.cpp",
tsepeze21501d2016-08-02 13:36:16 -07001792 "core/fxcodec/jbig2/JBig2_Image_unittest.cpp",
tsepez81b22462016-11-23 14:20:19 -08001793 "core/fxcrt/cfx_maybe_owned_unittest.cpp",
tsepez1c620542016-09-12 09:47:52 -07001794 "core/fxcrt/cfx_observable_unittest.cpp",
tsepez602aebc2016-03-29 15:04:21 -07001795 "core/fxcrt/cfx_retain_ptr_unittest.cpp",
tsepez2239cee2016-10-17 11:20:01 -07001796 "core/fxcrt/cfx_shared_copy_on_write_unittest.cpp",
tsepezd9871432016-09-15 14:01:31 -07001797 "core/fxcrt/cfx_string_pool_template_unittest.cpp",
tsepez4ba37c62016-09-28 14:49:01 -07001798 "core/fxcrt/cfx_weak_ptr_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001799 "core/fxcrt/fx_basic_bstring_unittest.cpp",
1800 "core/fxcrt/fx_basic_gcc_unittest.cpp",
1801 "core/fxcrt/fx_basic_memmgr_unittest.cpp",
thestig1b99b2d2016-05-20 11:50:06 -07001802 "core/fxcrt/fx_basic_util_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001803 "core/fxcrt/fx_basic_wstring_unittest.cpp",
1804 "core/fxcrt/fx_bidi_unittest.cpp",
1805 "core/fxcrt/fx_extension_unittest.cpp",
1806 "core/fxcrt/fx_system_unittest.cpp",
weili229d05d2016-08-11 19:43:58 -07001807 "core/fxge/dib/fx_dib_engine_unittest.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001808 "fpdfsdk/fpdfdoc_unittest.cpp",
thestigdc359b02016-08-09 15:46:20 -07001809 "fpdfsdk/fpdfeditimg_unittest.cpp",
tsepez02759102016-12-01 08:29:25 -08001810 "fpdfsdk/fpdfview_unittest.cpp",
Tom Sepez04681f32015-01-09 13:59:19 -08001811 ]
1812 deps = [
Tom Sepezd831dc72015-10-19 16:04:22 -07001813 ":pdfium",
1814 ":test_support",
Dan Sinclairfffc9632016-03-08 08:57:05 -05001815 "//testing/gtest",
1816 "//testing/gtest:gtest_main",
Tom Sepez04681f32015-01-09 13:59:19 -08001817 ]
Dan Sinclair30410ce2016-03-16 10:20:24 -04001818 include_dirs = []
Tom Sepezd2e023b2015-12-08 14:36:16 -08001819 if (pdf_enable_xfa) {
1820 sources += [
dsinclair5e9066c2017-01-09 13:43:07 -08001821 "xfa/fde/cfde_txtedtbuf_unittest.cpp",
Dan Sinclair95bec802017-01-19 10:27:58 -05001822 "xfa/fde/css/cfde_cssdeclaration_unittest.cpp",
Dan Sinclair3285c562017-01-17 16:35:16 -05001823 "xfa/fde/css/cfde_cssstylesheet_unittest.cpp",
Dan Sinclair36c18c82017-02-07 11:47:24 -05001824 "xfa/fde/css/cfde_cssvaluelistparser_unittest.cpp",
dsinclair11ac93c2016-03-31 09:45:20 -07001825 "xfa/fde/xml/fde_xml_imp_unittest.cpp",
Dan Sinclair19fad572017-03-06 11:34:03 -05001826 "xfa/fgas/layout/fgas_rtfbreak_unittest.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001827 "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp",
Dan Sinclair1f5d4982017-01-10 16:37:32 -05001828 "xfa/fxfa/app/cxfa_textparser_unittest.cpp",
Dan Sinclair80c48782017-03-23 12:11:20 -04001829 "xfa/fxfa/cxfa_ffapp_unitest.cpp",
dsinclaire85f9712016-08-03 10:08:13 -07001830 "xfa/fxfa/fm2js/xfa_simpleexpression_unittest.cpp",
dsinclair39fdfc32016-07-21 12:09:45 -07001831 "xfa/fxfa/parser/xfa_utils_unittest.cpp",
Tom Sepezd2e023b2015-12-08 14:36:16 -08001832 ]
1833 }
caryclarkaf177fe2016-11-16 10:10:03 -08001834 if (pdf_use_skia || pdf_use_skia_paths) {
caryclarke89391e2016-06-29 07:10:49 -07001835 sources += [ "core/fxge/skia/fx_skia_device_unittest.cpp" ]
1836 deps += [ "//skia" ]
1837 }
Wei Li614d20a2016-03-15 13:55:12 -07001838 if (pdf_enable_v8) {
Dan Sinclair811b8a42016-03-17 08:59:42 -04001839 sources += [ "fpdfsdk/javascript/public_methods_unittest.cpp" ]
Wei Li614d20a2016-03-15 13:55:12 -07001840 include_dirs += [
1841 "//v8",
1842 "//v8/include",
1843 ]
1844 }
weili0abe6522016-06-06 14:41:22 -07001845 configs += [ ":pdfium_core_config" ]
jbudorick7f3a15f2016-06-10 06:28:40 -07001846 if (is_android) {
jbudorick7f3a15f2016-06-10 06:28:40 -07001847 use_raw_android_executable = true
1848 }
Tom Sepez04681f32015-01-09 13:59:19 -08001849}
Tom Sepez1b1bb492015-01-22 17:36:32 -08001850
1851test("pdfium_embeddertests") {
1852 sources = [
dsinclair41872fa2016-10-04 11:29:35 -07001853 "core/fpdfapi/page/fpdf_page_func_embeddertest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07001854 "core/fpdfapi/parser/cpdf_parser_embeddertest.cpp",
1855 "core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp",
1856 "core/fpdfapi/parser/fpdf_parser_decode_embeddertest.cpp",
dsinclair69d9c682016-10-04 12:18:35 -07001857 "core/fpdfapi/render/fpdf_render_loadimage_embeddertest.cpp",
1858 "core/fpdfapi/render/fpdf_render_pattern_embeddertest.cpp",
weili6faf9f92016-08-02 11:34:08 -07001859 "core/fxcodec/codec/fx_codec_embeddertest.cpp",
ochangb8627c92016-04-11 13:47:41 -07001860 "core/fxge/ge/fx_ge_text_embeddertest.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001861 "fpdfsdk/fpdf_dataavail_embeddertest.cpp",
tsepezd0ecd892016-11-08 17:30:04 -08001862 "fpdfsdk/fpdf_flatten_embeddertest.cpp",
thestig9067fd62016-11-23 14:10:06 -08001863 "fpdfsdk/fpdf_structtree_embeddertest.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001864 "fpdfsdk/fpdfdoc_embeddertest.cpp",
1865 "fpdfsdk/fpdfedit_embeddertest.cpp",
1866 "fpdfsdk/fpdfext_embeddertest.cpp",
1867 "fpdfsdk/fpdfformfill_embeddertest.cpp",
tsepez211d4ed2016-11-11 17:23:48 -08001868 "fpdfsdk/fpdfppo_embeddertest.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001869 "fpdfsdk/fpdfsave_embeddertest.cpp",
1870 "fpdfsdk/fpdftext_embeddertest.cpp",
1871 "fpdfsdk/fpdfview_c_api_test.c",
1872 "fpdfsdk/fpdfview_c_api_test.h",
1873 "fpdfsdk/fpdfview_embeddertest.cpp",
1874 "fpdfsdk/fsdk_baseform_embeddertest.cpp",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001875 "testing/embedder_test.cpp",
1876 "testing/embedder_test.h",
Tom Sepeza310e002015-02-27 13:03:07 -08001877 "testing/embedder_test_mock_delegate.h",
Tom Sepez6efc0ad2015-06-02 17:11:18 -07001878 "testing/embedder_test_timer_handling_delegate.h",
dsinclair34f86b02016-07-11 08:42:33 -07001879 "xfa/fxfa/parser/cxfa_simple_parser_embeddertest.cpp",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001880 ]
1881 deps = [
Tom Sepez452b4f32015-10-13 09:27:27 -07001882 ":pdfium",
Tom Sepezd831dc72015-10-19 16:04:22 -07001883 ":test_support",
Dan Sinclairfffc9632016-03-08 08:57:05 -05001884 "//testing/gmock",
1885 "//testing/gtest",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001886 ]
dsinclair685bb882016-04-20 07:32:39 -07001887 include_dirs = [ "testing/gmock/include" ]
thestigc65e11e2016-08-30 21:56:33 -07001888 configs += [ ":pdfium_core_config" ]
1889
Tom Sepez452b4f32015-10-13 09:27:27 -07001890 if (pdf_enable_v8) {
Lei Zhang1ac47eb2015-12-21 11:04:44 -08001891 sources += [
Dan Sinclairf766ad22016-03-14 13:51:24 -04001892 "fpdfsdk/javascript/public_methods_embeddertest.cpp",
dsinclairb3f24672016-07-12 10:42:14 -07001893 "fxjs/fxjs_v8_embeddertest.cpp",
Lei Zhang1ac47eb2015-12-21 11:04:44 -08001894 "testing/js_embedder_test.cpp",
1895 "testing/js_embedder_test.h",
1896 ]
dsinclairb3f24672016-07-12 10:42:14 -07001897 deps += [ ":fxjs" ]
Jochen Eisinger7ed503d2015-12-10 14:38:06 +01001898 configs += [ "//v8:external_startup_data" ]
Tom Sepez452b4f32015-10-13 09:27:27 -07001899 }
jbudorick7f3a15f2016-06-10 06:28:40 -07001900 if (is_android) {
1901 ignore_all_data_deps = true
1902 use_raw_android_executable = true
1903 }
Tom Sepez1b1bb492015-01-22 17:36:32 -08001904}
dsinclair685bb882016-04-20 07:32:39 -07001905
1906if (pdf_is_standalone) {
1907 source_set("samples") {
1908 testonly = true
1909 deps = [
1910 "//samples",
1911 ]
1912 }
thestig62114cf2016-11-08 12:59:30 -08001913 group("fuzzers") {
1914 testonly = true
1915 deps = [
1916 "//testing/libfuzzer",
1917 ]
1918 }
dsinclair685bb882016-04-20 07:32:39 -07001919}