blob: fdb022e0776826b6a70e514dd82bb54f26a46729 [file] [log] [blame]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07001# Copyright 2014 The Chromium Authors. All rights reserved.
2# 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")
Tom Sepeza8a39e22015-10-12 15:47:07 -07006import("pdfium.gni")
John Abd-El-Malekef4dce42015-02-02 16:52:07 -08007
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -07008config("pdfium_config") {
9 cflags = []
Oliver Changcec3f682015-11-05 16:00:40 -080010 include_dirs = [
Lei Zhang8241df72015-11-06 14:38:48 -080011 ".",
Oliver Changcec3f682015-11-05 16:00:40 -080012 "third_party/freetype/include",
13 "third_party/freetype/include/freetype",
14 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070015 defines = [
John Abd-El-Malekef4dce42015-02-02 16:52:07 -080016 "OPJ_STATIC",
John Abd-El-Malek385729b2015-02-06 15:51:11 -080017 "PNG_PREFIX",
18 "PNGPREFIX_H",
19 "PNG_USE_READ_MACROS",
Jochen Eisinger90a41812015-05-20 10:49:45 +020020 "V8_DEPRECATION_WARNINGS",
Tom Sepez6fd997b2015-06-18 17:51:37 -070021 "_CRT_SECURE_NO_WARNINGS",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070022 ]
23
24 if (pdf_use_skia) {
25 defines += [ "_SKIA_SUPPORT_" ]
26 }
27
Tom Sepez452b4f32015-10-13 09:27:27 -070028 if (pdf_enable_v8) {
29 defines += [ "PDF_ENABLE_V8" ]
30 }
31
Tom Sepeza8a39e22015-10-12 15:47:07 -070032 if (pdf_enable_xfa) {
33 defines += [ "PDF_ENABLE_XFA" ]
34 }
35
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070036 if (is_linux) {
Tom Sepez25d5be62015-06-18 17:44:29 -070037 if (current_cpu == "x64") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070038 defines += [ "_FX_CPU_=_FX_X64_" ]
39 cflags += [ "-fPIC" ]
Tom Sepez25d5be62015-06-18 17:44:29 -070040 } else if (current_cpu == "x86") {
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070041 defines += [ "_FX_CPU_=_FX_X86_" ]
42 }
43 }
44
45 if (is_win) {
46 cflags += [
47 "/wd4005",
48 "/wd4018",
49 "/wd4146",
50 "/wd4333",
51 "/wd4345",
Lei Zhang476ac132015-11-05 20:07:27 -080052 "/wd4267",
Lei Zhang8241df72015-11-06 14:38:48 -080053
Lei Zhang476ac132015-11-05 20:07:27 -080054 # TODO(thestig): Fix all instances, remove this, pdfium:29
55 "/wd4245",
56 "/wd4310",
57 "/wd4389",
58 "/wd4701",
59 "/wd4702",
60 "/wd4706",
61 "/wd4800",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070062 ]
63 }
Lei Zhang476ac132015-11-05 20:07:27 -080064
65 if (is_clang) {
66 # TODO(thestig): Fix all instances, remove this, pdfium:29
67 cflags += [ "-Wno-sign-compare" ]
68 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070069}
70
71static_library("pdfium") {
72 sources = [
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070073 "fpdfsdk/include/fsdk_actionhandler.h",
74 "fpdfsdk/include/fsdk_annothandler.h",
75 "fpdfsdk/include/fsdk_baseannot.h",
76 "fpdfsdk/include/fsdk_baseform.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070077 "fpdfsdk/src/fpdf_dataavail.cpp",
78 "fpdfsdk/src/fpdf_ext.cpp",
79 "fpdfsdk/src/fpdf_flatten.cpp",
80 "fpdfsdk/src/fpdf_progressive.cpp",
81 "fpdfsdk/src/fpdf_searchex.cpp",
82 "fpdfsdk/src/fpdf_sysfontinfo.cpp",
Tom Sepez25d5be62015-06-18 17:44:29 -070083 "fpdfsdk/src/fpdf_transformpage.cpp",
84 "fpdfsdk/src/fpdfdoc.cpp",
85 "fpdfsdk/src/fpdfeditimg.cpp",
86 "fpdfsdk/src/fpdfeditpage.cpp",
87 "fpdfsdk/src/fpdfformfill.cpp",
88 "fpdfsdk/src/fpdfppo.cpp",
89 "fpdfsdk/src/fpdfsave.cpp",
Tom Sepez25d5be62015-06-18 17:44:29 -070090 "fpdfsdk/src/fpdftext.cpp",
91 "fpdfsdk/src/fpdfview.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -070092 "fpdfsdk/src/fsdk_actionhandler.cpp",
93 "fpdfsdk/src/fsdk_annothandler.cpp",
94 "fpdfsdk/src/fsdk_baseannot.cpp",
95 "fpdfsdk/src/fsdk_baseform.cpp",
96 "fpdfsdk/src/fsdk_mgr.cpp",
97 "fpdfsdk/src/fsdk_rendercontext.cpp",
Tom Sepez1ed8a212015-05-11 15:25:39 -070098 "public/fpdf_dataavail.h",
99 "public/fpdf_doc.h",
100 "public/fpdf_edit.h",
101 "public/fpdf_ext.h",
102 "public/fpdf_flatten.h",
103 "public/fpdf_formfill.h",
104 "public/fpdf_fwlevent.h",
105 "public/fpdf_ppo.h",
106 "public/fpdf_progressive.h",
107 "public/fpdf_save.h",
108 "public/fpdf_searchex.h",
109 "public/fpdf_sysfontinfo.h",
110 "public/fpdf_text.h",
111 "public/fpdf_transformpage.h",
112 "public/fpdfview.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700113 ]
114
115 libs = []
Lei Zhang476ac132015-11-05 20:07:27 -0800116 configs += [ ":pdfium_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700117
118 deps = [
Bo Xu4c764f32014-12-19 14:29:17 -0800119 "third_party:bigint",
Tom Sepez35425892015-02-05 10:03:18 -0800120 "third_party:pdfium_base",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700121 ":fdrm",
122 ":formfiller",
123 ":fpdfapi",
124 ":fpdfdoc",
125 ":fpdftext",
126 ":fxcodec",
127 ":fxcrt",
128 ":fxedit",
129 ":fxge",
130 ":javascript",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700131 ":pdfwindow",
132 ]
133
Tom Sepeza8a39e22015-10-12 15:47:07 -0700134 if (pdf_enable_xfa) {
Tom Sepezd2e023b2015-12-08 14:36:16 -0800135 deps += [
136 ":fpdfxfa",
137 ]
Tom Sepeza8a39e22015-10-12 15:47:07 -0700138 }
139
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700140 if (is_win) {
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400141 libs += [
142 "advapi32.lib",
143 "gdi32.lib",
144 "user32.lib",
145 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700146 }
147
148 if (is_mac) {
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400149 libs += [
150 "AppKit.framework",
151 "CoreFoundation.framework",
152 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700153 }
John Abd-El-Malekef4dce42015-02-02 16:52:07 -0800154
Tom Sepez0dfd0302015-10-12 15:38:22 -0700155 if (pdfium_bundle_freetype) {
156 deps += [ "third_party:fx_freetype" ]
John Abd-El-Malekef4dce42015-02-02 16:52:07 -0800157 } else {
158 libs += [ "freetype" ]
159 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700160}
161
Tom Sepezd831dc72015-10-19 16:04:22 -0700162source_set("test_support") {
163 testonly = true
164 sources = [
165 "testing/fx_string_testhelpers.cpp",
166 "testing/fx_string_testhelpers.h",
167 "testing/test_support.cpp",
168 "testing/test_support.h",
Oliver Changd46f1c82015-11-12 22:03:10 -0800169 "testing/utils/path_service.cpp",
Tom Sepezd831dc72015-10-19 16:04:22 -0700170 ]
171 deps = [
172 "//testing/gmock",
173 "//testing/gtest",
174 ":pdfium",
175 ]
Lei Zhang8241df72015-11-06 14:38:48 -0800176 include_dirs = []
Tom Sepezd831dc72015-10-19 16:04:22 -0700177 if (pdf_enable_v8) {
178 deps += [
179 "//v8",
180 "//v8:v8_libplatform",
181 ]
182 include_dirs += [
183 "//v8",
184 "//v8/include",
185 ]
186 }
Lei Zhang476ac132015-11-05 20:07:27 -0800187 configs += [ ":pdfium_config" ]
Tom Sepezd831dc72015-10-19 16:04:22 -0700188}
189
190# Targets below this are only visible within this file (and to the
191# top-level gn_visibility target used to help gn_all build everything).
192visibility = [
193 ":*",
194 "//:gn_visibility",
195]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700196
197static_library("fdrm") {
198 sources = [
199 "core/include/fdrm/fx_crypt.h",
200 "core/src/fdrm/crypto/fx_crypt.cpp",
201 "core/src/fdrm/crypto/fx_crypt_aes.cpp",
202 "core/src/fdrm/crypto/fx_crypt_sha.cpp",
203 ]
Lei Zhang476ac132015-11-05 20:07:27 -0800204 configs += [ ":pdfium_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700205}
206
207static_library("fpdfdoc") {
208 sources = [
209 "core/include/fpdfdoc/fpdf_ap.h",
210 "core/include/fpdfdoc/fpdf_doc.h",
211 "core/include/fpdfdoc/fpdf_tagged.h",
212 "core/include/fpdfdoc/fpdf_vt.h",
213 "core/src/fpdfdoc/doc_action.cpp",
214 "core/src/fpdfdoc/doc_annot.cpp",
215 "core/src/fpdfdoc/doc_ap.cpp",
216 "core/src/fpdfdoc/doc_basic.cpp",
217 "core/src/fpdfdoc/doc_bookmark.cpp",
218 "core/src/fpdfdoc/doc_form.cpp",
219 "core/src/fpdfdoc/doc_formcontrol.cpp",
220 "core/src/fpdfdoc/doc_formfield.cpp",
221 "core/src/fpdfdoc/doc_link.cpp",
222 "core/src/fpdfdoc/doc_metadata.cpp",
223 "core/src/fpdfdoc/doc_ocg.cpp",
224 "core/src/fpdfdoc/doc_tagged.cpp",
225 "core/src/fpdfdoc/doc_utils.cpp",
Tom Sepezeff208f2015-05-08 13:45:01 -0700226 "core/src/fpdfdoc/doc_utils.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700227 "core/src/fpdfdoc/doc_viewerPreferences.cpp",
228 "core/src/fpdfdoc/doc_vt.cpp",
229 "core/src/fpdfdoc/doc_vtmodule.cpp",
230 "core/src/fpdfdoc/pdf_vt.h",
231 "core/src/fpdfdoc/tagged_int.h",
232 ]
Lei Zhang476ac132015-11-05 20:07:27 -0800233 configs += [ ":pdfium_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700234}
235
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700236static_library("fpdfapi") {
237 sources = [
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700238 "core/include/fpdfapi/fpdf_module.h",
239 "core/include/fpdfapi/fpdf_objects.h",
240 "core/include/fpdfapi/fpdf_page.h",
241 "core/include/fpdfapi/fpdf_pageobj.h",
242 "core/include/fpdfapi/fpdf_parser.h",
243 "core/include/fpdfapi/fpdf_render.h",
244 "core/include/fpdfapi/fpdf_resource.h",
245 "core/include/fpdfapi/fpdf_serial.h",
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400246 "core/include/fpdfapi/fpdfapi.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700247 "core/src/fpdfapi/fpdf_basic_module.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700248 "core/src/fpdfapi/fpdf_cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp",
249 "core/src/fpdfapi/fpdf_cmaps/CNS1/B5pc-H_0.cpp",
250 "core/src/fpdfapi/fpdf_cmaps/CNS1/B5pc-V_0.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700251 "core/src/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-H_0.cpp",
252 "core/src/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-V_0.cpp",
253 "core/src/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-H_0.cpp",
254 "core/src/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-V_0.cpp",
255 "core/src/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-H_0.cpp",
256 "core/src/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-V_0.cpp",
257 "core/src/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-H_5.cpp",
258 "core/src/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-V_5.cpp",
259 "core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-H_3.cpp",
260 "core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-V_3.cpp",
261 "core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UTF16-H_0.cpp",
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400262 "core/src/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700263 "core/src/fpdfapi/fpdf_cmaps/GB1/Adobe-GB1-UCS2_5.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700264 "core/src/fpdfapi/fpdf_cmaps/GB1/GB-EUC-H_0.cpp",
265 "core/src/fpdfapi/fpdf_cmaps/GB1/GB-EUC-V_0.cpp",
266 "core/src/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-H_2.cpp",
267 "core/src/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-V_2.cpp",
268 "core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-H_5.cpp",
269 "core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp",
270 "core/src/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-H_2.cpp",
271 "core/src/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-V_2.cpp",
272 "core/src/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-H_0.cpp",
273 "core/src/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-V_0.cpp",
274 "core/src/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-H_4.cpp",
275 "core/src/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-V_4.cpp",
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400276 "core/src/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700277 "core/src/fpdfapi/fpdf_cmaps/Japan1/83pv-RKSJ-H_1.cpp",
278 "core/src/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-H_2.cpp",
279 "core/src/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-V_2.cpp",
280 "core/src/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-H_2.cpp",
281 "core/src/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-V_2.cpp",
282 "core/src/fpdfapi/fpdf_cmaps/Japan1/90pv-RKSJ-H_1.cpp",
283 "core/src/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-H_1.cpp",
284 "core/src/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-V_1.cpp",
285 "core/src/fpdfapi/fpdf_cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700286 "core/src/fpdfapi/fpdf_cmaps/Japan1/EUC-H_1.cpp",
287 "core/src/fpdfapi/fpdf_cmaps/Japan1/EUC-V_1.cpp",
288 "core/src/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-H_2.cpp",
289 "core/src/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-V_2.cpp",
290 "core/src/fpdfapi/fpdf_cmaps/Japan1/H_1.cpp",
291 "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp",
292 "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp",
293 "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-H_4.cpp",
294 "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-V_4.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700295 "core/src/fpdfapi/fpdf_cmaps/Japan1/V_1.cpp",
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400296 "core/src/fpdfapi/fpdf_cmaps/Japan1/cmaps_japan1.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700297 "core/src/fpdfapi/fpdf_cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700298 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-H_0.cpp",
299 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-V_0.cpp",
300 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-H_1.cpp",
301 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-V_1.cpp",
302 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-H_1.cpp",
303 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-V_1.cpp",
304 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCpc-EUC-H_0.cpp",
305 "core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-H_1.cpp",
306 "core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-V_1.cpp",
307 "core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UTF16-H_0.cpp",
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400308 "core/src/fpdfapi/fpdf_cmaps/Korea1/cmaps_korea1.cpp",
309 "core/src/fpdfapi/fpdf_cmaps/cmap_int.h",
310 "core/src/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700311 "core/src/fpdfapi/fpdf_edit/editint.h",
312 "core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp",
313 "core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp",
314 "core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp",
315 "core/src/fpdfapi/fpdf_edit/fpdf_edit_image.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700316 "core/src/fpdfapi/fpdf_font/font_int.h",
317 "core/src/fpdfapi/fpdf_font/fpdf_font.cpp",
318 "core/src/fpdfapi/fpdf_font/fpdf_font_charset.cpp",
319 "core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700320 "core/src/fpdfapi/fpdf_font/ttgsubtable.cpp",
321 "core/src/fpdfapi/fpdf_font/ttgsubtable.h",
322 "core/src/fpdfapi/fpdf_page/fpdf_page.cpp",
323 "core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp",
324 "core/src/fpdfapi/fpdf_page/fpdf_page_doc.cpp",
325 "core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp",
326 "core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp",
327 "core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp",
328 "core/src/fpdfapi/fpdf_page/fpdf_page_parser.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700329 "core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp",
330 "core/src/fpdfapi/fpdf_page/fpdf_page_path.cpp",
331 "core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp",
332 "core/src/fpdfapi/fpdf_page/pageint.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700333 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp",
334 "core/src/fpdfapi/fpdf_parser/fpdf_parser_document.cpp",
335 "core/src/fpdfapi/fpdf_parser/fpdf_parser_encrypt.cpp",
336 "core/src/fpdfapi/fpdf_parser/fpdf_parser_fdf.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700337 "core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp",
338 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp",
339 "core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp",
Jun Fangdf7f3662015-11-10 18:29:18 +0800340 "core/src/fpdfapi/fpdf_parser/parser_int.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700341 "core/src/fpdfapi/fpdf_render/fpdf_render.cpp",
342 "core/src/fpdfapi/fpdf_render/fpdf_render_cache.cpp",
343 "core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp",
344 "core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp",
345 "core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp",
346 "core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp",
347 "core/src/fpdfapi/fpdf_render/render_int.h",
348 ]
Lei Zhang476ac132015-11-05 20:07:27 -0800349 configs += [ ":pdfium_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700350}
351
352static_library("fpdftext") {
353 sources = [
354 "core/include/fpdftext/fpdf_text.h",
355 "core/src/fpdftext/fpdf_text.cpp",
356 "core/src/fpdftext/fpdf_text_int.cpp",
357 "core/src/fpdftext/fpdf_text_search.cpp",
358 "core/src/fpdftext/text_int.h",
359 "core/src/fpdftext/txtproc.h",
360 "core/src/fpdftext/unicodenormalization.cpp",
361 "core/src/fpdftext/unicodenormalizationdata.cpp",
Tom Sepez7da98032015-08-19 10:42:45 -0700362 "core/src/fpdftext/unicodenormalizationdata.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700363 ]
Lei Zhang476ac132015-11-05 20:07:27 -0800364 configs += [ ":pdfium_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700365}
366
367static_library("fxcodec") {
Tom Sepez8be55752015-06-17 11:05:02 -0700368 deps = [
369 "third_party:fx_lcms2",
Tom Sepez6fd997b2015-06-18 17:51:37 -0700370 "third_party:fx_libopenjpeg",
Tom Sepez6f93de52015-06-19 12:57:10 -0700371 "third_party:fx_zlib",
Lei Zhang8241df72015-11-06 14:38:48 -0800372
373 # This is a generic JPEG library dependency.
374 "//third_party:jpeg",
Tom Sepez8be55752015-06-17 11:05:02 -0700375 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700376 sources = [
377 "core/include/fxcodec/fx_codec.h",
378 "core/include/fxcodec/fx_codec_def.h",
Tom Sepezb2552022015-07-14 16:43:54 -0700379 "core/include/fxcodec/fx_codec_flate.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700380 "core/src/fxcodec/codec/codec_int.h",
381 "core/src/fxcodec/codec/fx_codec.cpp",
382 "core/src/fxcodec/codec/fx_codec_fax.cpp",
383 "core/src/fxcodec/codec/fx_codec_flate.cpp",
384 "core/src/fxcodec/codec/fx_codec_icc.cpp",
385 "core/src/fxcodec/codec/fx_codec_jbig.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700386 "core/src/fxcodec/codec/fx_codec_jpeg.cpp",
387 "core/src/fxcodec/codec/fx_codec_jpx_opj.cpp",
Lei Zhangb060a552015-09-24 01:13:26 -0700388 "core/src/fxcodec/jbig2/JBig2_ArithDecoder.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700389 "core/src/fxcodec/jbig2/JBig2_ArithDecoder.h",
390 "core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp",
391 "core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.h",
Lei Zhang4e568672015-10-07 21:33:55 -0700392 "core/src/fxcodec/jbig2/JBig2_BitStream.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700393 "core/src/fxcodec/jbig2/JBig2_BitStream.h",
394 "core/src/fxcodec/jbig2/JBig2_Context.cpp",
395 "core/src/fxcodec/jbig2/JBig2_Context.h",
396 "core/src/fxcodec/jbig2/JBig2_Define.h",
Lei Zhangb060a552015-09-24 01:13:26 -0700397 "core/src/fxcodec/jbig2/JBig2_GrdProc.cpp",
398 "core/src/fxcodec/jbig2/JBig2_GrdProc.h",
399 "core/src/fxcodec/jbig2/JBig2_GrrdProc.cpp",
400 "core/src/fxcodec/jbig2/JBig2_GrrdProc.h",
401 "core/src/fxcodec/jbig2/JBig2_GsidProc.cpp",
402 "core/src/fxcodec/jbig2/JBig2_GsidProc.h",
403 "core/src/fxcodec/jbig2/JBig2_HtrdProc.cpp",
404 "core/src/fxcodec/jbig2/JBig2_HtrdProc.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700405 "core/src/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp",
406 "core/src/fxcodec/jbig2/JBig2_HuffmanDecoder.h",
407 "core/src/fxcodec/jbig2/JBig2_HuffmanTable.cpp",
408 "core/src/fxcodec/jbig2/JBig2_HuffmanTable.h",
409 "core/src/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h",
410 "core/src/fxcodec/jbig2/JBig2_Image.cpp",
411 "core/src/fxcodec/jbig2/JBig2_Image.h",
412 "core/src/fxcodec/jbig2/JBig2_List.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700413 "core/src/fxcodec/jbig2/JBig2_Page.h",
414 "core/src/fxcodec/jbig2/JBig2_PatternDict.cpp",
415 "core/src/fxcodec/jbig2/JBig2_PatternDict.h",
Lei Zhangb060a552015-09-24 01:13:26 -0700416 "core/src/fxcodec/jbig2/JBig2_PddProc.cpp",
417 "core/src/fxcodec/jbig2/JBig2_PddProc.h",
418 "core/src/fxcodec/jbig2/JBig2_SddProc.cpp",
419 "core/src/fxcodec/jbig2/JBig2_SddProc.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700420 "core/src/fxcodec/jbig2/JBig2_Segment.cpp",
421 "core/src/fxcodec/jbig2/JBig2_Segment.h",
422 "core/src/fxcodec/jbig2/JBig2_SymbolDict.cpp",
423 "core/src/fxcodec/jbig2/JBig2_SymbolDict.h",
Lei Zhangb060a552015-09-24 01:13:26 -0700424 "core/src/fxcodec/jbig2/JBig2_TrdProc.cpp",
425 "core/src/fxcodec/jbig2/JBig2_TrdProc.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700426 ]
Lei Zhang8241df72015-11-06 14:38:48 -0800427 include_dirs = []
Tom Sepezd2e023b2015-12-08 14:36:16 -0800428 if (pdf_enable_xfa) {
429 sources += [
430 "core/src/fxcodec/codec/fx_codec_bmp.cpp",
431 "core/src/fxcodec/codec/fx_codec_gif.cpp",
432 "core/src/fxcodec/codec/fx_codec_png.cpp",
433 "core/src/fxcodec/codec/fx_codec_progress.cpp",
434 "core/src/fxcodec/codec/fx_codec_progress.h",
435 "core/src/fxcodec/codec/fx_codec_tiff.cpp",
436 "core/src/fxcodec/lbmp/fx_bmp.cpp",
437 "core/src/fxcodec/lbmp/fx_bmp.h",
438 "core/src/fxcodec/lgif/fx_gif.cpp",
439 "core/src/fxcodec/lgif/fx_gif.h",
440 ]
441 deps += [
442 "third_party:fx_lpng",
443 "third_party:fx_tiff",
444 ]
445 }
John Abd-El-Malekdef5c7d2014-06-09 16:07:18 -0700446 if (is_posix) {
447 # core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int
448 # conversion to check that an address is 16-bit aligned (benign).
449 cflags_c = [ "-Wno-pointer-to-int-cast" ]
450 }
Lei Zhang476ac132015-11-05 20:07:27 -0800451 configs += [ ":pdfium_config" ]
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400452}
453
454config("fxge_warnings") {
455 if (is_clang) {
456 cflags = [
457 # http://code.google.com/p/pdfium/issues/detail?id=188
458 "-Wno-switch",
459 ]
460 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700461}
462
463static_library("fxcrt") {
464 sources = [
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700465 "core/include/fxcrt/fx_basic.h",
Lei Zhangee02ea32015-10-29 15:01:55 -0700466 "core/include/fxcrt/fx_bidi.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700467 "core/include/fxcrt/fx_coordinates.h",
468 "core/include/fxcrt/fx_ext.h",
469 "core/include/fxcrt/fx_memory.h",
Tom Sepez6675a802015-06-04 19:05:21 -0700470 "core/include/fxcrt/fx_safe_types.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700471 "core/include/fxcrt/fx_stream.h",
472 "core/include/fxcrt/fx_string.h",
473 "core/include/fxcrt/fx_system.h",
474 "core/include/fxcrt/fx_ucd.h",
475 "core/include/fxcrt/fx_xml.h",
476 "core/src/fxcrt/extension.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700477 "core/src/fxcrt/fx_basic_array.cpp",
478 "core/src/fxcrt/fx_basic_bstring.cpp",
479 "core/src/fxcrt/fx_basic_buffer.cpp",
480 "core/src/fxcrt/fx_basic_coords.cpp",
481 "core/src/fxcrt/fx_basic_gcc.cpp",
482 "core/src/fxcrt/fx_basic_list.cpp",
483 "core/src/fxcrt/fx_basic_maps.cpp",
484 "core/src/fxcrt/fx_basic_memmgr.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700485 "core/src/fxcrt/fx_basic_plex.cpp",
486 "core/src/fxcrt/fx_basic_utf.cpp",
487 "core/src/fxcrt/fx_basic_util.cpp",
488 "core/src/fxcrt/fx_basic_wstring.cpp",
Lei Zhangee02ea32015-10-29 15:01:55 -0700489 "core/src/fxcrt/fx_bidi.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700490 "core/src/fxcrt/fx_extension.cpp",
491 "core/src/fxcrt/fx_ucddata.cpp",
492 "core/src/fxcrt/fx_unicode.cpp",
493 "core/src/fxcrt/fx_xml_composer.cpp",
494 "core/src/fxcrt/fx_xml_parser.cpp",
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400495 "core/src/fxcrt/fxcrt_platforms.cpp",
496 "core/src/fxcrt/fxcrt_platforms.h",
497 "core/src/fxcrt/fxcrt_posix.cpp",
498 "core/src/fxcrt/fxcrt_posix.h",
499 "core/src/fxcrt/fxcrt_windows.cpp",
500 "core/src/fxcrt/fxcrt_windows.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700501 "core/src/fxcrt/plex.h",
502 "core/src/fxcrt/xml_int.h",
503 ]
Tom Sepezd2e023b2015-12-08 14:36:16 -0800504 if (pdf_enable_xfa) {
505 sources += [
506 "core/include/fxcrt/fx_arb.h",
507 "core/src/fxcrt/fx_arabic.cpp",
508 "core/src/fxcrt/fx_arabic.h",
509 ]
510 }
Lei Zhang476ac132015-11-05 20:07:27 -0800511 configs += [ ":pdfium_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700512}
513
514static_library("fxge") {
Tom Sepezb7d358b2015-06-17 10:01:00 -0700515 deps = [
516 "third_party:fx_agg",
517 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700518 sources = [
519 "core/include/fxge/fpf.h",
520 "core/include/fxge/fx_dib.h",
521 "core/include/fxge/fx_font.h",
522 "core/include/fxge/fx_freetype.h",
523 "core/include/fxge/fx_ge.h",
524 "core/include/fxge/fx_ge_apple.h",
525 "core/include/fxge/fx_ge_win32.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700526 "core/src/fxge/agg/include/fx_agg_driver.h",
Tom Sepezb7d358b2015-06-17 10:01:00 -0700527 "core/src/fxge/agg/src/fx_agg_driver.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700528 "core/src/fxge/android/fpf_skiafont.cpp",
529 "core/src/fxge/android/fpf_skiafont.h",
530 "core/src/fxge/android/fpf_skiafontmgr.cpp",
531 "core/src/fxge/android/fpf_skiafontmgr.h",
532 "core/src/fxge/android/fpf_skiamodule.cpp",
533 "core/src/fxge/android/fpf_skiamodule.h",
534 "core/src/fxge/android/fx_android_font.cpp",
535 "core/src/fxge/android/fx_android_font.h",
536 "core/src/fxge/android/fx_android_imp.cpp",
537 "core/src/fxge/android/fx_fpf.h",
538 "core/src/fxge/apple/apple_int.h",
539 "core/src/fxge/apple/fx_apple_platform.cpp",
540 "core/src/fxge/apple/fx_mac_imp.cpp",
541 "core/src/fxge/apple/fx_quartz_device.cpp",
542 "core/src/fxge/dib/dib_int.h",
543 "core/src/fxge/dib/fx_dib_composite.cpp",
544 "core/src/fxge/dib/fx_dib_convert.cpp",
545 "core/src/fxge/dib/fx_dib_engine.cpp",
546 "core/src/fxge/dib/fx_dib_main.cpp",
547 "core/src/fxge/dib/fx_dib_transform.cpp",
548 "core/src/fxge/fontdata/chromefontdata/FoxitDingbats.c",
549 "core/src/fxge/fontdata/chromefontdata/FoxitFixed.c",
550 "core/src/fxge/fontdata/chromefontdata/FoxitFixedBold.c",
551 "core/src/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.c",
552 "core/src/fxge/fontdata/chromefontdata/FoxitFixedItalic.c",
553 "core/src/fxge/fontdata/chromefontdata/FoxitSans.c",
554 "core/src/fxge/fontdata/chromefontdata/FoxitSansBold.c",
555 "core/src/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.c",
556 "core/src/fxge/fontdata/chromefontdata/FoxitSansItalic.c",
557 "core/src/fxge/fontdata/chromefontdata/FoxitSansMM.c",
558 "core/src/fxge/fontdata/chromefontdata/FoxitSerif.c",
559 "core/src/fxge/fontdata/chromefontdata/FoxitSerifBold.c",
560 "core/src/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.c",
561 "core/src/fxge/fontdata/chromefontdata/FoxitSerifItalic.c",
562 "core/src/fxge/fontdata/chromefontdata/FoxitSerifMM.c",
563 "core/src/fxge/fontdata/chromefontdata/FoxitSymbol.c",
Lei Zhang8241df72015-11-06 14:38:48 -0800564 "core/src/fxge/fontdata/chromefontdata/chromefontdata.h",
Bo Xu4c764f32014-12-19 14:29:17 -0800565 "core/src/fxge/freetype/fx_freetype.c",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700566 "core/src/fxge/ge/fx_ge.cpp",
567 "core/src/fxge/ge/fx_ge_device.cpp",
568 "core/src/fxge/ge/fx_ge_font.cpp",
569 "core/src/fxge/ge/fx_ge_fontmap.cpp",
570 "core/src/fxge/ge/fx_ge_linux.cpp",
571 "core/src/fxge/ge/fx_ge_path.cpp",
572 "core/src/fxge/ge/fx_ge_ps.cpp",
573 "core/src/fxge/ge/fx_ge_text.cpp",
574 "core/src/fxge/ge/text_int.h",
575 ]
576
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400577 configs += [
Lei Zhang7b16ba52015-10-26 17:06:53 -0700578 ":fxge_warnings",
Lei Zhang476ac132015-11-05 20:07:27 -0800579 ":pdfium_config",
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400580 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700581
582 if (pdf_use_skia) {
583 sources = [
584 "core/src/fxge/skia/fx_skia_blitter_new.cpp",
585 "core/src/fxge/skia/fx_skia_device.cpp",
586 ]
587 include_dirs = [
588 "//third_party/skia/include/config",
589 "//third_party/skia/include/core",
590 "//third_party/skia/include/effects",
591 "//third_party/skia/include/images",
592 "//third_party/skia/include/lazy",
593 "//third_party/skia/include/pathops",
594 "//third_party/skia/include/utils",
595 "//third_party/skia/src/core",
596 ]
Lei Zhang8241df72015-11-06 14:38:48 -0800597 deps = [
598 "//skia",
599 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700600 }
601
602 if (is_win) {
603 sources += [
604 "core/src/fxge/win32/dwrite_int.h",
605 "core/src/fxge/win32/fx_win32_device.cpp",
606 "core/src/fxge/win32/fx_win32_dib.cpp",
607 "core/src/fxge/win32/fx_win32_dwrite.cpp",
608 "core/src/fxge/win32/fx_win32_gdipext.cpp",
609 "core/src/fxge/win32/fx_win32_print.cpp",
610 "core/src/fxge/win32/win32_int.h",
611 ]
612 configs -= [
613 "//build/config/win:lean_and_mean",
614 "//build/config/win:nominmax",
615 ]
616 }
617}
618
619static_library("fxedit") {
620 sources = [
621 "fpdfsdk/include/fxedit/fx_edit.h",
622 "fpdfsdk/include/fxedit/fxet_edit.h",
623 "fpdfsdk/include/fxedit/fxet_list.h",
624 "fpdfsdk/include/fxedit/fxet_stub.h",
625 "fpdfsdk/src/fxedit/fxet_ap.cpp",
626 "fpdfsdk/src/fxedit/fxet_edit.cpp",
627 "fpdfsdk/src/fxedit/fxet_list.cpp",
628 "fpdfsdk/src/fxedit/fxet_module.cpp",
629 "fpdfsdk/src/fxedit/fxet_pageobjs.cpp",
630 ]
Lei Zhang476ac132015-11-05 20:07:27 -0800631 configs += [ ":pdfium_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700632}
633
634static_library("pdfwindow") {
635 sources = [
636 "fpdfsdk/include/pdfwindow/IPDFWindow.h",
637 "fpdfsdk/include/pdfwindow/PDFWindow.h",
638 "fpdfsdk/include/pdfwindow/PWL_Button.h",
639 "fpdfsdk/include/pdfwindow/PWL_Caret.h",
640 "fpdfsdk/include/pdfwindow/PWL_ComboBox.h",
641 "fpdfsdk/include/pdfwindow/PWL_Edit.h",
642 "fpdfsdk/include/pdfwindow/PWL_EditCtrl.h",
643 "fpdfsdk/include/pdfwindow/PWL_FontMap.h",
644 "fpdfsdk/include/pdfwindow/PWL_Icon.h",
645 "fpdfsdk/include/pdfwindow/PWL_IconList.h",
646 "fpdfsdk/include/pdfwindow/PWL_Label.h",
647 "fpdfsdk/include/pdfwindow/PWL_ListBox.h",
648 "fpdfsdk/include/pdfwindow/PWL_ListCtrl.h",
649 "fpdfsdk/include/pdfwindow/PWL_Note.h",
650 "fpdfsdk/include/pdfwindow/PWL_ScrollBar.h",
651 "fpdfsdk/include/pdfwindow/PWL_Signature.h",
652 "fpdfsdk/include/pdfwindow/PWL_SpecialButton.h",
653 "fpdfsdk/include/pdfwindow/PWL_Utils.h",
654 "fpdfsdk/include/pdfwindow/PWL_Wnd.h",
655 "fpdfsdk/src/pdfwindow/PWL_Button.cpp",
656 "fpdfsdk/src/pdfwindow/PWL_Caret.cpp",
657 "fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp",
658 "fpdfsdk/src/pdfwindow/PWL_Edit.cpp",
659 "fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp",
660 "fpdfsdk/src/pdfwindow/PWL_FontMap.cpp",
661 "fpdfsdk/src/pdfwindow/PWL_Icon.cpp",
662 "fpdfsdk/src/pdfwindow/PWL_IconList.cpp",
663 "fpdfsdk/src/pdfwindow/PWL_Label.cpp",
664 "fpdfsdk/src/pdfwindow/PWL_ListBox.cpp",
665 "fpdfsdk/src/pdfwindow/PWL_ListCtrl.cpp",
666 "fpdfsdk/src/pdfwindow/PWL_Note.cpp",
667 "fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp",
668 "fpdfsdk/src/pdfwindow/PWL_Signature.cpp",
669 "fpdfsdk/src/pdfwindow/PWL_SpecialButton.cpp",
670 "fpdfsdk/src/pdfwindow/PWL_Utils.cpp",
671 "fpdfsdk/src/pdfwindow/PWL_Wnd.cpp",
672 ]
Lei Zhang476ac132015-11-05 20:07:27 -0800673 configs += [ ":pdfium_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700674}
675
676static_library("javascript") {
677 sources = [
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700678 "fpdfsdk/include/javascript/IJavaScript.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700679 ]
Tom Sepez452b4f32015-10-13 09:27:27 -0700680 if (pdf_enable_v8) {
681 sources += [
Lei Zhang8241df72015-11-06 14:38:48 -0800682 "fpdfsdk/include/jsapi/fxjs_v8.h",
Tom Sepez452b4f32015-10-13 09:27:27 -0700683 "fpdfsdk/src/javascript/Consts.cpp",
684 "fpdfsdk/src/javascript/Consts.h",
685 "fpdfsdk/src/javascript/Document.cpp",
686 "fpdfsdk/src/javascript/Document.h",
687 "fpdfsdk/src/javascript/Field.cpp",
688 "fpdfsdk/src/javascript/Field.h",
689 "fpdfsdk/src/javascript/Icon.cpp",
690 "fpdfsdk/src/javascript/Icon.h",
691 "fpdfsdk/src/javascript/JS_Context.cpp",
692 "fpdfsdk/src/javascript/JS_Context.h",
693 "fpdfsdk/src/javascript/JS_Define.h",
694 "fpdfsdk/src/javascript/JS_EventHandler.cpp",
695 "fpdfsdk/src/javascript/JS_EventHandler.h",
696 "fpdfsdk/src/javascript/JS_GlobalData.cpp",
697 "fpdfsdk/src/javascript/JS_GlobalData.h",
698 "fpdfsdk/src/javascript/JS_Object.cpp",
699 "fpdfsdk/src/javascript/JS_Object.h",
700 "fpdfsdk/src/javascript/JS_Runtime.cpp",
701 "fpdfsdk/src/javascript/JS_Runtime.h",
702 "fpdfsdk/src/javascript/JS_Value.cpp",
703 "fpdfsdk/src/javascript/JS_Value.h",
704 "fpdfsdk/src/javascript/PublicMethods.cpp",
705 "fpdfsdk/src/javascript/PublicMethods.h",
706 "fpdfsdk/src/javascript/app.cpp",
707 "fpdfsdk/src/javascript/app.h",
708 "fpdfsdk/src/javascript/color.cpp",
709 "fpdfsdk/src/javascript/color.h",
710 "fpdfsdk/src/javascript/console.cpp",
711 "fpdfsdk/src/javascript/console.h",
712 "fpdfsdk/src/javascript/event.cpp",
713 "fpdfsdk/src/javascript/event.h",
714 "fpdfsdk/src/javascript/global.cpp",
715 "fpdfsdk/src/javascript/global.h",
716 "fpdfsdk/src/javascript/report.cpp",
717 "fpdfsdk/src/javascript/report.h",
718 "fpdfsdk/src/javascript/resource.cpp",
719 "fpdfsdk/src/javascript/resource.h",
720 "fpdfsdk/src/javascript/util.cpp",
721 "fpdfsdk/src/javascript/util.h",
Tom Sepez452b4f32015-10-13 09:27:27 -0700722 "fpdfsdk/src/jsapi/fxjs_v8.cpp",
723 ]
724 include_dirs = [
725 "//v8",
726 "//v8/include",
727 ]
728 public_deps = [
729 "//v8",
730 ]
731 } else {
732 sources += [ "fpdfsdk/src/javascript/JS_Runtime_Stub.cpp" ]
733 }
Lei Zhang476ac132015-11-05 20:07:27 -0800734 configs += [ ":pdfium_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700735}
736
737static_library("formfiller") {
738 sources = [
739 "fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h",
740 "fpdfsdk/include/formfiller/FFL_CheckBox.h",
741 "fpdfsdk/include/formfiller/FFL_ComboBox.h",
742 "fpdfsdk/include/formfiller/FFL_FormFiller.h",
743 "fpdfsdk/include/formfiller/FFL_IFormFiller.h",
744 "fpdfsdk/include/formfiller/FFL_ListBox.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700745 "fpdfsdk/include/formfiller/FFL_PushButton.h",
746 "fpdfsdk/include/formfiller/FFL_RadioButton.h",
747 "fpdfsdk/include/formfiller/FFL_TextField.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700748 "fpdfsdk/include/formfiller/FormFiller.h",
749 "fpdfsdk/src/formfiller/FFL_CBA_Fontmap.cpp",
750 "fpdfsdk/src/formfiller/FFL_CheckBox.cpp",
751 "fpdfsdk/src/formfiller/FFL_ComboBox.cpp",
752 "fpdfsdk/src/formfiller/FFL_FormFiller.cpp",
753 "fpdfsdk/src/formfiller/FFL_IFormFiller.cpp",
754 "fpdfsdk/src/formfiller/FFL_ListBox.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700755 "fpdfsdk/src/formfiller/FFL_PushButton.cpp",
756 "fpdfsdk/src/formfiller/FFL_RadioButton.cpp",
757 "fpdfsdk/src/formfiller/FFL_TextField.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700758 ]
Lei Zhang476ac132015-11-05 20:07:27 -0800759 configs += [ ":pdfium_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700760}
Tom Sepezc706fc02014-11-14 13:39:20 -0800761
Tom Sepezb36747d2015-12-08 15:49:25 -0800762if (pdf_enable_xfa) {
763 static_library("fpdfxfa") {
764 sources = [
765 "fpdfsdk/src/fpdfxfa/fpdfxfa_app.cpp",
766 "fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp",
767 "fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp",
768 "fpdfsdk/src/fpdfxfa/fpdfxfa_util.cpp",
769 "fpdfsdk/include/fpdfxfa/fpdfxfa_app.h",
770 "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h",
771 "fpdfsdk/include/fpdfxfa/fpdfxfa_page.h",
772 "fpdfsdk/include/fpdfxfa/fpdfxfa_util.h",
Tom Sepez452b4f32015-10-13 09:27:27 -0700773 ]
774 deps = [
Tom Sepezb36747d2015-12-08 15:49:25 -0800775 ":xfa",
776 ]
777 configs -= [ "//build/config/compiler:chromium_code" ]
778 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
779 }
780
781 static_library("xfa") {
782 sources = [
783 "xfa/include/foxitxfa.h",
784 "xfa/include/fwl/adapter/fwl_adapterclipboardmgr.h",
785 "xfa/include/fwl/adapter/fwl_adaptercursormgr.h",
786 "xfa/include/fwl/adapter/fwl_adaptermonitormgr.h",
787 "xfa/include/fwl/adapter/fwl_adapternative.h",
788 "xfa/include/fwl/adapter/fwl_adapterthreadmgr.h",
789 "xfa/include/fwl/adapter/fwl_adaptertimermgr.h",
790 "xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h",
791 "xfa/include/fwl/adapter/fwl_sdadapterimp.h",
792 "xfa/include/fwl/basewidget/fwl_barcode.h",
793 "xfa/include/fwl/basewidget/fwl_caret.h",
794 "xfa/include/fwl/basewidget/fwl_checkbox.h",
795 "xfa/include/fwl/basewidget/fwl_combobox.h",
796 "xfa/include/fwl/basewidget/fwl_datetimepicker.h",
797 "xfa/include/fwl/basewidget/fwl_edit.h",
798 "xfa/include/fwl/basewidget/fwl_listbox.h",
799 "xfa/include/fwl/basewidget/fwl_menu.h",
800 "xfa/include/fwl/basewidget/fwl_monthcalendar.h",
801 "xfa/include/fwl/basewidget/fwl_picturebox.h",
802 "xfa/include/fwl/basewidget/fwl_pushbutton.h",
803 "xfa/include/fwl/basewidget/fwl_scrollbar.h",
804 "xfa/include/fwl/basewidget/fwl_spinbutton.h",
805 "xfa/include/fwl/basewidget/fwl_tooltipctrl.h",
806 "xfa/include/fwl/basewidget/fxmath_barcode.h",
807 "xfa/include/fwl/core/fwl_app.h",
808 "xfa/include/fwl/core/fwl_content.h",
809 "xfa/include/fwl/core/fwl_error.h",
810 "xfa/include/fwl/core/fwl_form.h",
811 "xfa/include/fwl/core/fwl_grid.h",
812 "xfa/include/fwl/core/fwl_note.h",
813 "xfa/include/fwl/core/fwl_panel.h",
814 "xfa/include/fwl/core/fwl_target.h",
815 "xfa/include/fwl/core/fwl_theme.h",
816 "xfa/include/fwl/core/fwl_thread.h",
817 "xfa/include/fwl/core/fwl_timer.h",
818 "xfa/include/fwl/core/fwl_widget.h",
819 "xfa/include/fwl/core/fwl_widgetdef.h",
820 "xfa/include/fwl/core/fwl_widgetmgr.h",
821 "xfa/include/fwl/fwl.h",
822 "xfa/include/fwl/lightwidget/app.h",
823 "xfa/include/fwl/lightwidget/barcode.h",
824 "xfa/include/fwl/lightwidget/caret.h",
825 "xfa/include/fwl/lightwidget/checkbox.h",
826 "xfa/include/fwl/lightwidget/combobox.h",
827 "xfa/include/fwl/lightwidget/datetimepicker.h",
828 "xfa/include/fwl/lightwidget/edit.h",
829 "xfa/include/fwl/lightwidget/listbox.h",
830 "xfa/include/fwl/lightwidget/picturebox.h",
831 "xfa/include/fwl/lightwidget/pushbutton.h",
832 "xfa/include/fwl/lightwidget/scrollbar.h",
833 "xfa/include/fwl/lightwidget/theme.h",
834 "xfa/include/fwl/lightwidget/tooltipctrl.h",
835 "xfa/include/fwl/lightwidget/widget.h",
836 "xfa/include/fwl/theme/barcodetp.h",
837 "xfa/include/fwl/theme/carettp.h",
838 "xfa/include/fwl/theme/checkboxtp.h",
839 "xfa/include/fwl/theme/comboboxtp.h",
840 "xfa/include/fwl/theme/datetimepickertp.h",
841 "xfa/include/fwl/theme/edittp.h",
842 "xfa/include/fwl/theme/formtp.h",
843 "xfa/include/fwl/theme/listboxtp.h",
844 "xfa/include/fwl/theme/monthcalendartp.h",
845 "xfa/include/fwl/theme/pictureboxtp.h",
846 "xfa/include/fwl/theme/pushbuttontp.h",
847 "xfa/include/fwl/theme/scrollbartp.h",
848 "xfa/include/fwl/theme/utils.h",
849 "xfa/include/fwl/theme/widgettp.h",
850 "xfa/include/fxbarcode/BC_BarCode.h",
851 "xfa/include/fxfa/fxfa.h",
852 "xfa/include/fxfa/fxfa_basic.h",
853 "xfa/include/fxfa/fxfa_objectacc.h",
854 "xfa/include/fxfa/fxfa_widget.h",
855 "xfa/include/fxgraphics/fx_graphics.h",
856 "xfa/include/fxjse/fxjse.h",
857 "xfa/src/fdp/include/fde.h",
858 "xfa/src/fdp/include/fde_brs.h",
859 "xfa/src/fdp/include/fde_css.h",
860 "xfa/src/fdp/include/fde_img.h",
861 "xfa/src/fdp/include/fde_mem.h",
862 "xfa/src/fdp/include/fde_pen.h",
863 "xfa/src/fdp/include/fde_psr.h",
864 "xfa/src/fdp/include/fde_pth.h",
865 "xfa/src/fdp/include/fde_rdr.h",
866 "xfa/src/fdp/include/fde_rdv.h",
867 "xfa/src/fdp/include/fde_tto.h",
868 "xfa/src/fdp/include/fde_xml.h",
869 "xfa/src/fdp/src/css/fde_csscache.cpp",
870 "xfa/src/fdp/src/css/fde_csscache.h",
871 "xfa/src/fdp/src/css/fde_cssdatatable.cpp",
872 "xfa/src/fdp/src/css/fde_cssdatatable.h",
873 "xfa/src/fdp/src/css/fde_cssdeclaration.cpp",
874 "xfa/src/fdp/src/css/fde_cssdeclaration.h",
875 "xfa/src/fdp/src/css/fde_cssstyleselector.cpp",
876 "xfa/src/fdp/src/css/fde_cssstyleselector.h",
877 "xfa/src/fdp/src/css/fde_cssstylesheet.cpp",
878 "xfa/src/fdp/src/css/fde_cssstylesheet.h",
879 "xfa/src/fdp/src/css/fde_csssyntax.cpp",
880 "xfa/src/fdp/src/css/fde_csssyntax.h",
881 "xfa/src/fdp/src/fde/fde_devbasic.cpp",
882 "xfa/src/fdp/src/fde/fde_devbasic.h",
883 "xfa/src/fdp/src/fde/fde_gedevice.cpp",
884 "xfa/src/fdp/src/fde/fde_gedevice.h",
885 "xfa/src/fdp/src/fde/fde_geobject.cpp",
886 "xfa/src/fdp/src/fde/fde_geobject.h",
887 "xfa/src/fdp/src/fde/fde_iterator.cpp",
888 "xfa/src/fdp/src/fde/fde_iterator.h",
889 "xfa/src/fdp/src/fde/fde_object.cpp",
890 "xfa/src/fdp/src/fde/fde_object.h",
891 "xfa/src/fdp/src/fde/fde_render.cpp",
892 "xfa/src/fdp/src/fde/fde_render.h",
893 "xfa/src/fdp/src/tto/fde_textout.cpp",
894 "xfa/src/fdp/src/tto/fde_textout.h",
895 "xfa/src/fdp/src/xml/fde_xml.cpp",
896 "xfa/src/fdp/src/xml/fde_xml.h",
897 "xfa/src/fee/include/fx_wordbreak.h",
898 "xfa/src/fee/include/ifde_txtedtbuf.h",
899 "xfa/src/fee/include/ifde_txtedtengine.h",
900 "xfa/src/fee/include/ifde_txtedtpage.h",
901 "xfa/src/fee/src/fee/fde_txtedtblock.cpp",
902 "xfa/src/fee/src/fee/fde_txtedtblock.h",
903 "xfa/src/fee/src/fee/fde_txtedtbuf.cpp",
904 "xfa/src/fee/src/fee/fde_txtedtbuf.h",
905 "xfa/src/fee/src/fee/fde_txtedtengine.cpp",
906 "xfa/src/fee/src/fee/fde_txtedtengine.h",
907 "xfa/src/fee/src/fee/fde_txtedtkmpmatch.cpp",
908 "xfa/src/fee/src/fee/fde_txtedtkmpmatch.h",
909 "xfa/src/fee/src/fee/fde_txtedtpage.cpp",
910 "xfa/src/fee/src/fee/fde_txtedtpage.h",
911 "xfa/src/fee/src/fee/fde_txtedtparag.cpp",
912 "xfa/src/fee/src/fee/fde_txtedtparag.h",
913 "xfa/src/fee/src/fx_wordbreak/fx_wordbreakdata.cpp",
914 "xfa/src/fee/src/fx_wordbreak/fx_wordbreak_impl.cpp",
915 "xfa/src/fee/src/fx_wordbreak/fx_wordbreak_impl.h",
916 "xfa/src/fgas/include/fgas.h",
917 "xfa/src/fgas/include/fx_alg.h",
918 "xfa/src/fgas/include/fx_cpg.h",
919 "xfa/src/fgas/include/fx_datetime.h",
920 "xfa/src/fgas/include/fx_fnt.h",
921 "xfa/src/fgas/include/fx_lbk.h",
922 "xfa/src/fgas/include/fx_lgg.h",
923 "xfa/src/fgas/include/fx_locale.h",
924 "xfa/src/fgas/include/fx_mem.h",
925 "xfa/src/fgas/include/fx_rbk.h",
926 "xfa/src/fgas/include/fx_sax.h",
927 "xfa/src/fgas/include/fx_stm.h",
928 "xfa/src/fgas/include/fx_sys.h",
929 "xfa/src/fgas/include/fx_tbk.h",
930 "xfa/src/fgas/include/fx_ucd.h",
931 "xfa/src/fgas/include/fx_utl.h",
932 "xfa/src/fgas/src/crt/fx_algorithm.cpp",
933 "xfa/src/fgas/src/crt/fx_codepage.cpp",
934 "xfa/src/fgas/src/crt/fx_codepage.h",
935 "xfa/src/fgas/src/crt/fx_encode.cpp",
936 "xfa/src/fgas/src/crt/fx_memory.cpp",
937 "xfa/src/fgas/src/crt/fx_memory.h",
938 "xfa/src/fgas/src/crt/fx_stream.cpp",
939 "xfa/src/fgas/src/crt/fx_stream.h",
940 "xfa/src/fgas/src/crt/fx_system.cpp",
941 "xfa/src/fgas/src/crt/fx_utils.cpp",
942 "xfa/src/fgas/src/crt/fx_utils.h",
943 "xfa/src/fgas/src/fgas_base.h",
944 "xfa/src/fgas/src/font/fx_fontutils.cpp",
945 "xfa/src/fgas/src/font/fx_fontutils.h",
946 "xfa/src/fgas/src/font/fx_gefont.cpp",
947 "xfa/src/fgas/src/font/fx_gefont.h",
948 "xfa/src/fgas/src/font/fx_stdfontmgr.cpp",
949 "xfa/src/fgas/src/font/fx_stdfontmgr.h",
950 "xfa/src/fgas/src/layout/fx_linebreak.cpp",
951 "xfa/src/fgas/src/layout/fx_rtfbreak.cpp",
952 "xfa/src/fgas/src/layout/fx_rtfbreak.h",
953 "xfa/src/fgas/src/layout/fx_textbreak.cpp",
954 "xfa/src/fgas/src/layout/fx_textbreak.h",
955 "xfa/src/fgas/src/layout/fx_unicode.cpp",
956 "xfa/src/fgas/src/layout/fx_unicode.h",
957 "xfa/src/fgas/src/localization/fx_datetime.cpp",
958 "xfa/src/fgas/src/localization/fx_locale.cpp",
959 "xfa/src/fgas/src/localization/fx_localeimp.h",
960 "xfa/src/fgas/src/localization/fx_localemgr.cpp",
961 "xfa/src/fgas/src/localization/fx_localemgr.h",
962 "xfa/src/fgas/src/xml/fx_sax_imp.cpp",
963 "xfa/src/fgas/src/xml/fx_sax_imp.h",
964 "xfa/src/foxitlib.h",
965 "xfa/src/fwl/src/basewidget/fwl_barcodeimp.cpp",
966 "xfa/src/fwl/src/basewidget/fwl_caretimp.cpp",
967 "xfa/src/fwl/src/basewidget/fwl_checkboximp.cpp",
968 "xfa/src/fwl/src/basewidget/fwl_comboboximp.cpp",
969 "xfa/src/fwl/src/basewidget/fwl_datetimepickerimp.cpp",
970 "xfa/src/fwl/src/basewidget/fwl_editimp.cpp",
971 "xfa/src/fwl/src/basewidget/fwl_formproxyimp.cpp",
972 "xfa/src/fwl/src/basewidget/fwl_listboximp.cpp",
973 "xfa/src/fwl/src/basewidget/fwl_monthcalendarimp.cpp",
974 "xfa/src/fwl/src/basewidget/fwl_pictureboximp.cpp",
975 "xfa/src/fwl/src/basewidget/fwl_pushbuttonimp.cpp",
976 "xfa/src/fwl/src/basewidget/fwl_scrollbarimp.cpp",
977 "xfa/src/fwl/src/basewidget/fwl_spinbuttonimp.cpp",
978 "xfa/src/fwl/src/basewidget/fwl_tooltipctrlimp.cpp",
979 "xfa/src/fwl/src/basewidget/fxmath_barcodeimp.cpp",
980 "xfa/src/fwl/src/basewidget/include/fwl_barcodeimp.h",
981 "xfa/src/fwl/src/basewidget/include/fwl_caretimp.h",
982 "xfa/src/fwl/src/basewidget/include/fwl_checkboximp.h",
983 "xfa/src/fwl/src/basewidget/include/fwl_comboboximp.h",
984 "xfa/src/fwl/src/basewidget/include/fwl_datetimepickerimp.h",
985 "xfa/src/fwl/src/basewidget/include/fwl_editimp.h",
986 "xfa/src/fwl/src/basewidget/include/fwl_formproxyimp.h",
987 "xfa/src/fwl/src/basewidget/include/fwl_listboximp.h",
988 "xfa/src/fwl/src/basewidget/include/fwl_monthcalendarimp.h",
989 "xfa/src/fwl/src/basewidget/include/fwl_pictureboximp.h",
990 "xfa/src/fwl/src/basewidget/include/fwl_pushbuttonimp.h",
991 "xfa/src/fwl/src/basewidget/include/fwl_scrollbarimp.h",
992 "xfa/src/fwl/src/basewidget/include/fwl_spinbuttonimp.h",
993 "xfa/src/fwl/src/basewidget/include/fwl_tooltipctrlimp.h",
994 "xfa/src/fwl/src/basewidget/include/fxmath_barcodeimp.h",
995 "xfa/src/fwl/src/core/fwl_appimp.cpp",
996 "xfa/src/fwl/src/core/fwl_contentimp.cpp",
997 "xfa/src/fwl/src/core/fwl_formimp.cpp",
998 "xfa/src/fwl/src/core/fwl_gridimp.cpp",
999 "xfa/src/fwl/src/core/fwl_noteimp.cpp",
1000 "xfa/src/fwl/src/core/fwl_panelimp.cpp",
1001 "xfa/src/fwl/src/core/fwl_sdadapterimp.cpp",
1002 "xfa/src/fwl/src/core/fwl_targetimp.cpp",
1003 "xfa/src/fwl/src/core/fwl_threadimp.cpp",
1004 "xfa/src/fwl/src/core/fwl_timerimp.cpp",
1005 "xfa/src/fwl/src/core/fwl_widgetimp.cpp",
1006 "xfa/src/fwl/src/core/fwl_widgetmgrimp.cpp",
1007 "xfa/src/fwl/src/core/include/fwl_appimp.h",
1008 "xfa/src/fwl/src/core/include/fwl_contentimp.h",
1009 "xfa/src/fwl/src/core/include/fwl_formimp.h",
1010 "xfa/src/fwl/src/core/include/fwl_gridimp.h",
1011 "xfa/src/fwl/src/core/include/fwl_noteimp.h",
1012 "xfa/src/fwl/src/core/include/fwl_panelimp.h",
1013 "xfa/src/fwl/src/core/include/fwl_targetimp.h",
1014 "xfa/src/fwl/src/core/include/fwl_threadimp.h",
1015 "xfa/src/fwl/src/core/include/fwl_widgetimp.h",
1016 "xfa/src/fwl/src/core/include/fwl_widgetmgrimp.h",
1017 "xfa/src/fwl/src/lightwidget/app.cpp",
1018 "xfa/src/fwl/src/lightwidget/barcode.cpp",
1019 "xfa/src/fwl/src/lightwidget/caret.cpp",
1020 "xfa/src/fwl/src/lightwidget/checkbox.cpp",
1021 "xfa/src/fwl/src/lightwidget/combobox.cpp",
1022 "xfa/src/fwl/src/lightwidget/datetimepicker.cpp",
1023 "xfa/src/fwl/src/lightwidget/edit.cpp",
1024 "xfa/src/fwl/src/lightwidget/listbox.cpp",
1025 "xfa/src/fwl/src/lightwidget/picturebox.cpp",
1026 "xfa/src/fwl/src/lightwidget/pushbutton.cpp",
1027 "xfa/src/fwl/src/lightwidget/scrollbar.cpp",
1028 "xfa/src/fwl/src/lightwidget/theme.cpp",
1029 "xfa/src/fwl/src/lightwidget/tooltipctrl.cpp",
1030 "xfa/src/fwl/src/lightwidget/widget.cpp",
1031 "xfa/src/fwl/src/theme/barcodetp.cpp",
1032 "xfa/src/fwl/src/theme/carettp.cpp",
1033 "xfa/src/fwl/src/theme/checkboxtp.cpp",
1034 "xfa/src/fwl/src/theme/comboboxtp.cpp",
1035 "xfa/src/fwl/src/theme/datetimepickertp.cpp",
1036 "xfa/src/fwl/src/theme/edittp.cpp",
1037 "xfa/src/fwl/src/theme/formtp.cpp",
1038 "xfa/src/fwl/src/theme/listboxtp.cpp",
1039 "xfa/src/fwl/src/theme/monthcalendartp.cpp",
1040 "xfa/src/fwl/src/theme/pictureboxtp.cpp",
1041 "xfa/src/fwl/src/theme/pushbuttontp.cpp",
1042 "xfa/src/fwl/src/theme/scrollbartp.cpp",
1043 "xfa/src/fwl/src/theme/widgettp.cpp",
1044 "xfa/src/fxbarcode/common/BC_CommonBitArray.cpp",
1045 "xfa/src/fxbarcode/common/BC_CommonBitMatrix.cpp",
1046 "xfa/src/fxbarcode/common/BC_CommonBitSource.cpp",
1047 "xfa/src/fxbarcode/common/BC_CommonByteArray.cpp",
1048 "xfa/src/fxbarcode/common/BC_CommonByteMatrix.cpp",
1049 "xfa/src/fxbarcode/common/BC_CommonCharacterSetECI.cpp",
1050 "xfa/src/fxbarcode/common/BC_CommonDecoderResult.cpp",
1051 "xfa/src/fxbarcode/common/BC_CommonECI.cpp",
1052 "xfa/src/fxbarcode/common/BC_CommonPerspectiveTransform.cpp",
1053 "xfa/src/fxbarcode/common/BC_CommonBitArray.h",
1054 "xfa/src/fxbarcode/common/BC_CommonBitMatrix.h",
1055 "xfa/src/fxbarcode/common/BC_CommonBitSource.h",
1056 "xfa/src/fxbarcode/common/BC_CommonByteArray.h",
1057 "xfa/src/fxbarcode/common/BC_CommonByteMatrix.h",
1058 "xfa/src/fxbarcode/common/BC_CommonCharacterSetECI.h",
1059 "xfa/src/fxbarcode/common/BC_CommonDecoderResult.h",
1060 "xfa/src/fxbarcode/common/BC_CommonECI.h",
1061 "xfa/src/fxbarcode/common/BC_CommonPerspectiveTransform.h",
1062 "xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.cpp",
1063 "xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h",
1064 "xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.cpp",
1065 "xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h",
1066 "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.cpp",
1067 "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonDecoder.cpp",
1068 "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.cpp",
1069 "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp",
1070 "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.h",
1071 "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonDecoder.h",
1072 "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h",
1073 "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h",
1074 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixBitMatrixParser.cpp",
1075 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDataBlock.cpp",
1076 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.cpp",
1077 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecoder.cpp",
1078 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDetector.cpp",
1079 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixReader.cpp",
1080 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.cpp",
1081 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.cpp",
1082 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp",
1083 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixBitMatrixParser.h",
1084 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDataBlock.h",
1085 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.h",
1086 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecoder.h",
1087 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDetector.h",
1088 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixReader.h",
1089 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.h",
1090 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.h",
1091 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.h",
1092 "xfa/src/fxbarcode/datamatrix/BC_ASCIIEncoder.cpp",
1093 "xfa/src/fxbarcode/datamatrix/BC_Base256Encoder.cpp",
1094 "xfa/src/fxbarcode/datamatrix/BC_C40Encoder.cpp",
1095 "xfa/src/fxbarcode/datamatrix/BC_EdifactEncoder.cpp",
1096 "xfa/src/fxbarcode/datamatrix/BC_EncoderContext.cpp",
1097 "xfa/src/fxbarcode/datamatrix/BC_ErrorCorrection.cpp",
1098 "xfa/src/fxbarcode/datamatrix/BC_SymbolInfo.cpp",
1099 "xfa/src/fxbarcode/datamatrix/BC_SymbolShapeHint.cpp",
1100 "xfa/src/fxbarcode/datamatrix/BC_TextEncoder.cpp",
1101 "xfa/src/fxbarcode/datamatrix/BC_X12Encoder.cpp",
1102 "xfa/src/fxbarcode/datamatrix/BC_DefaultPlacement.cpp",
1103 "xfa/src/fxbarcode/datamatrix/BC_Encoder.cpp",
1104 "xfa/src/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp",
1105 "xfa/src/fxbarcode/datamatrix/BC_ASCIIEncoder.h",
1106 "xfa/src/fxbarcode/datamatrix/BC_Base256Encoder.h",
1107 "xfa/src/fxbarcode/datamatrix/BC_C40Encoder.h",
1108 "xfa/src/fxbarcode/datamatrix/BC_EdifactEncoder.h",
1109 "xfa/src/fxbarcode/datamatrix/BC_EncoderContext.h",
1110 "xfa/src/fxbarcode/datamatrix/BC_ErrorCorrection.h",
1111 "xfa/src/fxbarcode/datamatrix/BC_SymbolInfo.h",
1112 "xfa/src/fxbarcode/datamatrix/BC_SymbolShapeHint.h",
1113 "xfa/src/fxbarcode/datamatrix/BC_TextEncoder.h",
1114 "xfa/src/fxbarcode/datamatrix/BC_X12Encoder.h",
1115 "xfa/src/fxbarcode/datamatrix/BC_DefaultPlacement.h",
1116 "xfa/src/fxbarcode/datamatrix/BC_Encoder.h",
1117 "xfa/src/fxbarcode/datamatrix/BC_HighLevelEncoder.h",
1118 "xfa/src/fxbarcode/oned/BC_OnedCodaBarReader.cpp",
1119 "xfa/src/fxbarcode/oned/BC_OnedCodaBarWriter.cpp",
1120 "xfa/src/fxbarcode/oned/BC_OnedCode128Reader.cpp",
1121 "xfa/src/fxbarcode/oned/BC_OnedCode128Writer.cpp",
1122 "xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp",
1123 "xfa/src/fxbarcode/oned/BC_OnedCode39Writer.cpp",
1124 "xfa/src/fxbarcode/oned/BC_OnedEAN13Reader.cpp",
1125 "xfa/src/fxbarcode/oned/BC_OnedEAN13Writer.cpp",
1126 "xfa/src/fxbarcode/oned/BC_OnedEAN8Reader.cpp",
1127 "xfa/src/fxbarcode/oned/BC_OnedEAN8Writer.cpp",
1128 "xfa/src/fxbarcode/oned/BC_OneDimReader.cpp",
1129 "xfa/src/fxbarcode/oned/BC_OneDimWriter.cpp",
1130 "xfa/src/fxbarcode/oned/BC_OneDReader.cpp",
1131 "xfa/src/fxbarcode/oned/BC_OnedUPCAReader.cpp",
1132 "xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.cpp",
1133 "xfa/src/fxbarcode/oned/BC_OnedCodaBarReader.h",
1134 "xfa/src/fxbarcode/oned/BC_OnedCodaBarWriter.h",
1135 "xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h",
1136 "xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h",
1137 "xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h",
1138 "xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h",
1139 "xfa/src/fxbarcode/oned/BC_OnedEAN13Reader.h",
1140 "xfa/src/fxbarcode/oned/BC_OnedEAN13Writer.h",
1141 "xfa/src/fxbarcode/oned/BC_OnedEAN8Reader.h",
1142 "xfa/src/fxbarcode/oned/BC_OnedEAN8Writer.h",
1143 "xfa/src/fxbarcode/oned/BC_OneDimReader.h",
1144 "xfa/src/fxbarcode/oned/BC_OneDimWriter.h",
1145 "xfa/src/fxbarcode/oned/BC_OneDReader.h",
1146 "xfa/src/fxbarcode/oned/BC_OnedUPCAReader.h",
1147 "xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.h",
1148 "xfa/src/fxbarcode/pdf417/BC_PDF417.cpp",
1149 "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp",
1150 "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.cpp",
1151 "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeRow.cpp",
1152 "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeValue.cpp",
1153 "xfa/src/fxbarcode/pdf417/BC_PDF417BoundingBox.cpp",
1154 "xfa/src/fxbarcode/pdf417/BC_PDF417Codeword.cpp",
1155 "xfa/src/fxbarcode/pdf417/BC_PDF417CodewordDecoder.cpp",
1156 "xfa/src/fxbarcode/pdf417/BC_PDF417Common.cpp",
1157 "xfa/src/fxbarcode/pdf417/BC_PDF417Compaction.cpp",
1158 "xfa/src/fxbarcode/pdf417/BC_PDF417DecodedBitStreamParser.cpp",
1159 "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.cpp",
1160 "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultColumn.cpp",
1161 "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.cpp",
1162 "xfa/src/fxbarcode/pdf417/BC_PDF417Detector.cpp",
1163 "xfa/src/fxbarcode/pdf417/BC_PDF417DetectorResult.cpp",
1164 "xfa/src/fxbarcode/pdf417/BC_PDF417Dimensions.cpp",
1165 "xfa/src/fxbarcode/pdf417/BC_PDF417ECErrorCorrection.cpp",
1166 "xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.cpp",
1167 "xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusPoly.cpp",
1168 "xfa/src/fxbarcode/pdf417/BC_PDF417ErrorCorrection.cpp",
1169 "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.cpp",
1170 "xfa/src/fxbarcode/pdf417/BC_PDF417Reader.cpp",
1171 "xfa/src/fxbarcode/pdf417/BC_PDF417ResultMetadata.cpp",
1172 "xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.cpp",
1173 "xfa/src/fxbarcode/pdf417/BC_PDF417Writer.cpp",
1174 "xfa/src/fxbarcode/pdf417/BC_PDF417.h",
1175 "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h",
1176 "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.h",
1177 "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeRow.h",
1178 "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeValue.h",
1179 "xfa/src/fxbarcode/pdf417/BC_PDF417BoundingBox.h",
1180 "xfa/src/fxbarcode/pdf417/BC_PDF417Codeword.h",
1181 "xfa/src/fxbarcode/pdf417/BC_PDF417CodewordDecoder.h",
1182 "xfa/src/fxbarcode/pdf417/BC_PDF417Common.h",
1183 "xfa/src/fxbarcode/pdf417/BC_PDF417Compaction.h",
1184 "xfa/src/fxbarcode/pdf417/BC_PDF417DecodedBitStreamParser.h",
1185 "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.h",
1186 "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultColumn.h",
1187 "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.h",
1188 "xfa/src/fxbarcode/pdf417/BC_PDF417Detector.h",
1189 "xfa/src/fxbarcode/pdf417/BC_PDF417DetectorResult.h",
1190 "xfa/src/fxbarcode/pdf417/BC_PDF417Dimensions.h",
1191 "xfa/src/fxbarcode/pdf417/BC_PDF417ECErrorCorrection.h",
1192 "xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.h",
1193 "xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusPoly.h",
1194 "xfa/src/fxbarcode/pdf417/BC_PDF417ErrorCorrection.h",
1195 "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h",
1196 "xfa/src/fxbarcode/pdf417/BC_PDF417Reader.h",
1197 "xfa/src/fxbarcode/pdf417/BC_PDF417ResultMetadata.h",
1198 "xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.h",
1199 "xfa/src/fxbarcode/pdf417/BC_PDF417Writer.h",
1200 "xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.cpp",
1201 "xfa/src/fxbarcode/qrcode/BC_QRAlignmentPatternFinder.cpp",
1202 "xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.cpp",
1203 "xfa/src/fxbarcode/qrcode/BC_QRCoder.cpp",
1204 "xfa/src/fxbarcode/qrcode/BC_QRCoderBitVector.cpp",
1205 "xfa/src/fxbarcode/qrcode/BC_QRCoderBlockPair.cpp",
1206 "xfa/src/fxbarcode/qrcode/BC_QRCoderDecoder.cpp",
1207 "xfa/src/fxbarcode/qrcode/BC_QRCodeReader.cpp",
1208 "xfa/src/fxbarcode/qrcode/BC_QRCoderECB.cpp",
1209 "xfa/src/fxbarcode/qrcode/BC_QRCoderECBlocks.cpp",
1210 "xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.cpp",
1211 "xfa/src/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.cpp",
1212 "xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.cpp",
1213 "xfa/src/fxbarcode/qrcode/BC_QRCoderMaskUtil.cpp",
1214 "xfa/src/fxbarcode/qrcode/BC_QRCoderMatrixUtil.cpp",
1215 "xfa/src/fxbarcode/qrcode/BC_QRCoderMode.cpp",
1216 "xfa/src/fxbarcode/qrcode/BC_QRCoderVersion.cpp",
1217 "xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.cpp",
1218 "xfa/src/fxbarcode/qrcode/BC_QRDataBlock.cpp",
1219 "xfa/src/fxbarcode/qrcode/BC_QRDataMask.cpp",
1220 "xfa/src/fxbarcode/qrcode/BC_QRDecodedBitStreamParser.cpp",
1221 "xfa/src/fxbarcode/qrcode/BC_QRDetector.cpp",
1222 "xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.cpp",
1223 "xfa/src/fxbarcode/qrcode/BC_QRFinderPattern.cpp",
1224 "xfa/src/fxbarcode/qrcode/BC_QRFinderPatternFinder.cpp",
1225 "xfa/src/fxbarcode/qrcode/BC_QRGridSampler.cpp",
1226 "xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.h",
1227 "xfa/src/fxbarcode/qrcode/BC_QRAlignmentPatternFinder.h",
1228 "xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h",
1229 "xfa/src/fxbarcode/qrcode/BC_QRCoder.h",
1230 "xfa/src/fxbarcode/qrcode/BC_QRCoderBitVector.h",
1231 "xfa/src/fxbarcode/qrcode/BC_QRCoderBlockPair.h",
1232 "xfa/src/fxbarcode/qrcode/BC_QRCoderDecoder.h",
1233 "xfa/src/fxbarcode/qrcode/BC_QRCodeReader.h",
1234 "xfa/src/fxbarcode/qrcode/BC_QRCoderECB.h",
1235 "xfa/src/fxbarcode/qrcode/BC_QRCoderECBlocks.h",
1236 "xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.h",
1237 "xfa/src/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.h",
1238 "xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.h",
1239 "xfa/src/fxbarcode/qrcode/BC_QRCoderMaskUtil.h",
1240 "xfa/src/fxbarcode/qrcode/BC_QRCoderMatrixUtil.h",
1241 "xfa/src/fxbarcode/qrcode/BC_QRCoderMode.h",
1242 "xfa/src/fxbarcode/qrcode/BC_QRCoderVersion.h",
1243 "xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h",
1244 "xfa/src/fxbarcode/qrcode/BC_QRDataBlock.h",
1245 "xfa/src/fxbarcode/qrcode/BC_QRDataMask.h",
1246 "xfa/src/fxbarcode/qrcode/BC_QRDecodedBitStreamParser.h",
1247 "xfa/src/fxbarcode/qrcode/BC_QRDetector.h",
1248 "xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.h",
1249 "xfa/src/fxbarcode/qrcode/BC_QRFinderPattern.h",
1250 "xfa/src/fxbarcode/qrcode/BC_QRFinderPatternFinder.h",
1251 "xfa/src/fxbarcode/qrcode/BC_QRGridSampler.h",
1252 "xfa/src/fxbarcode/qrcode/BC_FinderPatternInfo.cpp",
1253 "xfa/src/fxbarcode/qrcode/BC_FinderPatternInfo.h",
1254 "xfa/src/fxbarcode/BC_BarCode.cpp",
1255 "xfa/src/fxbarcode/BC_Binarizer.cpp",
1256 "xfa/src/fxbarcode/BC_BinaryBitmap.cpp",
1257 "xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.cpp",
1258 "xfa/src/fxbarcode/BC_Dimension.cpp",
1259 "xfa/src/fxbarcode/BC_Library.cpp",
1260 "xfa/src/fxbarcode/BC_LuminanceSource.cpp",
1261 "xfa/src/fxbarcode/BC_Reader.cpp",
1262 "xfa/src/fxbarcode/BC_ResultPoint.cpp",
1263 "xfa/src/fxbarcode/BC_TwoDimWriter.cpp",
1264 "xfa/src/fxbarcode/BC_UtilCodingConvert.cpp",
1265 "xfa/src/fxbarcode/BC_UtilRSS.cpp",
1266 "xfa/src/fxbarcode/BC_Utils.cpp",
1267 "xfa/src/fxbarcode/BC_Writer.cpp",
1268 "xfa/src/fxbarcode/BC_Binarizer.h",
1269 "xfa/src/fxbarcode/BC_BinaryBitmap.h",
1270 "xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.h",
1271 "xfa/src/fxbarcode/BC_DecoderResult.h",
1272 "xfa/src/fxbarcode/BC_Dimension.h",
1273 "xfa/src/fxbarcode/BC_LuminanceSource.h",
1274 "xfa/src/fxbarcode/BC_Reader.h",
1275 "xfa/src/fxbarcode/BC_ResultPoint.h",
1276 "xfa/src/fxbarcode/BC_TwoDimWriter.h",
1277 "xfa/src/fxbarcode/BC_UtilCodingConvert.h",
1278 "xfa/src/fxbarcode/BC_UtilRSS.h",
1279 "xfa/src/fxbarcode/BC_Writer.h",
1280 "xfa/src/fxbarcode/barcode.h",
1281 "xfa/src/fxbarcode/utils.h",
1282 "xfa/src/fxfa/src/app/xfa_checksum.cpp",
1283 "xfa/src/fxfa/src/app/xfa_checksum.h",
1284 "xfa/src/fxfa/src/app/xfa_ffapp.cpp",
1285 "xfa/src/fxfa/src/app/xfa_ffapp.h",
1286 "xfa/src/fxfa/src/app/xfa_ffbarcode.cpp",
1287 "xfa/src/fxfa/src/app/xfa_ffbarcode.h",
1288 "xfa/src/fxfa/src/app/xfa_ffcheckbutton.cpp",
1289 "xfa/src/fxfa/src/app/xfa_ffcheckbutton.h",
1290 "xfa/src/fxfa/src/app/xfa_ffchoicelist.cpp",
1291 "xfa/src/fxfa/src/app/xfa_ffchoicelist.h",
1292 "xfa/src/fxfa/src/app/xfa_ffConfigAcc.cpp",
1293 "xfa/src/fxfa/src/app/xfa_ffConfigAcc.h",
1294 "xfa/src/fxfa/src/app/xfa_ffdoc.cpp",
1295 "xfa/src/fxfa/src/app/xfa_ffdoc.h",
1296 "xfa/src/fxfa/src/app/xfa_ffdochandler.cpp",
1297 "xfa/src/fxfa/src/app/xfa_ffdochandler.h",
1298 "xfa/src/fxfa/src/app/xfa_ffdocview.cpp",
1299 "xfa/src/fxfa/src/app/xfa_ffdocview.h",
1300 "xfa/src/fxfa/src/app/xfa_ffdraw.cpp",
1301 "xfa/src/fxfa/src/app/xfa_ffdraw.h",
1302 "xfa/src/fxfa/src/app/xfa_ffexclgroup.cpp",
1303 "xfa/src/fxfa/src/app/xfa_ffexclgroup.h",
1304 "xfa/src/fxfa/src/app/xfa_fffield.cpp",
1305 "xfa/src/fxfa/src/app/xfa_fffield.h",
1306 "xfa/src/fxfa/src/app/xfa_ffimage.cpp",
1307 "xfa/src/fxfa/src/app/xfa_ffimage.h",
1308 "xfa/src/fxfa/src/app/xfa_ffimageedit.cpp",
1309 "xfa/src/fxfa/src/app/xfa_ffimageedit.h",
1310 "xfa/src/fxfa/src/app/xfa_ffnotify.cpp",
1311 "xfa/src/fxfa/src/app/xfa_ffnotify.h",
1312 "xfa/src/fxfa/src/app/xfa_ffpageview.cpp",
1313 "xfa/src/fxfa/src/app/xfa_ffpageview.h",
1314 "xfa/src/fxfa/src/app/xfa_ffpath.cpp",
1315 "xfa/src/fxfa/src/app/xfa_ffpath.h",
1316 "xfa/src/fxfa/src/app/xfa_ffpushbutton.cpp",
1317 "xfa/src/fxfa/src/app/xfa_ffpushbutton.h",
1318 "xfa/src/fxfa/src/app/xfa_ffsignature.cpp",
1319 "xfa/src/fxfa/src/app/xfa_ffsignature.h",
1320 "xfa/src/fxfa/src/app/xfa_ffsubform.cpp",
1321 "xfa/src/fxfa/src/app/xfa_ffsubform.h",
1322 "xfa/src/fxfa/src/app/xfa_fftext.cpp",
1323 "xfa/src/fxfa/src/app/xfa_fftext.h",
1324 "xfa/src/fxfa/src/app/xfa_fftextedit.cpp",
1325 "xfa/src/fxfa/src/app/xfa_fftextedit.h",
1326 "xfa/src/fxfa/src/app/xfa_ffwidget.cpp",
1327 "xfa/src/fxfa/src/app/xfa_ffwidget.h",
1328 "xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp",
1329 "xfa/src/fxfa/src/app/xfa_ffwidgetacc.h",
1330 "xfa/src/fxfa/src/app/xfa_ffwidgethandler.cpp",
1331 "xfa/src/fxfa/src/app/xfa_ffwidgethandler.h",
1332 "xfa/src/fxfa/src/app/xfa_fontmgr.cpp",
1333 "xfa/src/fxfa/src/app/xfa_fontmgr.h",
1334 "xfa/src/fxfa/src/app/xfa_fwladapter.cpp",
1335 "xfa/src/fxfa/src/app/xfa_fwladapter.h",
1336 "xfa/src/fxfa/src/app/xfa_fwltheme.cpp",
1337 "xfa/src/fxfa/src/app/xfa_fwltheme.h",
1338 "xfa/src/fxfa/src/app/xfa_rendercontext.cpp",
1339 "xfa/src/fxfa/src/app/xfa_rendercontext.h",
1340 "xfa/src/fxfa/src/app/xfa_textlayout.cpp",
1341 "xfa/src/fxfa/src/app/xfa_textlayout.h",
1342 "xfa/src/fxfa/src/common/fxfa_localevalue.h",
1343 "xfa/src/fxfa/src/common/xfa_common.h",
1344 "xfa/src/fxfa/src/common/xfa_debug.h",
1345 "xfa/src/fxfa/src/common/xfa_docdata.h",
1346 "xfa/src/fxfa/src/common/xfa_doclayout.h",
1347 "xfa/src/fxfa/src/common/xfa_document.h",
1348 "xfa/src/fxfa/src/common/xfa_fm2jsapi.h",
1349 "xfa/src/fxfa/src/common/xfa_localemgr.h",
1350 "xfa/src/fxfa/src/common/xfa_object.h",
1351 "xfa/src/fxfa/src/common/xfa_parser.h",
1352 "xfa/src/fxfa/src/common/xfa_script.h",
1353 "xfa/src/fxfa/src/common/xfa_utils.h",
1354 "xfa/src/fxfa/src/fm2js/xfa_error.cpp",
1355 "xfa/src/fxfa/src/fm2js/xfa_error.h",
1356 "xfa/src/fxfa/src/fm2js/xfa_expression.cpp",
1357 "xfa/src/fxfa/src/fm2js/xfa_expression.h",
1358 "xfa/src/fxfa/src/fm2js/xfa_fm2js.cpp",
1359 "xfa/src/fxfa/src/fm2js/xfa_fm2js.h",
1360 "xfa/src/fxfa/src/fm2js/xfa_fm2jsapi.cpp",
1361 "xfa/src/fxfa/src/fm2js/xfa_fm2jscontext.cpp",
1362 "xfa/src/fxfa/src/fm2js/xfa_fm2jscontext.h",
1363 "xfa/src/fxfa/src/fm2js/xfa_fmparse.cpp",
1364 "xfa/src/fxfa/src/fm2js/xfa_fmparse.h",
1365 "xfa/src/fxfa/src/fm2js/xfa_lexer.cpp",
1366 "xfa/src/fxfa/src/fm2js/xfa_lexer.h",
1367 "xfa/src/fxfa/src/fm2js/xfa_program.cpp",
1368 "xfa/src/fxfa/src/fm2js/xfa_program.h",
1369 "xfa/src/fxfa/src/fm2js/xfa_simpleexpression.cpp",
1370 "xfa/src/fxfa/src/fm2js/xfa_simpleexpression.h",
1371 "xfa/src/fxfa/src/parser/xfa_basic_data.cpp",
1372 "xfa/src/fxfa/src/parser/xfa_basic_imp.cpp",
1373 "xfa/src/fxfa/src/parser/xfa_basic_imp.h",
1374 "xfa/src/fxfa/src/parser/xfa_debug_parser.cpp",
1375 "xfa/src/fxfa/src/parser/xfa_debug_parser.h",
1376 "xfa/src/fxfa/src/parser/xfa_document_datadescription_imp.cpp",
1377 "xfa/src/fxfa/src/parser/xfa_document_datadescription_imp.h",
1378 "xfa/src/fxfa/src/parser/xfa_document_datamerger_imp.cpp",
1379 "xfa/src/fxfa/src/parser/xfa_document_datamerger_imp.h",
1380 "xfa/src/fxfa/src/parser/xfa_document_imp.cpp",
1381 "xfa/src/fxfa/src/parser/xfa_document_imp.h",
1382 "xfa/src/fxfa/src/parser/xfa_document_layout_imp.cpp",
1383 "xfa/src/fxfa/src/parser/xfa_document_layout_imp.h",
1384 "xfa/src/fxfa/src/parser/xfa_document_serialize.cpp",
1385 "xfa/src/fxfa/src/parser/xfa_document_serialize.h",
1386 "xfa/src/fxfa/src/parser/xfa_layout_appadapter.cpp",
1387 "xfa/src/fxfa/src/parser/xfa_layout_appadapter.h",
1388 "xfa/src/fxfa/src/parser/xfa_layout_itemlayout.cpp",
1389 "xfa/src/fxfa/src/parser/xfa_layout_itemlayout.h",
1390 "xfa/src/fxfa/src/parser/xfa_layout_pagemgr_new.cpp",
1391 "xfa/src/fxfa/src/parser/xfa_layout_pagemgr_new.h",
1392 "xfa/src/fxfa/src/parser/xfa_locale.cpp",
1393 "xfa/src/fxfa/src/parser/xfa_locale.h",
1394 "xfa/src/fxfa/src/parser/xfa_localemgr.cpp",
1395 "xfa/src/fxfa/src/parser/xfa_localevalue.cpp",
1396 "xfa/src/fxfa/src/parser/xfa_objectacc_imp.cpp",
1397 "xfa/src/fxfa/src/parser/xfa_object_imp.cpp",
1398 "xfa/src/fxfa/src/parser/xfa_parser_imp.cpp",
1399 "xfa/src/fxfa/src/parser/xfa_parser_imp.h",
1400 "xfa/src/fxfa/src/parser/xfa_script_datawindow.cpp",
1401 "xfa/src/fxfa/src/parser/xfa_script_datawindow.h",
1402 "xfa/src/fxfa/src/parser/xfa_script_eventpseudomodel.cpp",
1403 "xfa/src/fxfa/src/parser/xfa_script_eventpseudomodel.h",
1404 "xfa/src/fxfa/src/parser/xfa_script_hostpseudomodel.cpp",
1405 "xfa/src/fxfa/src/parser/xfa_script_hostpseudomodel.h",
1406 "xfa/src/fxfa/src/parser/xfa_script_imp.cpp",
1407 "xfa/src/fxfa/src/parser/xfa_script_imp.h",
1408 "xfa/src/fxfa/src/parser/xfa_script_layoutpseudomodel.cpp",
1409 "xfa/src/fxfa/src/parser/xfa_script_layoutpseudomodel.h",
1410 "xfa/src/fxfa/src/parser/xfa_script_logpseudomodel.cpp",
1411 "xfa/src/fxfa/src/parser/xfa_script_logpseudomodel.h",
1412 "xfa/src/fxfa/src/parser/xfa_script_nodehelper.cpp",
1413 "xfa/src/fxfa/src/parser/xfa_script_nodehelper.h",
1414 "xfa/src/fxfa/src/parser/xfa_script_resolveprocessor.cpp",
1415 "xfa/src/fxfa/src/parser/xfa_script_resolveprocessor.h",
1416 "xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp",
1417 "xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.h",
1418 "xfa/src/fxfa/src/parser/xfa_utils_imp.cpp",
1419 "xfa/src/fxgraphics/src/fx_graphics.cpp",
1420 "xfa/src/fxgraphics/src/fx_path_generator.cpp",
1421 "xfa/src/fxgraphics/src/fx_path_generator.h",
1422 "xfa/src/fxgraphics/src/pre.h",
1423 ]
1424 include_dirs = [
1425 ".",
1426 ]
1427 if (pdf_enable_v8) {
1428 sources += [
1429 "xfa/src/fxjse/src/class.cpp",
1430 "xfa/src/fxjse/src/class.h",
1431 "xfa/src/fxjse/src/context.cpp",
1432 "xfa/src/fxjse/src/context.h",
1433 "xfa/src/fxjse/src/dynprop.cpp",
1434 "xfa/src/fxjse/src/runtime.cpp",
1435 "xfa/src/fxjse/src/runtime.h",
1436 "xfa/src/fxjse/src/scope_inline.h",
1437 "xfa/src/fxjse/src/util_inline.h",
1438 "xfa/src/fxjse/src/value.cpp",
1439 "xfa/src/fxjse/src/value.h"
1440 ]
1441 include_dirs += [
1442 "//v8",
1443 "//v8/include",
1444 ]
1445 public_deps = [
1446 "//v8",
1447 ]
1448 deps = [
1449 "//v8:v8_libplatform",
1450 ]
1451 }
1452 configs -= [ "//build/config/compiler:chromium_code" ]
1453 configs += [
1454 ":pdfium_config",
1455 "//build/config/compiler:no_chromium_code",
Tom Sepez452b4f32015-10-13 09:27:27 -07001456 ]
1457 }
Tom Sepezc706fc02014-11-14 13:39:20 -08001458}
Tom Sepez04681f32015-01-09 13:59:19 -08001459
1460test("pdfium_unittests") {
1461 sources = [
Dan Sinclairbd552392015-11-02 16:26:55 -05001462 "core/src/fpdfapi/fpdf_font/fpdf_font_cid_unittest.cpp",
Dan Sinclair15a05702015-11-02 13:34:21 -05001463 "core/src/fpdfapi/fpdf_font/fpdf_font_unittest.cpp",
Dan Sinclairb4518212015-11-02 16:44:09 -05001464 "core/src/fpdfapi/fpdf_page/fpdf_page_parser_old_unittest.cpp",
Dan Sinclair4d6f03a2015-11-02 16:12:41 -05001465 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp",
Dan Sinclaireed2ee92015-11-03 14:32:34 -05001466 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_unittest.cpp",
Tom Sepezdb205822015-03-19 13:02:23 -07001467 "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp",
Tom Sepez04681f32015-01-09 13:59:19 -08001468 "core/src/fxcrt/fx_basic_bstring_unittest.cpp",
Tom Sepezed099be2015-05-15 16:30:52 -07001469 "core/src/fxcrt/fx_basic_memmgr_unittest.cpp",
Bo Xua6f95eb2015-01-21 12:17:23 -08001470 "core/src/fxcrt/fx_basic_wstring_unittest.cpp",
Lei Zhangee02ea32015-10-29 15:01:55 -07001471 "core/src/fxcrt/fx_bidi_unittest.cpp",
Dan Sinclair10cfea12015-11-16 13:09:00 -05001472 "core/src/fxcrt/fx_extension_unittest.cpp",
Tom Sepez24e733e2015-10-16 14:18:50 -07001473 "core/src/fxcrt/fx_system_unittest.cpp",
Lei Zhang13fe8c92015-09-22 21:53:22 -07001474 "third_party/base/nonstd_unique_ptr_unittest.cpp",
Tom Sepez04681f32015-01-09 13:59:19 -08001475 ]
1476 deps = [
1477 "//testing/gtest",
1478 "//testing/gtest:gtest_main",
Tom Sepezd831dc72015-10-19 16:04:22 -07001479 ":pdfium",
1480 ":test_support",
Tom Sepez04681f32015-01-09 13:59:19 -08001481 ]
Tom Sepezd2e023b2015-12-08 14:36:16 -08001482 if (pdf_enable_xfa) {
1483 sources += [
1484 "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp",
1485 "xfa/src/fxfa/src/parser/xfa_utils_imp_unittest.cpp",
1486 ]
1487 }
Lei Zhang476ac132015-11-05 20:07:27 -08001488 configs += [ ":pdfium_config" ]
Tom Sepez04681f32015-01-09 13:59:19 -08001489}
Tom Sepez1b1bb492015-01-22 17:36:32 -08001490
1491test("pdfium_embeddertests") {
1492 sources = [
Oliver Chang67169d32015-11-04 14:33:56 -08001493 "core/src/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp",
Tom Sepez441932f2015-04-10 10:40:55 -07001494 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp",
JUN FANGfbc74492015-04-03 11:35:50 -07001495 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp",
Oliver Chang66feb702015-11-12 22:24:32 -08001496 "core/src/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp",
Dan Sinclair431ba182015-10-27 12:19:11 -04001497 "core/src/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp",
Tom Sepez2255a1b2015-01-23 15:33:44 -08001498 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001499 "fpdfsdk/src/fpdfdoc_embeddertest.cpp",
Tom Sepeza310e002015-02-27 13:03:07 -08001500 "fpdfsdk/src/fpdfformfill_embeddertest.cpp",
Tom Sepez26b8a5b2015-01-27 12:42:36 -08001501 "fpdfsdk/src/fpdftext_embeddertest.cpp",
Tom Sepezcf22eb82015-05-12 17:28:08 -07001502 "fpdfsdk/src/fpdfview_c_api_test.c",
1503 "fpdfsdk/src/fpdfview_c_api_test.h",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001504 "fpdfsdk/src/fpdfview_embeddertest.cpp",
1505 "testing/embedder_test.cpp",
1506 "testing/embedder_test.h",
Tom Sepeza310e002015-02-27 13:03:07 -08001507 "testing/embedder_test_mock_delegate.h",
Tom Sepez6efc0ad2015-06-02 17:11:18 -07001508 "testing/embedder_test_timer_handling_delegate.h",
Jun Fangbf18cb62015-10-28 18:36:28 +08001509 "xfa/src/fxfa/src/parser/xfa_parser_imp_embeddertest.cpp",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001510 ]
1511 deps = [
Tom Sepeza310e002015-02-27 13:03:07 -08001512 "//testing/gmock",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001513 "//testing/gtest",
Tom Sepez452b4f32015-10-13 09:27:27 -07001514 ":pdfium",
Tom Sepezd831dc72015-10-19 16:04:22 -07001515 ":test_support",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001516 ]
Lei Zhang8241df72015-11-06 14:38:48 -08001517 include_dirs = []
Tom Sepez452b4f32015-10-13 09:27:27 -07001518 if (pdf_enable_v8) {
Lei Zhang8241df72015-11-06 14:38:48 -08001519 sources += [ "fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp" ]
Tom Sepez452b4f32015-10-13 09:27:27 -07001520 deps += [
1521 "//v8",
1522 "//v8:v8_libplatform",
1523 ]
1524 include_dirs += [
1525 "//v8",
1526 "//v8/include",
1527 ]
1528 }
Lei Zhang476ac132015-11-05 20:07:27 -08001529 configs += [ ":pdfium_config" ]
Tom Sepez1b1bb492015-01-22 17:36:32 -08001530}