blob: c7266d3a1d42c7b7bd552eb64574000e15d726b0 [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" ]
36 }
thestig3e454bf2016-07-29 16:29:04 -070037
38 if (pdf_use_win32_gdi) {
39 defines += [ "PDFIUM_PRINT_TEXT_WITH_GDI" ]
40 }
dsinclair6e162b52017-01-24 11:18:16 -080041
42 if (use_coverage && is_clang) {
43 cflags += [
44 "--coverage",
45 "-g",
46 "-O0",
47 ]
48 ldflags += [ "--coverage" ]
49 }
weili0abe6522016-06-06 14:41:22 -070050}
Tom Sepeza8a39e22015-10-12 15:47:07 -070051
weili0abe6522016-06-06 14:41:22 -070052config("pdfium_core_config") {
53 cflags = []
dsinclair8bd9ce02016-06-09 13:24:34 -070054 configs = [ ":pdfium_common_config" ]
55 defines = [ "V8_DEPRECATION_WARNINGS" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070056 if (is_linux) {
Tom Sepez25d5be62015-06-18 17:44:29 -070057 if (current_cpu == "x64") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070058 defines += [ "_FX_CPU_=_FX_X64_" ]
59 cflags += [ "-fPIC" ]
Tom Sepez25d5be62015-06-18 17:44:29 -070060 } else if (current_cpu == "x86") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070061 defines += [ "_FX_CPU_=_FX_X86_" ]
62 }
63 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070064 if (is_win) {
dsinclair5d9da0c2016-04-21 13:12:06 -070065 cflags += [ "/wd4267" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070066 }
weilidcc29b12016-05-27 17:58:23 -070067}
Lei Zhang476ac132015-11-05 20:07:27 -080068
weilidcc29b12016-05-27 17:58:23 -070069config("xfa_warnings") {
70 visibility = [ ":*" ]
Tom Sepez34209092016-03-18 09:00:33 -070071 if (is_posix && !is_clang) { # When GCC.
weilidcc29b12016-05-27 17:58:23 -070072 cflags = [ "-Wno-strict-overflow" ]
Tom Sepez34209092016-03-18 09:00:33 -070073 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070074}
75
76static_library("pdfium") {
77 sources = [
jaepark611adb82016-08-17 11:34:36 -070078 "fpdfsdk/cba_annotiterator.cpp",
dsinclair114e46a2016-09-29 17:18:21 -070079 "fpdfsdk/cba_annotiterator.h",
dsinclairb9590102016-04-27 06:38:59 -070080 "fpdfsdk/cfx_systemhandler.cpp",
81 "fpdfsdk/cfx_systemhandler.h",
jaepark27362762016-08-11 13:10:39 -070082 "fpdfsdk/cpdfsdk_annot.cpp",
dsinclair114e46a2016-09-29 17:18:21 -070083 "fpdfsdk/cpdfsdk_annot.h",
jaepark98e10192016-08-15 10:51:11 -070084 "fpdfsdk/cpdfsdk_annothandlermgr.cpp",
dsinclair114e46a2016-09-29 17:18:21 -070085 "fpdfsdk/cpdfsdk_annothandlermgr.h",
tsepezd805eec2017-01-11 14:03:54 -080086 "fpdfsdk/cpdfsdk_annotiteration.cpp",
87 "fpdfsdk/cpdfsdk_annotiteration.h",
jaepark27362762016-08-11 13:10:39 -070088 "fpdfsdk/cpdfsdk_baannot.cpp",
dsinclair114e46a2016-09-29 17:18:21 -070089 "fpdfsdk/cpdfsdk_baannot.h",
jaepark35512aa2016-08-29 17:15:08 -070090 "fpdfsdk/cpdfsdk_baannothandler.cpp",
dsinclair114e46a2016-09-29 17:18:21 -070091 "fpdfsdk/cpdfsdk_baannothandler.h",
jaepark27362762016-08-11 13:10:39 -070092 "fpdfsdk/cpdfsdk_datetime.cpp",
dsinclair114e46a2016-09-29 17:18:21 -070093 "fpdfsdk/cpdfsdk_datetime.h",
dsinclair735606d2016-10-05 15:47:02 -070094 "fpdfsdk/cpdfsdk_formfillenvironment.cpp",
95 "fpdfsdk/cpdfsdk_formfillenvironment.h",
jaepark611adb82016-08-17 11:34:36 -070096 "fpdfsdk/cpdfsdk_interform.cpp",
dsinclair114e46a2016-09-29 17:18:21 -070097 "fpdfsdk/cpdfsdk_interform.h",
dsinclairf34518b2016-09-13 12:03:48 -070098 "fpdfsdk/cpdfsdk_pageview.cpp",
dsinclair114e46a2016-09-29 17:18:21 -070099 "fpdfsdk/cpdfsdk_pageview.h",
jaepark611adb82016-08-17 11:34:36 -0700100 "fpdfsdk/cpdfsdk_widget.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700101 "fpdfsdk/cpdfsdk_widget.h",
jaepark8c541822016-08-30 13:43:05 -0700102 "fpdfsdk/cpdfsdk_widgethandler.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700103 "fpdfsdk/cpdfsdk_widgethandler.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400104 "fpdfsdk/fpdf_dataavail.cpp",
105 "fpdfsdk/fpdf_ext.cpp",
106 "fpdfsdk/fpdf_flatten.cpp",
107 "fpdfsdk/fpdf_progressive.cpp",
108 "fpdfsdk/fpdf_searchex.cpp",
thestig9067fd62016-11-23 14:10:06 -0800109 "fpdfsdk/fpdf_structtree.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400110 "fpdfsdk/fpdf_sysfontinfo.cpp",
111 "fpdfsdk/fpdf_transformpage.cpp",
112 "fpdfsdk/fpdfdoc.cpp",
113 "fpdfsdk/fpdfeditimg.cpp",
114 "fpdfsdk/fpdfeditpage.cpp",
115 "fpdfsdk/fpdfformfill.cpp",
116 "fpdfsdk/fpdfppo.cpp",
117 "fpdfsdk/fpdfsave.cpp",
118 "fpdfsdk/fpdftext.cpp",
119 "fpdfsdk/fpdfview.cpp",
120 "fpdfsdk/fsdk_actionhandler.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700121 "fpdfsdk/fsdk_actionhandler.h",
weili9f515bc2016-07-24 08:08:24 -0700122 "fpdfsdk/fsdk_pauseadapter.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700123 "fpdfsdk/fsdk_pauseadapter.h",
jaepark611adb82016-08-17 11:34:36 -0700124 "fpdfsdk/pdfsdk_fieldaction.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700125 "fpdfsdk/pdfsdk_fieldaction.h",
Tom Sepez1ed8a212015-05-11 15:25:39 -0700126 "public/fpdf_dataavail.h",
127 "public/fpdf_doc.h",
128 "public/fpdf_edit.h",
129 "public/fpdf_ext.h",
130 "public/fpdf_flatten.h",
131 "public/fpdf_formfill.h",
132 "public/fpdf_fwlevent.h",
133 "public/fpdf_ppo.h",
134 "public/fpdf_progressive.h",
135 "public/fpdf_save.h",
136 "public/fpdf_searchex.h",
thestig9067fd62016-11-23 14:10:06 -0800137 "public/fpdf_structtree.h",
Tom Sepez1ed8a212015-05-11 15:25:39 -0700138 "public/fpdf_sysfontinfo.h",
139 "public/fpdf_text.h",
140 "public/fpdf_transformpage.h",
141 "public/fpdfview.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700142 ]
143
144 libs = []
weili0abe6522016-06-06 14:41:22 -0700145 configs += [ ":pdfium_core_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700146
147 deps = [
148 ":fdrm",
149 ":formfiller",
150 ":fpdfapi",
151 ":fpdfdoc",
152 ":fpdftext",
153 ":fxcodec",
154 ":fxcrt",
155 ":fxedit",
156 ":fxge",
157 ":javascript",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700158 ":pdfwindow",
Dan Sinclairfffc9632016-03-08 08:57:05 -0500159 "third_party:bigint",
160 "third_party:pdfium_base",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700161 ]
162
thestig73c48562016-09-06 14:07:17 -0700163 public_deps = [
164 ":fxcrt",
165 ]
Tom Sepeza8a39e22015-10-12 15:47:07 -0700166 if (pdf_enable_xfa) {
jaepark611adb82016-08-17 11:34:36 -0700167 sources += [
168 "fpdfsdk/cpdfsdk_xfawidget.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700169 "fpdfsdk/cpdfsdk_xfawidget.h",
jaepark8c541822016-08-30 13:43:05 -0700170 "fpdfsdk/cpdfsdk_xfawidgethandler.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700171 "fpdfsdk/cpdfsdk_xfawidgethandler.h",
jaepark611adb82016-08-17 11:34:36 -0700172 ]
173
Tom Sepezb5451592016-02-22 16:48:02 -0800174 deps += [ ":fpdfxfa" ]
Tom Sepeza8a39e22015-10-12 15:47:07 -0700175 }
176
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700177 if (is_win) {
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400178 libs += [
179 "advapi32.lib",
180 "gdi32.lib",
181 "user32.lib",
182 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700183 }
184
185 if (is_mac) {
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400186 libs += [
187 "AppKit.framework",
188 "CoreFoundation.framework",
189 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700190 }
John Abd-El-Malekef4dce42015-02-02 16:52:07 -0800191
Tom Sepez0dfd0302015-10-12 15:38:22 -0700192 if (pdfium_bundle_freetype) {
193 deps += [ "third_party:fx_freetype" ]
John Abd-El-Malekef4dce42015-02-02 16:52:07 -0800194 } else {
195 libs += [ "freetype" ]
196 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700197}
198
brettwe283e472016-07-21 09:38:22 -0700199static_library("test_support") {
Tom Sepezd831dc72015-10-19 16:04:22 -0700200 testonly = true
201 sources = [
202 "testing/fx_string_testhelpers.cpp",
203 "testing/fx_string_testhelpers.h",
204 "testing/test_support.cpp",
205 "testing/test_support.h",
Oliver Changd46f1c82015-11-12 22:03:10 -0800206 "testing/utils/path_service.cpp",
thestigbcd3e532016-11-21 13:37:28 -0800207 "testing/utils/path_service.h",
Tom Sepezd831dc72015-10-19 16:04:22 -0700208 ]
jbudorickf6ee8202016-12-05 06:50:50 -0800209 data = [
210 "testing/resources/",
211 ]
Tom Sepezd831dc72015-10-19 16:04:22 -0700212 deps = [
Dan Sinclairfffc9632016-03-08 08:57:05 -0500213 ":pdfium",
Tom Sepezd831dc72015-10-19 16:04:22 -0700214 "//testing/gmock",
215 "//testing/gtest",
Tom Sepezd831dc72015-10-19 16:04:22 -0700216 ]
Lei Zhang8241df72015-11-06 14:38:48 -0800217 include_dirs = []
Tom Sepezd831dc72015-10-19 16:04:22 -0700218 if (pdf_enable_v8) {
219 deps += [
220 "//v8",
221 "//v8:v8_libplatform",
222 ]
223 include_dirs += [
224 "//v8",
225 "//v8/include",
226 ]
Jochen Eisinger7ed503d2015-12-10 14:38:06 +0100227 configs += [ "//v8:external_startup_data" ]
Tom Sepezd831dc72015-10-19 16:04:22 -0700228 }
weili0abe6522016-06-06 14:41:22 -0700229 configs += [ ":pdfium_core_config" ]
Tom Sepezd831dc72015-10-19 16:04:22 -0700230}
231
232# Targets below this are only visible within this file (and to the
233# top-level gn_visibility target used to help gn_all build everything).
234visibility = [
235 ":*",
236 "//:gn_visibility",
237]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700238
239static_library("fdrm") {
240 sources = [
Dan Sinclair764ec512016-03-14 13:35:12 -0400241 "core/fdrm/crypto/fx_crypt.cpp",
dsinclairb1469a22016-09-29 10:00:05 -0700242 "core/fdrm/crypto/fx_crypt.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400243 "core/fdrm/crypto/fx_crypt_aes.cpp",
244 "core/fdrm/crypto/fx_crypt_sha.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700245 ]
weili0abe6522016-06-06 14:41:22 -0700246 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700247 deps = [
248 ":fxcrt",
249 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700250}
251
252static_library("fpdfdoc") {
253 sources = [
dsinclair448c4332016-08-02 12:07:35 -0700254 "core/fpdfdoc/cline.cpp",
255 "core/fpdfdoc/cline.h",
weilif4bb5802016-06-14 17:21:14 -0700256 "core/fpdfdoc/clines.cpp",
257 "core/fpdfdoc/clines.h",
dsinclair02e6f592016-08-02 11:25:48 -0700258 "core/fpdfdoc/cpdf_aaction.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700259 "core/fpdfdoc/cpdf_aaction.h",
dsinclair02e6f592016-08-02 11:25:48 -0700260 "core/fpdfdoc/cpdf_action.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700261 "core/fpdfdoc/cpdf_action.h",
dsinclair02e6f592016-08-02 11:25:48 -0700262 "core/fpdfdoc/cpdf_actionfields.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700263 "core/fpdfdoc/cpdf_actionfields.h",
jaepark3b6c7e92016-07-20 14:18:04 -0700264 "core/fpdfdoc/cpdf_annot.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700265 "core/fpdfdoc/cpdf_annot.h",
jaepark3b6c7e92016-07-20 14:18:04 -0700266 "core/fpdfdoc/cpdf_annotlist.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700267 "core/fpdfdoc/cpdf_annotlist.h",
dsinclair27053d82016-08-02 15:43:46 -0700268 "core/fpdfdoc/cpdf_apsettings.cpp",
dsinclaircac704d2016-07-28 12:59:09 -0700269 "core/fpdfdoc/cpdf_apsettings.h",
dsinclair02e6f592016-08-02 11:25:48 -0700270 "core/fpdfdoc/cpdf_bookmark.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700271 "core/fpdfdoc/cpdf_bookmark.h",
dsinclair02e6f592016-08-02 11:25:48 -0700272 "core/fpdfdoc/cpdf_bookmarktree.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700273 "core/fpdfdoc/cpdf_bookmarktree.h",
dsinclair27053d82016-08-02 15:43:46 -0700274 "core/fpdfdoc/cpdf_defaultappearance.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700275 "core/fpdfdoc/cpdf_defaultappearance.h",
dsinclair448c4332016-08-02 12:07:35 -0700276 "core/fpdfdoc/cpdf_dest.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700277 "core/fpdfdoc/cpdf_dest.h",
dsinclair02e6f592016-08-02 11:25:48 -0700278 "core/fpdfdoc/cpdf_docjsactions.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700279 "core/fpdfdoc/cpdf_docjsactions.h",
dsinclair448c4332016-08-02 12:07:35 -0700280 "core/fpdfdoc/cpdf_filespec.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700281 "core/fpdfdoc/cpdf_filespec.h",
dsinclair27053d82016-08-02 15:43:46 -0700282 "core/fpdfdoc/cpdf_formcontrol.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700283 "core/fpdfdoc/cpdf_formcontrol.h",
dsinclair27053d82016-08-02 15:43:46 -0700284 "core/fpdfdoc/cpdf_formfield.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700285 "core/fpdfdoc/cpdf_formfield.h",
dsinclair27053d82016-08-02 15:43:46 -0700286 "core/fpdfdoc/cpdf_iconfit.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700287 "core/fpdfdoc/cpdf_iconfit.h",
dsinclair27053d82016-08-02 15:43:46 -0700288 "core/fpdfdoc/cpdf_interform.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700289 "core/fpdfdoc/cpdf_interform.h",
dsinclair02e6f592016-08-02 11:25:48 -0700290 "core/fpdfdoc/cpdf_link.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700291 "core/fpdfdoc/cpdf_link.h",
dsinclair02e6f592016-08-02 11:25:48 -0700292 "core/fpdfdoc/cpdf_linklist.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700293 "core/fpdfdoc/cpdf_linklist.h",
dsinclair02e6f592016-08-02 11:25:48 -0700294 "core/fpdfdoc/cpdf_metadata.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700295 "core/fpdfdoc/cpdf_metadata.h",
dsinclair448c4332016-08-02 12:07:35 -0700296 "core/fpdfdoc/cpdf_nametree.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700297 "core/fpdfdoc/cpdf_nametree.h",
dsinclair27053d82016-08-02 15:43:46 -0700298 "core/fpdfdoc/cpdf_numbertree.cpp",
299 "core/fpdfdoc/cpdf_numbertree.h",
dsinclair448c4332016-08-02 12:07:35 -0700300 "core/fpdfdoc/cpdf_occontext.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700301 "core/fpdfdoc/cpdf_occontext.h",
dsinclair448c4332016-08-02 12:07:35 -0700302 "core/fpdfdoc/cpdf_pagelabel.cpp",
dsinclaircac704d2016-07-28 12:59:09 -0700303 "core/fpdfdoc/cpdf_pagelabel.h",
dsinclairc7a73492016-04-05 12:01:42 -0700304 "core/fpdfdoc/cpdf_variabletext.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700305 "core/fpdfdoc/cpdf_variabletext.h",
dsinclair02e6f592016-08-02 11:25:48 -0700306 "core/fpdfdoc/cpdf_viewerpreferences.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700307 "core/fpdfdoc/cpdf_viewerpreferences.h",
dsinclair448c4332016-08-02 12:07:35 -0700308 "core/fpdfdoc/cpvt_arraytemplate.h",
dsinclair777b3332016-03-31 20:03:08 -0700309 "core/fpdfdoc/cpvt_color.cpp",
310 "core/fpdfdoc/cpvt_color.h",
311 "core/fpdfdoc/cpvt_dash.h",
dsinclairc7a73492016-04-05 12:01:42 -0700312 "core/fpdfdoc/cpvt_floatrect.h",
dsinclair777b3332016-03-31 20:03:08 -0700313 "core/fpdfdoc/cpvt_fontmap.cpp",
314 "core/fpdfdoc/cpvt_fontmap.h",
315 "core/fpdfdoc/cpvt_generateap.cpp",
316 "core/fpdfdoc/cpvt_generateap.h",
dsinclair1727aee2016-09-29 13:12:56 -0700317 "core/fpdfdoc/cpvt_line.h",
dsinclairc7a73492016-04-05 12:01:42 -0700318 "core/fpdfdoc/cpvt_lineinfo.h",
dsinclair1727aee2016-09-29 13:12:56 -0700319 "core/fpdfdoc/cpvt_secprops.h",
320 "core/fpdfdoc/cpvt_section.h",
weili5a6c1392016-07-11 14:43:40 -0700321 "core/fpdfdoc/cpvt_sectioninfo.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700322 "core/fpdfdoc/cpvt_sectioninfo.h",
dsinclair1727aee2016-09-29 13:12:56 -0700323 "core/fpdfdoc/cpvt_word.h",
weili5a6c1392016-07-11 14:43:40 -0700324 "core/fpdfdoc/cpvt_wordinfo.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700325 "core/fpdfdoc/cpvt_wordinfo.h",
dsinclair1727aee2016-09-29 13:12:56 -0700326 "core/fpdfdoc/cpvt_wordplace.h",
327 "core/fpdfdoc/cpvt_wordprops.h",
328 "core/fpdfdoc/cpvt_wordrange.h",
thestig9c845c32016-05-13 11:08:41 -0700329 "core/fpdfdoc/csection.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700330 "core/fpdfdoc/csection.h",
thestig9c845c32016-05-13 11:08:41 -0700331 "core/fpdfdoc/ctypeset.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700332 "core/fpdfdoc/ctypeset.h",
npm0c2d0a52016-08-26 11:32:09 -0700333 "core/fpdfdoc/doc_tagged.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700334 "core/fpdfdoc/fpdf_tagged.h",
335 "core/fpdfdoc/ipdf_formnotify.h",
336 "core/fpdfdoc/ipvt_fontmap.h",
npm0c2d0a52016-08-26 11:32:09 -0700337 "core/fpdfdoc/tagged_int.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700338 ]
weili0abe6522016-06-06 14:41:22 -0700339 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700340 deps = [
341 ":fxcrt",
342 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700343}
344
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700345static_library("fpdfapi") {
346 sources = [
dsinclaira6c92152016-10-04 10:58:54 -0700347 "core/fpdfapi/cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp",
348 "core/fpdfapi/cmaps/CNS1/B5pc-H_0.cpp",
349 "core/fpdfapi/cmaps/CNS1/B5pc-V_0.cpp",
350 "core/fpdfapi/cmaps/CNS1/CNS-EUC-H_0.cpp",
351 "core/fpdfapi/cmaps/CNS1/CNS-EUC-V_0.cpp",
352 "core/fpdfapi/cmaps/CNS1/ETen-B5-H_0.cpp",
353 "core/fpdfapi/cmaps/CNS1/ETen-B5-V_0.cpp",
354 "core/fpdfapi/cmaps/CNS1/ETenms-B5-H_0.cpp",
355 "core/fpdfapi/cmaps/CNS1/ETenms-B5-V_0.cpp",
356 "core/fpdfapi/cmaps/CNS1/HKscs-B5-H_5.cpp",
357 "core/fpdfapi/cmaps/CNS1/HKscs-B5-V_5.cpp",
358 "core/fpdfapi/cmaps/CNS1/UniCNS-UCS2-H_3.cpp",
359 "core/fpdfapi/cmaps/CNS1/UniCNS-UCS2-V_3.cpp",
360 "core/fpdfapi/cmaps/CNS1/UniCNS-UTF16-H_0.cpp",
361 "core/fpdfapi/cmaps/CNS1/cmaps_cns1.cpp",
362 "core/fpdfapi/cmaps/GB1/Adobe-GB1-UCS2_5.cpp",
363 "core/fpdfapi/cmaps/GB1/GB-EUC-H_0.cpp",
364 "core/fpdfapi/cmaps/GB1/GB-EUC-V_0.cpp",
365 "core/fpdfapi/cmaps/GB1/GBK-EUC-H_2.cpp",
366 "core/fpdfapi/cmaps/GB1/GBK-EUC-V_2.cpp",
367 "core/fpdfapi/cmaps/GB1/GBK2K-H_5.cpp",
368 "core/fpdfapi/cmaps/GB1/GBK2K-V_5.cpp",
369 "core/fpdfapi/cmaps/GB1/GBKp-EUC-H_2.cpp",
370 "core/fpdfapi/cmaps/GB1/GBKp-EUC-V_2.cpp",
371 "core/fpdfapi/cmaps/GB1/GBpc-EUC-H_0.cpp",
372 "core/fpdfapi/cmaps/GB1/GBpc-EUC-V_0.cpp",
373 "core/fpdfapi/cmaps/GB1/UniGB-UCS2-H_4.cpp",
374 "core/fpdfapi/cmaps/GB1/UniGB-UCS2-V_4.cpp",
375 "core/fpdfapi/cmaps/GB1/cmaps_gb1.cpp",
376 "core/fpdfapi/cmaps/Japan1/83pv-RKSJ-H_1.cpp",
377 "core/fpdfapi/cmaps/Japan1/90ms-RKSJ-H_2.cpp",
378 "core/fpdfapi/cmaps/Japan1/90ms-RKSJ-V_2.cpp",
379 "core/fpdfapi/cmaps/Japan1/90msp-RKSJ-H_2.cpp",
380 "core/fpdfapi/cmaps/Japan1/90msp-RKSJ-V_2.cpp",
381 "core/fpdfapi/cmaps/Japan1/90pv-RKSJ-H_1.cpp",
382 "core/fpdfapi/cmaps/Japan1/Add-RKSJ-H_1.cpp",
383 "core/fpdfapi/cmaps/Japan1/Add-RKSJ-V_1.cpp",
384 "core/fpdfapi/cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp",
385 "core/fpdfapi/cmaps/Japan1/EUC-H_1.cpp",
386 "core/fpdfapi/cmaps/Japan1/EUC-V_1.cpp",
387 "core/fpdfapi/cmaps/Japan1/Ext-RKSJ-H_2.cpp",
388 "core/fpdfapi/cmaps/Japan1/Ext-RKSJ-V_2.cpp",
389 "core/fpdfapi/cmaps/Japan1/H_1.cpp",
390 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp",
391 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp",
392 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-H_4.cpp",
393 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-V_4.cpp",
394 "core/fpdfapi/cmaps/Japan1/V_1.cpp",
395 "core/fpdfapi/cmaps/Japan1/cmaps_japan1.cpp",
396 "core/fpdfapi/cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp",
397 "core/fpdfapi/cmaps/Korea1/KSC-EUC-H_0.cpp",
398 "core/fpdfapi/cmaps/Korea1/KSC-EUC-V_0.cpp",
399 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-HW-H_1.cpp",
400 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-HW-V_1.cpp",
401 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-H_1.cpp",
402 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-V_1.cpp",
403 "core/fpdfapi/cmaps/Korea1/KSCpc-EUC-H_0.cpp",
404 "core/fpdfapi/cmaps/Korea1/UniKS-UCS2-H_1.cpp",
405 "core/fpdfapi/cmaps/Korea1/UniKS-UCS2-V_1.cpp",
406 "core/fpdfapi/cmaps/Korea1/UniKS-UTF16-H_0.cpp",
407 "core/fpdfapi/cmaps/Korea1/cmaps_korea1.cpp",
408 "core/fpdfapi/cmaps/cmap_int.h",
409 "core/fpdfapi/cmaps/fpdf_cmaps.cpp",
tsepezddffb572016-05-24 16:20:29 -0700410 "core/fpdfapi/cpdf_modulemgr.cpp",
dsinclair39c62fd2016-09-29 12:49:17 -0700411 "core/fpdfapi/cpdf_modulemgr.h",
weili9f515bc2016-07-24 08:08:24 -0700412 "core/fpdfapi/cpdf_pagerendercontext.cpp",
dsinclair39c62fd2016-09-29 12:49:17 -0700413 "core/fpdfapi/cpdf_pagerendercontext.h",
dsinclair24154352016-10-04 11:01:48 -0700414 "core/fpdfapi/edit/cpdf_creator.h",
415 "core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp",
416 "core/fpdfapi/edit/cpdf_pagecontentgenerator.h",
417 "core/fpdfapi/edit/editint.h",
418 "core/fpdfapi/edit/fpdf_edit_create.cpp",
dsinclairbc5e6d22016-10-04 11:08:49 -0700419 "core/fpdfapi/font/cpdf_cidfont.cpp",
420 "core/fpdfapi/font/cpdf_cidfont.h",
421 "core/fpdfapi/font/cpdf_font.cpp",
422 "core/fpdfapi/font/cpdf_font.h",
423 "core/fpdfapi/font/cpdf_fontencoding.cpp",
424 "core/fpdfapi/font/cpdf_fontencoding.h",
425 "core/fpdfapi/font/cpdf_simplefont.cpp",
426 "core/fpdfapi/font/cpdf_simplefont.h",
427 "core/fpdfapi/font/cpdf_truetypefont.cpp",
428 "core/fpdfapi/font/cpdf_truetypefont.h",
429 "core/fpdfapi/font/cpdf_type1font.cpp",
430 "core/fpdfapi/font/cpdf_type1font.h",
431 "core/fpdfapi/font/cpdf_type3char.cpp",
432 "core/fpdfapi/font/cpdf_type3char.h",
433 "core/fpdfapi/font/cpdf_type3font.cpp",
434 "core/fpdfapi/font/cpdf_type3font.h",
435 "core/fpdfapi/font/font_int.h",
436 "core/fpdfapi/font/fpdf_font.cpp",
437 "core/fpdfapi/font/fpdf_font_cid.cpp",
438 "core/fpdfapi/font/ttgsubtable.cpp",
439 "core/fpdfapi/font/ttgsubtable.h",
dsinclair41872fa2016-10-04 11:29:35 -0700440 "core/fpdfapi/page/cpdf_allstates.cpp",
441 "core/fpdfapi/page/cpdf_allstates.h",
442 "core/fpdfapi/page/cpdf_clippath.cpp",
443 "core/fpdfapi/page/cpdf_clippath.h",
444 "core/fpdfapi/page/cpdf_color.cpp",
445 "core/fpdfapi/page/cpdf_color.h",
446 "core/fpdfapi/page/cpdf_colorspace.cpp",
447 "core/fpdfapi/page/cpdf_colorspace.h",
448 "core/fpdfapi/page/cpdf_colorstate.cpp",
449 "core/fpdfapi/page/cpdf_colorstate.h",
450 "core/fpdfapi/page/cpdf_contentmark.cpp",
451 "core/fpdfapi/page/cpdf_contentmark.h",
452 "core/fpdfapi/page/cpdf_contentmarkitem.cpp",
453 "core/fpdfapi/page/cpdf_contentmarkitem.h",
npm014b0122016-11-07 08:42:11 -0800454 "core/fpdfapi/page/cpdf_contentparser.cpp",
tsepez1aff2652016-11-22 10:45:59 -0800455 "core/fpdfapi/page/cpdf_contentparser.h",
dsinclair41872fa2016-10-04 11:29:35 -0700456 "core/fpdfapi/page/cpdf_countedobject.h",
tsepez9fa95ef2016-10-11 12:29:38 -0700457 "core/fpdfapi/page/cpdf_docpagedata.cpp",
458 "core/fpdfapi/page/cpdf_docpagedata.h",
dsinclair41872fa2016-10-04 11:29:35 -0700459 "core/fpdfapi/page/cpdf_form.cpp",
460 "core/fpdfapi/page/cpdf_form.h",
461 "core/fpdfapi/page/cpdf_formobject.cpp",
462 "core/fpdfapi/page/cpdf_formobject.h",
463 "core/fpdfapi/page/cpdf_generalstate.cpp",
464 "core/fpdfapi/page/cpdf_generalstate.h",
465 "core/fpdfapi/page/cpdf_graphicstates.cpp",
466 "core/fpdfapi/page/cpdf_graphicstates.h",
467 "core/fpdfapi/page/cpdf_image.cpp",
468 "core/fpdfapi/page/cpdf_image.h",
469 "core/fpdfapi/page/cpdf_imageobject.cpp",
470 "core/fpdfapi/page/cpdf_imageobject.h",
471 "core/fpdfapi/page/cpdf_meshstream.cpp",
472 "core/fpdfapi/page/cpdf_meshstream.h",
473 "core/fpdfapi/page/cpdf_page.cpp",
474 "core/fpdfapi/page/cpdf_page.h",
475 "core/fpdfapi/page/cpdf_pagemodule.cpp",
476 "core/fpdfapi/page/cpdf_pagemodule.h",
477 "core/fpdfapi/page/cpdf_pageobject.cpp",
478 "core/fpdfapi/page/cpdf_pageobject.h",
479 "core/fpdfapi/page/cpdf_pageobjectholder.cpp",
480 "core/fpdfapi/page/cpdf_pageobjectholder.h",
481 "core/fpdfapi/page/cpdf_pageobjectlist.cpp",
482 "core/fpdfapi/page/cpdf_pageobjectlist.h",
483 "core/fpdfapi/page/cpdf_path.cpp",
484 "core/fpdfapi/page/cpdf_path.h",
485 "core/fpdfapi/page/cpdf_pathobject.cpp",
486 "core/fpdfapi/page/cpdf_pathobject.h",
487 "core/fpdfapi/page/cpdf_pattern.cpp",
488 "core/fpdfapi/page/cpdf_pattern.h",
489 "core/fpdfapi/page/cpdf_shadingobject.cpp",
490 "core/fpdfapi/page/cpdf_shadingobject.h",
491 "core/fpdfapi/page/cpdf_shadingpattern.cpp",
492 "core/fpdfapi/page/cpdf_shadingpattern.h",
tsepez271d9c02016-10-13 11:29:04 -0700493 "core/fpdfapi/page/cpdf_streamcontentparser.cpp",
494 "core/fpdfapi/page/cpdf_streamcontentparser.h",
npm014b0122016-11-07 08:42:11 -0800495 "core/fpdfapi/page/cpdf_streamparser.cpp",
tsepez1aff2652016-11-22 10:45:59 -0800496 "core/fpdfapi/page/cpdf_streamparser.h",
dsinclair41872fa2016-10-04 11:29:35 -0700497 "core/fpdfapi/page/cpdf_textobject.cpp",
498 "core/fpdfapi/page/cpdf_textobject.h",
499 "core/fpdfapi/page/cpdf_textstate.cpp",
500 "core/fpdfapi/page/cpdf_textstate.h",
501 "core/fpdfapi/page/cpdf_tilingpattern.cpp",
502 "core/fpdfapi/page/cpdf_tilingpattern.h",
503 "core/fpdfapi/page/fpdf_page_colors.cpp",
dsinclair41872fa2016-10-04 11:29:35 -0700504 "core/fpdfapi/page/fpdf_page_func.cpp",
dsinclair41872fa2016-10-04 11:29:35 -0700505 "core/fpdfapi/page/pageint.h",
dsinclair488b7ad2016-10-04 11:55:50 -0700506 "core/fpdfapi/parser/cfdf_document.cpp",
507 "core/fpdfapi/parser/cfdf_document.h",
508 "core/fpdfapi/parser/cpdf_array.cpp",
509 "core/fpdfapi/parser/cpdf_array.h",
510 "core/fpdfapi/parser/cpdf_boolean.cpp",
511 "core/fpdfapi/parser/cpdf_boolean.h",
512 "core/fpdfapi/parser/cpdf_crypto_handler.cpp",
513 "core/fpdfapi/parser/cpdf_crypto_handler.h",
514 "core/fpdfapi/parser/cpdf_data_avail.cpp",
515 "core/fpdfapi/parser/cpdf_data_avail.h",
516 "core/fpdfapi/parser/cpdf_dictionary.cpp",
517 "core/fpdfapi/parser/cpdf_dictionary.h",
518 "core/fpdfapi/parser/cpdf_document.cpp",
519 "core/fpdfapi/parser/cpdf_document.h",
520 "core/fpdfapi/parser/cpdf_hint_tables.cpp",
521 "core/fpdfapi/parser/cpdf_hint_tables.h",
522 "core/fpdfapi/parser/cpdf_indirect_object_holder.cpp",
523 "core/fpdfapi/parser/cpdf_indirect_object_holder.h",
tsepezc09625c2016-11-07 11:46:09 -0800524 "core/fpdfapi/parser/cpdf_linearized_header.cpp",
525 "core/fpdfapi/parser/cpdf_linearized_header.h",
dsinclair488b7ad2016-10-04 11:55:50 -0700526 "core/fpdfapi/parser/cpdf_name.cpp",
527 "core/fpdfapi/parser/cpdf_name.h",
528 "core/fpdfapi/parser/cpdf_null.cpp",
529 "core/fpdfapi/parser/cpdf_null.h",
530 "core/fpdfapi/parser/cpdf_number.cpp",
531 "core/fpdfapi/parser/cpdf_number.h",
532 "core/fpdfapi/parser/cpdf_object.cpp",
533 "core/fpdfapi/parser/cpdf_object.h",
534 "core/fpdfapi/parser/cpdf_parser.cpp",
535 "core/fpdfapi/parser/cpdf_parser.h",
536 "core/fpdfapi/parser/cpdf_reference.cpp",
537 "core/fpdfapi/parser/cpdf_reference.h",
538 "core/fpdfapi/parser/cpdf_security_handler.cpp",
539 "core/fpdfapi/parser/cpdf_security_handler.h",
540 "core/fpdfapi/parser/cpdf_simple_parser.cpp",
541 "core/fpdfapi/parser/cpdf_simple_parser.h",
542 "core/fpdfapi/parser/cpdf_stream.cpp",
543 "core/fpdfapi/parser/cpdf_stream.h",
544 "core/fpdfapi/parser/cpdf_stream_acc.cpp",
545 "core/fpdfapi/parser/cpdf_stream_acc.h",
546 "core/fpdfapi/parser/cpdf_string.cpp",
547 "core/fpdfapi/parser/cpdf_string.h",
548 "core/fpdfapi/parser/cpdf_syntax_parser.cpp",
549 "core/fpdfapi/parser/cpdf_syntax_parser.h",
550 "core/fpdfapi/parser/fpdf_parser_decode.cpp",
551 "core/fpdfapi/parser/fpdf_parser_decode.h",
552 "core/fpdfapi/parser/fpdf_parser_utility.cpp",
553 "core/fpdfapi/parser/fpdf_parser_utility.h",
npm483f3c42016-11-17 13:50:44 -0800554 "core/fpdfapi/render/cpdf_charposlist.cpp",
555 "core/fpdfapi/render/cpdf_charposlist.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500556 "core/fpdfapi/render/cpdf_devicebuffer.cpp",
557 "core/fpdfapi/render/cpdf_devicebuffer.h",
Nicolas Pena0ef7ba02017-01-04 16:18:57 -0500558 "core/fpdfapi/render/cpdf_dibsource.cpp",
559 "core/fpdfapi/render/cpdf_dibsource.h",
npm4bed2af2016-12-02 14:01:36 -0800560 "core/fpdfapi/render/cpdf_dibtransferfunc.cpp",
561 "core/fpdfapi/render/cpdf_dibtransferfunc.h",
npm935c6312016-11-17 10:47:43 -0800562 "core/fpdfapi/render/cpdf_docrenderdata.cpp",
563 "core/fpdfapi/render/cpdf_docrenderdata.h",
npmd7ecb5f2016-12-01 15:37:42 -0800564 "core/fpdfapi/render/cpdf_imagecacheentry.cpp",
565 "core/fpdfapi/render/cpdf_imagecacheentry.h",
npmca5300a2016-11-21 07:28:42 -0800566 "core/fpdfapi/render/cpdf_imageloader.cpp",
567 "core/fpdfapi/render/cpdf_imageloader.h",
npm43f382c2016-11-23 07:35:23 -0800568 "core/fpdfapi/render/cpdf_imagerenderer.cpp",
569 "core/fpdfapi/render/cpdf_imagerenderer.h",
npmd7ecb5f2016-12-01 15:37:42 -0800570 "core/fpdfapi/render/cpdf_pagerendercache.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700571 "core/fpdfapi/render/cpdf_pagerendercache.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500572 "core/fpdfapi/render/cpdf_progressiverenderer.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700573 "core/fpdfapi/render/cpdf_progressiverenderer.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500574 "core/fpdfapi/render/cpdf_rendercontext.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700575 "core/fpdfapi/render/cpdf_rendercontext.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500576 "core/fpdfapi/render/cpdf_renderoptions.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700577 "core/fpdfapi/render/cpdf_renderoptions.h",
npm483f3c42016-11-17 13:50:44 -0800578 "core/fpdfapi/render/cpdf_renderstatus.cpp",
579 "core/fpdfapi/render/cpdf_renderstatus.h",
Nicolas Pena8a463c52016-11-30 14:56:27 -0500580 "core/fpdfapi/render/cpdf_scaledrenderbuffer.cpp",
581 "core/fpdfapi/render/cpdf_scaledrenderbuffer.h",
npm4bed2af2016-12-02 14:01:36 -0800582 "core/fpdfapi/render/cpdf_textrenderer.cpp",
dsinclair69d9c682016-10-04 12:18:35 -0700583 "core/fpdfapi/render/cpdf_textrenderer.h",
npmca5300a2016-11-21 07:28:42 -0800584 "core/fpdfapi/render/cpdf_transferfunc.cpp",
585 "core/fpdfapi/render/cpdf_transferfunc.h",
dsinclair69d9c682016-10-04 12:18:35 -0700586 "core/fpdfapi/render/cpdf_type3cache.cpp",
587 "core/fpdfapi/render/cpdf_type3cache.h",
588 "core/fpdfapi/render/cpdf_type3glyphs.cpp",
589 "core/fpdfapi/render/cpdf_type3glyphs.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700590 ]
weili0abe6522016-06-06 14:41:22 -0700591 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700592 deps = [
593 ":fxcrt",
594 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700595}
596
597static_library("fpdftext") {
598 sources = [
npm2d396ac2016-08-26 10:00:25 -0700599 "core/fpdftext/cpdf_linkextract.cpp",
dsinclaire0307862016-09-29 13:25:38 -0700600 "core/fpdftext/cpdf_linkextract.h",
npm2d396ac2016-08-26 10:00:25 -0700601 "core/fpdftext/cpdf_textpage.cpp",
dsinclaire0307862016-09-29 13:25:38 -0700602 "core/fpdftext/cpdf_textpage.h",
npm2d396ac2016-08-26 10:00:25 -0700603 "core/fpdftext/cpdf_textpagefind.cpp",
dsinclaire0307862016-09-29 13:25:38 -0700604 "core/fpdftext/cpdf_textpagefind.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400605 "core/fpdftext/unicodenormalizationdata.cpp",
606 "core/fpdftext/unicodenormalizationdata.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700607 ]
weili0abe6522016-06-06 14:41:22 -0700608 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700609 deps = [
610 ":fxcrt",
611 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700612}
613
614static_library("fxcodec") {
615 sources = [
dsinclair8a4e2862016-09-29 13:43:30 -0700616 "core/fxcodec/JBig2_DocumentContext.h",
dsinclaird55e11e2016-04-12 11:21:22 -0700617 "core/fxcodec/codec/ccodec_basicmodule.h",
618 "core/fxcodec/codec/ccodec_faxmodule.h",
619 "core/fxcodec/codec/ccodec_flatemodule.h",
620 "core/fxcodec/codec/ccodec_iccmodule.h",
621 "core/fxcodec/codec/ccodec_jbig2module.h",
622 "core/fxcodec/codec/ccodec_jpegmodule.h",
623 "core/fxcodec/codec/ccodec_jpxmodule.h",
624 "core/fxcodec/codec/ccodec_scanlinedecoder.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400625 "core/fxcodec/codec/codec_int.h",
626 "core/fxcodec/codec/fx_codec.cpp",
627 "core/fxcodec/codec/fx_codec_fax.cpp",
628 "core/fxcodec/codec/fx_codec_flate.cpp",
629 "core/fxcodec/codec/fx_codec_icc.cpp",
630 "core/fxcodec/codec/fx_codec_jbig.cpp",
631 "core/fxcodec/codec/fx_codec_jpeg.cpp",
632 "core/fxcodec/codec/fx_codec_jpx_opj.cpp",
dsinclair8a4e2862016-09-29 13:43:30 -0700633 "core/fxcodec/fx_codec.h",
634 "core/fxcodec/fx_codec_def.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400635 "core/fxcodec/jbig2/JBig2_ArithDecoder.cpp",
636 "core/fxcodec/jbig2/JBig2_ArithDecoder.h",
637 "core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp",
638 "core/fxcodec/jbig2/JBig2_ArithIntDecoder.h",
639 "core/fxcodec/jbig2/JBig2_BitStream.cpp",
640 "core/fxcodec/jbig2/JBig2_BitStream.h",
641 "core/fxcodec/jbig2/JBig2_Context.cpp",
642 "core/fxcodec/jbig2/JBig2_Context.h",
643 "core/fxcodec/jbig2/JBig2_Define.h",
644 "core/fxcodec/jbig2/JBig2_GrdProc.cpp",
645 "core/fxcodec/jbig2/JBig2_GrdProc.h",
646 "core/fxcodec/jbig2/JBig2_GrrdProc.cpp",
647 "core/fxcodec/jbig2/JBig2_GrrdProc.h",
648 "core/fxcodec/jbig2/JBig2_GsidProc.cpp",
649 "core/fxcodec/jbig2/JBig2_GsidProc.h",
650 "core/fxcodec/jbig2/JBig2_HtrdProc.cpp",
651 "core/fxcodec/jbig2/JBig2_HtrdProc.h",
652 "core/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp",
653 "core/fxcodec/jbig2/JBig2_HuffmanDecoder.h",
654 "core/fxcodec/jbig2/JBig2_HuffmanTable.cpp",
655 "core/fxcodec/jbig2/JBig2_HuffmanTable.h",
Tom Sepez4161c5c2016-03-21 12:26:54 -0700656 "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400657 "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h",
658 "core/fxcodec/jbig2/JBig2_Image.cpp",
659 "core/fxcodec/jbig2/JBig2_Image.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400660 "core/fxcodec/jbig2/JBig2_Page.h",
661 "core/fxcodec/jbig2/JBig2_PatternDict.cpp",
662 "core/fxcodec/jbig2/JBig2_PatternDict.h",
663 "core/fxcodec/jbig2/JBig2_PddProc.cpp",
664 "core/fxcodec/jbig2/JBig2_PddProc.h",
665 "core/fxcodec/jbig2/JBig2_SddProc.cpp",
666 "core/fxcodec/jbig2/JBig2_SddProc.h",
667 "core/fxcodec/jbig2/JBig2_Segment.cpp",
668 "core/fxcodec/jbig2/JBig2_Segment.h",
669 "core/fxcodec/jbig2/JBig2_SymbolDict.cpp",
670 "core/fxcodec/jbig2/JBig2_SymbolDict.h",
671 "core/fxcodec/jbig2/JBig2_TrdProc.cpp",
672 "core/fxcodec/jbig2/JBig2_TrdProc.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700673 ]
thestig73c48562016-09-06 14:07:17 -0700674 configs += [ ":pdfium_core_config" ]
Lei Zhang8241df72015-11-06 14:38:48 -0800675 include_dirs = []
thestig73c48562016-09-06 14:07:17 -0700676 deps = [
677 ":fxcrt",
678 "third_party:fx_lcms2",
679 "third_party:fx_libopenjpeg",
680 "third_party:fx_zlib",
681
682 # This is a generic JPEG library dependency.
683 "//third_party:jpeg",
684 ]
685
Tom Sepezd2e023b2015-12-08 14:36:16 -0800686 if (pdf_enable_xfa) {
687 sources += [
dsinclaird55e11e2016-04-12 11:21:22 -0700688 "core/fxcodec/codec/ccodec_bmpmodule.h",
689 "core/fxcodec/codec/ccodec_gifmodule.h",
690 "core/fxcodec/codec/ccodec_pngmodule.h",
dsinclair8a4e2862016-09-29 13:43:30 -0700691 "core/fxcodec/codec/ccodec_progressivedecoder.h",
dsinclaird55e11e2016-04-12 11:21:22 -0700692 "core/fxcodec/codec/ccodec_tiffmodule.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400693 "core/fxcodec/codec/fx_codec_bmp.cpp",
694 "core/fxcodec/codec/fx_codec_gif.cpp",
695 "core/fxcodec/codec/fx_codec_png.cpp",
696 "core/fxcodec/codec/fx_codec_progress.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400697 "core/fxcodec/codec/fx_codec_tiff.cpp",
698 "core/fxcodec/lbmp/fx_bmp.cpp",
699 "core/fxcodec/lbmp/fx_bmp.h",
700 "core/fxcodec/lgif/fx_gif.cpp",
701 "core/fxcodec/lgif/fx_gif.h",
Tom Sepezd2e023b2015-12-08 14:36:16 -0800702 ]
703 deps += [
704 "third_party:fx_lpng",
705 "third_party:fx_tiff",
706 ]
707 }
John Abd-El-Malekdef5c7d2014-06-09 16:07:18 -0700708 if (is_posix) {
Dan Sinclair764ec512016-03-14 13:35:12 -0400709 # core/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int
John Abd-El-Malekdef5c7d2014-06-09 16:07:18 -0700710 # conversion to check that an address is 16-bit aligned (benign).
711 cflags_c = [ "-Wno-pointer-to-int-cast" ]
712 }
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400713}
714
715config("fxge_warnings") {
716 if (is_clang) {
717 cflags = [
718 # http://code.google.com/p/pdfium/issues/detail?id=188
719 "-Wno-switch",
720 ]
721 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700722}
723
724static_library("fxcrt") {
725 sources = [
tsepez81b22462016-11-23 14:20:19 -0800726 "core/fxcrt/cfx_maybe_owned.h",
dsinclaira52ab742016-09-29 13:59:29 -0700727 "core/fxcrt/cfx_observable.h",
728 "core/fxcrt/cfx_retain_ptr.h",
tsepez2239cee2016-10-17 11:20:01 -0700729 "core/fxcrt/cfx_shared_copy_on_write.h",
tsepezf7036ba2016-05-13 15:02:43 -0700730 "core/fxcrt/cfx_string_c_template.h",
tsepez6fb598b2016-04-05 12:40:47 -0700731 "core/fxcrt/cfx_string_data_template.h",
dsinclaira52ab742016-09-29 13:59:29 -0700732 "core/fxcrt/cfx_string_pool_template.h",
733 "core/fxcrt/cfx_weak_ptr.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400734 "core/fxcrt/extension.h",
dsinclaira52ab742016-09-29 13:59:29 -0700735 "core/fxcrt/fx_basic.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400736 "core/fxcrt/fx_basic_array.cpp",
737 "core/fxcrt/fx_basic_bstring.cpp",
738 "core/fxcrt/fx_basic_buffer.cpp",
739 "core/fxcrt/fx_basic_coords.cpp",
740 "core/fxcrt/fx_basic_gcc.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400741 "core/fxcrt/fx_basic_memmgr.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400742 "core/fxcrt/fx_basic_utf.cpp",
743 "core/fxcrt/fx_basic_util.cpp",
744 "core/fxcrt/fx_basic_wstring.cpp",
745 "core/fxcrt/fx_bidi.cpp",
Dan Sinclaira8a28e02016-03-23 15:41:39 -0400746 "core/fxcrt/fx_bidi.h",
dsinclaira52ab742016-09-29 13:59:29 -0700747 "core/fxcrt/fx_coordinates.h",
748 "core/fxcrt/fx_ext.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400749 "core/fxcrt/fx_extension.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700750 "core/fxcrt/fx_memory.h",
751 "core/fxcrt/fx_safe_types.h",
752 "core/fxcrt/fx_stream.h",
753 "core/fxcrt/fx_string.h",
754 "core/fxcrt/fx_system.h",
755 "core/fxcrt/fx_ucd.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400756 "core/fxcrt/fx_ucddata.cpp",
757 "core/fxcrt/fx_unicode.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700758 "core/fxcrt/fx_xml.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400759 "core/fxcrt/fx_xml_composer.cpp",
760 "core/fxcrt/fx_xml_parser.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400761 "core/fxcrt/fxcrt_posix.cpp",
762 "core/fxcrt/fxcrt_posix.h",
763 "core/fxcrt/fxcrt_stream.cpp",
764 "core/fxcrt/fxcrt_windows.cpp",
765 "core/fxcrt/fxcrt_windows.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400766 "core/fxcrt/xml_int.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700767 ]
thestigc65e11e2016-08-30 21:56:33 -0700768 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700769 visibility += [ "third_party:*" ]
770 deps = [
771 "third_party:pdfium_base",
772 ]
773 public_deps = [
774 "third_party:pdfium_base",
775 ]
thestigc65e11e2016-08-30 21:56:33 -0700776
Tom Sepezd2e023b2015-12-08 14:36:16 -0800777 if (pdf_enable_xfa) {
778 sources += [
pcce3bbfa22016-04-19 12:40:07 -0700779 "core/fxcrt/fx_arabic.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700780 "core/fxcrt/fx_arabic.h",
781 "core/fxcrt/fx_arb.h",
Tom Sepezd2e023b2015-12-08 14:36:16 -0800782 ]
783 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700784}
785
786static_library("fxge") {
787 sources = [
npmcfcc11e2016-10-25 14:26:39 -0700788 "core/fxge/android/cfpf_skiabufferfont.h",
789 "core/fxge/android/cfpf_skiadevicemodule.cpp",
790 "core/fxge/android/cfpf_skiadevicemodule.h",
791 "core/fxge/android/cfpf_skiafilefont.h",
792 "core/fxge/android/cfpf_skiafont.cpp",
793 "core/fxge/android/cfpf_skiafont.h",
794 "core/fxge/android/cfpf_skiafontdescriptor.h",
npm83828032016-10-21 11:56:53 -0700795 "core/fxge/android/cfpf_skiafontmgr.cpp",
npmcfcc11e2016-10-25 14:26:39 -0700796 "core/fxge/android/cfpf_skiafontmgr.h",
797 "core/fxge/android/cfpf_skiapathfont.h",
798 "core/fxge/android/cfx_androidfontinfo.cpp",
799 "core/fxge/android/cfx_androidfontinfo.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400800 "core/fxge/android/fx_android_imp.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -0700801 "core/fxge/cfx_facecache.h",
802 "core/fxge/cfx_fontcache.h",
803 "core/fxge/cfx_fontmapper.h",
804 "core/fxge/cfx_fontmgr.h",
805 "core/fxge/cfx_fxgedevice.h",
806 "core/fxge/cfx_gemodule.h",
807 "core/fxge/cfx_graphstate.h",
808 "core/fxge/cfx_graphstatedata.h",
809 "core/fxge/cfx_pathdata.h",
810 "core/fxge/cfx_renderdevice.h",
811 "core/fxge/cfx_substfont.h",
812 "core/fxge/cfx_unicodeencoding.h",
813 "core/fxge/cfx_windowsdevice.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400814 "core/fxge/dib/dib_int.h",
815 "core/fxge/dib/fx_dib_composite.cpp",
816 "core/fxge/dib/fx_dib_convert.cpp",
817 "core/fxge/dib/fx_dib_engine.cpp",
818 "core/fxge/dib/fx_dib_main.cpp",
819 "core/fxge/dib/fx_dib_transform.cpp",
820 "core/fxge/fontdata/chromefontdata/FoxitDingbats.cpp",
821 "core/fxge/fontdata/chromefontdata/FoxitFixed.cpp",
822 "core/fxge/fontdata/chromefontdata/FoxitFixedBold.cpp",
823 "core/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.cpp",
824 "core/fxge/fontdata/chromefontdata/FoxitFixedItalic.cpp",
825 "core/fxge/fontdata/chromefontdata/FoxitSans.cpp",
826 "core/fxge/fontdata/chromefontdata/FoxitSansBold.cpp",
827 "core/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.cpp",
828 "core/fxge/fontdata/chromefontdata/FoxitSansItalic.cpp",
829 "core/fxge/fontdata/chromefontdata/FoxitSansMM.cpp",
830 "core/fxge/fontdata/chromefontdata/FoxitSerif.cpp",
831 "core/fxge/fontdata/chromefontdata/FoxitSerifBold.cpp",
832 "core/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.cpp",
833 "core/fxge/fontdata/chromefontdata/FoxitSerifItalic.cpp",
834 "core/fxge/fontdata/chromefontdata/FoxitSerifMM.cpp",
835 "core/fxge/fontdata/chromefontdata/FoxitSymbol.cpp",
836 "core/fxge/fontdata/chromefontdata/chromefontdata.h",
837 "core/fxge/freetype/fx_freetype.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -0700838 "core/fxge/fx_dib.h",
839 "core/fxge/fx_font.h",
840 "core/fxge/fx_freetype.h",
npm660de3c2016-08-08 08:18:29 -0700841 "core/fxge/ge/cfx_cliprgn.cpp",
842 "core/fxge/ge/cfx_cliprgn.h",
npm19ecc232016-08-19 16:17:57 -0700843 "core/fxge/ge/cfx_facecache.cpp",
npmf73893a2016-07-27 13:54:25 -0700844 "core/fxge/ge/cfx_folderfontinfo.cpp",
845 "core/fxge/ge/cfx_folderfontinfo.h",
npm155c8802016-09-06 07:31:02 -0700846 "core/fxge/ge/cfx_font.cpp",
npmd6918992016-08-17 13:22:16 -0700847 "core/fxge/ge/cfx_fontcache.cpp",
npmf73893a2016-07-27 13:54:25 -0700848 "core/fxge/ge/cfx_fontmapper.cpp",
849 "core/fxge/ge/cfx_fontmgr.cpp",
npm26b86e62016-08-04 17:22:14 -0700850 "core/fxge/ge/cfx_gemodule.cpp",
tsepez7c9f0a12016-09-06 13:02:55 -0700851 "core/fxge/ge/cfx_graphstate.cpp",
npm9ada2d82016-08-10 07:51:38 -0700852 "core/fxge/ge/cfx_graphstatedata.cpp",
npm660de3c2016-08-08 08:18:29 -0700853 "core/fxge/ge/cfx_pathdata.cpp",
npm9ada2d82016-08-10 07:51:38 -0700854 "core/fxge/ge/cfx_renderdevice.cpp",
npm81ee14d2016-08-29 09:35:12 -0700855 "core/fxge/ge/cfx_substfont.cpp",
npm1a8946b2016-08-18 10:55:29 -0700856 "core/fxge/ge/cfx_unicodeencoding.cpp",
npm81ee14d2016-08-29 09:35:12 -0700857 "core/fxge/ge/cttfontdesc.cpp",
858 "core/fxge/ge/cttfontdesc.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400859 "core/fxge/ge/fx_ge_fontmap.cpp",
860 "core/fxge/ge/fx_ge_linux.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400861 "core/fxge/ge/fx_ge_text.cpp",
862 "core/fxge/ge/fx_text_int.h",
weili095d3462016-06-21 11:24:24 -0700863 "core/fxge/ifx_renderdevicedriver.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -0700864 "core/fxge/ifx_renderdevicedriver.h",
865 "core/fxge/ifx_systemfontinfo.h",
npm74847622016-07-29 15:20:25 -0700866 "core/fxge/win32/cfx_windowsdib.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700867 ]
868
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400869 configs += [
Lei Zhang7b16ba52015-10-26 17:06:53 -0700870 ":fxge_warnings",
weili0abe6522016-06-06 14:41:22 -0700871 ":pdfium_core_config",
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400872 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700873
thestig73c48562016-09-06 14:07:17 -0700874 deps = [
875 ":fxcrt",
876 ]
877
npm1a8946b2016-08-18 10:55:29 -0700878 if (pdf_enable_xfa) {
879 sources += [
dsinclair74a34fc2016-09-29 16:41:42 -0700880 "core/fxge/cfx_unicodeencodingex.h",
npm1a8946b2016-08-18 10:55:29 -0700881 "core/fxge/ge/cfx_unicodeencodingex.cpp",
npm1a8946b2016-08-18 10:55:29 -0700882 ]
883 }
884
caryclarkaf177fe2016-11-16 10:10:03 -0800885 if (pdf_use_skia || pdf_use_skia_paths) {
Cary Clark59b3a482016-03-17 12:00:39 -0400886 sources += [ "core/fxge/skia/fx_skia_device.cpp" ]
thestig73c48562016-09-06 14:07:17 -0700887 deps += [ "//skia" ]
caryclark749c14c2016-05-19 07:01:03 -0700888 } else {
889 sources += [
890 "core/fxge/agg/fx_agg_driver.cpp",
891 "core/fxge/agg/fx_agg_driver.h",
892 ]
thestig73c48562016-09-06 14:07:17 -0700893 deps += [ "third_party:fx_agg" ]
npma97fc7c2016-11-07 08:50:04 -0800894
895 if (is_mac) {
896 sources += [ "core/fxge/apple/fx_apple_platform.cpp" ]
897 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700898 }
899
900 if (is_win) {
901 sources += [
rbpotter8d94b662017-01-06 08:10:18 -0800902 "core/fxge/win32/cfx_psrenderer.cpp",
903 "core/fxge/win32/cfx_psrenderer.h",
904 "core/fxge/win32/cpsoutput.cpp",
905 "core/fxge/win32/cpsoutput.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400906 "core/fxge/win32/dwrite_int.h",
907 "core/fxge/win32/fx_win32_device.cpp",
908 "core/fxge/win32/fx_win32_dib.cpp",
909 "core/fxge/win32/fx_win32_dwrite.cpp",
910 "core/fxge/win32/fx_win32_gdipext.cpp",
911 "core/fxge/win32/fx_win32_print.cpp",
912 "core/fxge/win32/win32_int.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700913 ]
Tom Sepez465ed872015-12-09 14:55:41 -0800914 configs -= [ "//build/config/win:lean_and_mean" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700915 }
npma97fc7c2016-11-07 08:50:04 -0800916
917 if (is_mac) {
918 sources += [
919 "core/fxge/apple/apple_int.h",
920 "core/fxge/apple/fx_mac_imp.cpp",
921 "core/fxge/apple/fx_quartz_device.cpp",
922 ]
923 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700924}
925
926static_library("fxedit") {
927 sources = [
dsinclair0bb385b2016-09-29 17:03:59 -0700928 "fpdfsdk/fxedit/fx_edit.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400929 "fpdfsdk/fxedit/fxet_ap.cpp",
930 "fpdfsdk/fxedit/fxet_edit.cpp",
dsinclair0bb385b2016-09-29 17:03:59 -0700931 "fpdfsdk/fxedit/fxet_edit.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400932 "fpdfsdk/fxedit/fxet_list.cpp",
dsinclair0bb385b2016-09-29 17:03:59 -0700933 "fpdfsdk/fxedit/fxet_list.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700934 ]
weili0abe6522016-06-06 14:41:22 -0700935 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700936 deps = [
937 ":fxcrt",
938 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700939}
940
941static_library("pdfwindow") {
942 sources = [
Dan Sinclairf766ad22016-03-14 13:51:24 -0400943 "fpdfsdk/pdfwindow/PWL_Button.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400944 "fpdfsdk/pdfwindow/PWL_Button.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400945 "fpdfsdk/pdfwindow/PWL_Caret.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400946 "fpdfsdk/pdfwindow/PWL_Caret.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400947 "fpdfsdk/pdfwindow/PWL_ComboBox.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400948 "fpdfsdk/pdfwindow/PWL_ComboBox.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400949 "fpdfsdk/pdfwindow/PWL_Edit.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400950 "fpdfsdk/pdfwindow/PWL_Edit.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400951 "fpdfsdk/pdfwindow/PWL_EditCtrl.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400952 "fpdfsdk/pdfwindow/PWL_EditCtrl.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400953 "fpdfsdk/pdfwindow/PWL_FontMap.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400954 "fpdfsdk/pdfwindow/PWL_FontMap.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400955 "fpdfsdk/pdfwindow/PWL_Icon.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400956 "fpdfsdk/pdfwindow/PWL_Icon.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400957 "fpdfsdk/pdfwindow/PWL_ListBox.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400958 "fpdfsdk/pdfwindow/PWL_ListBox.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400959 "fpdfsdk/pdfwindow/PWL_ScrollBar.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400960 "fpdfsdk/pdfwindow/PWL_ScrollBar.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400961 "fpdfsdk/pdfwindow/PWL_SpecialButton.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400962 "fpdfsdk/pdfwindow/PWL_SpecialButton.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400963 "fpdfsdk/pdfwindow/PWL_Utils.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400964 "fpdfsdk/pdfwindow/PWL_Utils.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400965 "fpdfsdk/pdfwindow/PWL_Wnd.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400966 "fpdfsdk/pdfwindow/PWL_Wnd.h",
Dan Sinclairbc8dcc32017-01-19 13:53:02 -0500967 "fpdfsdk/pdfwindow/cpwl_color.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700968 ]
weili0abe6522016-06-06 14:41:22 -0700969 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700970 deps = [
971 ":fxcrt",
972 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700973}
974
975static_library("javascript") {
976 sources = [
dsinclair64376be2016-03-31 20:03:24 -0700977 "fpdfsdk/javascript/ijs_context.h",
978 "fpdfsdk/javascript/ijs_runtime.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700979 ]
thestig73c48562016-09-06 14:07:17 -0700980 configs += [ ":pdfium_core_config" ]
981 deps = [
982 ":fxcrt",
983 ]
984
Tom Sepez452b4f32015-10-13 09:27:27 -0700985 if (pdf_enable_v8) {
986 sources += [
tonikitoo618cb1f2016-08-18 20:10:17 -0700987 "fpdfsdk/javascript/Annot.cpp",
988 "fpdfsdk/javascript/Annot.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400989 "fpdfsdk/javascript/Consts.cpp",
990 "fpdfsdk/javascript/Consts.h",
991 "fpdfsdk/javascript/Document.cpp",
992 "fpdfsdk/javascript/Document.h",
993 "fpdfsdk/javascript/Field.cpp",
994 "fpdfsdk/javascript/Field.h",
995 "fpdfsdk/javascript/Icon.cpp",
996 "fpdfsdk/javascript/Icon.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400997 "fpdfsdk/javascript/JS_Define.h",
998 "fpdfsdk/javascript/JS_EventHandler.cpp",
999 "fpdfsdk/javascript/JS_EventHandler.h",
1000 "fpdfsdk/javascript/JS_GlobalData.cpp",
1001 "fpdfsdk/javascript/JS_GlobalData.h",
weili47228ac2016-07-20 10:35:31 -07001002 "fpdfsdk/javascript/JS_KeyValue.cpp",
1003 "fpdfsdk/javascript/JS_KeyValue.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001004 "fpdfsdk/javascript/JS_Object.cpp",
1005 "fpdfsdk/javascript/JS_Object.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001006 "fpdfsdk/javascript/JS_Value.cpp",
1007 "fpdfsdk/javascript/JS_Value.h",
1008 "fpdfsdk/javascript/PublicMethods.cpp",
1009 "fpdfsdk/javascript/PublicMethods.h",
1010 "fpdfsdk/javascript/app.cpp",
1011 "fpdfsdk/javascript/app.h",
dsinclair64376be2016-03-31 20:03:24 -07001012 "fpdfsdk/javascript/cjs_context.cpp",
1013 "fpdfsdk/javascript/cjs_context.h",
1014 "fpdfsdk/javascript/cjs_runtime.cpp",
1015 "fpdfsdk/javascript/cjs_runtime.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001016 "fpdfsdk/javascript/color.cpp",
1017 "fpdfsdk/javascript/color.h",
1018 "fpdfsdk/javascript/console.cpp",
1019 "fpdfsdk/javascript/console.h",
1020 "fpdfsdk/javascript/event.cpp",
1021 "fpdfsdk/javascript/event.h",
1022 "fpdfsdk/javascript/global.cpp",
1023 "fpdfsdk/javascript/global.h",
1024 "fpdfsdk/javascript/report.cpp",
1025 "fpdfsdk/javascript/report.h",
1026 "fpdfsdk/javascript/resource.cpp",
1027 "fpdfsdk/javascript/resource.h",
1028 "fpdfsdk/javascript/util.cpp",
1029 "fpdfsdk/javascript/util.h",
Tom Sepez452b4f32015-10-13 09:27:27 -07001030 ]
thestig73c48562016-09-06 14:07:17 -07001031 deps += [ ":fxjs" ]
Jochen Eisinger7ed503d2015-12-10 14:38:06 +01001032 configs += [ "//v8:external_startup_data" ]
Tom Sepez452b4f32015-10-13 09:27:27 -07001033 } else {
Dan Sinclairf766ad22016-03-14 13:51:24 -04001034 sources += [ "fpdfsdk/javascript/JS_Runtime_Stub.cpp" ]
Tom Sepez452b4f32015-10-13 09:27:27 -07001035 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001036}
1037
1038static_library("formfiller") {
1039 sources = [
Dan Sinclairedbb3192016-03-21 09:08:24 -04001040 "fpdfsdk/formfiller/cba_fontmap.cpp",
1041 "fpdfsdk/formfiller/cba_fontmap.h",
1042 "fpdfsdk/formfiller/cffl_checkbox.cpp",
1043 "fpdfsdk/formfiller/cffl_checkbox.h",
1044 "fpdfsdk/formfiller/cffl_combobox.cpp",
1045 "fpdfsdk/formfiller/cffl_combobox.h",
1046 "fpdfsdk/formfiller/cffl_formfiller.cpp",
1047 "fpdfsdk/formfiller/cffl_formfiller.h",
dsinclairb94d7c92016-09-21 12:07:00 -07001048 "fpdfsdk/formfiller/cffl_interactiveformfiller.cpp",
1049 "fpdfsdk/formfiller/cffl_interactiveformfiller.h",
Dan Sinclairedbb3192016-03-21 09:08:24 -04001050 "fpdfsdk/formfiller/cffl_listbox.cpp",
1051 "fpdfsdk/formfiller/cffl_listbox.h",
1052 "fpdfsdk/formfiller/cffl_pushbutton.cpp",
1053 "fpdfsdk/formfiller/cffl_pushbutton.h",
1054 "fpdfsdk/formfiller/cffl_radiobutton.cpp",
1055 "fpdfsdk/formfiller/cffl_radiobutton.h",
1056 "fpdfsdk/formfiller/cffl_textfield.cpp",
1057 "fpdfsdk/formfiller/cffl_textfield.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001058 ]
weili0abe6522016-06-06 14:41:22 -07001059 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -07001060 deps = [
1061 ":fxcrt",
1062 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001063}
Tom Sepezc706fc02014-11-14 13:39:20 -08001064
dsinclairb3f24672016-07-12 10:42:14 -07001065if (pdf_enable_v8) {
dsinclair7f9c8602016-07-12 10:41:43 -07001066 static_library("fxjs") {
1067 sources = [
dsinclairb3f24672016-07-12 10:42:14 -07001068 "fxjs/fxjs_v8.cpp",
dsinclair43554682016-09-29 17:29:48 -07001069 "fxjs/fxjs_v8.h",
dsinclair7f9c8602016-07-12 10:41:43 -07001070 ]
thestig73c48562016-09-06 14:07:17 -07001071 configs += [ ":pdfium_core_config" ]
1072 deps = [
1073 ":fxcrt",
1074 "//v8",
1075 "//v8:v8_libplatform",
1076 ]
1077 include_dirs = [
1078 "//v8",
1079 "//v8/include",
1080 ]
1081 public_deps = [
1082 "//v8",
1083 ]
1084
dsinclairb3f24672016-07-12 10:42:14 -07001085 if (pdf_enable_xfa) {
1086 sources += [
1087 "fxjs/cfxjse_arguments.cpp",
dsinclair43554682016-09-29 17:29:48 -07001088 "fxjs/cfxjse_arguments.h",
dsinclairb3f24672016-07-12 10:42:14 -07001089 "fxjs/cfxjse_class.cpp",
dsinclair43554682016-09-29 17:29:48 -07001090 "fxjs/cfxjse_class.h",
dsinclairb3f24672016-07-12 10:42:14 -07001091 "fxjs/cfxjse_context.cpp",
dsinclair43554682016-09-29 17:29:48 -07001092 "fxjs/cfxjse_context.h",
dsinclairb3f24672016-07-12 10:42:14 -07001093 "fxjs/cfxjse_isolatetracker.cpp",
1094 "fxjs/cfxjse_isolatetracker.h",
1095 "fxjs/cfxjse_runtimedata.cpp",
1096 "fxjs/cfxjse_runtimedata.h",
1097 "fxjs/cfxjse_value.cpp",
dsinclair43554682016-09-29 17:29:48 -07001098 "fxjs/cfxjse_value.h",
1099 "fxjs/fxjse.h",
dsinclairb3f24672016-07-12 10:42:14 -07001100 ]
1101 }
dsinclair7f9c8602016-07-12 10:41:43 -07001102 }
dsinclairb3f24672016-07-12 10:42:14 -07001103}
dsinclair7f9c8602016-07-12 10:41:43 -07001104
dsinclairb3f24672016-07-12 10:42:14 -07001105if (pdf_enable_xfa) {
Tom Sepezb36747d2015-12-08 15:49:25 -08001106 static_library("fpdfxfa") {
1107 sources = [
dsinclair521b7502016-11-02 13:02:28 -07001108 "fpdfsdk/fpdfxfa/cpdfxfa_context.cpp",
1109 "fpdfsdk/fpdfxfa/cpdfxfa_context.h",
dsinclaira440bb32016-09-14 07:01:54 -07001110 "fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp",
dsinclairbec76922016-09-29 16:52:30 -07001111 "fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h",
dsinclair4d29e782016-10-04 14:02:47 -07001112 "fpdfsdk/fpdfxfa/cpdfxfa_page.cpp",
1113 "fpdfsdk/fpdfxfa/cpdfxfa_page.h",
1114 "fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.cpp",
1115 "fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h",
Tom Sepez452b4f32015-10-13 09:27:27 -07001116 ]
1117 deps = [
thestig73c48562016-09-06 14:07:17 -07001118 ":fxcrt",
dsinclair8837c912016-11-01 11:22:37 -07001119 ":fxjs",
Tom Sepezb36747d2015-12-08 15:49:25 -08001120 ":xfa",
1121 ]
weili0abe6522016-06-06 14:41:22 -07001122 configs += [ ":pdfium_core_config" ]
Tom Sepezb36747d2015-12-08 15:49:25 -08001123 }
1124
1125 static_library("xfa") {
1126 sources = [
dsinclairacd0d592016-04-21 11:06:27 -07001127 "xfa/fde/cfde_path.cpp",
1128 "xfa/fde/cfde_path.h",
dsinclair65395182016-05-18 11:09:47 -07001129 "xfa/fde/cfde_txtedtbuf.cpp",
1130 "xfa/fde/cfde_txtedtbuf.h",
dsinclair65395182016-05-18 11:09:47 -07001131 "xfa/fde/cfde_txtedtdorecord_deleterange.cpp",
1132 "xfa/fde/cfde_txtedtdorecord_deleterange.h",
1133 "xfa/fde/cfde_txtedtdorecord_insert.cpp",
1134 "xfa/fde/cfde_txtedtdorecord_insert.h",
1135 "xfa/fde/cfde_txtedtengine.cpp",
1136 "xfa/fde/cfde_txtedtengine.h",
1137 "xfa/fde/cfde_txtedtpage.cpp",
1138 "xfa/fde/cfde_txtedtpage.h",
1139 "xfa/fde/cfde_txtedtparag.cpp",
1140 "xfa/fde/cfde_txtedtparag.h",
1141 "xfa/fde/cfde_txtedttextset.cpp",
1142 "xfa/fde/cfde_txtedttextset.h",
1143 "xfa/fde/cfx_chariter.cpp",
1144 "xfa/fde/cfx_chariter.h",
1145 "xfa/fde/cfx_wordbreak.cpp",
1146 "xfa/fde/cfx_wordbreak.h",
Dan Sinclair95bec802017-01-19 10:27:58 -05001147 "xfa/fde/css/cfde_cssaccelerator.cpp",
1148 "xfa/fde/css/cfde_cssaccelerator.h",
Dan Sinclair19c209d2017-01-18 12:47:24 -05001149 "xfa/fde/css/cfde_csscolorvalue.cpp",
1150 "xfa/fde/css/cfde_csscolorvalue.h",
Dan Sinclair95bec802017-01-19 10:27:58 -05001151 "xfa/fde/css/cfde_csscomputedstyle.cpp",
1152 "xfa/fde/css/cfde_csscomputedstyle.h",
1153 "xfa/fde/css/cfde_csscustomproperty.h",
1154 "xfa/fde/css/cfde_cssdeclaration.cpp",
1155 "xfa/fde/css/cfde_cssdeclaration.h",
Dan Sinclair19c209d2017-01-18 12:47:24 -05001156 "xfa/fde/css/cfde_cssenumvalue.cpp",
1157 "xfa/fde/css/cfde_cssenumvalue.h",
1158 "xfa/fde/css/cfde_cssnumbervalue.cpp",
1159 "xfa/fde/css/cfde_cssnumbervalue.h",
Dan Sinclair95bec802017-01-19 10:27:58 -05001160 "xfa/fde/css/cfde_csspropertyholder.cpp",
1161 "xfa/fde/css/cfde_csspropertyholder.h",
npm69f160d2016-07-20 10:48:27 -07001162 "xfa/fde/css/cfde_cssrulecollection.cpp",
Dan Sinclair95bec802017-01-19 10:27:58 -05001163 "xfa/fde/css/cfde_cssrulecollection.h",
1164 "xfa/fde/css/cfde_cssselector.cpp",
1165 "xfa/fde/css/cfde_cssselector.h",
Dan Sinclair19c209d2017-01-18 12:47:24 -05001166 "xfa/fde/css/cfde_cssstringvalue.cpp",
1167 "xfa/fde/css/cfde_cssstringvalue.h",
Dan Sinclair95bec802017-01-19 10:27:58 -05001168 "xfa/fde/css/cfde_cssstylerule.cpp",
1169 "xfa/fde/css/cfde_cssstylerule.h",
1170 "xfa/fde/css/cfde_cssstyleselector.cpp",
1171 "xfa/fde/css/cfde_cssstyleselector.h",
1172 "xfa/fde/css/cfde_cssstylesheet.cpp",
1173 "xfa/fde/css/cfde_cssstylesheet.h",
1174 "xfa/fde/css/cfde_csssyntaxparser.cpp",
1175 "xfa/fde/css/cfde_csssyntaxparser.h",
1176 "xfa/fde/css/cfde_csstagcache.cpp",
1177 "xfa/fde/css/cfde_csstagcache.h",
1178 "xfa/fde/css/cfde_csstextbuf.cpp",
1179 "xfa/fde/css/cfde_csstextbuf.h",
Dan Sinclair6efd0d72017-01-16 16:05:17 -05001180 "xfa/fde/css/cfde_cssvalue.cpp",
1181 "xfa/fde/css/cfde_cssvalue.h",
Dan Sinclair19c209d2017-01-18 12:47:24 -05001182 "xfa/fde/css/cfde_cssvaluelist.cpp",
1183 "xfa/fde/css/cfde_cssvaluelist.h",
1184 "xfa/fde/css/cfde_cssvaluelistparser.cpp",
1185 "xfa/fde/css/cfde_cssvaluelistparser.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001186 "xfa/fde/css/fde_css.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001187 "xfa/fde/css/fde_cssdatatable.cpp",
1188 "xfa/fde/css/fde_cssdatatable.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001189 "xfa/fde/fde_gedevice.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001190 "xfa/fde/fde_iterator.cpp",
1191 "xfa/fde/fde_iterator.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001192 "xfa/fde/fde_object.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001193 "xfa/fde/fde_render.cpp",
1194 "xfa/fde/fde_render.h",
dsinclair65395182016-05-18 11:09:47 -07001195 "xfa/fde/ifde_txtedtdorecord.h",
1196 "xfa/fde/ifde_txtedtengine.h",
1197 "xfa/fde/ifde_txtedtpage.h",
1198 "xfa/fde/ifx_chariter.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001199 "xfa/fde/tto/fde_textout.cpp",
1200 "xfa/fde/tto/fde_textout.h",
dsinclair6c93df82016-05-19 18:13:53 -07001201 "xfa/fde/xml/cfx_saxreader.cpp",
1202 "xfa/fde/xml/cfx_saxreader.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001203 "xfa/fde/xml/fde_xml.h",
1204 "xfa/fde/xml/fde_xml_imp.cpp",
1205 "xfa/fde/xml/fde_xml_imp.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001206 "xfa/fgas/crt/fgas_codepage.cpp",
1207 "xfa/fgas/crt/fgas_codepage.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001208 "xfa/fgas/crt/fgas_language.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001209 "xfa/fgas/crt/fgas_stream.cpp",
1210 "xfa/fgas/crt/fgas_stream.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001211 "xfa/fgas/crt/fgas_utils.cpp",
1212 "xfa/fgas/crt/fgas_utils.h",
npm8f3eb602016-11-11 17:16:23 -08001213 "xfa/fgas/font/cfgas_fontmgr.cpp",
1214 "xfa/fgas/font/cfgas_fontmgr.h",
npm4b91a2d2016-11-21 15:19:44 -08001215 "xfa/fgas/font/cfgas_gefont.cpp",
1216 "xfa/fgas/font/cfgas_gefont.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001217 "xfa/fgas/font/fgas_fontutils.cpp",
1218 "xfa/fgas/font/fgas_fontutils.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001219 "xfa/fgas/layout/fgas_linebreak.cpp",
1220 "xfa/fgas/layout/fgas_linebreak.h",
1221 "xfa/fgas/layout/fgas_rtfbreak.cpp",
1222 "xfa/fgas/layout/fgas_rtfbreak.h",
1223 "xfa/fgas/layout/fgas_textbreak.cpp",
1224 "xfa/fgas/layout/fgas_textbreak.h",
1225 "xfa/fgas/layout/fgas_unicode.cpp",
1226 "xfa/fgas/layout/fgas_unicode.h",
1227 "xfa/fgas/localization/fgas_datetime.cpp",
1228 "xfa/fgas/localization/fgas_datetime.h",
1229 "xfa/fgas/localization/fgas_locale.cpp",
1230 "xfa/fgas/localization/fgas_locale.h",
1231 "xfa/fgas/localization/fgas_localeimp.h",
dsinclair447b1f32016-12-08 10:06:32 -08001232 "xfa/fwl/cfwl_app.cpp",
1233 "xfa/fwl/cfwl_app.h",
1234 "xfa/fwl/cfwl_barcode.cpp",
1235 "xfa/fwl/cfwl_barcode.h",
1236 "xfa/fwl/cfwl_caret.cpp",
1237 "xfa/fwl/cfwl_caret.h",
1238 "xfa/fwl/cfwl_checkbox.cpp",
1239 "xfa/fwl/cfwl_checkbox.h",
1240 "xfa/fwl/cfwl_combobox.cpp",
1241 "xfa/fwl/cfwl_combobox.h",
1242 "xfa/fwl/cfwl_comboboxproxy.cpp",
1243 "xfa/fwl/cfwl_comboboxproxy.h",
1244 "xfa/fwl/cfwl_comboedit.cpp",
1245 "xfa/fwl/cfwl_comboedit.h",
1246 "xfa/fwl/cfwl_combolist.cpp",
1247 "xfa/fwl/cfwl_combolist.h",
1248 "xfa/fwl/cfwl_datetimeedit.cpp",
1249 "xfa/fwl/cfwl_datetimeedit.h",
1250 "xfa/fwl/cfwl_datetimepicker.cpp",
1251 "xfa/fwl/cfwl_datetimepicker.h",
1252 "xfa/fwl/cfwl_edit.cpp",
1253 "xfa/fwl/cfwl_edit.h",
1254 "xfa/fwl/cfwl_event.cpp",
1255 "xfa/fwl/cfwl_event.h",
1256 "xfa/fwl/cfwl_eventcheckword.cpp",
1257 "xfa/fwl/cfwl_eventcheckword.h",
1258 "xfa/fwl/cfwl_eventmouse.cpp",
1259 "xfa/fwl/cfwl_eventmouse.h",
1260 "xfa/fwl/cfwl_eventscroll.cpp",
1261 "xfa/fwl/cfwl_eventscroll.h",
1262 "xfa/fwl/cfwl_eventselectchanged.cpp",
1263 "xfa/fwl/cfwl_eventselectchanged.h",
1264 "xfa/fwl/cfwl_eventtarget.cpp",
1265 "xfa/fwl/cfwl_eventtarget.h",
1266 "xfa/fwl/cfwl_eventtextchanged.cpp",
1267 "xfa/fwl/cfwl_eventtextchanged.h",
1268 "xfa/fwl/cfwl_eventvalidate.cpp",
1269 "xfa/fwl/cfwl_eventvalidate.h",
1270 "xfa/fwl/cfwl_form.cpp",
1271 "xfa/fwl/cfwl_form.h",
1272 "xfa/fwl/cfwl_formproxy.cpp",
1273 "xfa/fwl/cfwl_formproxy.h",
1274 "xfa/fwl/cfwl_listbox.cpp",
1275 "xfa/fwl/cfwl_listbox.h",
1276 "xfa/fwl/cfwl_listitem.cpp",
1277 "xfa/fwl/cfwl_listitem.h",
1278 "xfa/fwl/cfwl_message.cpp",
1279 "xfa/fwl/cfwl_message.h",
1280 "xfa/fwl/cfwl_messagekey.cpp",
1281 "xfa/fwl/cfwl_messagekey.h",
1282 "xfa/fwl/cfwl_messagekillfocus.cpp",
1283 "xfa/fwl/cfwl_messagekillfocus.h",
1284 "xfa/fwl/cfwl_messagemouse.cpp",
1285 "xfa/fwl/cfwl_messagemouse.h",
1286 "xfa/fwl/cfwl_messagemousewheel.cpp",
1287 "xfa/fwl/cfwl_messagemousewheel.h",
1288 "xfa/fwl/cfwl_messagesetfocus.cpp",
1289 "xfa/fwl/cfwl_messagesetfocus.h",
1290 "xfa/fwl/cfwl_monthcalendar.cpp",
1291 "xfa/fwl/cfwl_monthcalendar.h",
1292 "xfa/fwl/cfwl_notedriver.cpp",
1293 "xfa/fwl/cfwl_notedriver.h",
1294 "xfa/fwl/cfwl_noteloop.cpp",
1295 "xfa/fwl/cfwl_noteloop.h",
1296 "xfa/fwl/cfwl_picturebox.cpp",
1297 "xfa/fwl/cfwl_picturebox.h",
1298 "xfa/fwl/cfwl_pushbutton.cpp",
1299 "xfa/fwl/cfwl_pushbutton.h",
1300 "xfa/fwl/cfwl_scrollbar.cpp",
1301 "xfa/fwl/cfwl_scrollbar.h",
1302 "xfa/fwl/cfwl_spinbutton.cpp",
1303 "xfa/fwl/cfwl_spinbutton.h",
dsinclair447b1f32016-12-08 10:06:32 -08001304 "xfa/fwl/cfwl_themebackground.h",
1305 "xfa/fwl/cfwl_themepart.cpp",
1306 "xfa/fwl/cfwl_themepart.h",
1307 "xfa/fwl/cfwl_themetext.h",
1308 "xfa/fwl/cfwl_timer.cpp",
1309 "xfa/fwl/cfwl_timer.h",
1310 "xfa/fwl/cfwl_timerinfo.cpp",
1311 "xfa/fwl/cfwl_timerinfo.h",
1312 "xfa/fwl/cfwl_widget.cpp",
1313 "xfa/fwl/cfwl_widget.h",
1314 "xfa/fwl/cfwl_widgetmgr.cpp",
1315 "xfa/fwl/cfwl_widgetmgr.h",
1316 "xfa/fwl/cfwl_widgetproperties.cpp",
1317 "xfa/fwl/cfwl_widgetproperties.h",
1318 "xfa/fwl/cfx_barcode.cpp",
1319 "xfa/fwl/cfx_barcode.h",
1320 "xfa/fwl/fwl_error.h",
1321 "xfa/fwl/fwl_widgetdef.h",
1322 "xfa/fwl/fwl_widgethit.h",
1323 "xfa/fwl/ifwl_adaptertimermgr.h",
1324 "xfa/fwl/ifwl_themeprovider.h",
1325 "xfa/fwl/ifwl_widgetdelegate.h",
1326 "xfa/fwl/ifwl_widgetmgrdelegate.h",
dsinclair7f432a12016-03-29 12:38:01 -07001327 "xfa/fwl/theme/cfwl_barcodetp.cpp",
1328 "xfa/fwl/theme/cfwl_barcodetp.h",
1329 "xfa/fwl/theme/cfwl_carettp.cpp",
1330 "xfa/fwl/theme/cfwl_carettp.h",
1331 "xfa/fwl/theme/cfwl_checkboxtp.cpp",
1332 "xfa/fwl/theme/cfwl_checkboxtp.h",
1333 "xfa/fwl/theme/cfwl_comboboxtp.cpp",
1334 "xfa/fwl/theme/cfwl_comboboxtp.h",
weilibeecc342016-08-04 11:57:22 -07001335 "xfa/fwl/theme/cfwl_datetimepickertp.cpp",
dsinclair7f432a12016-03-29 12:38:01 -07001336 "xfa/fwl/theme/cfwl_datetimepickertp.h",
1337 "xfa/fwl/theme/cfwl_edittp.cpp",
1338 "xfa/fwl/theme/cfwl_edittp.h",
dsinclair7f432a12016-03-29 12:38:01 -07001339 "xfa/fwl/theme/cfwl_listboxtp.cpp",
1340 "xfa/fwl/theme/cfwl_listboxtp.h",
1341 "xfa/fwl/theme/cfwl_monthcalendartp.cpp",
1342 "xfa/fwl/theme/cfwl_monthcalendartp.h",
1343 "xfa/fwl/theme/cfwl_pictureboxtp.cpp",
1344 "xfa/fwl/theme/cfwl_pictureboxtp.h",
1345 "xfa/fwl/theme/cfwl_pushbuttontp.cpp",
1346 "xfa/fwl/theme/cfwl_pushbuttontp.h",
1347 "xfa/fwl/theme/cfwl_scrollbartp.cpp",
1348 "xfa/fwl/theme/cfwl_scrollbartp.h",
1349 "xfa/fwl/theme/cfwl_utils.h",
1350 "xfa/fwl/theme/cfwl_widgettp.cpp",
1351 "xfa/fwl/theme/cfwl_widgettp.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001352 "xfa/fxbarcode/BC_Dimension.cpp",
1353 "xfa/fxbarcode/BC_Dimension.h",
1354 "xfa/fxbarcode/BC_Library.cpp",
dsinclair202ad722016-09-29 17:41:42 -07001355 "xfa/fxbarcode/BC_Library.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001356 "xfa/fxbarcode/BC_TwoDimWriter.cpp",
1357 "xfa/fxbarcode/BC_TwoDimWriter.h",
1358 "xfa/fxbarcode/BC_UtilCodingConvert.cpp",
1359 "xfa/fxbarcode/BC_UtilCodingConvert.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001360 "xfa/fxbarcode/BC_Utils.cpp",
1361 "xfa/fxbarcode/BC_Writer.cpp",
1362 "xfa/fxbarcode/BC_Writer.h",
Dan Sinclaira8a28e02016-03-23 15:41:39 -04001363 "xfa/fxbarcode/cbc_codabar.cpp",
1364 "xfa/fxbarcode/cbc_codabar.h",
1365 "xfa/fxbarcode/cbc_code128.cpp",
1366 "xfa/fxbarcode/cbc_code128.h",
1367 "xfa/fxbarcode/cbc_code39.cpp",
1368 "xfa/fxbarcode/cbc_code39.h",
1369 "xfa/fxbarcode/cbc_codebase.cpp",
1370 "xfa/fxbarcode/cbc_codebase.h",
1371 "xfa/fxbarcode/cbc_datamatrix.cpp",
1372 "xfa/fxbarcode/cbc_datamatrix.h",
1373 "xfa/fxbarcode/cbc_ean13.cpp",
1374 "xfa/fxbarcode/cbc_ean13.h",
1375 "xfa/fxbarcode/cbc_ean8.cpp",
1376 "xfa/fxbarcode/cbc_ean8.h",
1377 "xfa/fxbarcode/cbc_onecode.cpp",
1378 "xfa/fxbarcode/cbc_onecode.h",
1379 "xfa/fxbarcode/cbc_pdf417i.cpp",
1380 "xfa/fxbarcode/cbc_pdf417i.h",
1381 "xfa/fxbarcode/cbc_qrcode.cpp",
1382 "xfa/fxbarcode/cbc_qrcode.h",
1383 "xfa/fxbarcode/cbc_upca.cpp",
1384 "xfa/fxbarcode/cbc_upca.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001385 "xfa/fxbarcode/common/BC_CommonBitArray.cpp",
1386 "xfa/fxbarcode/common/BC_CommonBitArray.h",
1387 "xfa/fxbarcode/common/BC_CommonBitMatrix.cpp",
1388 "xfa/fxbarcode/common/BC_CommonBitMatrix.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001389 "xfa/fxbarcode/common/BC_CommonByteArray.cpp",
1390 "xfa/fxbarcode/common/BC_CommonByteArray.h",
1391 "xfa/fxbarcode/common/BC_CommonByteMatrix.cpp",
1392 "xfa/fxbarcode/common/BC_CommonByteMatrix.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001393 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomon.cpp",
1394 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomon.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001395 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.cpp",
1396 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h",
1397 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp",
1398 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h",
1399 "xfa/fxbarcode/datamatrix/BC_ASCIIEncoder.cpp",
1400 "xfa/fxbarcode/datamatrix/BC_ASCIIEncoder.h",
1401 "xfa/fxbarcode/datamatrix/BC_Base256Encoder.cpp",
1402 "xfa/fxbarcode/datamatrix/BC_Base256Encoder.h",
1403 "xfa/fxbarcode/datamatrix/BC_C40Encoder.cpp",
1404 "xfa/fxbarcode/datamatrix/BC_C40Encoder.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001405 "xfa/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.cpp",
1406 "xfa/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001407 "xfa/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp",
1408 "xfa/fxbarcode/datamatrix/BC_DataMatrixWriter.h",
1409 "xfa/fxbarcode/datamatrix/BC_DefaultPlacement.cpp",
1410 "xfa/fxbarcode/datamatrix/BC_DefaultPlacement.h",
1411 "xfa/fxbarcode/datamatrix/BC_EdifactEncoder.cpp",
1412 "xfa/fxbarcode/datamatrix/BC_EdifactEncoder.h",
1413 "xfa/fxbarcode/datamatrix/BC_Encoder.cpp",
1414 "xfa/fxbarcode/datamatrix/BC_Encoder.h",
1415 "xfa/fxbarcode/datamatrix/BC_EncoderContext.cpp",
1416 "xfa/fxbarcode/datamatrix/BC_EncoderContext.h",
1417 "xfa/fxbarcode/datamatrix/BC_ErrorCorrection.cpp",
1418 "xfa/fxbarcode/datamatrix/BC_ErrorCorrection.h",
1419 "xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp",
1420 "xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.h",
1421 "xfa/fxbarcode/datamatrix/BC_SymbolInfo.cpp",
1422 "xfa/fxbarcode/datamatrix/BC_SymbolInfo.h",
1423 "xfa/fxbarcode/datamatrix/BC_SymbolShapeHint.cpp",
1424 "xfa/fxbarcode/datamatrix/BC_SymbolShapeHint.h",
1425 "xfa/fxbarcode/datamatrix/BC_TextEncoder.cpp",
1426 "xfa/fxbarcode/datamatrix/BC_TextEncoder.h",
1427 "xfa/fxbarcode/datamatrix/BC_X12Encoder.cpp",
1428 "xfa/fxbarcode/datamatrix/BC_X12Encoder.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001429 "xfa/fxbarcode/oned/BC_OneDimWriter.cpp",
1430 "xfa/fxbarcode/oned/BC_OneDimWriter.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001431 "xfa/fxbarcode/oned/BC_OnedCodaBarWriter.cpp",
1432 "xfa/fxbarcode/oned/BC_OnedCodaBarWriter.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001433 "xfa/fxbarcode/oned/BC_OnedCode128Writer.cpp",
1434 "xfa/fxbarcode/oned/BC_OnedCode128Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001435 "xfa/fxbarcode/oned/BC_OnedCode39Writer.cpp",
1436 "xfa/fxbarcode/oned/BC_OnedCode39Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001437 "xfa/fxbarcode/oned/BC_OnedEAN13Writer.cpp",
1438 "xfa/fxbarcode/oned/BC_OnedEAN13Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001439 "xfa/fxbarcode/oned/BC_OnedEAN8Writer.cpp",
1440 "xfa/fxbarcode/oned/BC_OnedEAN8Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001441 "xfa/fxbarcode/oned/BC_OnedUPCAWriter.cpp",
1442 "xfa/fxbarcode/oned/BC_OnedUPCAWriter.h",
1443 "xfa/fxbarcode/pdf417/BC_PDF417.cpp",
1444 "xfa/fxbarcode/pdf417/BC_PDF417.h",
1445 "xfa/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp",
1446 "xfa/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001447 "xfa/fxbarcode/pdf417/BC_PDF417BarcodeRow.cpp",
1448 "xfa/fxbarcode/pdf417/BC_PDF417BarcodeRow.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001449 "xfa/fxbarcode/pdf417/BC_PDF417Compaction.cpp",
1450 "xfa/fxbarcode/pdf417/BC_PDF417Compaction.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001451 "xfa/fxbarcode/pdf417/BC_PDF417ErrorCorrection.cpp",
1452 "xfa/fxbarcode/pdf417/BC_PDF417ErrorCorrection.h",
1453 "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.cpp",
1454 "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001455 "xfa/fxbarcode/pdf417/BC_PDF417Writer.cpp",
1456 "xfa/fxbarcode/pdf417/BC_PDF417Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001457 "xfa/fxbarcode/qrcode/BC_QRCodeWriter.cpp",
1458 "xfa/fxbarcode/qrcode/BC_QRCodeWriter.h",
1459 "xfa/fxbarcode/qrcode/BC_QRCoder.cpp",
1460 "xfa/fxbarcode/qrcode/BC_QRCoder.h",
1461 "xfa/fxbarcode/qrcode/BC_QRCoderBitVector.cpp",
1462 "xfa/fxbarcode/qrcode/BC_QRCoderBitVector.h",
1463 "xfa/fxbarcode/qrcode/BC_QRCoderBlockPair.cpp",
1464 "xfa/fxbarcode/qrcode/BC_QRCoderBlockPair.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001465 "xfa/fxbarcode/qrcode/BC_QRCoderECB.cpp",
1466 "xfa/fxbarcode/qrcode/BC_QRCoderECB.h",
1467 "xfa/fxbarcode/qrcode/BC_QRCoderECBlocks.cpp",
1468 "xfa/fxbarcode/qrcode/BC_QRCoderECBlocks.h",
1469 "xfa/fxbarcode/qrcode/BC_QRCoderEncoder.cpp",
1470 "xfa/fxbarcode/qrcode/BC_QRCoderEncoder.h",
1471 "xfa/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.cpp",
1472 "xfa/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001473 "xfa/fxbarcode/qrcode/BC_QRCoderMaskUtil.cpp",
1474 "xfa/fxbarcode/qrcode/BC_QRCoderMaskUtil.h",
1475 "xfa/fxbarcode/qrcode/BC_QRCoderMatrixUtil.cpp",
1476 "xfa/fxbarcode/qrcode/BC_QRCoderMatrixUtil.h",
1477 "xfa/fxbarcode/qrcode/BC_QRCoderMode.cpp",
1478 "xfa/fxbarcode/qrcode/BC_QRCoderMode.h",
1479 "xfa/fxbarcode/qrcode/BC_QRCoderVersion.cpp",
1480 "xfa/fxbarcode/qrcode/BC_QRCoderVersion.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001481 "xfa/fxbarcode/utils.h",
Dan Sinclair1f5d4982017-01-10 16:37:32 -05001482 "xfa/fxfa/app/cxfa_csstagprovider.cpp",
1483 "xfa/fxfa/app/cxfa_csstagprovider.h",
weili625ad662016-06-15 11:21:33 -07001484 "xfa/fxfa/app/cxfa_eventparam.cpp",
Dan Sinclair1f5d4982017-01-10 16:37:32 -05001485 "xfa/fxfa/app/cxfa_linkuserdata.cpp",
1486 "xfa/fxfa/app/cxfa_linkuserdata.h",
1487 "xfa/fxfa/app/cxfa_loadercontext.cpp",
1488 "xfa/fxfa/app/cxfa_loadercontext.h",
1489 "xfa/fxfa/app/cxfa_pieceline.cpp",
1490 "xfa/fxfa/app/cxfa_pieceline.h",
1491 "xfa/fxfa/app/cxfa_textlayout.cpp",
1492 "xfa/fxfa/app/cxfa_textlayout.h",
1493 "xfa/fxfa/app/cxfa_textparsecontext.cpp",
1494 "xfa/fxfa/app/cxfa_textparsecontext.h",
1495 "xfa/fxfa/app/cxfa_textparser.cpp",
1496 "xfa/fxfa/app/cxfa_textparser.h",
1497 "xfa/fxfa/app/cxfa_texttabstopscontext.cpp",
1498 "xfa/fxfa/app/cxfa_texttabstopscontext.h",
1499 "xfa/fxfa/app/cxfa_textuserdata.cpp",
1500 "xfa/fxfa/app/cxfa_textuserdata.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001501 "xfa/fxfa/app/xfa_checksum.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001502 "xfa/fxfa/app/xfa_ffapp.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001503 "xfa/fxfa/app/xfa_ffbarcode.cpp",
1504 "xfa/fxfa/app/xfa_ffbarcode.h",
1505 "xfa/fxfa/app/xfa_ffcheckbutton.cpp",
1506 "xfa/fxfa/app/xfa_ffcheckbutton.h",
1507 "xfa/fxfa/app/xfa_ffchoicelist.cpp",
1508 "xfa/fxfa/app/xfa_ffchoicelist.h",
1509 "xfa/fxfa/app/xfa_ffdoc.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001510 "xfa/fxfa/app/xfa_ffdochandler.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001511 "xfa/fxfa/app/xfa_ffdocview.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001512 "xfa/fxfa/app/xfa_ffdraw.cpp",
1513 "xfa/fxfa/app/xfa_ffdraw.h",
1514 "xfa/fxfa/app/xfa_ffexclgroup.cpp",
1515 "xfa/fxfa/app/xfa_ffexclgroup.h",
1516 "xfa/fxfa/app/xfa_fffield.cpp",
1517 "xfa/fxfa/app/xfa_fffield.h",
1518 "xfa/fxfa/app/xfa_ffimage.cpp",
1519 "xfa/fxfa/app/xfa_ffimage.h",
1520 "xfa/fxfa/app/xfa_ffimageedit.cpp",
1521 "xfa/fxfa/app/xfa_ffimageedit.h",
1522 "xfa/fxfa/app/xfa_ffnotify.cpp",
1523 "xfa/fxfa/app/xfa_ffnotify.h",
1524 "xfa/fxfa/app/xfa_ffpageview.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001525 "xfa/fxfa/app/xfa_ffpath.cpp",
1526 "xfa/fxfa/app/xfa_ffpath.h",
1527 "xfa/fxfa/app/xfa_ffpushbutton.cpp",
1528 "xfa/fxfa/app/xfa_ffpushbutton.h",
1529 "xfa/fxfa/app/xfa_ffsignature.cpp",
1530 "xfa/fxfa/app/xfa_ffsignature.h",
1531 "xfa/fxfa/app/xfa_ffsubform.cpp",
1532 "xfa/fxfa/app/xfa_ffsubform.h",
1533 "xfa/fxfa/app/xfa_fftext.cpp",
1534 "xfa/fxfa/app/xfa_fftext.h",
1535 "xfa/fxfa/app/xfa_fftextedit.cpp",
1536 "xfa/fxfa/app/xfa_fftextedit.h",
1537 "xfa/fxfa/app/xfa_ffwidget.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001538 "xfa/fxfa/app/xfa_ffwidgetacc.cpp",
1539 "xfa/fxfa/app/xfa_ffwidgetacc.h",
1540 "xfa/fxfa/app/xfa_ffwidgethandler.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001541 "xfa/fxfa/app/xfa_fontmgr.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001542 "xfa/fxfa/app/xfa_fwladapter.cpp",
1543 "xfa/fxfa/app/xfa_fwladapter.h",
1544 "xfa/fxfa/app/xfa_fwltheme.cpp",
1545 "xfa/fxfa/app/xfa_fwltheme.h",
1546 "xfa/fxfa/app/xfa_rendercontext.cpp",
Dan Sinclair1f5d4982017-01-10 16:37:32 -05001547 "xfa/fxfa/app/xfa_textpiece.cpp",
1548 "xfa/fxfa/app/xfa_textpiece.h",
dsinclair5b493092016-09-29 20:20:24 -07001549 "xfa/fxfa/cxfa_eventparam.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001550 "xfa/fxfa/fm2js/xfa_error.cpp",
1551 "xfa/fxfa/fm2js/xfa_error.h",
1552 "xfa/fxfa/fm2js/xfa_expression.cpp",
1553 "xfa/fxfa/fm2js/xfa_expression.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001554 "xfa/fxfa/fm2js/xfa_fm2jscontext.cpp",
1555 "xfa/fxfa/fm2js/xfa_fm2jscontext.h",
1556 "xfa/fxfa/fm2js/xfa_fmparse.cpp",
1557 "xfa/fxfa/fm2js/xfa_fmparse.h",
1558 "xfa/fxfa/fm2js/xfa_lexer.cpp",
1559 "xfa/fxfa/fm2js/xfa_lexer.h",
1560 "xfa/fxfa/fm2js/xfa_program.cpp",
1561 "xfa/fxfa/fm2js/xfa_program.h",
1562 "xfa/fxfa/fm2js/xfa_simpleexpression.cpp",
1563 "xfa/fxfa/fm2js/xfa_simpleexpression.h",
dsinclair5b493092016-09-29 20:20:24 -07001564 "xfa/fxfa/fxfa.h",
1565 "xfa/fxfa/fxfa_basic.h",
1566 "xfa/fxfa/fxfa_widget.h",
dsinclairc1515ef2016-07-20 06:16:06 -07001567 "xfa/fxfa/parser/cscript_datawindow.cpp",
1568 "xfa/fxfa/parser/cscript_datawindow.h",
1569 "xfa/fxfa/parser/cscript_eventpseudomodel.cpp",
1570 "xfa/fxfa/parser/cscript_eventpseudomodel.h",
1571 "xfa/fxfa/parser/cscript_hostpseudomodel.cpp",
1572 "xfa/fxfa/parser/cscript_hostpseudomodel.h",
1573 "xfa/fxfa/parser/cscript_layoutpseudomodel.cpp",
1574 "xfa/fxfa/parser/cscript_layoutpseudomodel.h",
1575 "xfa/fxfa/parser/cscript_logpseudomodel.cpp",
1576 "xfa/fxfa/parser/cscript_logpseudomodel.h",
1577 "xfa/fxfa/parser/cscript_signaturepseudomodel.cpp",
1578 "xfa/fxfa/parser/cscript_signaturepseudomodel.h",
dsinclair44d054c2016-04-06 10:23:46 -07001579 "xfa/fxfa/parser/cxfa_arc.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001580 "xfa/fxfa/parser/cxfa_arraynodelist.cpp",
dsinclair44d054c2016-04-06 10:23:46 -07001581 "xfa/fxfa/parser/cxfa_assist.cpp",
1582 "xfa/fxfa/parser/cxfa_assist.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001583 "xfa/fxfa/parser/cxfa_attachnodelist.cpp",
dsinclair44d054c2016-04-06 10:23:46 -07001584 "xfa/fxfa/parser/cxfa_bind.cpp",
1585 "xfa/fxfa/parser/cxfa_bind.h",
1586 "xfa/fxfa/parser/cxfa_binditems.cpp",
1587 "xfa/fxfa/parser/cxfa_binditems.h",
1588 "xfa/fxfa/parser/cxfa_border.h",
1589 "xfa/fxfa/parser/cxfa_box.cpp",
1590 "xfa/fxfa/parser/cxfa_box.h",
1591 "xfa/fxfa/parser/cxfa_calculate.cpp",
1592 "xfa/fxfa/parser/cxfa_calculate.h",
1593 "xfa/fxfa/parser/cxfa_caption.cpp",
1594 "xfa/fxfa/parser/cxfa_caption.h",
dsinclair0b851ff2016-07-21 12:03:01 -07001595 "xfa/fxfa/parser/cxfa_containerlayoutitem.cpp",
1596 "xfa/fxfa/parser/cxfa_containerlayoutitem.h",
1597 "xfa/fxfa/parser/cxfa_contentlayoutitem.cpp",
1598 "xfa/fxfa/parser/cxfa_contentlayoutitem.h",
dsinclair44d054c2016-04-06 10:23:46 -07001599 "xfa/fxfa/parser/cxfa_corner.h",
1600 "xfa/fxfa/parser/cxfa_data.cpp",
1601 "xfa/fxfa/parser/cxfa_data.h",
dsinclair3a7cc732016-07-21 12:04:34 -07001602 "xfa/fxfa/parser/cxfa_dataexporter.cpp",
1603 "xfa/fxfa/parser/cxfa_dataexporter.h",
1604 "xfa/fxfa/parser/cxfa_dataimporter.cpp",
1605 "xfa/fxfa/parser/cxfa_dataimporter.h",
dsinclair16280242016-07-21 12:03:47 -07001606 "xfa/fxfa/parser/cxfa_document.cpp",
1607 "xfa/fxfa/parser/cxfa_document.h",
dsinclair34f86b02016-07-11 08:42:33 -07001608 "xfa/fxfa/parser/cxfa_document_parser.cpp",
1609 "xfa/fxfa/parser/cxfa_document_parser.h",
dsinclair44d054c2016-04-06 10:23:46 -07001610 "xfa/fxfa/parser/cxfa_edge.h",
1611 "xfa/fxfa/parser/cxfa_event.cpp",
1612 "xfa/fxfa/parser/cxfa_event.h",
1613 "xfa/fxfa/parser/cxfa_exdata.cpp",
1614 "xfa/fxfa/parser/cxfa_exdata.h",
1615 "xfa/fxfa/parser/cxfa_fill.cpp",
1616 "xfa/fxfa/parser/cxfa_fill.h",
1617 "xfa/fxfa/parser/cxfa_font.cpp",
1618 "xfa/fxfa/parser/cxfa_font.h",
1619 "xfa/fxfa/parser/cxfa_image.cpp",
1620 "xfa/fxfa/parser/cxfa_image.h",
dsinclair0b851ff2016-07-21 12:03:01 -07001621 "xfa/fxfa/parser/cxfa_layoutitem.cpp",
1622 "xfa/fxfa/parser/cxfa_layoutitem.h",
dsinclair8d0cc672016-08-03 12:58:53 -07001623 "xfa/fxfa/parser/cxfa_layoutpagemgr.cpp",
1624 "xfa/fxfa/parser/cxfa_layoutpagemgr.h",
dsinclair0b851ff2016-07-21 12:03:01 -07001625 "xfa/fxfa/parser/cxfa_layoutprocessor.cpp",
1626 "xfa/fxfa/parser/cxfa_layoutprocessor.h",
dsinclair44d054c2016-04-06 10:23:46 -07001627 "xfa/fxfa/parser/cxfa_line.cpp",
1628 "xfa/fxfa/parser/cxfa_line.h",
1629 "xfa/fxfa/parser/cxfa_margin.cpp",
1630 "xfa/fxfa/parser/cxfa_margin.h",
dsinclair9eb0db12016-07-21 12:01:39 -07001631 "xfa/fxfa/parser/cxfa_measurement.cpp",
1632 "xfa/fxfa/parser/cxfa_measurement.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001633 "xfa/fxfa/parser/cxfa_node.cpp",
dsinclair31f87402016-07-20 06:34:45 -07001634 "xfa/fxfa/parser/cxfa_nodehelper.cpp",
1635 "xfa/fxfa/parser/cxfa_nodehelper.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001636 "xfa/fxfa/parser/cxfa_nodelist.cpp",
1637 "xfa/fxfa/parser/cxfa_object.cpp",
dsinclair44d054c2016-04-06 10:23:46 -07001638 "xfa/fxfa/parser/cxfa_occur.cpp",
1639 "xfa/fxfa/parser/cxfa_occur.h",
1640 "xfa/fxfa/parser/cxfa_para.cpp",
1641 "xfa/fxfa/parser/cxfa_para.h",
1642 "xfa/fxfa/parser/cxfa_rectangle.h",
dsinclair31f87402016-07-20 06:34:45 -07001643 "xfa/fxfa/parser/cxfa_resolveprocessor.cpp",
1644 "xfa/fxfa/parser/cxfa_resolveprocessor.h",
dsinclair44d054c2016-04-06 10:23:46 -07001645 "xfa/fxfa/parser/cxfa_script.cpp",
1646 "xfa/fxfa/parser/cxfa_script.h",
dsinclair31f87402016-07-20 06:34:45 -07001647 "xfa/fxfa/parser/cxfa_scriptcontext.cpp",
1648 "xfa/fxfa/parser/cxfa_scriptcontext.h",
dsinclair34f86b02016-07-11 08:42:33 -07001649 "xfa/fxfa/parser/cxfa_simple_parser.cpp",
1650 "xfa/fxfa/parser/cxfa_simple_parser.h",
dsinclair44d054c2016-04-06 10:23:46 -07001651 "xfa/fxfa/parser/cxfa_stroke.cpp",
1652 "xfa/fxfa/parser/cxfa_stroke.h",
1653 "xfa/fxfa/parser/cxfa_submit.cpp",
1654 "xfa/fxfa/parser/cxfa_submit.h",
1655 "xfa/fxfa/parser/cxfa_text.cpp",
1656 "xfa/fxfa/parser/cxfa_text.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001657 "xfa/fxfa/parser/cxfa_thisproxy.cpp",
dsinclair44d054c2016-04-06 10:23:46 -07001658 "xfa/fxfa/parser/cxfa_tooltip.cpp",
1659 "xfa/fxfa/parser/cxfa_tooltip.h",
dsinclair6ea5ba02016-08-03 10:20:32 -07001660 "xfa/fxfa/parser/cxfa_traversestrategy_contentareacontainerlayoutitem.h",
1661 "xfa/fxfa/parser/cxfa_traversestrategy_contentlayoutitem.h",
dsinclair0b851ff2016-07-21 12:03:01 -07001662 "xfa/fxfa/parser/cxfa_traversestrategy_layoutitem.h",
dsinclair44d054c2016-04-06 10:23:46 -07001663 "xfa/fxfa/parser/cxfa_validate.cpp",
1664 "xfa/fxfa/parser/cxfa_validate.h",
1665 "xfa/fxfa/parser/cxfa_value.cpp",
1666 "xfa/fxfa/parser/cxfa_value.h",
dsinclair8f3074b2016-06-02 17:45:25 -07001667 "xfa/fxfa/parser/cxfa_valuearray.cpp",
1668 "xfa/fxfa/parser/cxfa_valuearray.h",
dsinclair9eb0db12016-07-21 12:01:39 -07001669 "xfa/fxfa/parser/cxfa_widetextread.cpp",
1670 "xfa/fxfa/parser/cxfa_widetextread.h",
dsinclair44d054c2016-04-06 10:23:46 -07001671 "xfa/fxfa/parser/cxfa_widgetdata.cpp",
1672 "xfa/fxfa/parser/cxfa_widgetdata.h",
dsinclair34f86b02016-07-11 08:42:33 -07001673 "xfa/fxfa/parser/cxfa_xml_parser.cpp",
1674 "xfa/fxfa/parser/cxfa_xml_parser.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001675 "xfa/fxfa/parser/xfa_basic_data.cpp",
dsinclairf1494f02016-07-07 12:56:17 -07001676 "xfa/fxfa/parser/xfa_basic_data.h",
dsinclair8bdbc882016-07-07 07:55:39 -07001677 "xfa/fxfa/parser/xfa_basic_data_attributes.cpp",
1678 "xfa/fxfa/parser/xfa_basic_data_element_attributes.cpp",
1679 "xfa/fxfa/parser/xfa_basic_data_element_properties.cpp",
1680 "xfa/fxfa/parser/xfa_basic_data_element_script.cpp",
1681 "xfa/fxfa/parser/xfa_basic_data_enum.cpp",
1682 "xfa/fxfa/parser/xfa_basic_data_packets.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001683 "xfa/fxfa/parser/xfa_document_datamerger_imp.cpp",
1684 "xfa/fxfa/parser/xfa_document_datamerger_imp.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001685 "xfa/fxfa/parser/xfa_layout_itemlayout.cpp",
1686 "xfa/fxfa/parser/xfa_layout_itemlayout.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001687 "xfa/fxfa/parser/xfa_locale.cpp",
1688 "xfa/fxfa/parser/xfa_locale.h",
1689 "xfa/fxfa/parser/xfa_localemgr.cpp",
1690 "xfa/fxfa/parser/xfa_localemgr.h",
1691 "xfa/fxfa/parser/xfa_localevalue.cpp",
1692 "xfa/fxfa/parser/xfa_localevalue.h",
1693 "xfa/fxfa/parser/xfa_object.h",
dsinclair31f87402016-07-20 06:34:45 -07001694 "xfa/fxfa/parser/xfa_resolvenode_rs.h",
dsinclair39fdfc32016-07-21 12:09:45 -07001695 "xfa/fxfa/parser/xfa_utils.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001696 "xfa/fxfa/parser/xfa_utils.h",
dsinclair5b493092016-09-29 20:20:24 -07001697 "xfa/fxfa/xfa_checksum.h",
1698 "xfa/fxfa/xfa_ffapp.h",
1699 "xfa/fxfa/xfa_ffdoc.h",
1700 "xfa/fxfa/xfa_ffdochandler.h",
1701 "xfa/fxfa/xfa_ffdocview.h",
1702 "xfa/fxfa/xfa_ffpageview.h",
1703 "xfa/fxfa/xfa_ffwidget.h",
1704 "xfa/fxfa/xfa_ffwidgethandler.h",
1705 "xfa/fxfa/xfa_fontmgr.h",
1706 "xfa/fxfa/xfa_rendercontext.h",
Dan Sinclair811b8a42016-03-17 08:59:42 -04001707 "xfa/fxgraphics/cagg_graphics.cpp",
1708 "xfa/fxgraphics/cagg_graphics.h",
1709 "xfa/fxgraphics/cfx_color.cpp",
1710 "xfa/fxgraphics/cfx_color.h",
1711 "xfa/fxgraphics/cfx_graphics.cpp",
dsinclair202ad722016-09-29 17:41:42 -07001712 "xfa/fxgraphics/cfx_graphics.h",
Dan Sinclair811b8a42016-03-17 08:59:42 -04001713 "xfa/fxgraphics/cfx_path.cpp",
1714 "xfa/fxgraphics/cfx_path.h",
1715 "xfa/fxgraphics/cfx_path_generator.cpp",
1716 "xfa/fxgraphics/cfx_path_generator.h",
1717 "xfa/fxgraphics/cfx_pattern.cpp",
1718 "xfa/fxgraphics/cfx_pattern.h",
1719 "xfa/fxgraphics/cfx_shading.cpp",
1720 "xfa/fxgraphics/cfx_shading.h",
Tom Sepezb36747d2015-12-08 15:49:25 -08001721 ]
dsinclairb3f24672016-07-12 10:42:14 -07001722 include_dirs = [ "." ]
dsinclair8bd9ce02016-06-09 13:24:34 -07001723 deps = [
thestig73c48562016-09-06 14:07:17 -07001724 ":fxcrt",
dsinclair7f9c8602016-07-12 10:41:43 -07001725 ":fxjs",
dsinclair8bd9ce02016-06-09 13:24:34 -07001726 ]
Tom Sepezb36747d2015-12-08 15:49:25 -08001727 configs += [
weili0abe6522016-06-06 14:41:22 -07001728 ":pdfium_core_config",
weilidcc29b12016-05-27 17:58:23 -07001729 ":xfa_warnings",
Tom Sepez452b4f32015-10-13 09:27:27 -07001730 ]
1731 }
Tom Sepezc706fc02014-11-14 13:39:20 -08001732}
Tom Sepez04681f32015-01-09 13:59:19 -08001733
1734test("pdfium_unittests") {
1735 sources = [
tsepezf5cabbf2016-11-21 12:08:22 -08001736 "core/fdrm/crypto/fx_crypt_unittest.cpp",
dsinclairbc5e6d22016-10-04 11:08:49 -07001737 "core/fpdfapi/font/fpdf_font_cid_unittest.cpp",
1738 "core/fpdfapi/font/fpdf_font_unittest.cpp",
npm014b0122016-11-07 08:42:11 -08001739 "core/fpdfapi/page/cpdf_streamcontentparser_unittest.cpp",
1740 "core/fpdfapi/page/cpdf_streamparser_unittest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07001741 "core/fpdfapi/parser/cpdf_array_unittest.cpp",
npm3cad5962016-10-21 16:02:15 -07001742 "core/fpdfapi/parser/cpdf_document_unittest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07001743 "core/fpdfapi/parser/cpdf_object_unittest.cpp",
1744 "core/fpdfapi/parser/cpdf_parser_unittest.cpp",
1745 "core/fpdfapi/parser/cpdf_simple_parser_unittest.cpp",
1746 "core/fpdfapi/parser/cpdf_syntax_parser_unittest.cpp",
1747 "core/fpdfapi/parser/fpdf_parser_decode_unittest.cpp",
dsinclairc59fa882016-11-08 06:55:40 -08001748 "core/fpdfdoc/cpdf_dest_unittest.cpp",
dsinclair448c4332016-08-02 12:07:35 -07001749 "core/fpdfdoc/cpdf_filespec_unittest.cpp",
thestig695aac52016-08-25 09:13:52 -07001750 "core/fpdfdoc/cpdf_formfield_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001751 "core/fpdftext/fpdf_text_int_unittest.cpp",
rbpotterdb764702017-01-12 10:31:43 -08001752 "core/fxcodec/codec/fx_codec_a85_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001753 "core/fxcodec/codec/fx_codec_jpx_unittest.cpp",
rbpotterdb764702017-01-12 10:31:43 -08001754 "core/fxcodec/codec/fx_codec_rle_unittest.cpp",
tsepeze21501d2016-08-02 13:36:16 -07001755 "core/fxcodec/jbig2/JBig2_Image_unittest.cpp",
tsepez81b22462016-11-23 14:20:19 -08001756 "core/fxcrt/cfx_maybe_owned_unittest.cpp",
tsepez1c620542016-09-12 09:47:52 -07001757 "core/fxcrt/cfx_observable_unittest.cpp",
tsepez602aebc2016-03-29 15:04:21 -07001758 "core/fxcrt/cfx_retain_ptr_unittest.cpp",
tsepez2239cee2016-10-17 11:20:01 -07001759 "core/fxcrt/cfx_shared_copy_on_write_unittest.cpp",
tsepezd9871432016-09-15 14:01:31 -07001760 "core/fxcrt/cfx_string_pool_template_unittest.cpp",
tsepez4ba37c62016-09-28 14:49:01 -07001761 "core/fxcrt/cfx_weak_ptr_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001762 "core/fxcrt/fx_basic_bstring_unittest.cpp",
1763 "core/fxcrt/fx_basic_gcc_unittest.cpp",
1764 "core/fxcrt/fx_basic_memmgr_unittest.cpp",
thestig1b99b2d2016-05-20 11:50:06 -07001765 "core/fxcrt/fx_basic_util_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001766 "core/fxcrt/fx_basic_wstring_unittest.cpp",
1767 "core/fxcrt/fx_bidi_unittest.cpp",
1768 "core/fxcrt/fx_extension_unittest.cpp",
1769 "core/fxcrt/fx_system_unittest.cpp",
weili229d05d2016-08-11 19:43:58 -07001770 "core/fxge/dib/fx_dib_engine_unittest.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001771 "fpdfsdk/fpdfdoc_unittest.cpp",
thestigdc359b02016-08-09 15:46:20 -07001772 "fpdfsdk/fpdfeditimg_unittest.cpp",
tsepez02759102016-12-01 08:29:25 -08001773 "fpdfsdk/fpdfview_unittest.cpp",
Tom Sepez04681f32015-01-09 13:59:19 -08001774 ]
1775 deps = [
Tom Sepezd831dc72015-10-19 16:04:22 -07001776 ":pdfium",
1777 ":test_support",
Dan Sinclairfffc9632016-03-08 08:57:05 -05001778 "//testing/gtest",
1779 "//testing/gtest:gtest_main",
Tom Sepez04681f32015-01-09 13:59:19 -08001780 ]
Dan Sinclair30410ce2016-03-16 10:20:24 -04001781 include_dirs = []
Tom Sepezd2e023b2015-12-08 14:36:16 -08001782 if (pdf_enable_xfa) {
1783 sources += [
dsinclair5e9066c2017-01-09 13:43:07 -08001784 "xfa/fde/cfde_txtedtbuf_unittest.cpp",
Dan Sinclair95bec802017-01-19 10:27:58 -05001785 "xfa/fde/css/cfde_cssdeclaration_unittest.cpp",
Dan Sinclair3285c562017-01-17 16:35:16 -05001786 "xfa/fde/css/cfde_cssstylesheet_unittest.cpp",
dsinclair11ac93c2016-03-31 09:45:20 -07001787 "xfa/fde/xml/fde_xml_imp_unittest.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001788 "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp",
Dan Sinclair1f5d4982017-01-10 16:37:32 -05001789 "xfa/fxfa/app/cxfa_textparser_unittest.cpp",
tsepez430ab832016-11-18 14:48:21 -08001790 "xfa/fxfa/app/xfa_ffapp_unittest.cpp",
dsinclaire85f9712016-08-03 10:08:13 -07001791 "xfa/fxfa/fm2js/xfa_simpleexpression_unittest.cpp",
dsinclair39fdfc32016-07-21 12:09:45 -07001792 "xfa/fxfa/parser/xfa_utils_unittest.cpp",
Tom Sepezd2e023b2015-12-08 14:36:16 -08001793 ]
1794 }
caryclarkaf177fe2016-11-16 10:10:03 -08001795 if (pdf_use_skia || pdf_use_skia_paths) {
caryclarke89391e2016-06-29 07:10:49 -07001796 sources += [ "core/fxge/skia/fx_skia_device_unittest.cpp" ]
1797 deps += [ "//skia" ]
1798 }
Wei Li614d20a2016-03-15 13:55:12 -07001799 if (pdf_enable_v8) {
Dan Sinclair811b8a42016-03-17 08:59:42 -04001800 sources += [ "fpdfsdk/javascript/public_methods_unittest.cpp" ]
Wei Li614d20a2016-03-15 13:55:12 -07001801 include_dirs += [
1802 "//v8",
1803 "//v8/include",
1804 ]
1805 }
weili0abe6522016-06-06 14:41:22 -07001806 configs += [ ":pdfium_core_config" ]
jbudorick7f3a15f2016-06-10 06:28:40 -07001807 if (is_android) {
jbudorick7f3a15f2016-06-10 06:28:40 -07001808 use_raw_android_executable = true
1809 }
Tom Sepez04681f32015-01-09 13:59:19 -08001810}
Tom Sepez1b1bb492015-01-22 17:36:32 -08001811
1812test("pdfium_embeddertests") {
1813 sources = [
dsinclair41872fa2016-10-04 11:29:35 -07001814 "core/fpdfapi/page/fpdf_page_func_embeddertest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07001815 "core/fpdfapi/parser/cpdf_parser_embeddertest.cpp",
1816 "core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp",
1817 "core/fpdfapi/parser/fpdf_parser_decode_embeddertest.cpp",
dsinclair69d9c682016-10-04 12:18:35 -07001818 "core/fpdfapi/render/fpdf_render_loadimage_embeddertest.cpp",
1819 "core/fpdfapi/render/fpdf_render_pattern_embeddertest.cpp",
weili6faf9f92016-08-02 11:34:08 -07001820 "core/fxcodec/codec/fx_codec_embeddertest.cpp",
ochangb8627c92016-04-11 13:47:41 -07001821 "core/fxge/ge/fx_ge_text_embeddertest.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001822 "fpdfsdk/fpdf_dataavail_embeddertest.cpp",
tsepezd0ecd892016-11-08 17:30:04 -08001823 "fpdfsdk/fpdf_flatten_embeddertest.cpp",
thestig9067fd62016-11-23 14:10:06 -08001824 "fpdfsdk/fpdf_structtree_embeddertest.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001825 "fpdfsdk/fpdfdoc_embeddertest.cpp",
1826 "fpdfsdk/fpdfedit_embeddertest.cpp",
1827 "fpdfsdk/fpdfext_embeddertest.cpp",
1828 "fpdfsdk/fpdfformfill_embeddertest.cpp",
tsepez211d4ed2016-11-11 17:23:48 -08001829 "fpdfsdk/fpdfppo_embeddertest.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001830 "fpdfsdk/fpdfsave_embeddertest.cpp",
1831 "fpdfsdk/fpdftext_embeddertest.cpp",
1832 "fpdfsdk/fpdfview_c_api_test.c",
1833 "fpdfsdk/fpdfview_c_api_test.h",
1834 "fpdfsdk/fpdfview_embeddertest.cpp",
1835 "fpdfsdk/fsdk_baseform_embeddertest.cpp",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001836 "testing/embedder_test.cpp",
1837 "testing/embedder_test.h",
Tom Sepeza310e002015-02-27 13:03:07 -08001838 "testing/embedder_test_mock_delegate.h",
Tom Sepez6efc0ad2015-06-02 17:11:18 -07001839 "testing/embedder_test_timer_handling_delegate.h",
dsinclair34f86b02016-07-11 08:42:33 -07001840 "xfa/fxfa/parser/cxfa_simple_parser_embeddertest.cpp",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001841 ]
1842 deps = [
Tom Sepez452b4f32015-10-13 09:27:27 -07001843 ":pdfium",
Tom Sepezd831dc72015-10-19 16:04:22 -07001844 ":test_support",
Dan Sinclairfffc9632016-03-08 08:57:05 -05001845 "//testing/gmock",
1846 "//testing/gtest",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001847 ]
dsinclair685bb882016-04-20 07:32:39 -07001848 include_dirs = [ "testing/gmock/include" ]
thestigc65e11e2016-08-30 21:56:33 -07001849 configs += [ ":pdfium_core_config" ]
1850
Tom Sepez452b4f32015-10-13 09:27:27 -07001851 if (pdf_enable_v8) {
Lei Zhang1ac47eb2015-12-21 11:04:44 -08001852 sources += [
Dan Sinclairf766ad22016-03-14 13:51:24 -04001853 "fpdfsdk/javascript/public_methods_embeddertest.cpp",
dsinclairb3f24672016-07-12 10:42:14 -07001854 "fxjs/fxjs_v8_embeddertest.cpp",
Lei Zhang1ac47eb2015-12-21 11:04:44 -08001855 "testing/js_embedder_test.cpp",
1856 "testing/js_embedder_test.h",
1857 ]
dsinclairb3f24672016-07-12 10:42:14 -07001858 deps += [ ":fxjs" ]
Jochen Eisinger7ed503d2015-12-10 14:38:06 +01001859 configs += [ "//v8:external_startup_data" ]
Tom Sepez452b4f32015-10-13 09:27:27 -07001860 }
jbudorick7f3a15f2016-06-10 06:28:40 -07001861 if (is_android) {
1862 ignore_all_data_deps = true
1863 use_raw_android_executable = true
1864 }
Tom Sepez1b1bb492015-01-22 17:36:32 -08001865}
dsinclair685bb882016-04-20 07:32:39 -07001866
1867if (pdf_is_standalone) {
1868 source_set("samples") {
1869 testonly = true
1870 deps = [
1871 "//samples",
1872 ]
1873 }
thestig62114cf2016-11-08 12:59:30 -08001874 group("fuzzers") {
1875 testonly = true
1876 deps = [
1877 "//testing/libfuzzer",
1878 ]
1879 }
dsinclair685bb882016-04-20 07:32:39 -07001880}