blob: 33d64d7c008e830e5311f8f4d68096a4a13ee9e9 [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
Jochen Eisinger7ed503d2015-12-10 14:38:06 +01005import("//build_overrides/v8.gni")
Tom Sepeza32f7602015-01-15 09:34:34 -08006import("//testing/test.gni")
dsinclair038bf0b2016-04-30 06:00:05 -07007import("pdfium.gni")
John Abd-El-Malekef4dce42015-02-02 16:52:07 -08008
weili0abe6522016-06-06 14:41:22 -07009config("pdfium_common_config") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070010 cflags = []
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
Tom Sepez452b4f32015-10-13 09:27:27 -070026 if (pdf_enable_v8) {
27 defines += [ "PDF_ENABLE_V8" ]
28 }
29
Tom Sepeza8a39e22015-10-12 15:47:07 -070030 if (pdf_enable_xfa) {
31 defines += [ "PDF_ENABLE_XFA" ]
32 }
thestig3e454bf2016-07-29 16:29:04 -070033
34 if (pdf_use_win32_gdi) {
35 defines += [ "PDFIUM_PRINT_TEXT_WITH_GDI" ]
36 }
weili0abe6522016-06-06 14:41:22 -070037}
Tom Sepeza8a39e22015-10-12 15:47:07 -070038
weili0abe6522016-06-06 14:41:22 -070039config("pdfium_core_config") {
40 cflags = []
dsinclair8bd9ce02016-06-09 13:24:34 -070041 configs = [ ":pdfium_common_config" ]
42 defines = [ "V8_DEPRECATION_WARNINGS" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070043 if (is_linux) {
Tom Sepez25d5be62015-06-18 17:44:29 -070044 if (current_cpu == "x64") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070045 defines += [ "_FX_CPU_=_FX_X64_" ]
46 cflags += [ "-fPIC" ]
Tom Sepez25d5be62015-06-18 17:44:29 -070047 } else if (current_cpu == "x86") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070048 defines += [ "_FX_CPU_=_FX_X86_" ]
49 }
50 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070051 if (is_win) {
dsinclair5d9da0c2016-04-21 13:12:06 -070052 cflags += [ "/wd4267" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070053 }
weilidcc29b12016-05-27 17:58:23 -070054}
Lei Zhang476ac132015-11-05 20:07:27 -080055
weilidcc29b12016-05-27 17:58:23 -070056config("xfa_warnings") {
57 visibility = [ ":*" ]
Tom Sepez34209092016-03-18 09:00:33 -070058 if (is_posix && !is_clang) { # When GCC.
weilidcc29b12016-05-27 17:58:23 -070059 cflags = [ "-Wno-strict-overflow" ]
Tom Sepez34209092016-03-18 09:00:33 -070060 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070061}
62
63static_library("pdfium") {
64 sources = [
jaepark611adb82016-08-17 11:34:36 -070065 "fpdfsdk/cba_annotiterator.cpp",
dsinclair114e46a2016-09-29 17:18:21 -070066 "fpdfsdk/cba_annotiterator.h",
dsinclairb9590102016-04-27 06:38:59 -070067 "fpdfsdk/cfx_systemhandler.cpp",
68 "fpdfsdk/cfx_systemhandler.h",
jaepark27362762016-08-11 13:10:39 -070069 "fpdfsdk/cpdfsdk_annot.cpp",
dsinclair114e46a2016-09-29 17:18:21 -070070 "fpdfsdk/cpdfsdk_annot.h",
jaepark98e10192016-08-15 10:51:11 -070071 "fpdfsdk/cpdfsdk_annothandlermgr.cpp",
dsinclair114e46a2016-09-29 17:18:21 -070072 "fpdfsdk/cpdfsdk_annothandlermgr.h",
jaepark98e10192016-08-15 10:51:11 -070073 "fpdfsdk/cpdfsdk_annotiterator.cpp",
dsinclair114e46a2016-09-29 17:18:21 -070074 "fpdfsdk/cpdfsdk_annotiterator.h",
jaepark27362762016-08-11 13:10:39 -070075 "fpdfsdk/cpdfsdk_baannot.cpp",
dsinclair114e46a2016-09-29 17:18:21 -070076 "fpdfsdk/cpdfsdk_baannot.h",
jaepark35512aa2016-08-29 17:15:08 -070077 "fpdfsdk/cpdfsdk_baannothandler.cpp",
dsinclair114e46a2016-09-29 17:18:21 -070078 "fpdfsdk/cpdfsdk_baannothandler.h",
jaepark27362762016-08-11 13:10:39 -070079 "fpdfsdk/cpdfsdk_datetime.cpp",
dsinclair114e46a2016-09-29 17:18:21 -070080 "fpdfsdk/cpdfsdk_datetime.h",
dsinclair735606d2016-10-05 15:47:02 -070081 "fpdfsdk/cpdfsdk_formfillenvironment.cpp",
82 "fpdfsdk/cpdfsdk_formfillenvironment.h",
jaepark611adb82016-08-17 11:34:36 -070083 "fpdfsdk/cpdfsdk_interform.cpp",
dsinclair114e46a2016-09-29 17:18:21 -070084 "fpdfsdk/cpdfsdk_interform.h",
dsinclairf34518b2016-09-13 12:03:48 -070085 "fpdfsdk/cpdfsdk_pageview.cpp",
dsinclair114e46a2016-09-29 17:18:21 -070086 "fpdfsdk/cpdfsdk_pageview.h",
jaepark611adb82016-08-17 11:34:36 -070087 "fpdfsdk/cpdfsdk_widget.cpp",
dsinclair114e46a2016-09-29 17:18:21 -070088 "fpdfsdk/cpdfsdk_widget.h",
jaepark8c541822016-08-30 13:43:05 -070089 "fpdfsdk/cpdfsdk_widgethandler.cpp",
dsinclair114e46a2016-09-29 17:18:21 -070090 "fpdfsdk/cpdfsdk_widgethandler.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -040091 "fpdfsdk/fpdf_dataavail.cpp",
92 "fpdfsdk/fpdf_ext.cpp",
93 "fpdfsdk/fpdf_flatten.cpp",
94 "fpdfsdk/fpdf_progressive.cpp",
95 "fpdfsdk/fpdf_searchex.cpp",
96 "fpdfsdk/fpdf_sysfontinfo.cpp",
97 "fpdfsdk/fpdf_transformpage.cpp",
98 "fpdfsdk/fpdfdoc.cpp",
99 "fpdfsdk/fpdfeditimg.cpp",
100 "fpdfsdk/fpdfeditpage.cpp",
101 "fpdfsdk/fpdfformfill.cpp",
102 "fpdfsdk/fpdfppo.cpp",
103 "fpdfsdk/fpdfsave.cpp",
104 "fpdfsdk/fpdftext.cpp",
105 "fpdfsdk/fpdfview.cpp",
106 "fpdfsdk/fsdk_actionhandler.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700107 "fpdfsdk/fsdk_actionhandler.h",
weili9f515bc2016-07-24 08:08:24 -0700108 "fpdfsdk/fsdk_pauseadapter.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700109 "fpdfsdk/fsdk_pauseadapter.h",
jaepark611adb82016-08-17 11:34:36 -0700110 "fpdfsdk/pdfsdk_fieldaction.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700111 "fpdfsdk/pdfsdk_fieldaction.h",
Tom Sepez1ed8a212015-05-11 15:25:39 -0700112 "public/fpdf_dataavail.h",
113 "public/fpdf_doc.h",
114 "public/fpdf_edit.h",
115 "public/fpdf_ext.h",
116 "public/fpdf_flatten.h",
117 "public/fpdf_formfill.h",
118 "public/fpdf_fwlevent.h",
119 "public/fpdf_ppo.h",
120 "public/fpdf_progressive.h",
121 "public/fpdf_save.h",
122 "public/fpdf_searchex.h",
123 "public/fpdf_sysfontinfo.h",
124 "public/fpdf_text.h",
125 "public/fpdf_transformpage.h",
126 "public/fpdfview.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700127 ]
128
129 libs = []
weili0abe6522016-06-06 14:41:22 -0700130 configs += [ ":pdfium_core_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700131
132 deps = [
133 ":fdrm",
134 ":formfiller",
135 ":fpdfapi",
136 ":fpdfdoc",
137 ":fpdftext",
138 ":fxcodec",
139 ":fxcrt",
140 ":fxedit",
141 ":fxge",
142 ":javascript",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700143 ":pdfwindow",
Dan Sinclairfffc9632016-03-08 08:57:05 -0500144 "third_party:bigint",
145 "third_party:pdfium_base",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700146 ]
147
thestig73c48562016-09-06 14:07:17 -0700148 public_deps = [
149 ":fxcrt",
150 ]
Tom Sepeza8a39e22015-10-12 15:47:07 -0700151 if (pdf_enable_xfa) {
jaepark611adb82016-08-17 11:34:36 -0700152 sources += [
153 "fpdfsdk/cpdfsdk_xfawidget.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700154 "fpdfsdk/cpdfsdk_xfawidget.h",
jaepark8c541822016-08-30 13:43:05 -0700155 "fpdfsdk/cpdfsdk_xfawidgethandler.cpp",
dsinclair114e46a2016-09-29 17:18:21 -0700156 "fpdfsdk/cpdfsdk_xfawidgethandler.h",
jaepark611adb82016-08-17 11:34:36 -0700157 ]
158
Tom Sepezb5451592016-02-22 16:48:02 -0800159 deps += [ ":fpdfxfa" ]
Tom Sepeza8a39e22015-10-12 15:47:07 -0700160 }
161
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700162 if (is_win) {
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400163 libs += [
164 "advapi32.lib",
165 "gdi32.lib",
166 "user32.lib",
167 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700168 }
169
170 if (is_mac) {
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400171 libs += [
172 "AppKit.framework",
173 "CoreFoundation.framework",
174 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700175 }
John Abd-El-Malekef4dce42015-02-02 16:52:07 -0800176
Tom Sepez0dfd0302015-10-12 15:38:22 -0700177 if (pdfium_bundle_freetype) {
178 deps += [ "third_party:fx_freetype" ]
John Abd-El-Malekef4dce42015-02-02 16:52:07 -0800179 } else {
180 libs += [ "freetype" ]
181 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700182}
183
brettwe283e472016-07-21 09:38:22 -0700184static_library("test_support") {
Tom Sepezd831dc72015-10-19 16:04:22 -0700185 testonly = true
186 sources = [
187 "testing/fx_string_testhelpers.cpp",
188 "testing/fx_string_testhelpers.h",
189 "testing/test_support.cpp",
190 "testing/test_support.h",
Oliver Changd46f1c82015-11-12 22:03:10 -0800191 "testing/utils/path_service.cpp",
Tom Sepezd831dc72015-10-19 16:04:22 -0700192 ]
193 deps = [
Dan Sinclairfffc9632016-03-08 08:57:05 -0500194 ":pdfium",
Tom Sepezd831dc72015-10-19 16:04:22 -0700195 "//testing/gmock",
196 "//testing/gtest",
Tom Sepezd831dc72015-10-19 16:04:22 -0700197 ]
Lei Zhang8241df72015-11-06 14:38:48 -0800198 include_dirs = []
Tom Sepezd831dc72015-10-19 16:04:22 -0700199 if (pdf_enable_v8) {
200 deps += [
201 "//v8",
202 "//v8:v8_libplatform",
203 ]
204 include_dirs += [
205 "//v8",
206 "//v8/include",
207 ]
Jochen Eisinger7ed503d2015-12-10 14:38:06 +0100208 configs += [ "//v8:external_startup_data" ]
Tom Sepezd831dc72015-10-19 16:04:22 -0700209 }
weili0abe6522016-06-06 14:41:22 -0700210 configs += [ ":pdfium_core_config" ]
Tom Sepezd831dc72015-10-19 16:04:22 -0700211}
212
213# Targets below this are only visible within this file (and to the
214# top-level gn_visibility target used to help gn_all build everything).
215visibility = [
216 ":*",
217 "//:gn_visibility",
218]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700219
220static_library("fdrm") {
221 sources = [
Dan Sinclair764ec512016-03-14 13:35:12 -0400222 "core/fdrm/crypto/fx_crypt.cpp",
dsinclairb1469a22016-09-29 10:00:05 -0700223 "core/fdrm/crypto/fx_crypt.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400224 "core/fdrm/crypto/fx_crypt_aes.cpp",
225 "core/fdrm/crypto/fx_crypt_sha.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700226 ]
weili0abe6522016-06-06 14:41:22 -0700227 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700228 deps = [
229 ":fxcrt",
230 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700231}
232
233static_library("fpdfdoc") {
234 sources = [
dsinclair448c4332016-08-02 12:07:35 -0700235 "core/fpdfdoc/cline.cpp",
236 "core/fpdfdoc/cline.h",
weilif4bb5802016-06-14 17:21:14 -0700237 "core/fpdfdoc/clines.cpp",
238 "core/fpdfdoc/clines.h",
dsinclair02e6f592016-08-02 11:25:48 -0700239 "core/fpdfdoc/cpdf_aaction.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700240 "core/fpdfdoc/cpdf_aaction.h",
dsinclair02e6f592016-08-02 11:25:48 -0700241 "core/fpdfdoc/cpdf_action.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700242 "core/fpdfdoc/cpdf_action.h",
dsinclair02e6f592016-08-02 11:25:48 -0700243 "core/fpdfdoc/cpdf_actionfields.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700244 "core/fpdfdoc/cpdf_actionfields.h",
jaepark3b6c7e92016-07-20 14:18:04 -0700245 "core/fpdfdoc/cpdf_annot.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700246 "core/fpdfdoc/cpdf_annot.h",
jaepark3b6c7e92016-07-20 14:18:04 -0700247 "core/fpdfdoc/cpdf_annotlist.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700248 "core/fpdfdoc/cpdf_annotlist.h",
dsinclair27053d82016-08-02 15:43:46 -0700249 "core/fpdfdoc/cpdf_apsettings.cpp",
dsinclaircac704d2016-07-28 12:59:09 -0700250 "core/fpdfdoc/cpdf_apsettings.h",
dsinclair02e6f592016-08-02 11:25:48 -0700251 "core/fpdfdoc/cpdf_bookmark.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700252 "core/fpdfdoc/cpdf_bookmark.h",
dsinclair02e6f592016-08-02 11:25:48 -0700253 "core/fpdfdoc/cpdf_bookmarktree.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700254 "core/fpdfdoc/cpdf_bookmarktree.h",
dsinclair27053d82016-08-02 15:43:46 -0700255 "core/fpdfdoc/cpdf_defaultappearance.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700256 "core/fpdfdoc/cpdf_defaultappearance.h",
dsinclair448c4332016-08-02 12:07:35 -0700257 "core/fpdfdoc/cpdf_dest.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700258 "core/fpdfdoc/cpdf_dest.h",
dsinclair02e6f592016-08-02 11:25:48 -0700259 "core/fpdfdoc/cpdf_docjsactions.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700260 "core/fpdfdoc/cpdf_docjsactions.h",
dsinclair448c4332016-08-02 12:07:35 -0700261 "core/fpdfdoc/cpdf_filespec.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700262 "core/fpdfdoc/cpdf_filespec.h",
dsinclair27053d82016-08-02 15:43:46 -0700263 "core/fpdfdoc/cpdf_formcontrol.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700264 "core/fpdfdoc/cpdf_formcontrol.h",
dsinclair27053d82016-08-02 15:43:46 -0700265 "core/fpdfdoc/cpdf_formfield.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700266 "core/fpdfdoc/cpdf_formfield.h",
dsinclair27053d82016-08-02 15:43:46 -0700267 "core/fpdfdoc/cpdf_iconfit.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700268 "core/fpdfdoc/cpdf_iconfit.h",
dsinclair27053d82016-08-02 15:43:46 -0700269 "core/fpdfdoc/cpdf_interform.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700270 "core/fpdfdoc/cpdf_interform.h",
dsinclair02e6f592016-08-02 11:25:48 -0700271 "core/fpdfdoc/cpdf_link.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700272 "core/fpdfdoc/cpdf_link.h",
dsinclair02e6f592016-08-02 11:25:48 -0700273 "core/fpdfdoc/cpdf_linklist.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700274 "core/fpdfdoc/cpdf_linklist.h",
dsinclair02e6f592016-08-02 11:25:48 -0700275 "core/fpdfdoc/cpdf_metadata.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700276 "core/fpdfdoc/cpdf_metadata.h",
dsinclair448c4332016-08-02 12:07:35 -0700277 "core/fpdfdoc/cpdf_nametree.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700278 "core/fpdfdoc/cpdf_nametree.h",
dsinclair27053d82016-08-02 15:43:46 -0700279 "core/fpdfdoc/cpdf_numbertree.cpp",
280 "core/fpdfdoc/cpdf_numbertree.h",
dsinclair448c4332016-08-02 12:07:35 -0700281 "core/fpdfdoc/cpdf_occontext.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700282 "core/fpdfdoc/cpdf_occontext.h",
dsinclair448c4332016-08-02 12:07:35 -0700283 "core/fpdfdoc/cpdf_pagelabel.cpp",
dsinclaircac704d2016-07-28 12:59:09 -0700284 "core/fpdfdoc/cpdf_pagelabel.h",
dsinclairc7a73492016-04-05 12:01:42 -0700285 "core/fpdfdoc/cpdf_variabletext.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700286 "core/fpdfdoc/cpdf_variabletext.h",
dsinclair02e6f592016-08-02 11:25:48 -0700287 "core/fpdfdoc/cpdf_viewerpreferences.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700288 "core/fpdfdoc/cpdf_viewerpreferences.h",
dsinclair448c4332016-08-02 12:07:35 -0700289 "core/fpdfdoc/cpvt_arraytemplate.h",
dsinclair777b3332016-03-31 20:03:08 -0700290 "core/fpdfdoc/cpvt_color.cpp",
291 "core/fpdfdoc/cpvt_color.h",
292 "core/fpdfdoc/cpvt_dash.h",
dsinclairc7a73492016-04-05 12:01:42 -0700293 "core/fpdfdoc/cpvt_floatrect.h",
dsinclair777b3332016-03-31 20:03:08 -0700294 "core/fpdfdoc/cpvt_fontmap.cpp",
295 "core/fpdfdoc/cpvt_fontmap.h",
296 "core/fpdfdoc/cpvt_generateap.cpp",
297 "core/fpdfdoc/cpvt_generateap.h",
dsinclair1727aee2016-09-29 13:12:56 -0700298 "core/fpdfdoc/cpvt_line.h",
dsinclairc7a73492016-04-05 12:01:42 -0700299 "core/fpdfdoc/cpvt_lineinfo.h",
dsinclair1727aee2016-09-29 13:12:56 -0700300 "core/fpdfdoc/cpvt_secprops.h",
301 "core/fpdfdoc/cpvt_section.h",
weili5a6c1392016-07-11 14:43:40 -0700302 "core/fpdfdoc/cpvt_sectioninfo.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700303 "core/fpdfdoc/cpvt_sectioninfo.h",
dsinclair1727aee2016-09-29 13:12:56 -0700304 "core/fpdfdoc/cpvt_word.h",
weili5a6c1392016-07-11 14:43:40 -0700305 "core/fpdfdoc/cpvt_wordinfo.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700306 "core/fpdfdoc/cpvt_wordinfo.h",
dsinclair1727aee2016-09-29 13:12:56 -0700307 "core/fpdfdoc/cpvt_wordplace.h",
308 "core/fpdfdoc/cpvt_wordprops.h",
309 "core/fpdfdoc/cpvt_wordrange.h",
thestig9c845c32016-05-13 11:08:41 -0700310 "core/fpdfdoc/csection.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700311 "core/fpdfdoc/csection.h",
thestig9c845c32016-05-13 11:08:41 -0700312 "core/fpdfdoc/ctypeset.cpp",
dsinclairc7a73492016-04-05 12:01:42 -0700313 "core/fpdfdoc/ctypeset.h",
npm0c2d0a52016-08-26 11:32:09 -0700314 "core/fpdfdoc/doc_tagged.cpp",
dsinclair1727aee2016-09-29 13:12:56 -0700315 "core/fpdfdoc/fpdf_tagged.h",
316 "core/fpdfdoc/ipdf_formnotify.h",
317 "core/fpdfdoc/ipvt_fontmap.h",
npm0c2d0a52016-08-26 11:32:09 -0700318 "core/fpdfdoc/tagged_int.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700319 ]
weili0abe6522016-06-06 14:41:22 -0700320 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700321 deps = [
322 ":fxcrt",
323 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700324}
325
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700326static_library("fpdfapi") {
327 sources = [
dsinclaira6c92152016-10-04 10:58:54 -0700328 "core/fpdfapi/cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp",
329 "core/fpdfapi/cmaps/CNS1/B5pc-H_0.cpp",
330 "core/fpdfapi/cmaps/CNS1/B5pc-V_0.cpp",
331 "core/fpdfapi/cmaps/CNS1/CNS-EUC-H_0.cpp",
332 "core/fpdfapi/cmaps/CNS1/CNS-EUC-V_0.cpp",
333 "core/fpdfapi/cmaps/CNS1/ETen-B5-H_0.cpp",
334 "core/fpdfapi/cmaps/CNS1/ETen-B5-V_0.cpp",
335 "core/fpdfapi/cmaps/CNS1/ETenms-B5-H_0.cpp",
336 "core/fpdfapi/cmaps/CNS1/ETenms-B5-V_0.cpp",
337 "core/fpdfapi/cmaps/CNS1/HKscs-B5-H_5.cpp",
338 "core/fpdfapi/cmaps/CNS1/HKscs-B5-V_5.cpp",
339 "core/fpdfapi/cmaps/CNS1/UniCNS-UCS2-H_3.cpp",
340 "core/fpdfapi/cmaps/CNS1/UniCNS-UCS2-V_3.cpp",
341 "core/fpdfapi/cmaps/CNS1/UniCNS-UTF16-H_0.cpp",
342 "core/fpdfapi/cmaps/CNS1/cmaps_cns1.cpp",
343 "core/fpdfapi/cmaps/GB1/Adobe-GB1-UCS2_5.cpp",
344 "core/fpdfapi/cmaps/GB1/GB-EUC-H_0.cpp",
345 "core/fpdfapi/cmaps/GB1/GB-EUC-V_0.cpp",
346 "core/fpdfapi/cmaps/GB1/GBK-EUC-H_2.cpp",
347 "core/fpdfapi/cmaps/GB1/GBK-EUC-V_2.cpp",
348 "core/fpdfapi/cmaps/GB1/GBK2K-H_5.cpp",
349 "core/fpdfapi/cmaps/GB1/GBK2K-V_5.cpp",
350 "core/fpdfapi/cmaps/GB1/GBKp-EUC-H_2.cpp",
351 "core/fpdfapi/cmaps/GB1/GBKp-EUC-V_2.cpp",
352 "core/fpdfapi/cmaps/GB1/GBpc-EUC-H_0.cpp",
353 "core/fpdfapi/cmaps/GB1/GBpc-EUC-V_0.cpp",
354 "core/fpdfapi/cmaps/GB1/UniGB-UCS2-H_4.cpp",
355 "core/fpdfapi/cmaps/GB1/UniGB-UCS2-V_4.cpp",
356 "core/fpdfapi/cmaps/GB1/cmaps_gb1.cpp",
357 "core/fpdfapi/cmaps/Japan1/83pv-RKSJ-H_1.cpp",
358 "core/fpdfapi/cmaps/Japan1/90ms-RKSJ-H_2.cpp",
359 "core/fpdfapi/cmaps/Japan1/90ms-RKSJ-V_2.cpp",
360 "core/fpdfapi/cmaps/Japan1/90msp-RKSJ-H_2.cpp",
361 "core/fpdfapi/cmaps/Japan1/90msp-RKSJ-V_2.cpp",
362 "core/fpdfapi/cmaps/Japan1/90pv-RKSJ-H_1.cpp",
363 "core/fpdfapi/cmaps/Japan1/Add-RKSJ-H_1.cpp",
364 "core/fpdfapi/cmaps/Japan1/Add-RKSJ-V_1.cpp",
365 "core/fpdfapi/cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp",
366 "core/fpdfapi/cmaps/Japan1/EUC-H_1.cpp",
367 "core/fpdfapi/cmaps/Japan1/EUC-V_1.cpp",
368 "core/fpdfapi/cmaps/Japan1/Ext-RKSJ-H_2.cpp",
369 "core/fpdfapi/cmaps/Japan1/Ext-RKSJ-V_2.cpp",
370 "core/fpdfapi/cmaps/Japan1/H_1.cpp",
371 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp",
372 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp",
373 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-H_4.cpp",
374 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-V_4.cpp",
375 "core/fpdfapi/cmaps/Japan1/V_1.cpp",
376 "core/fpdfapi/cmaps/Japan1/cmaps_japan1.cpp",
377 "core/fpdfapi/cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp",
378 "core/fpdfapi/cmaps/Korea1/KSC-EUC-H_0.cpp",
379 "core/fpdfapi/cmaps/Korea1/KSC-EUC-V_0.cpp",
380 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-HW-H_1.cpp",
381 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-HW-V_1.cpp",
382 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-H_1.cpp",
383 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-V_1.cpp",
384 "core/fpdfapi/cmaps/Korea1/KSCpc-EUC-H_0.cpp",
385 "core/fpdfapi/cmaps/Korea1/UniKS-UCS2-H_1.cpp",
386 "core/fpdfapi/cmaps/Korea1/UniKS-UCS2-V_1.cpp",
387 "core/fpdfapi/cmaps/Korea1/UniKS-UTF16-H_0.cpp",
388 "core/fpdfapi/cmaps/Korea1/cmaps_korea1.cpp",
389 "core/fpdfapi/cmaps/cmap_int.h",
390 "core/fpdfapi/cmaps/fpdf_cmaps.cpp",
tsepezddffb572016-05-24 16:20:29 -0700391 "core/fpdfapi/cpdf_modulemgr.cpp",
dsinclair39c62fd2016-09-29 12:49:17 -0700392 "core/fpdfapi/cpdf_modulemgr.h",
weili9f515bc2016-07-24 08:08:24 -0700393 "core/fpdfapi/cpdf_pagerendercontext.cpp",
dsinclair39c62fd2016-09-29 12:49:17 -0700394 "core/fpdfapi/cpdf_pagerendercontext.h",
dsinclair24154352016-10-04 11:01:48 -0700395 "core/fpdfapi/edit/cpdf_creator.h",
396 "core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp",
397 "core/fpdfapi/edit/cpdf_pagecontentgenerator.h",
398 "core/fpdfapi/edit/editint.h",
399 "core/fpdfapi/edit/fpdf_edit_create.cpp",
dsinclairbc5e6d22016-10-04 11:08:49 -0700400 "core/fpdfapi/font/cpdf_cidfont.cpp",
401 "core/fpdfapi/font/cpdf_cidfont.h",
402 "core/fpdfapi/font/cpdf_font.cpp",
403 "core/fpdfapi/font/cpdf_font.h",
404 "core/fpdfapi/font/cpdf_fontencoding.cpp",
405 "core/fpdfapi/font/cpdf_fontencoding.h",
406 "core/fpdfapi/font/cpdf_simplefont.cpp",
407 "core/fpdfapi/font/cpdf_simplefont.h",
408 "core/fpdfapi/font/cpdf_truetypefont.cpp",
409 "core/fpdfapi/font/cpdf_truetypefont.h",
410 "core/fpdfapi/font/cpdf_type1font.cpp",
411 "core/fpdfapi/font/cpdf_type1font.h",
412 "core/fpdfapi/font/cpdf_type3char.cpp",
413 "core/fpdfapi/font/cpdf_type3char.h",
414 "core/fpdfapi/font/cpdf_type3font.cpp",
415 "core/fpdfapi/font/cpdf_type3font.h",
416 "core/fpdfapi/font/font_int.h",
417 "core/fpdfapi/font/fpdf_font.cpp",
418 "core/fpdfapi/font/fpdf_font_cid.cpp",
419 "core/fpdfapi/font/ttgsubtable.cpp",
420 "core/fpdfapi/font/ttgsubtable.h",
dsinclair41872fa2016-10-04 11:29:35 -0700421 "core/fpdfapi/page/cpdf_allstates.cpp",
422 "core/fpdfapi/page/cpdf_allstates.h",
423 "core/fpdfapi/page/cpdf_clippath.cpp",
424 "core/fpdfapi/page/cpdf_clippath.h",
425 "core/fpdfapi/page/cpdf_color.cpp",
426 "core/fpdfapi/page/cpdf_color.h",
427 "core/fpdfapi/page/cpdf_colorspace.cpp",
428 "core/fpdfapi/page/cpdf_colorspace.h",
429 "core/fpdfapi/page/cpdf_colorstate.cpp",
430 "core/fpdfapi/page/cpdf_colorstate.h",
431 "core/fpdfapi/page/cpdf_contentmark.cpp",
432 "core/fpdfapi/page/cpdf_contentmark.h",
433 "core/fpdfapi/page/cpdf_contentmarkitem.cpp",
434 "core/fpdfapi/page/cpdf_contentmarkitem.h",
npm014b0122016-11-07 08:42:11 -0800435 "core/fpdfapi/page/cpdf_contentparser.cpp",
dsinclair41872fa2016-10-04 11:29:35 -0700436 "core/fpdfapi/page/cpdf_countedobject.h",
tsepez9fa95ef2016-10-11 12:29:38 -0700437 "core/fpdfapi/page/cpdf_docpagedata.cpp",
438 "core/fpdfapi/page/cpdf_docpagedata.h",
dsinclair41872fa2016-10-04 11:29:35 -0700439 "core/fpdfapi/page/cpdf_form.cpp",
440 "core/fpdfapi/page/cpdf_form.h",
441 "core/fpdfapi/page/cpdf_formobject.cpp",
442 "core/fpdfapi/page/cpdf_formobject.h",
443 "core/fpdfapi/page/cpdf_generalstate.cpp",
444 "core/fpdfapi/page/cpdf_generalstate.h",
445 "core/fpdfapi/page/cpdf_graphicstates.cpp",
446 "core/fpdfapi/page/cpdf_graphicstates.h",
447 "core/fpdfapi/page/cpdf_image.cpp",
448 "core/fpdfapi/page/cpdf_image.h",
449 "core/fpdfapi/page/cpdf_imageobject.cpp",
450 "core/fpdfapi/page/cpdf_imageobject.h",
451 "core/fpdfapi/page/cpdf_meshstream.cpp",
452 "core/fpdfapi/page/cpdf_meshstream.h",
453 "core/fpdfapi/page/cpdf_page.cpp",
454 "core/fpdfapi/page/cpdf_page.h",
455 "core/fpdfapi/page/cpdf_pagemodule.cpp",
456 "core/fpdfapi/page/cpdf_pagemodule.h",
457 "core/fpdfapi/page/cpdf_pageobject.cpp",
458 "core/fpdfapi/page/cpdf_pageobject.h",
459 "core/fpdfapi/page/cpdf_pageobjectholder.cpp",
460 "core/fpdfapi/page/cpdf_pageobjectholder.h",
461 "core/fpdfapi/page/cpdf_pageobjectlist.cpp",
462 "core/fpdfapi/page/cpdf_pageobjectlist.h",
463 "core/fpdfapi/page/cpdf_path.cpp",
464 "core/fpdfapi/page/cpdf_path.h",
465 "core/fpdfapi/page/cpdf_pathobject.cpp",
466 "core/fpdfapi/page/cpdf_pathobject.h",
467 "core/fpdfapi/page/cpdf_pattern.cpp",
468 "core/fpdfapi/page/cpdf_pattern.h",
469 "core/fpdfapi/page/cpdf_shadingobject.cpp",
470 "core/fpdfapi/page/cpdf_shadingobject.h",
471 "core/fpdfapi/page/cpdf_shadingpattern.cpp",
472 "core/fpdfapi/page/cpdf_shadingpattern.h",
tsepez271d9c02016-10-13 11:29:04 -0700473 "core/fpdfapi/page/cpdf_streamcontentparser.cpp",
474 "core/fpdfapi/page/cpdf_streamcontentparser.h",
npm014b0122016-11-07 08:42:11 -0800475 "core/fpdfapi/page/cpdf_streamparser.cpp",
dsinclair41872fa2016-10-04 11:29:35 -0700476 "core/fpdfapi/page/cpdf_textobject.cpp",
477 "core/fpdfapi/page/cpdf_textobject.h",
478 "core/fpdfapi/page/cpdf_textstate.cpp",
479 "core/fpdfapi/page/cpdf_textstate.h",
480 "core/fpdfapi/page/cpdf_tilingpattern.cpp",
481 "core/fpdfapi/page/cpdf_tilingpattern.h",
482 "core/fpdfapi/page/fpdf_page_colors.cpp",
dsinclair41872fa2016-10-04 11:29:35 -0700483 "core/fpdfapi/page/fpdf_page_func.cpp",
dsinclair41872fa2016-10-04 11:29:35 -0700484 "core/fpdfapi/page/pageint.h",
dsinclair488b7ad2016-10-04 11:55:50 -0700485 "core/fpdfapi/parser/cfdf_document.cpp",
486 "core/fpdfapi/parser/cfdf_document.h",
487 "core/fpdfapi/parser/cpdf_array.cpp",
488 "core/fpdfapi/parser/cpdf_array.h",
489 "core/fpdfapi/parser/cpdf_boolean.cpp",
490 "core/fpdfapi/parser/cpdf_boolean.h",
491 "core/fpdfapi/parser/cpdf_crypto_handler.cpp",
492 "core/fpdfapi/parser/cpdf_crypto_handler.h",
493 "core/fpdfapi/parser/cpdf_data_avail.cpp",
494 "core/fpdfapi/parser/cpdf_data_avail.h",
495 "core/fpdfapi/parser/cpdf_dictionary.cpp",
496 "core/fpdfapi/parser/cpdf_dictionary.h",
497 "core/fpdfapi/parser/cpdf_document.cpp",
498 "core/fpdfapi/parser/cpdf_document.h",
499 "core/fpdfapi/parser/cpdf_hint_tables.cpp",
500 "core/fpdfapi/parser/cpdf_hint_tables.h",
501 "core/fpdfapi/parser/cpdf_indirect_object_holder.cpp",
502 "core/fpdfapi/parser/cpdf_indirect_object_holder.h",
tsepezc09625c2016-11-07 11:46:09 -0800503 "core/fpdfapi/parser/cpdf_linearized_header.cpp",
504 "core/fpdfapi/parser/cpdf_linearized_header.h",
dsinclair488b7ad2016-10-04 11:55:50 -0700505 "core/fpdfapi/parser/cpdf_name.cpp",
506 "core/fpdfapi/parser/cpdf_name.h",
507 "core/fpdfapi/parser/cpdf_null.cpp",
508 "core/fpdfapi/parser/cpdf_null.h",
509 "core/fpdfapi/parser/cpdf_number.cpp",
510 "core/fpdfapi/parser/cpdf_number.h",
511 "core/fpdfapi/parser/cpdf_object.cpp",
512 "core/fpdfapi/parser/cpdf_object.h",
513 "core/fpdfapi/parser/cpdf_parser.cpp",
514 "core/fpdfapi/parser/cpdf_parser.h",
515 "core/fpdfapi/parser/cpdf_reference.cpp",
516 "core/fpdfapi/parser/cpdf_reference.h",
517 "core/fpdfapi/parser/cpdf_security_handler.cpp",
518 "core/fpdfapi/parser/cpdf_security_handler.h",
519 "core/fpdfapi/parser/cpdf_simple_parser.cpp",
520 "core/fpdfapi/parser/cpdf_simple_parser.h",
521 "core/fpdfapi/parser/cpdf_stream.cpp",
522 "core/fpdfapi/parser/cpdf_stream.h",
523 "core/fpdfapi/parser/cpdf_stream_acc.cpp",
524 "core/fpdfapi/parser/cpdf_stream_acc.h",
525 "core/fpdfapi/parser/cpdf_string.cpp",
526 "core/fpdfapi/parser/cpdf_string.h",
527 "core/fpdfapi/parser/cpdf_syntax_parser.cpp",
528 "core/fpdfapi/parser/cpdf_syntax_parser.h",
529 "core/fpdfapi/parser/fpdf_parser_decode.cpp",
530 "core/fpdfapi/parser/fpdf_parser_decode.h",
531 "core/fpdfapi/parser/fpdf_parser_utility.cpp",
532 "core/fpdfapi/parser/fpdf_parser_utility.h",
dsinclair69d9c682016-10-04 12:18:35 -0700533 "core/fpdfapi/render/cpdf_pagerendercache.h",
534 "core/fpdfapi/render/cpdf_progressiverenderer.h",
535 "core/fpdfapi/render/cpdf_rendercontext.h",
536 "core/fpdfapi/render/cpdf_renderoptions.h",
537 "core/fpdfapi/render/cpdf_textrenderer.h",
538 "core/fpdfapi/render/cpdf_type3cache.cpp",
539 "core/fpdfapi/render/cpdf_type3cache.h",
540 "core/fpdfapi/render/cpdf_type3glyphs.cpp",
541 "core/fpdfapi/render/cpdf_type3glyphs.h",
542 "core/fpdfapi/render/fpdf_render.cpp",
543 "core/fpdfapi/render/fpdf_render_cache.cpp",
544 "core/fpdfapi/render/fpdf_render_image.cpp",
545 "core/fpdfapi/render/fpdf_render_loadimage.cpp",
546 "core/fpdfapi/render/fpdf_render_pattern.cpp",
547 "core/fpdfapi/render/fpdf_render_text.cpp",
548 "core/fpdfapi/render/render_int.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700549 ]
weili0abe6522016-06-06 14:41:22 -0700550 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700551 deps = [
552 ":fxcrt",
553 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700554}
555
556static_library("fpdftext") {
557 sources = [
npm2d396ac2016-08-26 10:00:25 -0700558 "core/fpdftext/cpdf_linkextract.cpp",
dsinclaire0307862016-09-29 13:25:38 -0700559 "core/fpdftext/cpdf_linkextract.h",
npm2d396ac2016-08-26 10:00:25 -0700560 "core/fpdftext/cpdf_textpage.cpp",
dsinclaire0307862016-09-29 13:25:38 -0700561 "core/fpdftext/cpdf_textpage.h",
npm2d396ac2016-08-26 10:00:25 -0700562 "core/fpdftext/cpdf_textpagefind.cpp",
dsinclaire0307862016-09-29 13:25:38 -0700563 "core/fpdftext/cpdf_textpagefind.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400564 "core/fpdftext/unicodenormalizationdata.cpp",
565 "core/fpdftext/unicodenormalizationdata.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700566 ]
weili0abe6522016-06-06 14:41:22 -0700567 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700568 deps = [
569 ":fxcrt",
570 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700571}
572
573static_library("fxcodec") {
574 sources = [
dsinclair8a4e2862016-09-29 13:43:30 -0700575 "core/fxcodec/JBig2_DocumentContext.h",
dsinclaird55e11e2016-04-12 11:21:22 -0700576 "core/fxcodec/codec/ccodec_basicmodule.h",
577 "core/fxcodec/codec/ccodec_faxmodule.h",
578 "core/fxcodec/codec/ccodec_flatemodule.h",
579 "core/fxcodec/codec/ccodec_iccmodule.h",
580 "core/fxcodec/codec/ccodec_jbig2module.h",
581 "core/fxcodec/codec/ccodec_jpegmodule.h",
582 "core/fxcodec/codec/ccodec_jpxmodule.h",
583 "core/fxcodec/codec/ccodec_scanlinedecoder.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400584 "core/fxcodec/codec/codec_int.h",
585 "core/fxcodec/codec/fx_codec.cpp",
586 "core/fxcodec/codec/fx_codec_fax.cpp",
587 "core/fxcodec/codec/fx_codec_flate.cpp",
588 "core/fxcodec/codec/fx_codec_icc.cpp",
589 "core/fxcodec/codec/fx_codec_jbig.cpp",
590 "core/fxcodec/codec/fx_codec_jpeg.cpp",
591 "core/fxcodec/codec/fx_codec_jpx_opj.cpp",
dsinclair8a4e2862016-09-29 13:43:30 -0700592 "core/fxcodec/fx_codec.h",
593 "core/fxcodec/fx_codec_def.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400594 "core/fxcodec/jbig2/JBig2_ArithDecoder.cpp",
595 "core/fxcodec/jbig2/JBig2_ArithDecoder.h",
596 "core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp",
597 "core/fxcodec/jbig2/JBig2_ArithIntDecoder.h",
598 "core/fxcodec/jbig2/JBig2_BitStream.cpp",
599 "core/fxcodec/jbig2/JBig2_BitStream.h",
600 "core/fxcodec/jbig2/JBig2_Context.cpp",
601 "core/fxcodec/jbig2/JBig2_Context.h",
602 "core/fxcodec/jbig2/JBig2_Define.h",
603 "core/fxcodec/jbig2/JBig2_GrdProc.cpp",
604 "core/fxcodec/jbig2/JBig2_GrdProc.h",
605 "core/fxcodec/jbig2/JBig2_GrrdProc.cpp",
606 "core/fxcodec/jbig2/JBig2_GrrdProc.h",
607 "core/fxcodec/jbig2/JBig2_GsidProc.cpp",
608 "core/fxcodec/jbig2/JBig2_GsidProc.h",
609 "core/fxcodec/jbig2/JBig2_HtrdProc.cpp",
610 "core/fxcodec/jbig2/JBig2_HtrdProc.h",
611 "core/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp",
612 "core/fxcodec/jbig2/JBig2_HuffmanDecoder.h",
613 "core/fxcodec/jbig2/JBig2_HuffmanTable.cpp",
614 "core/fxcodec/jbig2/JBig2_HuffmanTable.h",
Tom Sepez4161c5c2016-03-21 12:26:54 -0700615 "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400616 "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h",
617 "core/fxcodec/jbig2/JBig2_Image.cpp",
618 "core/fxcodec/jbig2/JBig2_Image.h",
619 "core/fxcodec/jbig2/JBig2_List.h",
620 "core/fxcodec/jbig2/JBig2_Page.h",
621 "core/fxcodec/jbig2/JBig2_PatternDict.cpp",
622 "core/fxcodec/jbig2/JBig2_PatternDict.h",
623 "core/fxcodec/jbig2/JBig2_PddProc.cpp",
624 "core/fxcodec/jbig2/JBig2_PddProc.h",
625 "core/fxcodec/jbig2/JBig2_SddProc.cpp",
626 "core/fxcodec/jbig2/JBig2_SddProc.h",
627 "core/fxcodec/jbig2/JBig2_Segment.cpp",
628 "core/fxcodec/jbig2/JBig2_Segment.h",
629 "core/fxcodec/jbig2/JBig2_SymbolDict.cpp",
630 "core/fxcodec/jbig2/JBig2_SymbolDict.h",
631 "core/fxcodec/jbig2/JBig2_TrdProc.cpp",
632 "core/fxcodec/jbig2/JBig2_TrdProc.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700633 ]
thestig73c48562016-09-06 14:07:17 -0700634 configs += [ ":pdfium_core_config" ]
Lei Zhang8241df72015-11-06 14:38:48 -0800635 include_dirs = []
thestig73c48562016-09-06 14:07:17 -0700636 deps = [
637 ":fxcrt",
638 "third_party:fx_lcms2",
639 "third_party:fx_libopenjpeg",
640 "third_party:fx_zlib",
641
642 # This is a generic JPEG library dependency.
643 "//third_party:jpeg",
644 ]
645
Tom Sepezd2e023b2015-12-08 14:36:16 -0800646 if (pdf_enable_xfa) {
647 sources += [
dsinclaird55e11e2016-04-12 11:21:22 -0700648 "core/fxcodec/codec/ccodec_bmpmodule.h",
649 "core/fxcodec/codec/ccodec_gifmodule.h",
650 "core/fxcodec/codec/ccodec_pngmodule.h",
dsinclair8a4e2862016-09-29 13:43:30 -0700651 "core/fxcodec/codec/ccodec_progressivedecoder.h",
dsinclaird55e11e2016-04-12 11:21:22 -0700652 "core/fxcodec/codec/ccodec_tiffmodule.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400653 "core/fxcodec/codec/fx_codec_bmp.cpp",
654 "core/fxcodec/codec/fx_codec_gif.cpp",
655 "core/fxcodec/codec/fx_codec_png.cpp",
656 "core/fxcodec/codec/fx_codec_progress.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400657 "core/fxcodec/codec/fx_codec_tiff.cpp",
658 "core/fxcodec/lbmp/fx_bmp.cpp",
659 "core/fxcodec/lbmp/fx_bmp.h",
660 "core/fxcodec/lgif/fx_gif.cpp",
661 "core/fxcodec/lgif/fx_gif.h",
Tom Sepezd2e023b2015-12-08 14:36:16 -0800662 ]
663 deps += [
664 "third_party:fx_lpng",
665 "third_party:fx_tiff",
666 ]
667 }
John Abd-El-Malekdef5c7d2014-06-09 16:07:18 -0700668 if (is_posix) {
Dan Sinclair764ec512016-03-14 13:35:12 -0400669 # core/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int
John Abd-El-Malekdef5c7d2014-06-09 16:07:18 -0700670 # conversion to check that an address is 16-bit aligned (benign).
671 cflags_c = [ "-Wno-pointer-to-int-cast" ]
672 }
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400673}
674
675config("fxge_warnings") {
676 if (is_clang) {
677 cflags = [
678 # http://code.google.com/p/pdfium/issues/detail?id=188
679 "-Wno-switch",
680 ]
681 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700682}
683
684static_library("fxcrt") {
685 sources = [
dsinclaira52ab742016-09-29 13:59:29 -0700686 "core/fxcrt/cfx_observable.h",
687 "core/fxcrt/cfx_retain_ptr.h",
tsepez2239cee2016-10-17 11:20:01 -0700688 "core/fxcrt/cfx_shared_copy_on_write.h",
tsepezf7036ba2016-05-13 15:02:43 -0700689 "core/fxcrt/cfx_string_c_template.h",
tsepez6fb598b2016-04-05 12:40:47 -0700690 "core/fxcrt/cfx_string_data_template.h",
dsinclaira52ab742016-09-29 13:59:29 -0700691 "core/fxcrt/cfx_string_pool_template.h",
692 "core/fxcrt/cfx_weak_ptr.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400693 "core/fxcrt/extension.h",
dsinclaira52ab742016-09-29 13:59:29 -0700694 "core/fxcrt/fx_basic.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400695 "core/fxcrt/fx_basic_array.cpp",
696 "core/fxcrt/fx_basic_bstring.cpp",
697 "core/fxcrt/fx_basic_buffer.cpp",
698 "core/fxcrt/fx_basic_coords.cpp",
699 "core/fxcrt/fx_basic_gcc.cpp",
700 "core/fxcrt/fx_basic_list.cpp",
701 "core/fxcrt/fx_basic_memmgr.cpp",
702 "core/fxcrt/fx_basic_plex.cpp",
703 "core/fxcrt/fx_basic_utf.cpp",
704 "core/fxcrt/fx_basic_util.cpp",
705 "core/fxcrt/fx_basic_wstring.cpp",
706 "core/fxcrt/fx_bidi.cpp",
Dan Sinclaira8a28e02016-03-23 15:41:39 -0400707 "core/fxcrt/fx_bidi.h",
dsinclaira52ab742016-09-29 13:59:29 -0700708 "core/fxcrt/fx_coordinates.h",
709 "core/fxcrt/fx_ext.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400710 "core/fxcrt/fx_extension.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700711 "core/fxcrt/fx_memory.h",
712 "core/fxcrt/fx_safe_types.h",
713 "core/fxcrt/fx_stream.h",
714 "core/fxcrt/fx_string.h",
715 "core/fxcrt/fx_system.h",
716 "core/fxcrt/fx_ucd.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400717 "core/fxcrt/fx_ucddata.cpp",
718 "core/fxcrt/fx_unicode.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700719 "core/fxcrt/fx_xml.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400720 "core/fxcrt/fx_xml_composer.cpp",
721 "core/fxcrt/fx_xml_parser.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400722 "core/fxcrt/fxcrt_posix.cpp",
723 "core/fxcrt/fxcrt_posix.h",
724 "core/fxcrt/fxcrt_stream.cpp",
725 "core/fxcrt/fxcrt_windows.cpp",
726 "core/fxcrt/fxcrt_windows.h",
727 "core/fxcrt/plex.h",
728 "core/fxcrt/xml_int.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700729 ]
thestigc65e11e2016-08-30 21:56:33 -0700730 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700731 visibility += [ "third_party:*" ]
732 deps = [
733 "third_party:pdfium_base",
734 ]
735 public_deps = [
736 "third_party:pdfium_base",
737 ]
thestigc65e11e2016-08-30 21:56:33 -0700738
Tom Sepezd2e023b2015-12-08 14:36:16 -0800739 if (pdf_enable_xfa) {
740 sources += [
pcce3bbfa22016-04-19 12:40:07 -0700741 "core/fxcrt/fx_arabic.cpp",
dsinclaira52ab742016-09-29 13:59:29 -0700742 "core/fxcrt/fx_arabic.h",
743 "core/fxcrt/fx_arb.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400744 "core/fxcrt/fx_basic_maps.cpp",
Tom Sepezd2e023b2015-12-08 14:36:16 -0800745 ]
746 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700747}
748
749static_library("fxge") {
750 sources = [
npmcfcc11e2016-10-25 14:26:39 -0700751 "core/fxge/android/cfpf_skiabufferfont.h",
752 "core/fxge/android/cfpf_skiadevicemodule.cpp",
753 "core/fxge/android/cfpf_skiadevicemodule.h",
754 "core/fxge/android/cfpf_skiafilefont.h",
755 "core/fxge/android/cfpf_skiafont.cpp",
756 "core/fxge/android/cfpf_skiafont.h",
757 "core/fxge/android/cfpf_skiafontdescriptor.h",
npm83828032016-10-21 11:56:53 -0700758 "core/fxge/android/cfpf_skiafontmgr.cpp",
npmcfcc11e2016-10-25 14:26:39 -0700759 "core/fxge/android/cfpf_skiafontmgr.h",
760 "core/fxge/android/cfpf_skiapathfont.h",
761 "core/fxge/android/cfx_androidfontinfo.cpp",
762 "core/fxge/android/cfx_androidfontinfo.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400763 "core/fxge/android/fx_android_imp.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -0700764 "core/fxge/cfx_facecache.h",
765 "core/fxge/cfx_fontcache.h",
766 "core/fxge/cfx_fontmapper.h",
767 "core/fxge/cfx_fontmgr.h",
768 "core/fxge/cfx_fxgedevice.h",
769 "core/fxge/cfx_gemodule.h",
770 "core/fxge/cfx_graphstate.h",
771 "core/fxge/cfx_graphstatedata.h",
772 "core/fxge/cfx_pathdata.h",
773 "core/fxge/cfx_renderdevice.h",
774 "core/fxge/cfx_substfont.h",
775 "core/fxge/cfx_unicodeencoding.h",
776 "core/fxge/cfx_windowsdevice.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400777 "core/fxge/dib/dib_int.h",
778 "core/fxge/dib/fx_dib_composite.cpp",
779 "core/fxge/dib/fx_dib_convert.cpp",
780 "core/fxge/dib/fx_dib_engine.cpp",
781 "core/fxge/dib/fx_dib_main.cpp",
782 "core/fxge/dib/fx_dib_transform.cpp",
783 "core/fxge/fontdata/chromefontdata/FoxitDingbats.cpp",
784 "core/fxge/fontdata/chromefontdata/FoxitFixed.cpp",
785 "core/fxge/fontdata/chromefontdata/FoxitFixedBold.cpp",
786 "core/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.cpp",
787 "core/fxge/fontdata/chromefontdata/FoxitFixedItalic.cpp",
788 "core/fxge/fontdata/chromefontdata/FoxitSans.cpp",
789 "core/fxge/fontdata/chromefontdata/FoxitSansBold.cpp",
790 "core/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.cpp",
791 "core/fxge/fontdata/chromefontdata/FoxitSansItalic.cpp",
792 "core/fxge/fontdata/chromefontdata/FoxitSansMM.cpp",
793 "core/fxge/fontdata/chromefontdata/FoxitSerif.cpp",
794 "core/fxge/fontdata/chromefontdata/FoxitSerifBold.cpp",
795 "core/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.cpp",
796 "core/fxge/fontdata/chromefontdata/FoxitSerifItalic.cpp",
797 "core/fxge/fontdata/chromefontdata/FoxitSerifMM.cpp",
798 "core/fxge/fontdata/chromefontdata/FoxitSymbol.cpp",
799 "core/fxge/fontdata/chromefontdata/chromefontdata.h",
800 "core/fxge/freetype/fx_freetype.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -0700801 "core/fxge/fx_dib.h",
802 "core/fxge/fx_font.h",
803 "core/fxge/fx_freetype.h",
npm660de3c2016-08-08 08:18:29 -0700804 "core/fxge/ge/cfx_cliprgn.cpp",
805 "core/fxge/ge/cfx_cliprgn.h",
npm19ecc232016-08-19 16:17:57 -0700806 "core/fxge/ge/cfx_facecache.cpp",
npmf73893a2016-07-27 13:54:25 -0700807 "core/fxge/ge/cfx_folderfontinfo.cpp",
808 "core/fxge/ge/cfx_folderfontinfo.h",
npm155c8802016-09-06 07:31:02 -0700809 "core/fxge/ge/cfx_font.cpp",
npmd6918992016-08-17 13:22:16 -0700810 "core/fxge/ge/cfx_fontcache.cpp",
npmf73893a2016-07-27 13:54:25 -0700811 "core/fxge/ge/cfx_fontmapper.cpp",
812 "core/fxge/ge/cfx_fontmgr.cpp",
npm26b86e62016-08-04 17:22:14 -0700813 "core/fxge/ge/cfx_gemodule.cpp",
tsepez7c9f0a12016-09-06 13:02:55 -0700814 "core/fxge/ge/cfx_graphstate.cpp",
npm9ada2d82016-08-10 07:51:38 -0700815 "core/fxge/ge/cfx_graphstatedata.cpp",
npm660de3c2016-08-08 08:18:29 -0700816 "core/fxge/ge/cfx_pathdata.cpp",
npm9ada2d82016-08-10 07:51:38 -0700817 "core/fxge/ge/cfx_renderdevice.cpp",
npm81ee14d2016-08-29 09:35:12 -0700818 "core/fxge/ge/cfx_substfont.cpp",
npm1a8946b2016-08-18 10:55:29 -0700819 "core/fxge/ge/cfx_unicodeencoding.cpp",
npm81ee14d2016-08-29 09:35:12 -0700820 "core/fxge/ge/cttfontdesc.cpp",
821 "core/fxge/ge/cttfontdesc.h",
Dan Sinclair764ec512016-03-14 13:35:12 -0400822 "core/fxge/ge/fx_ge_fontmap.cpp",
823 "core/fxge/ge/fx_ge_linux.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -0400824 "core/fxge/ge/fx_ge_text.cpp",
825 "core/fxge/ge/fx_text_int.h",
weili095d3462016-06-21 11:24:24 -0700826 "core/fxge/ifx_renderdevicedriver.cpp",
dsinclair74a34fc2016-09-29 16:41:42 -0700827 "core/fxge/ifx_renderdevicedriver.h",
828 "core/fxge/ifx_systemfontinfo.h",
npm74847622016-07-29 15:20:25 -0700829 "core/fxge/win32/cfx_windowsdib.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700830 ]
831
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400832 configs += [
Lei Zhang7b16ba52015-10-26 17:06:53 -0700833 ":fxge_warnings",
weili0abe6522016-06-06 14:41:22 -0700834 ":pdfium_core_config",
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400835 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700836
thestig73c48562016-09-06 14:07:17 -0700837 deps = [
838 ":fxcrt",
839 ]
840
npm1a8946b2016-08-18 10:55:29 -0700841 if (pdf_enable_xfa) {
842 sources += [
dsinclair74a34fc2016-09-29 16:41:42 -0700843 "core/fxge/cfx_unicodeencodingex.h",
npm1a8946b2016-08-18 10:55:29 -0700844 "core/fxge/ge/cfx_unicodeencodingex.cpp",
npm1a8946b2016-08-18 10:55:29 -0700845 ]
846 }
847
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700848 if (pdf_use_skia) {
Cary Clark59b3a482016-03-17 12:00:39 -0400849 sources += [ "core/fxge/skia/fx_skia_device.cpp" ]
thestig73c48562016-09-06 14:07:17 -0700850 deps += [ "//skia" ]
caryclark749c14c2016-05-19 07:01:03 -0700851 } else {
852 sources += [
853 "core/fxge/agg/fx_agg_driver.cpp",
854 "core/fxge/agg/fx_agg_driver.h",
855 ]
thestig73c48562016-09-06 14:07:17 -0700856 deps += [ "third_party:fx_agg" ]
npma97fc7c2016-11-07 08:50:04 -0800857
858 if (is_mac) {
859 sources += [ "core/fxge/apple/fx_apple_platform.cpp" ]
860 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700861 }
862
863 if (is_win) {
864 sources += [
Dan Sinclair764ec512016-03-14 13:35:12 -0400865 "core/fxge/win32/dwrite_int.h",
866 "core/fxge/win32/fx_win32_device.cpp",
867 "core/fxge/win32/fx_win32_dib.cpp",
868 "core/fxge/win32/fx_win32_dwrite.cpp",
869 "core/fxge/win32/fx_win32_gdipext.cpp",
870 "core/fxge/win32/fx_win32_print.cpp",
871 "core/fxge/win32/win32_int.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700872 ]
Tom Sepez465ed872015-12-09 14:55:41 -0800873 configs -= [ "//build/config/win:lean_and_mean" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700874 }
npma97fc7c2016-11-07 08:50:04 -0800875
876 if (is_mac) {
877 sources += [
878 "core/fxge/apple/apple_int.h",
879 "core/fxge/apple/fx_mac_imp.cpp",
880 "core/fxge/apple/fx_quartz_device.cpp",
881 ]
882 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700883}
884
885static_library("fxedit") {
886 sources = [
dsinclair0bb385b2016-09-29 17:03:59 -0700887 "fpdfsdk/fxedit/fx_edit.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400888 "fpdfsdk/fxedit/fxet_ap.cpp",
889 "fpdfsdk/fxedit/fxet_edit.cpp",
dsinclair0bb385b2016-09-29 17:03:59 -0700890 "fpdfsdk/fxedit/fxet_edit.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400891 "fpdfsdk/fxedit/fxet_list.cpp",
dsinclair0bb385b2016-09-29 17:03:59 -0700892 "fpdfsdk/fxedit/fxet_list.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700893 ]
weili0abe6522016-06-06 14:41:22 -0700894 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700895 deps = [
896 ":fxcrt",
897 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700898}
899
900static_library("pdfwindow") {
901 sources = [
Dan Sinclairf766ad22016-03-14 13:51:24 -0400902 "fpdfsdk/pdfwindow/PWL_Button.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400903 "fpdfsdk/pdfwindow/PWL_Button.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400904 "fpdfsdk/pdfwindow/PWL_Caret.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400905 "fpdfsdk/pdfwindow/PWL_Caret.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400906 "fpdfsdk/pdfwindow/PWL_ComboBox.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400907 "fpdfsdk/pdfwindow/PWL_ComboBox.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400908 "fpdfsdk/pdfwindow/PWL_Edit.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400909 "fpdfsdk/pdfwindow/PWL_Edit.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400910 "fpdfsdk/pdfwindow/PWL_EditCtrl.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400911 "fpdfsdk/pdfwindow/PWL_EditCtrl.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400912 "fpdfsdk/pdfwindow/PWL_FontMap.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400913 "fpdfsdk/pdfwindow/PWL_FontMap.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400914 "fpdfsdk/pdfwindow/PWL_Icon.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400915 "fpdfsdk/pdfwindow/PWL_Icon.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400916 "fpdfsdk/pdfwindow/PWL_ListBox.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400917 "fpdfsdk/pdfwindow/PWL_ListBox.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400918 "fpdfsdk/pdfwindow/PWL_ScrollBar.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400919 "fpdfsdk/pdfwindow/PWL_ScrollBar.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400920 "fpdfsdk/pdfwindow/PWL_SpecialButton.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400921 "fpdfsdk/pdfwindow/PWL_SpecialButton.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400922 "fpdfsdk/pdfwindow/PWL_Utils.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400923 "fpdfsdk/pdfwindow/PWL_Utils.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400924 "fpdfsdk/pdfwindow/PWL_Wnd.cpp",
dan sinclair89e904b2016-03-23 19:29:15 -0400925 "fpdfsdk/pdfwindow/PWL_Wnd.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700926 ]
weili0abe6522016-06-06 14:41:22 -0700927 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -0700928 deps = [
929 ":fxcrt",
930 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700931}
932
933static_library("javascript") {
934 sources = [
dsinclair64376be2016-03-31 20:03:24 -0700935 "fpdfsdk/javascript/ijs_context.h",
936 "fpdfsdk/javascript/ijs_runtime.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700937 ]
thestig73c48562016-09-06 14:07:17 -0700938 configs += [ ":pdfium_core_config" ]
939 deps = [
940 ":fxcrt",
941 ]
942
Tom Sepez452b4f32015-10-13 09:27:27 -0700943 if (pdf_enable_v8) {
944 sources += [
tonikitoo618cb1f2016-08-18 20:10:17 -0700945 "fpdfsdk/javascript/Annot.cpp",
946 "fpdfsdk/javascript/Annot.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400947 "fpdfsdk/javascript/Consts.cpp",
948 "fpdfsdk/javascript/Consts.h",
949 "fpdfsdk/javascript/Document.cpp",
950 "fpdfsdk/javascript/Document.h",
951 "fpdfsdk/javascript/Field.cpp",
952 "fpdfsdk/javascript/Field.h",
953 "fpdfsdk/javascript/Icon.cpp",
954 "fpdfsdk/javascript/Icon.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400955 "fpdfsdk/javascript/JS_Define.h",
956 "fpdfsdk/javascript/JS_EventHandler.cpp",
957 "fpdfsdk/javascript/JS_EventHandler.h",
958 "fpdfsdk/javascript/JS_GlobalData.cpp",
959 "fpdfsdk/javascript/JS_GlobalData.h",
weili47228ac2016-07-20 10:35:31 -0700960 "fpdfsdk/javascript/JS_KeyValue.cpp",
961 "fpdfsdk/javascript/JS_KeyValue.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400962 "fpdfsdk/javascript/JS_Object.cpp",
963 "fpdfsdk/javascript/JS_Object.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400964 "fpdfsdk/javascript/JS_Value.cpp",
965 "fpdfsdk/javascript/JS_Value.h",
966 "fpdfsdk/javascript/PublicMethods.cpp",
967 "fpdfsdk/javascript/PublicMethods.h",
968 "fpdfsdk/javascript/app.cpp",
969 "fpdfsdk/javascript/app.h",
dsinclair64376be2016-03-31 20:03:24 -0700970 "fpdfsdk/javascript/cjs_context.cpp",
971 "fpdfsdk/javascript/cjs_context.h",
972 "fpdfsdk/javascript/cjs_runtime.cpp",
973 "fpdfsdk/javascript/cjs_runtime.h",
Dan Sinclairf766ad22016-03-14 13:51:24 -0400974 "fpdfsdk/javascript/color.cpp",
975 "fpdfsdk/javascript/color.h",
976 "fpdfsdk/javascript/console.cpp",
977 "fpdfsdk/javascript/console.h",
978 "fpdfsdk/javascript/event.cpp",
979 "fpdfsdk/javascript/event.h",
980 "fpdfsdk/javascript/global.cpp",
981 "fpdfsdk/javascript/global.h",
982 "fpdfsdk/javascript/report.cpp",
983 "fpdfsdk/javascript/report.h",
984 "fpdfsdk/javascript/resource.cpp",
985 "fpdfsdk/javascript/resource.h",
986 "fpdfsdk/javascript/util.cpp",
987 "fpdfsdk/javascript/util.h",
Tom Sepez452b4f32015-10-13 09:27:27 -0700988 ]
thestig73c48562016-09-06 14:07:17 -0700989 deps += [ ":fxjs" ]
Jochen Eisinger7ed503d2015-12-10 14:38:06 +0100990 configs += [ "//v8:external_startup_data" ]
Tom Sepez452b4f32015-10-13 09:27:27 -0700991 } else {
Dan Sinclairf766ad22016-03-14 13:51:24 -0400992 sources += [ "fpdfsdk/javascript/JS_Runtime_Stub.cpp" ]
Tom Sepez452b4f32015-10-13 09:27:27 -0700993 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700994}
995
996static_library("formfiller") {
997 sources = [
Dan Sinclairedbb3192016-03-21 09:08:24 -0400998 "fpdfsdk/formfiller/cba_fontmap.cpp",
999 "fpdfsdk/formfiller/cba_fontmap.h",
1000 "fpdfsdk/formfiller/cffl_checkbox.cpp",
1001 "fpdfsdk/formfiller/cffl_checkbox.h",
1002 "fpdfsdk/formfiller/cffl_combobox.cpp",
1003 "fpdfsdk/formfiller/cffl_combobox.h",
1004 "fpdfsdk/formfiller/cffl_formfiller.cpp",
1005 "fpdfsdk/formfiller/cffl_formfiller.h",
dsinclairb94d7c92016-09-21 12:07:00 -07001006 "fpdfsdk/formfiller/cffl_interactiveformfiller.cpp",
1007 "fpdfsdk/formfiller/cffl_interactiveformfiller.h",
Dan Sinclairedbb3192016-03-21 09:08:24 -04001008 "fpdfsdk/formfiller/cffl_listbox.cpp",
1009 "fpdfsdk/formfiller/cffl_listbox.h",
1010 "fpdfsdk/formfiller/cffl_pushbutton.cpp",
1011 "fpdfsdk/formfiller/cffl_pushbutton.h",
1012 "fpdfsdk/formfiller/cffl_radiobutton.cpp",
1013 "fpdfsdk/formfiller/cffl_radiobutton.h",
1014 "fpdfsdk/formfiller/cffl_textfield.cpp",
1015 "fpdfsdk/formfiller/cffl_textfield.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001016 ]
weili0abe6522016-06-06 14:41:22 -07001017 configs += [ ":pdfium_core_config" ]
thestig73c48562016-09-06 14:07:17 -07001018 deps = [
1019 ":fxcrt",
1020 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001021}
Tom Sepezc706fc02014-11-14 13:39:20 -08001022
dsinclairb3f24672016-07-12 10:42:14 -07001023if (pdf_enable_v8) {
dsinclair7f9c8602016-07-12 10:41:43 -07001024 static_library("fxjs") {
1025 sources = [
dsinclairb3f24672016-07-12 10:42:14 -07001026 "fxjs/fxjs_v8.cpp",
dsinclair43554682016-09-29 17:29:48 -07001027 "fxjs/fxjs_v8.h",
dsinclair7f9c8602016-07-12 10:41:43 -07001028 ]
thestig73c48562016-09-06 14:07:17 -07001029 configs += [ ":pdfium_core_config" ]
1030 deps = [
1031 ":fxcrt",
1032 "//v8",
1033 "//v8:v8_libplatform",
1034 ]
1035 include_dirs = [
1036 "//v8",
1037 "//v8/include",
1038 ]
1039 public_deps = [
1040 "//v8",
1041 ]
1042
dsinclairb3f24672016-07-12 10:42:14 -07001043 if (pdf_enable_xfa) {
1044 sources += [
1045 "fxjs/cfxjse_arguments.cpp",
dsinclair43554682016-09-29 17:29:48 -07001046 "fxjs/cfxjse_arguments.h",
dsinclairb3f24672016-07-12 10:42:14 -07001047 "fxjs/cfxjse_class.cpp",
dsinclair43554682016-09-29 17:29:48 -07001048 "fxjs/cfxjse_class.h",
dsinclairb3f24672016-07-12 10:42:14 -07001049 "fxjs/cfxjse_context.cpp",
dsinclair43554682016-09-29 17:29:48 -07001050 "fxjs/cfxjse_context.h",
dsinclairb3f24672016-07-12 10:42:14 -07001051 "fxjs/cfxjse_isolatetracker.cpp",
1052 "fxjs/cfxjse_isolatetracker.h",
1053 "fxjs/cfxjse_runtimedata.cpp",
1054 "fxjs/cfxjse_runtimedata.h",
1055 "fxjs/cfxjse_value.cpp",
dsinclair43554682016-09-29 17:29:48 -07001056 "fxjs/cfxjse_value.h",
1057 "fxjs/fxjse.h",
dsinclairb3f24672016-07-12 10:42:14 -07001058 ]
1059 }
dsinclair7f9c8602016-07-12 10:41:43 -07001060 }
dsinclairb3f24672016-07-12 10:42:14 -07001061}
dsinclair7f9c8602016-07-12 10:41:43 -07001062
dsinclairb3f24672016-07-12 10:42:14 -07001063if (pdf_enable_xfa) {
Tom Sepezb36747d2015-12-08 15:49:25 -08001064 static_library("fpdfxfa") {
1065 sources = [
dsinclair521b7502016-11-02 13:02:28 -07001066 "fpdfsdk/fpdfxfa/cpdfxfa_context.cpp",
1067 "fpdfsdk/fpdfxfa/cpdfxfa_context.h",
dsinclaira440bb32016-09-14 07:01:54 -07001068 "fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp",
dsinclairbec76922016-09-29 16:52:30 -07001069 "fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h",
dsinclair4d29e782016-10-04 14:02:47 -07001070 "fpdfsdk/fpdfxfa/cpdfxfa_page.cpp",
1071 "fpdfsdk/fpdfxfa/cpdfxfa_page.h",
1072 "fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.cpp",
1073 "fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h",
Tom Sepez452b4f32015-10-13 09:27:27 -07001074 ]
1075 deps = [
thestig73c48562016-09-06 14:07:17 -07001076 ":fxcrt",
dsinclair8837c912016-11-01 11:22:37 -07001077 ":fxjs",
Tom Sepezb36747d2015-12-08 15:49:25 -08001078 ":xfa",
1079 ]
weili0abe6522016-06-06 14:41:22 -07001080 configs += [ ":pdfium_core_config" ]
Tom Sepezb36747d2015-12-08 15:49:25 -08001081 }
1082
1083 static_library("xfa") {
1084 sources = [
dsinclairacd0d592016-04-21 11:06:27 -07001085 "xfa/fde/cfde_path.cpp",
1086 "xfa/fde/cfde_path.h",
dsinclair65395182016-05-18 11:09:47 -07001087 "xfa/fde/cfde_txtedtbuf.cpp",
1088 "xfa/fde/cfde_txtedtbuf.h",
1089 "xfa/fde/cfde_txtedtbufiter.cpp",
1090 "xfa/fde/cfde_txtedtbufiter.h",
1091 "xfa/fde/cfde_txtedtdorecord_deleterange.cpp",
1092 "xfa/fde/cfde_txtedtdorecord_deleterange.h",
1093 "xfa/fde/cfde_txtedtdorecord_insert.cpp",
1094 "xfa/fde/cfde_txtedtdorecord_insert.h",
1095 "xfa/fde/cfde_txtedtengine.cpp",
1096 "xfa/fde/cfde_txtedtengine.h",
1097 "xfa/fde/cfde_txtedtpage.cpp",
1098 "xfa/fde/cfde_txtedtpage.h",
1099 "xfa/fde/cfde_txtedtparag.cpp",
1100 "xfa/fde/cfde_txtedtparag.h",
1101 "xfa/fde/cfde_txtedttextset.cpp",
1102 "xfa/fde/cfde_txtedttextset.h",
1103 "xfa/fde/cfx_chariter.cpp",
1104 "xfa/fde/cfx_chariter.h",
1105 "xfa/fde/cfx_wordbreak.cpp",
1106 "xfa/fde/cfx_wordbreak.h",
npm69f160d2016-07-20 10:48:27 -07001107 "xfa/fde/css/cfde_cssrulecollection.cpp",
weilieec3a362016-06-18 06:25:37 -07001108 "xfa/fde/css/fde_css.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001109 "xfa/fde/css/fde_css.h",
1110 "xfa/fde/css/fde_csscache.cpp",
1111 "xfa/fde/css/fde_csscache.h",
1112 "xfa/fde/css/fde_cssdatatable.cpp",
1113 "xfa/fde/css/fde_cssdatatable.h",
1114 "xfa/fde/css/fde_cssdeclaration.cpp",
1115 "xfa/fde/css/fde_cssdeclaration.h",
1116 "xfa/fde/css/fde_cssstyleselector.cpp",
1117 "xfa/fde/css/fde_cssstyleselector.h",
1118 "xfa/fde/css/fde_cssstylesheet.cpp",
1119 "xfa/fde/css/fde_cssstylesheet.h",
1120 "xfa/fde/css/fde_csssyntax.cpp",
1121 "xfa/fde/css/fde_csssyntax.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001122 "xfa/fde/fde_gedevice.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001123 "xfa/fde/fde_iterator.cpp",
1124 "xfa/fde/fde_iterator.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001125 "xfa/fde/fde_object.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001126 "xfa/fde/fde_render.cpp",
1127 "xfa/fde/fde_render.h",
dsinclair65395182016-05-18 11:09:47 -07001128 "xfa/fde/ifde_txtedtdorecord.h",
1129 "xfa/fde/ifde_txtedtengine.h",
1130 "xfa/fde/ifde_txtedtpage.h",
1131 "xfa/fde/ifx_chariter.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001132 "xfa/fde/tto/fde_textout.cpp",
1133 "xfa/fde/tto/fde_textout.h",
dsinclair6c93df82016-05-19 18:13:53 -07001134 "xfa/fde/xml/cfx_saxreader.cpp",
1135 "xfa/fde/xml/cfx_saxreader.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001136 "xfa/fde/xml/fde_xml.h",
1137 "xfa/fde/xml/fde_xml_imp.cpp",
1138 "xfa/fde/xml/fde_xml_imp.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001139 "xfa/fgas/crt/fgas_codepage.cpp",
1140 "xfa/fgas/crt/fgas_codepage.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001141 "xfa/fgas/crt/fgas_language.h",
1142 "xfa/fgas/crt/fgas_memory.cpp",
1143 "xfa/fgas/crt/fgas_memory.h",
1144 "xfa/fgas/crt/fgas_stream.cpp",
1145 "xfa/fgas/crt/fgas_stream.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001146 "xfa/fgas/crt/fgas_utils.cpp",
1147 "xfa/fgas/crt/fgas_utils.h",
1148 "xfa/fgas/font/fgas_font.h",
1149 "xfa/fgas/font/fgas_fontutils.cpp",
1150 "xfa/fgas/font/fgas_fontutils.h",
1151 "xfa/fgas/font/fgas_gefont.cpp",
1152 "xfa/fgas/font/fgas_gefont.h",
1153 "xfa/fgas/font/fgas_stdfontmgr.cpp",
1154 "xfa/fgas/font/fgas_stdfontmgr.h",
1155 "xfa/fgas/layout/fgas_linebreak.cpp",
1156 "xfa/fgas/layout/fgas_linebreak.h",
1157 "xfa/fgas/layout/fgas_rtfbreak.cpp",
1158 "xfa/fgas/layout/fgas_rtfbreak.h",
1159 "xfa/fgas/layout/fgas_textbreak.cpp",
1160 "xfa/fgas/layout/fgas_textbreak.h",
1161 "xfa/fgas/layout/fgas_unicode.cpp",
1162 "xfa/fgas/layout/fgas_unicode.h",
1163 "xfa/fgas/localization/fgas_datetime.cpp",
1164 "xfa/fgas/localization/fgas_datetime.h",
1165 "xfa/fgas/localization/fgas_locale.cpp",
1166 "xfa/fgas/localization/fgas_locale.h",
1167 "xfa/fgas/localization/fgas_localeimp.h",
dsinclair05259e92016-10-20 09:59:48 -07001168 "xfa/fwl/core/cfwl_barcode.cpp",
1169 "xfa/fwl/core/cfwl_barcode.h",
1170 "xfa/fwl/core/cfwl_checkbox.cpp",
1171 "xfa/fwl/core/cfwl_checkbox.h",
1172 "xfa/fwl/core/cfwl_combobox.cpp",
1173 "xfa/fwl/core/cfwl_combobox.h",
1174 "xfa/fwl/core/cfwl_datetimepicker.cpp",
1175 "xfa/fwl/core/cfwl_datetimepicker.h",
1176 "xfa/fwl/core/cfwl_edit.cpp",
1177 "xfa/fwl/core/cfwl_edit.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001178 "xfa/fwl/core/cfwl_event.h",
dsinclair05259e92016-10-20 09:59:48 -07001179 "xfa/fwl/core/cfwl_listbox.cpp",
1180 "xfa/fwl/core/cfwl_listbox.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001181 "xfa/fwl/core/cfwl_message.h",
dsinclair05259e92016-10-20 09:59:48 -07001182 "xfa/fwl/core/cfwl_picturebox.cpp",
1183 "xfa/fwl/core/cfwl_picturebox.h",
1184 "xfa/fwl/core/cfwl_pushbutton.cpp",
1185 "xfa/fwl/core/cfwl_pushbutton.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001186 "xfa/fwl/core/cfwl_themebackground.h",
1187 "xfa/fwl/core/cfwl_themepart.h",
1188 "xfa/fwl/core/cfwl_themetext.h",
dsinclair05259e92016-10-20 09:59:48 -07001189 "xfa/fwl/core/cfwl_widget.cpp",
1190 "xfa/fwl/core/cfwl_widget.h",
tsepez648575a2016-05-25 15:24:31 -07001191 "xfa/fwl/core/cfwl_widgetmgr.cpp",
1192 "xfa/fwl/core/cfwl_widgetmgr.h",
dsinclair05259e92016-10-20 09:59:48 -07001193 "xfa/fwl/core/cfwl_widgetproperties.h",
dsinclairfb505592016-10-20 06:44:03 -07001194 "xfa/fwl/core/cfx_barcode.cpp",
1195 "xfa/fwl/core/cfx_barcode.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001196 "xfa/fwl/core/fwl_error.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001197 "xfa/fwl/core/fwl_noteimp.cpp",
1198 "xfa/fwl/core/fwl_noteimp.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001199 "xfa/fwl/core/fwl_widgetdef.h",
dsinclair202ad722016-09-29 17:41:42 -07001200 "xfa/fwl/core/fwl_widgethit.h",
dsinclair202ad722016-09-29 17:41:42 -07001201 "xfa/fwl/core/ifwl_adaptertimermgr.h",
dsinclair4e903132016-10-18 16:48:16 -07001202 "xfa/fwl/core/ifwl_app.cpp",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001203 "xfa/fwl/core/ifwl_app.h",
dsinclairfb505592016-10-20 06:44:03 -07001204 "xfa/fwl/core/ifwl_barcode.cpp",
1205 "xfa/fwl/core/ifwl_barcode.h",
1206 "xfa/fwl/core/ifwl_caret.cpp",
1207 "xfa/fwl/core/ifwl_caret.h",
1208 "xfa/fwl/core/ifwl_checkbox.cpp",
1209 "xfa/fwl/core/ifwl_checkbox.h",
1210 "xfa/fwl/core/ifwl_combobox.cpp",
1211 "xfa/fwl/core/ifwl_combobox.h",
dsinclair3b3ce1a2016-11-02 14:51:25 -07001212 "xfa/fwl/core/ifwl_comboboxproxy.cpp",
1213 "xfa/fwl/core/ifwl_comboboxproxy.h",
dsinclairfb505592016-10-20 06:44:03 -07001214 "xfa/fwl/core/ifwl_comboedit.cpp",
1215 "xfa/fwl/core/ifwl_comboedit.h",
1216 "xfa/fwl/core/ifwl_combolist.cpp",
1217 "xfa/fwl/core/ifwl_combolist.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001218 "xfa/fwl/core/ifwl_dataprovider.h",
dsinclairfb505592016-10-20 06:44:03 -07001219 "xfa/fwl/core/ifwl_datetimecalendar.cpp",
1220 "xfa/fwl/core/ifwl_datetimecalendar.h",
1221 "xfa/fwl/core/ifwl_datetimeedit.cpp",
1222 "xfa/fwl/core/ifwl_datetimeedit.h",
1223 "xfa/fwl/core/ifwl_datetimepicker.cpp",
1224 "xfa/fwl/core/ifwl_datetimepicker.h",
1225 "xfa/fwl/core/ifwl_edit.cpp",
1226 "xfa/fwl/core/ifwl_edit.h",
1227 "xfa/fwl/core/ifwl_form.cpp",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001228 "xfa/fwl/core/ifwl_form.h",
dsinclairfb505592016-10-20 06:44:03 -07001229 "xfa/fwl/core/ifwl_formproxy.cpp",
1230 "xfa/fwl/core/ifwl_formproxy.h",
1231 "xfa/fwl/core/ifwl_listbox.cpp",
1232 "xfa/fwl/core/ifwl_listbox.h",
1233 "xfa/fwl/core/ifwl_monthcalendar.cpp",
1234 "xfa/fwl/core/ifwl_monthcalendar.h",
1235 "xfa/fwl/core/ifwl_picturebox.cpp",
1236 "xfa/fwl/core/ifwl_picturebox.h",
1237 "xfa/fwl/core/ifwl_pushbutton.cpp",
1238 "xfa/fwl/core/ifwl_pushbutton.h",
1239 "xfa/fwl/core/ifwl_scrollbar.cpp",
1240 "xfa/fwl/core/ifwl_scrollbar.h",
1241 "xfa/fwl/core/ifwl_spinbutton.cpp",
1242 "xfa/fwl/core/ifwl_spinbutton.h",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001243 "xfa/fwl/core/ifwl_themeprovider.h",
dsinclairfb505592016-10-20 06:44:03 -07001244 "xfa/fwl/core/ifwl_timer.cpp",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001245 "xfa/fwl/core/ifwl_timer.h",
dsinclairfb505592016-10-20 06:44:03 -07001246 "xfa/fwl/core/ifwl_tooltip.cpp",
1247 "xfa/fwl/core/ifwl_tooltip.h",
1248 "xfa/fwl/core/ifwl_widget.cpp",
Dan Sinclair398a43d2016-03-23 15:51:01 -04001249 "xfa/fwl/core/ifwl_widget.h",
1250 "xfa/fwl/core/ifwl_widgetdelegate.h",
weili47228ac2016-07-20 10:35:31 -07001251 "xfa/fwl/theme/cfwl_arrowdata.cpp",
1252 "xfa/fwl/theme/cfwl_arrowdata.h",
dsinclair7f432a12016-03-29 12:38:01 -07001253 "xfa/fwl/theme/cfwl_barcodetp.cpp",
1254 "xfa/fwl/theme/cfwl_barcodetp.h",
1255 "xfa/fwl/theme/cfwl_carettp.cpp",
1256 "xfa/fwl/theme/cfwl_carettp.h",
1257 "xfa/fwl/theme/cfwl_checkboxtp.cpp",
1258 "xfa/fwl/theme/cfwl_checkboxtp.h",
1259 "xfa/fwl/theme/cfwl_comboboxtp.cpp",
1260 "xfa/fwl/theme/cfwl_comboboxtp.h",
weilibeecc342016-08-04 11:57:22 -07001261 "xfa/fwl/theme/cfwl_datetimepickertp.cpp",
dsinclair7f432a12016-03-29 12:38:01 -07001262 "xfa/fwl/theme/cfwl_datetimepickertp.h",
1263 "xfa/fwl/theme/cfwl_edittp.cpp",
1264 "xfa/fwl/theme/cfwl_edittp.h",
dsinclair7f432a12016-03-29 12:38:01 -07001265 "xfa/fwl/theme/cfwl_listboxtp.cpp",
1266 "xfa/fwl/theme/cfwl_listboxtp.h",
1267 "xfa/fwl/theme/cfwl_monthcalendartp.cpp",
1268 "xfa/fwl/theme/cfwl_monthcalendartp.h",
1269 "xfa/fwl/theme/cfwl_pictureboxtp.cpp",
1270 "xfa/fwl/theme/cfwl_pictureboxtp.h",
1271 "xfa/fwl/theme/cfwl_pushbuttontp.cpp",
1272 "xfa/fwl/theme/cfwl_pushbuttontp.h",
1273 "xfa/fwl/theme/cfwl_scrollbartp.cpp",
1274 "xfa/fwl/theme/cfwl_scrollbartp.h",
1275 "xfa/fwl/theme/cfwl_utils.h",
1276 "xfa/fwl/theme/cfwl_widgettp.cpp",
1277 "xfa/fwl/theme/cfwl_widgettp.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001278 "xfa/fxbarcode/BC_Dimension.cpp",
1279 "xfa/fxbarcode/BC_Dimension.h",
1280 "xfa/fxbarcode/BC_Library.cpp",
dsinclair202ad722016-09-29 17:41:42 -07001281 "xfa/fxbarcode/BC_Library.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001282 "xfa/fxbarcode/BC_TwoDimWriter.cpp",
1283 "xfa/fxbarcode/BC_TwoDimWriter.h",
1284 "xfa/fxbarcode/BC_UtilCodingConvert.cpp",
1285 "xfa/fxbarcode/BC_UtilCodingConvert.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001286 "xfa/fxbarcode/BC_Utils.cpp",
1287 "xfa/fxbarcode/BC_Writer.cpp",
1288 "xfa/fxbarcode/BC_Writer.h",
Dan Sinclaira8a28e02016-03-23 15:41:39 -04001289 "xfa/fxbarcode/cbc_codabar.cpp",
1290 "xfa/fxbarcode/cbc_codabar.h",
1291 "xfa/fxbarcode/cbc_code128.cpp",
1292 "xfa/fxbarcode/cbc_code128.h",
1293 "xfa/fxbarcode/cbc_code39.cpp",
1294 "xfa/fxbarcode/cbc_code39.h",
1295 "xfa/fxbarcode/cbc_codebase.cpp",
1296 "xfa/fxbarcode/cbc_codebase.h",
1297 "xfa/fxbarcode/cbc_datamatrix.cpp",
1298 "xfa/fxbarcode/cbc_datamatrix.h",
1299 "xfa/fxbarcode/cbc_ean13.cpp",
1300 "xfa/fxbarcode/cbc_ean13.h",
1301 "xfa/fxbarcode/cbc_ean8.cpp",
1302 "xfa/fxbarcode/cbc_ean8.h",
1303 "xfa/fxbarcode/cbc_onecode.cpp",
1304 "xfa/fxbarcode/cbc_onecode.h",
1305 "xfa/fxbarcode/cbc_pdf417i.cpp",
1306 "xfa/fxbarcode/cbc_pdf417i.h",
1307 "xfa/fxbarcode/cbc_qrcode.cpp",
1308 "xfa/fxbarcode/cbc_qrcode.h",
1309 "xfa/fxbarcode/cbc_upca.cpp",
1310 "xfa/fxbarcode/cbc_upca.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001311 "xfa/fxbarcode/common/BC_CommonBitArray.cpp",
1312 "xfa/fxbarcode/common/BC_CommonBitArray.h",
1313 "xfa/fxbarcode/common/BC_CommonBitMatrix.cpp",
1314 "xfa/fxbarcode/common/BC_CommonBitMatrix.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001315 "xfa/fxbarcode/common/BC_CommonByteArray.cpp",
1316 "xfa/fxbarcode/common/BC_CommonByteArray.h",
1317 "xfa/fxbarcode/common/BC_CommonByteMatrix.cpp",
1318 "xfa/fxbarcode/common/BC_CommonByteMatrix.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001319 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomon.cpp",
1320 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomon.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001321 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.cpp",
1322 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h",
1323 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp",
1324 "xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h",
1325 "xfa/fxbarcode/datamatrix/BC_ASCIIEncoder.cpp",
1326 "xfa/fxbarcode/datamatrix/BC_ASCIIEncoder.h",
1327 "xfa/fxbarcode/datamatrix/BC_Base256Encoder.cpp",
1328 "xfa/fxbarcode/datamatrix/BC_Base256Encoder.h",
1329 "xfa/fxbarcode/datamatrix/BC_C40Encoder.cpp",
1330 "xfa/fxbarcode/datamatrix/BC_C40Encoder.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001331 "xfa/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.cpp",
1332 "xfa/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001333 "xfa/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp",
1334 "xfa/fxbarcode/datamatrix/BC_DataMatrixWriter.h",
1335 "xfa/fxbarcode/datamatrix/BC_DefaultPlacement.cpp",
1336 "xfa/fxbarcode/datamatrix/BC_DefaultPlacement.h",
1337 "xfa/fxbarcode/datamatrix/BC_EdifactEncoder.cpp",
1338 "xfa/fxbarcode/datamatrix/BC_EdifactEncoder.h",
1339 "xfa/fxbarcode/datamatrix/BC_Encoder.cpp",
1340 "xfa/fxbarcode/datamatrix/BC_Encoder.h",
1341 "xfa/fxbarcode/datamatrix/BC_EncoderContext.cpp",
1342 "xfa/fxbarcode/datamatrix/BC_EncoderContext.h",
1343 "xfa/fxbarcode/datamatrix/BC_ErrorCorrection.cpp",
1344 "xfa/fxbarcode/datamatrix/BC_ErrorCorrection.h",
1345 "xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp",
1346 "xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.h",
1347 "xfa/fxbarcode/datamatrix/BC_SymbolInfo.cpp",
1348 "xfa/fxbarcode/datamatrix/BC_SymbolInfo.h",
1349 "xfa/fxbarcode/datamatrix/BC_SymbolShapeHint.cpp",
1350 "xfa/fxbarcode/datamatrix/BC_SymbolShapeHint.h",
1351 "xfa/fxbarcode/datamatrix/BC_TextEncoder.cpp",
1352 "xfa/fxbarcode/datamatrix/BC_TextEncoder.h",
1353 "xfa/fxbarcode/datamatrix/BC_X12Encoder.cpp",
1354 "xfa/fxbarcode/datamatrix/BC_X12Encoder.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001355 "xfa/fxbarcode/oned/BC_OneDimWriter.cpp",
1356 "xfa/fxbarcode/oned/BC_OneDimWriter.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001357 "xfa/fxbarcode/oned/BC_OnedCodaBarWriter.cpp",
1358 "xfa/fxbarcode/oned/BC_OnedCodaBarWriter.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001359 "xfa/fxbarcode/oned/BC_OnedCode128Writer.cpp",
1360 "xfa/fxbarcode/oned/BC_OnedCode128Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001361 "xfa/fxbarcode/oned/BC_OnedCode39Writer.cpp",
1362 "xfa/fxbarcode/oned/BC_OnedCode39Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001363 "xfa/fxbarcode/oned/BC_OnedEAN13Writer.cpp",
1364 "xfa/fxbarcode/oned/BC_OnedEAN13Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001365 "xfa/fxbarcode/oned/BC_OnedEAN8Writer.cpp",
1366 "xfa/fxbarcode/oned/BC_OnedEAN8Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001367 "xfa/fxbarcode/oned/BC_OnedUPCAWriter.cpp",
1368 "xfa/fxbarcode/oned/BC_OnedUPCAWriter.h",
1369 "xfa/fxbarcode/pdf417/BC_PDF417.cpp",
1370 "xfa/fxbarcode/pdf417/BC_PDF417.h",
1371 "xfa/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp",
1372 "xfa/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001373 "xfa/fxbarcode/pdf417/BC_PDF417BarcodeRow.cpp",
1374 "xfa/fxbarcode/pdf417/BC_PDF417BarcodeRow.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001375 "xfa/fxbarcode/pdf417/BC_PDF417Compaction.cpp",
1376 "xfa/fxbarcode/pdf417/BC_PDF417Compaction.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001377 "xfa/fxbarcode/pdf417/BC_PDF417ErrorCorrection.cpp",
1378 "xfa/fxbarcode/pdf417/BC_PDF417ErrorCorrection.h",
1379 "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.cpp",
1380 "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001381 "xfa/fxbarcode/pdf417/BC_PDF417Writer.cpp",
1382 "xfa/fxbarcode/pdf417/BC_PDF417Writer.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001383 "xfa/fxbarcode/qrcode/BC_QRCodeWriter.cpp",
1384 "xfa/fxbarcode/qrcode/BC_QRCodeWriter.h",
1385 "xfa/fxbarcode/qrcode/BC_QRCoder.cpp",
1386 "xfa/fxbarcode/qrcode/BC_QRCoder.h",
1387 "xfa/fxbarcode/qrcode/BC_QRCoderBitVector.cpp",
1388 "xfa/fxbarcode/qrcode/BC_QRCoderBitVector.h",
1389 "xfa/fxbarcode/qrcode/BC_QRCoderBlockPair.cpp",
1390 "xfa/fxbarcode/qrcode/BC_QRCoderBlockPair.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001391 "xfa/fxbarcode/qrcode/BC_QRCoderECB.cpp",
1392 "xfa/fxbarcode/qrcode/BC_QRCoderECB.h",
1393 "xfa/fxbarcode/qrcode/BC_QRCoderECBlocks.cpp",
1394 "xfa/fxbarcode/qrcode/BC_QRCoderECBlocks.h",
1395 "xfa/fxbarcode/qrcode/BC_QRCoderEncoder.cpp",
1396 "xfa/fxbarcode/qrcode/BC_QRCoderEncoder.h",
1397 "xfa/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.cpp",
1398 "xfa/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001399 "xfa/fxbarcode/qrcode/BC_QRCoderMaskUtil.cpp",
1400 "xfa/fxbarcode/qrcode/BC_QRCoderMaskUtil.h",
1401 "xfa/fxbarcode/qrcode/BC_QRCoderMatrixUtil.cpp",
1402 "xfa/fxbarcode/qrcode/BC_QRCoderMatrixUtil.h",
1403 "xfa/fxbarcode/qrcode/BC_QRCoderMode.cpp",
1404 "xfa/fxbarcode/qrcode/BC_QRCoderMode.h",
1405 "xfa/fxbarcode/qrcode/BC_QRCoderVersion.cpp",
1406 "xfa/fxbarcode/qrcode/BC_QRCoderVersion.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001407 "xfa/fxbarcode/utils.h",
weili625ad662016-06-15 11:21:33 -07001408 "xfa/fxfa/app/cxfa_eventparam.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001409 "xfa/fxfa/app/xfa_checksum.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001410 "xfa/fxfa/app/xfa_ffapp.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001411 "xfa/fxfa/app/xfa_ffbarcode.cpp",
1412 "xfa/fxfa/app/xfa_ffbarcode.h",
1413 "xfa/fxfa/app/xfa_ffcheckbutton.cpp",
1414 "xfa/fxfa/app/xfa_ffcheckbutton.h",
1415 "xfa/fxfa/app/xfa_ffchoicelist.cpp",
1416 "xfa/fxfa/app/xfa_ffchoicelist.h",
1417 "xfa/fxfa/app/xfa_ffdoc.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001418 "xfa/fxfa/app/xfa_ffdochandler.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001419 "xfa/fxfa/app/xfa_ffdocview.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001420 "xfa/fxfa/app/xfa_ffdraw.cpp",
1421 "xfa/fxfa/app/xfa_ffdraw.h",
1422 "xfa/fxfa/app/xfa_ffexclgroup.cpp",
1423 "xfa/fxfa/app/xfa_ffexclgroup.h",
1424 "xfa/fxfa/app/xfa_fffield.cpp",
1425 "xfa/fxfa/app/xfa_fffield.h",
1426 "xfa/fxfa/app/xfa_ffimage.cpp",
1427 "xfa/fxfa/app/xfa_ffimage.h",
1428 "xfa/fxfa/app/xfa_ffimageedit.cpp",
1429 "xfa/fxfa/app/xfa_ffimageedit.h",
1430 "xfa/fxfa/app/xfa_ffnotify.cpp",
1431 "xfa/fxfa/app/xfa_ffnotify.h",
1432 "xfa/fxfa/app/xfa_ffpageview.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001433 "xfa/fxfa/app/xfa_ffpath.cpp",
1434 "xfa/fxfa/app/xfa_ffpath.h",
1435 "xfa/fxfa/app/xfa_ffpushbutton.cpp",
1436 "xfa/fxfa/app/xfa_ffpushbutton.h",
1437 "xfa/fxfa/app/xfa_ffsignature.cpp",
1438 "xfa/fxfa/app/xfa_ffsignature.h",
1439 "xfa/fxfa/app/xfa_ffsubform.cpp",
1440 "xfa/fxfa/app/xfa_ffsubform.h",
1441 "xfa/fxfa/app/xfa_fftext.cpp",
1442 "xfa/fxfa/app/xfa_fftext.h",
1443 "xfa/fxfa/app/xfa_fftextedit.cpp",
1444 "xfa/fxfa/app/xfa_fftextedit.h",
1445 "xfa/fxfa/app/xfa_ffwidget.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001446 "xfa/fxfa/app/xfa_ffwidgetacc.cpp",
1447 "xfa/fxfa/app/xfa_ffwidgetacc.h",
1448 "xfa/fxfa/app/xfa_ffwidgethandler.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001449 "xfa/fxfa/app/xfa_fontmgr.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001450 "xfa/fxfa/app/xfa_fwladapter.cpp",
1451 "xfa/fxfa/app/xfa_fwladapter.h",
1452 "xfa/fxfa/app/xfa_fwltheme.cpp",
1453 "xfa/fxfa/app/xfa_fwltheme.h",
1454 "xfa/fxfa/app/xfa_rendercontext.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001455 "xfa/fxfa/app/xfa_textlayout.cpp",
1456 "xfa/fxfa/app/xfa_textlayout.h",
dsinclair5b493092016-09-29 20:20:24 -07001457 "xfa/fxfa/cxfa_eventparam.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001458 "xfa/fxfa/fm2js/xfa_error.cpp",
1459 "xfa/fxfa/fm2js/xfa_error.h",
1460 "xfa/fxfa/fm2js/xfa_expression.cpp",
1461 "xfa/fxfa/fm2js/xfa_expression.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001462 "xfa/fxfa/fm2js/xfa_fm2jscontext.cpp",
1463 "xfa/fxfa/fm2js/xfa_fm2jscontext.h",
1464 "xfa/fxfa/fm2js/xfa_fmparse.cpp",
1465 "xfa/fxfa/fm2js/xfa_fmparse.h",
1466 "xfa/fxfa/fm2js/xfa_lexer.cpp",
1467 "xfa/fxfa/fm2js/xfa_lexer.h",
1468 "xfa/fxfa/fm2js/xfa_program.cpp",
1469 "xfa/fxfa/fm2js/xfa_program.h",
1470 "xfa/fxfa/fm2js/xfa_simpleexpression.cpp",
1471 "xfa/fxfa/fm2js/xfa_simpleexpression.h",
dsinclair5b493092016-09-29 20:20:24 -07001472 "xfa/fxfa/fxfa.h",
1473 "xfa/fxfa/fxfa_basic.h",
1474 "xfa/fxfa/fxfa_widget.h",
dsinclairc1515ef2016-07-20 06:16:06 -07001475 "xfa/fxfa/parser/cscript_datawindow.cpp",
1476 "xfa/fxfa/parser/cscript_datawindow.h",
1477 "xfa/fxfa/parser/cscript_eventpseudomodel.cpp",
1478 "xfa/fxfa/parser/cscript_eventpseudomodel.h",
1479 "xfa/fxfa/parser/cscript_hostpseudomodel.cpp",
1480 "xfa/fxfa/parser/cscript_hostpseudomodel.h",
1481 "xfa/fxfa/parser/cscript_layoutpseudomodel.cpp",
1482 "xfa/fxfa/parser/cscript_layoutpseudomodel.h",
1483 "xfa/fxfa/parser/cscript_logpseudomodel.cpp",
1484 "xfa/fxfa/parser/cscript_logpseudomodel.h",
1485 "xfa/fxfa/parser/cscript_signaturepseudomodel.cpp",
1486 "xfa/fxfa/parser/cscript_signaturepseudomodel.h",
dsinclair44d054c2016-04-06 10:23:46 -07001487 "xfa/fxfa/parser/cxfa_arc.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001488 "xfa/fxfa/parser/cxfa_arraynodelist.cpp",
dsinclair44d054c2016-04-06 10:23:46 -07001489 "xfa/fxfa/parser/cxfa_assist.cpp",
1490 "xfa/fxfa/parser/cxfa_assist.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001491 "xfa/fxfa/parser/cxfa_attachnodelist.cpp",
dsinclair44d054c2016-04-06 10:23:46 -07001492 "xfa/fxfa/parser/cxfa_bind.cpp",
1493 "xfa/fxfa/parser/cxfa_bind.h",
1494 "xfa/fxfa/parser/cxfa_binditems.cpp",
1495 "xfa/fxfa/parser/cxfa_binditems.h",
1496 "xfa/fxfa/parser/cxfa_border.h",
1497 "xfa/fxfa/parser/cxfa_box.cpp",
1498 "xfa/fxfa/parser/cxfa_box.h",
1499 "xfa/fxfa/parser/cxfa_calculate.cpp",
1500 "xfa/fxfa/parser/cxfa_calculate.h",
1501 "xfa/fxfa/parser/cxfa_caption.cpp",
1502 "xfa/fxfa/parser/cxfa_caption.h",
dsinclair0b851ff2016-07-21 12:03:01 -07001503 "xfa/fxfa/parser/cxfa_containerlayoutitem.cpp",
1504 "xfa/fxfa/parser/cxfa_containerlayoutitem.h",
1505 "xfa/fxfa/parser/cxfa_contentlayoutitem.cpp",
1506 "xfa/fxfa/parser/cxfa_contentlayoutitem.h",
dsinclair44d054c2016-04-06 10:23:46 -07001507 "xfa/fxfa/parser/cxfa_corner.h",
1508 "xfa/fxfa/parser/cxfa_data.cpp",
1509 "xfa/fxfa/parser/cxfa_data.h",
dsinclair3a7cc732016-07-21 12:04:34 -07001510 "xfa/fxfa/parser/cxfa_dataexporter.cpp",
1511 "xfa/fxfa/parser/cxfa_dataexporter.h",
1512 "xfa/fxfa/parser/cxfa_dataimporter.cpp",
1513 "xfa/fxfa/parser/cxfa_dataimporter.h",
dsinclair16280242016-07-21 12:03:47 -07001514 "xfa/fxfa/parser/cxfa_document.cpp",
1515 "xfa/fxfa/parser/cxfa_document.h",
dsinclair34f86b02016-07-11 08:42:33 -07001516 "xfa/fxfa/parser/cxfa_document_parser.cpp",
1517 "xfa/fxfa/parser/cxfa_document_parser.h",
dsinclair44d054c2016-04-06 10:23:46 -07001518 "xfa/fxfa/parser/cxfa_edge.h",
1519 "xfa/fxfa/parser/cxfa_event.cpp",
1520 "xfa/fxfa/parser/cxfa_event.h",
1521 "xfa/fxfa/parser/cxfa_exdata.cpp",
1522 "xfa/fxfa/parser/cxfa_exdata.h",
1523 "xfa/fxfa/parser/cxfa_fill.cpp",
1524 "xfa/fxfa/parser/cxfa_fill.h",
1525 "xfa/fxfa/parser/cxfa_font.cpp",
1526 "xfa/fxfa/parser/cxfa_font.h",
1527 "xfa/fxfa/parser/cxfa_image.cpp",
1528 "xfa/fxfa/parser/cxfa_image.h",
dsinclair0b851ff2016-07-21 12:03:01 -07001529 "xfa/fxfa/parser/cxfa_layoutitem.cpp",
1530 "xfa/fxfa/parser/cxfa_layoutitem.h",
dsinclair8d0cc672016-08-03 12:58:53 -07001531 "xfa/fxfa/parser/cxfa_layoutpagemgr.cpp",
1532 "xfa/fxfa/parser/cxfa_layoutpagemgr.h",
dsinclair0b851ff2016-07-21 12:03:01 -07001533 "xfa/fxfa/parser/cxfa_layoutprocessor.cpp",
1534 "xfa/fxfa/parser/cxfa_layoutprocessor.h",
dsinclair44d054c2016-04-06 10:23:46 -07001535 "xfa/fxfa/parser/cxfa_line.cpp",
1536 "xfa/fxfa/parser/cxfa_line.h",
1537 "xfa/fxfa/parser/cxfa_margin.cpp",
1538 "xfa/fxfa/parser/cxfa_margin.h",
dsinclair9eb0db12016-07-21 12:01:39 -07001539 "xfa/fxfa/parser/cxfa_measurement.cpp",
1540 "xfa/fxfa/parser/cxfa_measurement.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001541 "xfa/fxfa/parser/cxfa_node.cpp",
dsinclair31f87402016-07-20 06:34:45 -07001542 "xfa/fxfa/parser/cxfa_nodehelper.cpp",
1543 "xfa/fxfa/parser/cxfa_nodehelper.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001544 "xfa/fxfa/parser/cxfa_nodelist.cpp",
1545 "xfa/fxfa/parser/cxfa_object.cpp",
dsinclair44d054c2016-04-06 10:23:46 -07001546 "xfa/fxfa/parser/cxfa_occur.cpp",
1547 "xfa/fxfa/parser/cxfa_occur.h",
1548 "xfa/fxfa/parser/cxfa_para.cpp",
1549 "xfa/fxfa/parser/cxfa_para.h",
1550 "xfa/fxfa/parser/cxfa_rectangle.h",
dsinclair31f87402016-07-20 06:34:45 -07001551 "xfa/fxfa/parser/cxfa_resolveprocessor.cpp",
1552 "xfa/fxfa/parser/cxfa_resolveprocessor.h",
dsinclair44d054c2016-04-06 10:23:46 -07001553 "xfa/fxfa/parser/cxfa_script.cpp",
1554 "xfa/fxfa/parser/cxfa_script.h",
dsinclair31f87402016-07-20 06:34:45 -07001555 "xfa/fxfa/parser/cxfa_scriptcontext.cpp",
1556 "xfa/fxfa/parser/cxfa_scriptcontext.h",
dsinclair34f86b02016-07-11 08:42:33 -07001557 "xfa/fxfa/parser/cxfa_simple_parser.cpp",
1558 "xfa/fxfa/parser/cxfa_simple_parser.h",
dsinclair44d054c2016-04-06 10:23:46 -07001559 "xfa/fxfa/parser/cxfa_stroke.cpp",
1560 "xfa/fxfa/parser/cxfa_stroke.h",
1561 "xfa/fxfa/parser/cxfa_submit.cpp",
1562 "xfa/fxfa/parser/cxfa_submit.h",
1563 "xfa/fxfa/parser/cxfa_text.cpp",
1564 "xfa/fxfa/parser/cxfa_text.h",
dsinclair5b36f0a2016-07-19 10:56:23 -07001565 "xfa/fxfa/parser/cxfa_thisproxy.cpp",
dsinclair44d054c2016-04-06 10:23:46 -07001566 "xfa/fxfa/parser/cxfa_tooltip.cpp",
1567 "xfa/fxfa/parser/cxfa_tooltip.h",
dsinclair6ea5ba02016-08-03 10:20:32 -07001568 "xfa/fxfa/parser/cxfa_traversestrategy_contentareacontainerlayoutitem.h",
1569 "xfa/fxfa/parser/cxfa_traversestrategy_contentlayoutitem.h",
dsinclair0b851ff2016-07-21 12:03:01 -07001570 "xfa/fxfa/parser/cxfa_traversestrategy_layoutitem.h",
dsinclair44d054c2016-04-06 10:23:46 -07001571 "xfa/fxfa/parser/cxfa_validate.cpp",
1572 "xfa/fxfa/parser/cxfa_validate.h",
1573 "xfa/fxfa/parser/cxfa_value.cpp",
1574 "xfa/fxfa/parser/cxfa_value.h",
dsinclair8f3074b2016-06-02 17:45:25 -07001575 "xfa/fxfa/parser/cxfa_valuearray.cpp",
1576 "xfa/fxfa/parser/cxfa_valuearray.h",
dsinclair9eb0db12016-07-21 12:01:39 -07001577 "xfa/fxfa/parser/cxfa_widetextread.cpp",
1578 "xfa/fxfa/parser/cxfa_widetextread.h",
dsinclair44d054c2016-04-06 10:23:46 -07001579 "xfa/fxfa/parser/cxfa_widgetdata.cpp",
1580 "xfa/fxfa/parser/cxfa_widgetdata.h",
dsinclair34f86b02016-07-11 08:42:33 -07001581 "xfa/fxfa/parser/cxfa_xml_parser.cpp",
1582 "xfa/fxfa/parser/cxfa_xml_parser.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001583 "xfa/fxfa/parser/xfa_basic_data.cpp",
dsinclairf1494f02016-07-07 12:56:17 -07001584 "xfa/fxfa/parser/xfa_basic_data.h",
dsinclair8bdbc882016-07-07 07:55:39 -07001585 "xfa/fxfa/parser/xfa_basic_data_attributes.cpp",
1586 "xfa/fxfa/parser/xfa_basic_data_element_attributes.cpp",
1587 "xfa/fxfa/parser/xfa_basic_data_element_properties.cpp",
1588 "xfa/fxfa/parser/xfa_basic_data_element_script.cpp",
1589 "xfa/fxfa/parser/xfa_basic_data_enum.cpp",
1590 "xfa/fxfa/parser/xfa_basic_data_packets.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001591 "xfa/fxfa/parser/xfa_document_datamerger_imp.cpp",
1592 "xfa/fxfa/parser/xfa_document_datamerger_imp.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001593 "xfa/fxfa/parser/xfa_layout_itemlayout.cpp",
1594 "xfa/fxfa/parser/xfa_layout_itemlayout.h",
Dan Sinclair1770c022016-03-14 14:14:16 -04001595 "xfa/fxfa/parser/xfa_locale.cpp",
1596 "xfa/fxfa/parser/xfa_locale.h",
1597 "xfa/fxfa/parser/xfa_localemgr.cpp",
1598 "xfa/fxfa/parser/xfa_localemgr.h",
1599 "xfa/fxfa/parser/xfa_localevalue.cpp",
1600 "xfa/fxfa/parser/xfa_localevalue.h",
1601 "xfa/fxfa/parser/xfa_object.h",
dsinclair31f87402016-07-20 06:34:45 -07001602 "xfa/fxfa/parser/xfa_resolvenode_rs.h",
dsinclair39fdfc32016-07-21 12:09:45 -07001603 "xfa/fxfa/parser/xfa_utils.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001604 "xfa/fxfa/parser/xfa_utils.h",
dsinclair5b493092016-09-29 20:20:24 -07001605 "xfa/fxfa/xfa_checksum.h",
1606 "xfa/fxfa/xfa_ffapp.h",
1607 "xfa/fxfa/xfa_ffdoc.h",
1608 "xfa/fxfa/xfa_ffdochandler.h",
1609 "xfa/fxfa/xfa_ffdocview.h",
1610 "xfa/fxfa/xfa_ffpageview.h",
1611 "xfa/fxfa/xfa_ffwidget.h",
1612 "xfa/fxfa/xfa_ffwidgethandler.h",
1613 "xfa/fxfa/xfa_fontmgr.h",
1614 "xfa/fxfa/xfa_rendercontext.h",
Dan Sinclair811b8a42016-03-17 08:59:42 -04001615 "xfa/fxgraphics/cagg_graphics.cpp",
1616 "xfa/fxgraphics/cagg_graphics.h",
1617 "xfa/fxgraphics/cfx_color.cpp",
1618 "xfa/fxgraphics/cfx_color.h",
1619 "xfa/fxgraphics/cfx_graphics.cpp",
dsinclair202ad722016-09-29 17:41:42 -07001620 "xfa/fxgraphics/cfx_graphics.h",
Dan Sinclair811b8a42016-03-17 08:59:42 -04001621 "xfa/fxgraphics/cfx_path.cpp",
1622 "xfa/fxgraphics/cfx_path.h",
1623 "xfa/fxgraphics/cfx_path_generator.cpp",
1624 "xfa/fxgraphics/cfx_path_generator.h",
1625 "xfa/fxgraphics/cfx_pattern.cpp",
1626 "xfa/fxgraphics/cfx_pattern.h",
1627 "xfa/fxgraphics/cfx_shading.cpp",
1628 "xfa/fxgraphics/cfx_shading.h",
Tom Sepezb36747d2015-12-08 15:49:25 -08001629 ]
dsinclairb3f24672016-07-12 10:42:14 -07001630 include_dirs = [ "." ]
dsinclair8bd9ce02016-06-09 13:24:34 -07001631 deps = [
thestig73c48562016-09-06 14:07:17 -07001632 ":fxcrt",
dsinclair7f9c8602016-07-12 10:41:43 -07001633 ":fxjs",
dsinclair8bd9ce02016-06-09 13:24:34 -07001634 ]
Tom Sepezb36747d2015-12-08 15:49:25 -08001635 configs += [
weili0abe6522016-06-06 14:41:22 -07001636 ":pdfium_core_config",
weilidcc29b12016-05-27 17:58:23 -07001637 ":xfa_warnings",
Tom Sepez452b4f32015-10-13 09:27:27 -07001638 ]
1639 }
Tom Sepezc706fc02014-11-14 13:39:20 -08001640}
Tom Sepez04681f32015-01-09 13:59:19 -08001641
1642test("pdfium_unittests") {
1643 sources = [
dsinclairbc5e6d22016-10-04 11:08:49 -07001644 "core/fpdfapi/font/fpdf_font_cid_unittest.cpp",
1645 "core/fpdfapi/font/fpdf_font_unittest.cpp",
npm014b0122016-11-07 08:42:11 -08001646 "core/fpdfapi/page/cpdf_streamcontentparser_unittest.cpp",
1647 "core/fpdfapi/page/cpdf_streamparser_unittest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07001648 "core/fpdfapi/parser/cpdf_array_unittest.cpp",
npm3cad5962016-10-21 16:02:15 -07001649 "core/fpdfapi/parser/cpdf_document_unittest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07001650 "core/fpdfapi/parser/cpdf_object_unittest.cpp",
1651 "core/fpdfapi/parser/cpdf_parser_unittest.cpp",
1652 "core/fpdfapi/parser/cpdf_simple_parser_unittest.cpp",
1653 "core/fpdfapi/parser/cpdf_syntax_parser_unittest.cpp",
1654 "core/fpdfapi/parser/fpdf_parser_decode_unittest.cpp",
dsinclairc59fa882016-11-08 06:55:40 -08001655 "core/fpdfdoc/cpdf_dest_unittest.cpp",
dsinclair448c4332016-08-02 12:07:35 -07001656 "core/fpdfdoc/cpdf_filespec_unittest.cpp",
thestig695aac52016-08-25 09:13:52 -07001657 "core/fpdfdoc/cpdf_formfield_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001658 "core/fpdftext/fpdf_text_int_unittest.cpp",
1659 "core/fxcodec/codec/fx_codec_jpx_unittest.cpp",
tsepeze21501d2016-08-02 13:36:16 -07001660 "core/fxcodec/jbig2/JBig2_Image_unittest.cpp",
tsepez1c620542016-09-12 09:47:52 -07001661 "core/fxcrt/cfx_observable_unittest.cpp",
tsepez602aebc2016-03-29 15:04:21 -07001662 "core/fxcrt/cfx_retain_ptr_unittest.cpp",
tsepez2239cee2016-10-17 11:20:01 -07001663 "core/fxcrt/cfx_shared_copy_on_write_unittest.cpp",
tsepezd9871432016-09-15 14:01:31 -07001664 "core/fxcrt/cfx_string_pool_template_unittest.cpp",
tsepez4ba37c62016-09-28 14:49:01 -07001665 "core/fxcrt/cfx_weak_ptr_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001666 "core/fxcrt/fx_basic_bstring_unittest.cpp",
1667 "core/fxcrt/fx_basic_gcc_unittest.cpp",
1668 "core/fxcrt/fx_basic_memmgr_unittest.cpp",
thestig1b99b2d2016-05-20 11:50:06 -07001669 "core/fxcrt/fx_basic_util_unittest.cpp",
Dan Sinclair764ec512016-03-14 13:35:12 -04001670 "core/fxcrt/fx_basic_wstring_unittest.cpp",
1671 "core/fxcrt/fx_bidi_unittest.cpp",
1672 "core/fxcrt/fx_extension_unittest.cpp",
1673 "core/fxcrt/fx_system_unittest.cpp",
weili229d05d2016-08-11 19:43:58 -07001674 "core/fxge/dib/fx_dib_engine_unittest.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001675 "fpdfsdk/fpdfdoc_unittest.cpp",
thestigdc359b02016-08-09 15:46:20 -07001676 "fpdfsdk/fpdfeditimg_unittest.cpp",
Tom Sepez04681f32015-01-09 13:59:19 -08001677 ]
1678 deps = [
Tom Sepezd831dc72015-10-19 16:04:22 -07001679 ":pdfium",
1680 ":test_support",
Dan Sinclairfffc9632016-03-08 08:57:05 -05001681 "//testing/gtest",
1682 "//testing/gtest:gtest_main",
Tom Sepez04681f32015-01-09 13:59:19 -08001683 ]
Dan Sinclair30410ce2016-03-16 10:20:24 -04001684 include_dirs = []
Tom Sepezd2e023b2015-12-08 14:36:16 -08001685 if (pdf_enable_xfa) {
1686 sources += [
dsinclairfc2cdf82016-05-19 18:07:11 -07001687 "xfa/fde/css/fde_cssdatatable_unittest.cpp",
dsinclair11ac93c2016-03-31 09:45:20 -07001688 "xfa/fde/xml/fde_xml_imp_unittest.cpp",
Dan Sinclair1770c022016-03-14 14:14:16 -04001689 "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp",
dsinclairc7600f92016-05-19 14:12:30 -07001690 "xfa/fxfa/app/xfa_textlayout_unittest.cpp",
dsinclaire85f9712016-08-03 10:08:13 -07001691 "xfa/fxfa/fm2js/xfa_simpleexpression_unittest.cpp",
dsinclair39fdfc32016-07-21 12:09:45 -07001692 "xfa/fxfa/parser/xfa_utils_unittest.cpp",
Tom Sepezd2e023b2015-12-08 14:36:16 -08001693 ]
1694 }
caryclarke89391e2016-06-29 07:10:49 -07001695 if (pdf_use_skia) {
1696 sources += [ "core/fxge/skia/fx_skia_device_unittest.cpp" ]
1697 deps += [ "//skia" ]
1698 }
Wei Li614d20a2016-03-15 13:55:12 -07001699 if (pdf_enable_v8) {
Dan Sinclair811b8a42016-03-17 08:59:42 -04001700 sources += [ "fpdfsdk/javascript/public_methods_unittest.cpp" ]
Wei Li614d20a2016-03-15 13:55:12 -07001701 include_dirs += [
1702 "//v8",
1703 "//v8/include",
1704 ]
1705 }
weili0abe6522016-06-06 14:41:22 -07001706 configs += [ ":pdfium_core_config" ]
jbudorick7f3a15f2016-06-10 06:28:40 -07001707 if (is_android) {
1708 ignore_all_data_deps = true
1709 use_raw_android_executable = true
1710 }
Tom Sepez04681f32015-01-09 13:59:19 -08001711}
Tom Sepez1b1bb492015-01-22 17:36:32 -08001712
1713test("pdfium_embeddertests") {
1714 sources = [
dsinclair41872fa2016-10-04 11:29:35 -07001715 "core/fpdfapi/page/fpdf_page_func_embeddertest.cpp",
dsinclair488b7ad2016-10-04 11:55:50 -07001716 "core/fpdfapi/parser/cpdf_parser_embeddertest.cpp",
1717 "core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp",
1718 "core/fpdfapi/parser/fpdf_parser_decode_embeddertest.cpp",
dsinclair69d9c682016-10-04 12:18:35 -07001719 "core/fpdfapi/render/fpdf_render_loadimage_embeddertest.cpp",
1720 "core/fpdfapi/render/fpdf_render_pattern_embeddertest.cpp",
weili6faf9f92016-08-02 11:34:08 -07001721 "core/fxcodec/codec/fx_codec_embeddertest.cpp",
ochangb8627c92016-04-11 13:47:41 -07001722 "core/fxge/ge/fx_ge_text_embeddertest.cpp",
Dan Sinclairf766ad22016-03-14 13:51:24 -04001723 "fpdfsdk/fpdf_dataavail_embeddertest.cpp",
1724 "fpdfsdk/fpdfdoc_embeddertest.cpp",
1725 "fpdfsdk/fpdfedit_embeddertest.cpp",
1726 "fpdfsdk/fpdfext_embeddertest.cpp",
1727 "fpdfsdk/fpdfformfill_embeddertest.cpp",
1728 "fpdfsdk/fpdfsave_embeddertest.cpp",
1729 "fpdfsdk/fpdftext_embeddertest.cpp",
1730 "fpdfsdk/fpdfview_c_api_test.c",
1731 "fpdfsdk/fpdfview_c_api_test.h",
1732 "fpdfsdk/fpdfview_embeddertest.cpp",
1733 "fpdfsdk/fsdk_baseform_embeddertest.cpp",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001734 "testing/embedder_test.cpp",
1735 "testing/embedder_test.h",
Tom Sepeza310e002015-02-27 13:03:07 -08001736 "testing/embedder_test_mock_delegate.h",
Tom Sepez6efc0ad2015-06-02 17:11:18 -07001737 "testing/embedder_test_timer_handling_delegate.h",
dsinclair34f86b02016-07-11 08:42:33 -07001738 "xfa/fxfa/parser/cxfa_simple_parser_embeddertest.cpp",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001739 ]
1740 deps = [
Tom Sepez452b4f32015-10-13 09:27:27 -07001741 ":pdfium",
Tom Sepezd831dc72015-10-19 16:04:22 -07001742 ":test_support",
Dan Sinclairfffc9632016-03-08 08:57:05 -05001743 "//testing/gmock",
1744 "//testing/gtest",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001745 ]
dsinclair685bb882016-04-20 07:32:39 -07001746 include_dirs = [ "testing/gmock/include" ]
thestigc65e11e2016-08-30 21:56:33 -07001747 configs += [ ":pdfium_core_config" ]
1748
Tom Sepez452b4f32015-10-13 09:27:27 -07001749 if (pdf_enable_v8) {
Lei Zhang1ac47eb2015-12-21 11:04:44 -08001750 sources += [
Dan Sinclairf766ad22016-03-14 13:51:24 -04001751 "fpdfsdk/javascript/public_methods_embeddertest.cpp",
dsinclairb3f24672016-07-12 10:42:14 -07001752 "fxjs/fxjs_v8_embeddertest.cpp",
Lei Zhang1ac47eb2015-12-21 11:04:44 -08001753 "testing/js_embedder_test.cpp",
1754 "testing/js_embedder_test.h",
1755 ]
dsinclairb3f24672016-07-12 10:42:14 -07001756 deps += [ ":fxjs" ]
Jochen Eisinger7ed503d2015-12-10 14:38:06 +01001757 configs += [ "//v8:external_startup_data" ]
Tom Sepez452b4f32015-10-13 09:27:27 -07001758 }
jbudorick7f3a15f2016-06-10 06:28:40 -07001759 if (is_android) {
1760 ignore_all_data_deps = true
1761 use_raw_android_executable = true
1762 }
Tom Sepez1b1bb492015-01-22 17:36:32 -08001763}
dsinclair685bb882016-04-20 07:32:39 -07001764
1765if (pdf_is_standalone) {
1766 source_set("samples") {
1767 testonly = true
1768 deps = [
1769 "//samples",
1770 ]
1771 }
thestig62114cf2016-11-08 12:59:30 -08001772 group("fuzzers") {
1773 testonly = true
1774 deps = [
1775 "//testing/libfuzzer",
1776 ]
1777 }
dsinclair685bb882016-04-20 07:32:39 -07001778}