blob: 2aef63a1fb57523636d50b07d5d4d62e25c7ccf8 [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",
Tom Sepezc706fc02014-11-14 13:39:20 -0800126 ":fpdfxfa",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700127 ":fxcodec",
128 ":fxcrt",
129 ":fxedit",
130 ":fxge",
131 ":javascript",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700132 ":pdfwindow",
133 ]
134
Tom Sepeza8a39e22015-10-12 15:47:07 -0700135 if (pdf_enable_xfa) {
136 deps += [ ":xfa" ]
137 }
138
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700139 if (is_win) {
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400140 libs += [
141 "advapi32.lib",
142 "gdi32.lib",
143 "user32.lib",
144 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700145 }
146
147 if (is_mac) {
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400148 libs += [
149 "AppKit.framework",
150 "CoreFoundation.framework",
151 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700152 }
John Abd-El-Malekef4dce42015-02-02 16:52:07 -0800153
Tom Sepez0dfd0302015-10-12 15:38:22 -0700154 if (pdfium_bundle_freetype) {
155 deps += [ "third_party:fx_freetype" ]
John Abd-El-Malekef4dce42015-02-02 16:52:07 -0800156 } else {
157 libs += [ "freetype" ]
158 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700159}
160
Tom Sepezd831dc72015-10-19 16:04:22 -0700161source_set("test_support") {
162 testonly = true
163 sources = [
164 "testing/fx_string_testhelpers.cpp",
165 "testing/fx_string_testhelpers.h",
166 "testing/test_support.cpp",
167 "testing/test_support.h",
Oliver Changd46f1c82015-11-12 22:03:10 -0800168 "testing/utils/path_service.cpp",
Tom Sepezd831dc72015-10-19 16:04:22 -0700169 ]
170 deps = [
171 "//testing/gmock",
172 "//testing/gtest",
173 ":pdfium",
174 ]
Lei Zhang8241df72015-11-06 14:38:48 -0800175 include_dirs = []
Tom Sepezd831dc72015-10-19 16:04:22 -0700176 if (pdf_enable_v8) {
177 deps += [
178 "//v8",
179 "//v8:v8_libplatform",
180 ]
181 include_dirs += [
182 "//v8",
183 "//v8/include",
184 ]
185 }
Lei Zhang476ac132015-11-05 20:07:27 -0800186 configs += [ ":pdfium_config" ]
Tom Sepezd831dc72015-10-19 16:04:22 -0700187}
188
189# Targets below this are only visible within this file (and to the
190# top-level gn_visibility target used to help gn_all build everything).
191visibility = [
192 ":*",
193 "//:gn_visibility",
194]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700195
196static_library("fdrm") {
197 sources = [
198 "core/include/fdrm/fx_crypt.h",
199 "core/src/fdrm/crypto/fx_crypt.cpp",
200 "core/src/fdrm/crypto/fx_crypt_aes.cpp",
201 "core/src/fdrm/crypto/fx_crypt_sha.cpp",
202 ]
Lei Zhang476ac132015-11-05 20:07:27 -0800203 configs += [ ":pdfium_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700204}
205
206static_library("fpdfdoc") {
207 sources = [
208 "core/include/fpdfdoc/fpdf_ap.h",
209 "core/include/fpdfdoc/fpdf_doc.h",
210 "core/include/fpdfdoc/fpdf_tagged.h",
211 "core/include/fpdfdoc/fpdf_vt.h",
212 "core/src/fpdfdoc/doc_action.cpp",
213 "core/src/fpdfdoc/doc_annot.cpp",
214 "core/src/fpdfdoc/doc_ap.cpp",
215 "core/src/fpdfdoc/doc_basic.cpp",
216 "core/src/fpdfdoc/doc_bookmark.cpp",
217 "core/src/fpdfdoc/doc_form.cpp",
218 "core/src/fpdfdoc/doc_formcontrol.cpp",
219 "core/src/fpdfdoc/doc_formfield.cpp",
220 "core/src/fpdfdoc/doc_link.cpp",
221 "core/src/fpdfdoc/doc_metadata.cpp",
222 "core/src/fpdfdoc/doc_ocg.cpp",
223 "core/src/fpdfdoc/doc_tagged.cpp",
224 "core/src/fpdfdoc/doc_utils.cpp",
Tom Sepezeff208f2015-05-08 13:45:01 -0700225 "core/src/fpdfdoc/doc_utils.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700226 "core/src/fpdfdoc/doc_viewerPreferences.cpp",
227 "core/src/fpdfdoc/doc_vt.cpp",
228 "core/src/fpdfdoc/doc_vtmodule.cpp",
229 "core/src/fpdfdoc/pdf_vt.h",
230 "core/src/fpdfdoc/tagged_int.h",
231 ]
Lei Zhang476ac132015-11-05 20:07:27 -0800232 configs += [ ":pdfium_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700233}
234
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700235static_library("fpdfapi") {
236 sources = [
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700237 "core/include/fpdfapi/fpdf_module.h",
238 "core/include/fpdfapi/fpdf_objects.h",
239 "core/include/fpdfapi/fpdf_page.h",
240 "core/include/fpdfapi/fpdf_pageobj.h",
241 "core/include/fpdfapi/fpdf_parser.h",
242 "core/include/fpdfapi/fpdf_render.h",
243 "core/include/fpdfapi/fpdf_resource.h",
244 "core/include/fpdfapi/fpdf_serial.h",
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400245 "core/include/fpdfapi/fpdfapi.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700246 "core/src/fpdfapi/fpdf_basic_module.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700247 "core/src/fpdfapi/fpdf_cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp",
248 "core/src/fpdfapi/fpdf_cmaps/CNS1/B5pc-H_0.cpp",
249 "core/src/fpdfapi/fpdf_cmaps/CNS1/B5pc-V_0.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700250 "core/src/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-H_0.cpp",
251 "core/src/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-V_0.cpp",
252 "core/src/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-H_0.cpp",
253 "core/src/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-V_0.cpp",
254 "core/src/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-H_0.cpp",
255 "core/src/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-V_0.cpp",
256 "core/src/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-H_5.cpp",
257 "core/src/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-V_5.cpp",
258 "core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-H_3.cpp",
259 "core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-V_3.cpp",
260 "core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UTF16-H_0.cpp",
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400261 "core/src/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700262 "core/src/fpdfapi/fpdf_cmaps/GB1/Adobe-GB1-UCS2_5.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700263 "core/src/fpdfapi/fpdf_cmaps/GB1/GB-EUC-H_0.cpp",
264 "core/src/fpdfapi/fpdf_cmaps/GB1/GB-EUC-V_0.cpp",
265 "core/src/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-H_2.cpp",
266 "core/src/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-V_2.cpp",
267 "core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-H_5.cpp",
268 "core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp",
269 "core/src/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-H_2.cpp",
270 "core/src/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-V_2.cpp",
271 "core/src/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-H_0.cpp",
272 "core/src/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-V_0.cpp",
273 "core/src/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-H_4.cpp",
274 "core/src/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-V_4.cpp",
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400275 "core/src/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700276 "core/src/fpdfapi/fpdf_cmaps/Japan1/83pv-RKSJ-H_1.cpp",
277 "core/src/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-H_2.cpp",
278 "core/src/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-V_2.cpp",
279 "core/src/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-H_2.cpp",
280 "core/src/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-V_2.cpp",
281 "core/src/fpdfapi/fpdf_cmaps/Japan1/90pv-RKSJ-H_1.cpp",
282 "core/src/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-H_1.cpp",
283 "core/src/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-V_1.cpp",
284 "core/src/fpdfapi/fpdf_cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700285 "core/src/fpdfapi/fpdf_cmaps/Japan1/EUC-H_1.cpp",
286 "core/src/fpdfapi/fpdf_cmaps/Japan1/EUC-V_1.cpp",
287 "core/src/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-H_2.cpp",
288 "core/src/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-V_2.cpp",
289 "core/src/fpdfapi/fpdf_cmaps/Japan1/H_1.cpp",
290 "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp",
291 "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp",
292 "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-H_4.cpp",
293 "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-V_4.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700294 "core/src/fpdfapi/fpdf_cmaps/Japan1/V_1.cpp",
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400295 "core/src/fpdfapi/fpdf_cmaps/Japan1/cmaps_japan1.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700296 "core/src/fpdfapi/fpdf_cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700297 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-H_0.cpp",
298 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-V_0.cpp",
299 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-H_1.cpp",
300 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-V_1.cpp",
301 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-H_1.cpp",
302 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-V_1.cpp",
303 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCpc-EUC-H_0.cpp",
304 "core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-H_1.cpp",
305 "core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-V_1.cpp",
306 "core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UTF16-H_0.cpp",
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400307 "core/src/fpdfapi/fpdf_cmaps/Korea1/cmaps_korea1.cpp",
308 "core/src/fpdfapi/fpdf_cmaps/cmap_int.h",
309 "core/src/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700310 "core/src/fpdfapi/fpdf_edit/editint.h",
311 "core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp",
312 "core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp",
313 "core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp",
314 "core/src/fpdfapi/fpdf_edit/fpdf_edit_image.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700315 "core/src/fpdfapi/fpdf_font/font_int.h",
316 "core/src/fpdfapi/fpdf_font/fpdf_font.cpp",
317 "core/src/fpdfapi/fpdf_font/fpdf_font_charset.cpp",
318 "core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700319 "core/src/fpdfapi/fpdf_font/ttgsubtable.cpp",
320 "core/src/fpdfapi/fpdf_font/ttgsubtable.h",
321 "core/src/fpdfapi/fpdf_page/fpdf_page.cpp",
322 "core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp",
323 "core/src/fpdfapi/fpdf_page/fpdf_page_doc.cpp",
324 "core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp",
325 "core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp",
326 "core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp",
327 "core/src/fpdfapi/fpdf_page/fpdf_page_parser.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700328 "core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp",
329 "core/src/fpdfapi/fpdf_page/fpdf_page_path.cpp",
330 "core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp",
331 "core/src/fpdfapi/fpdf_page/pageint.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700332 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp",
333 "core/src/fpdfapi/fpdf_parser/fpdf_parser_document.cpp",
334 "core/src/fpdfapi/fpdf_parser/fpdf_parser_encrypt.cpp",
335 "core/src/fpdfapi/fpdf_parser/fpdf_parser_fdf.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700336 "core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp",
337 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp",
338 "core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp",
Jun Fangdf7f3662015-11-10 18:29:18 +0800339 "core/src/fpdfapi/fpdf_parser/parser_int.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700340 "core/src/fpdfapi/fpdf_render/fpdf_render.cpp",
341 "core/src/fpdfapi/fpdf_render/fpdf_render_cache.cpp",
342 "core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp",
343 "core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp",
344 "core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp",
345 "core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp",
346 "core/src/fpdfapi/fpdf_render/render_int.h",
347 ]
Lei Zhang476ac132015-11-05 20:07:27 -0800348 configs += [ ":pdfium_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700349}
350
351static_library("fpdftext") {
352 sources = [
353 "core/include/fpdftext/fpdf_text.h",
354 "core/src/fpdftext/fpdf_text.cpp",
355 "core/src/fpdftext/fpdf_text_int.cpp",
356 "core/src/fpdftext/fpdf_text_search.cpp",
357 "core/src/fpdftext/text_int.h",
358 "core/src/fpdftext/txtproc.h",
359 "core/src/fpdftext/unicodenormalization.cpp",
360 "core/src/fpdftext/unicodenormalizationdata.cpp",
Tom Sepez7da98032015-08-19 10:42:45 -0700361 "core/src/fpdftext/unicodenormalizationdata.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700362 ]
Lei Zhang476ac132015-11-05 20:07:27 -0800363 configs += [ ":pdfium_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700364}
365
366static_library("fxcodec") {
Tom Sepez8be55752015-06-17 11:05:02 -0700367 deps = [
368 "third_party:fx_lcms2",
Tom Sepez6fd997b2015-06-18 17:51:37 -0700369 "third_party:fx_libopenjpeg",
Tom Sepez5ef9faa2015-10-12 15:43:01 -0700370 "third_party:fx_lpng",
371 "third_party:fx_tiff",
Tom Sepez6f93de52015-06-19 12:57:10 -0700372 "third_party:fx_zlib",
Lei Zhang8241df72015-11-06 14:38:48 -0800373
374 # This is a generic JPEG library dependency.
375 "//third_party:jpeg",
Tom Sepez8be55752015-06-17 11:05:02 -0700376 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700377 sources = [
378 "core/include/fxcodec/fx_codec.h",
379 "core/include/fxcodec/fx_codec_def.h",
Tom Sepezb2552022015-07-14 16:43:54 -0700380 "core/include/fxcodec/fx_codec_flate.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700381 "core/src/fxcodec/codec/codec_int.h",
382 "core/src/fxcodec/codec/fx_codec.cpp",
Tom Sepezc706fc02014-11-14 13:39:20 -0800383 "core/src/fxcodec/codec/fx_codec_bmp.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700384 "core/src/fxcodec/codec/fx_codec_fax.cpp",
385 "core/src/fxcodec/codec/fx_codec_flate.cpp",
Tom Sepezc706fc02014-11-14 13:39:20 -0800386 "core/src/fxcodec/codec/fx_codec_gif.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700387 "core/src/fxcodec/codec/fx_codec_icc.cpp",
388 "core/src/fxcodec/codec/fx_codec_jbig.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700389 "core/src/fxcodec/codec/fx_codec_jpeg.cpp",
390 "core/src/fxcodec/codec/fx_codec_jpx_opj.cpp",
Tom Sepezc706fc02014-11-14 13:39:20 -0800391 "core/src/fxcodec/codec/fx_codec_png.cpp",
392 "core/src/fxcodec/codec/fx_codec_progress.cpp",
393 "core/src/fxcodec/codec/fx_codec_progress.h",
394 "core/src/fxcodec/codec/fx_codec_tiff.cpp",
Lei Zhangb060a552015-09-24 01:13:26 -0700395 "core/src/fxcodec/jbig2/JBig2_ArithDecoder.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700396 "core/src/fxcodec/jbig2/JBig2_ArithDecoder.h",
397 "core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp",
398 "core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.h",
Lei Zhang4e568672015-10-07 21:33:55 -0700399 "core/src/fxcodec/jbig2/JBig2_BitStream.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700400 "core/src/fxcodec/jbig2/JBig2_BitStream.h",
401 "core/src/fxcodec/jbig2/JBig2_Context.cpp",
402 "core/src/fxcodec/jbig2/JBig2_Context.h",
403 "core/src/fxcodec/jbig2/JBig2_Define.h",
Lei Zhangb060a552015-09-24 01:13:26 -0700404 "core/src/fxcodec/jbig2/JBig2_GrdProc.cpp",
405 "core/src/fxcodec/jbig2/JBig2_GrdProc.h",
406 "core/src/fxcodec/jbig2/JBig2_GrrdProc.cpp",
407 "core/src/fxcodec/jbig2/JBig2_GrrdProc.h",
408 "core/src/fxcodec/jbig2/JBig2_GsidProc.cpp",
409 "core/src/fxcodec/jbig2/JBig2_GsidProc.h",
410 "core/src/fxcodec/jbig2/JBig2_HtrdProc.cpp",
411 "core/src/fxcodec/jbig2/JBig2_HtrdProc.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700412 "core/src/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp",
413 "core/src/fxcodec/jbig2/JBig2_HuffmanDecoder.h",
414 "core/src/fxcodec/jbig2/JBig2_HuffmanTable.cpp",
415 "core/src/fxcodec/jbig2/JBig2_HuffmanTable.h",
416 "core/src/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h",
417 "core/src/fxcodec/jbig2/JBig2_Image.cpp",
418 "core/src/fxcodec/jbig2/JBig2_Image.h",
419 "core/src/fxcodec/jbig2/JBig2_List.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700420 "core/src/fxcodec/jbig2/JBig2_Page.h",
421 "core/src/fxcodec/jbig2/JBig2_PatternDict.cpp",
422 "core/src/fxcodec/jbig2/JBig2_PatternDict.h",
Lei Zhangb060a552015-09-24 01:13:26 -0700423 "core/src/fxcodec/jbig2/JBig2_PddProc.cpp",
424 "core/src/fxcodec/jbig2/JBig2_PddProc.h",
425 "core/src/fxcodec/jbig2/JBig2_SddProc.cpp",
426 "core/src/fxcodec/jbig2/JBig2_SddProc.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700427 "core/src/fxcodec/jbig2/JBig2_Segment.cpp",
428 "core/src/fxcodec/jbig2/JBig2_Segment.h",
429 "core/src/fxcodec/jbig2/JBig2_SymbolDict.cpp",
430 "core/src/fxcodec/jbig2/JBig2_SymbolDict.h",
Lei Zhangb060a552015-09-24 01:13:26 -0700431 "core/src/fxcodec/jbig2/JBig2_TrdProc.cpp",
432 "core/src/fxcodec/jbig2/JBig2_TrdProc.h",
Tom Sepezc706fc02014-11-14 13:39:20 -0800433 "core/src/fxcodec/lbmp/fx_bmp.cpp",
434 "core/src/fxcodec/lbmp/fx_bmp.h",
Tom Sepezc706fc02014-11-14 13:39:20 -0800435 "core/src/fxcodec/lgif/fx_gif.cpp",
436 "core/src/fxcodec/lgif/fx_gif.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700437 ]
Lei Zhang8241df72015-11-06 14:38:48 -0800438 include_dirs = []
John Abd-El-Malekdef5c7d2014-06-09 16:07:18 -0700439
440 if (is_posix) {
441 # core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int
442 # conversion to check that an address is 16-bit aligned (benign).
443 cflags_c = [ "-Wno-pointer-to-int-cast" ]
444 }
Lei Zhang476ac132015-11-05 20:07:27 -0800445 configs += [ ":pdfium_config" ]
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400446}
447
448config("fxge_warnings") {
449 if (is_clang) {
450 cflags = [
451 # http://code.google.com/p/pdfium/issues/detail?id=188
452 "-Wno-switch",
453 ]
454 }
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700455}
456
457static_library("fxcrt") {
458 sources = [
459 "core/include/fxcrt/fx_arb.h",
460 "core/include/fxcrt/fx_basic.h",
Lei Zhangee02ea32015-10-29 15:01:55 -0700461 "core/include/fxcrt/fx_bidi.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700462 "core/include/fxcrt/fx_coordinates.h",
463 "core/include/fxcrt/fx_ext.h",
464 "core/include/fxcrt/fx_memory.h",
Tom Sepez6675a802015-06-04 19:05:21 -0700465 "core/include/fxcrt/fx_safe_types.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700466 "core/include/fxcrt/fx_stream.h",
467 "core/include/fxcrt/fx_string.h",
468 "core/include/fxcrt/fx_system.h",
469 "core/include/fxcrt/fx_ucd.h",
470 "core/include/fxcrt/fx_xml.h",
471 "core/src/fxcrt/extension.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700472 "core/src/fxcrt/fx_arabic.cpp",
473 "core/src/fxcrt/fx_arabic.h",
474 "core/src/fxcrt/fx_basic_array.cpp",
475 "core/src/fxcrt/fx_basic_bstring.cpp",
476 "core/src/fxcrt/fx_basic_buffer.cpp",
477 "core/src/fxcrt/fx_basic_coords.cpp",
478 "core/src/fxcrt/fx_basic_gcc.cpp",
479 "core/src/fxcrt/fx_basic_list.cpp",
480 "core/src/fxcrt/fx_basic_maps.cpp",
481 "core/src/fxcrt/fx_basic_memmgr.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700482 "core/src/fxcrt/fx_basic_plex.cpp",
483 "core/src/fxcrt/fx_basic_utf.cpp",
484 "core/src/fxcrt/fx_basic_util.cpp",
485 "core/src/fxcrt/fx_basic_wstring.cpp",
Lei Zhangee02ea32015-10-29 15:01:55 -0700486 "core/src/fxcrt/fx_bidi.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700487 "core/src/fxcrt/fx_extension.cpp",
488 "core/src/fxcrt/fx_ucddata.cpp",
489 "core/src/fxcrt/fx_unicode.cpp",
490 "core/src/fxcrt/fx_xml_composer.cpp",
491 "core/src/fxcrt/fx_xml_parser.cpp",
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400492 "core/src/fxcrt/fxcrt_platforms.cpp",
493 "core/src/fxcrt/fxcrt_platforms.h",
494 "core/src/fxcrt/fxcrt_posix.cpp",
495 "core/src/fxcrt/fxcrt_posix.h",
496 "core/src/fxcrt/fxcrt_windows.cpp",
497 "core/src/fxcrt/fxcrt_windows.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700498 "core/src/fxcrt/plex.h",
499 "core/src/fxcrt/xml_int.h",
500 ]
Lei Zhang476ac132015-11-05 20:07:27 -0800501 configs += [ ":pdfium_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700502}
503
504static_library("fxge") {
Tom Sepezb7d358b2015-06-17 10:01:00 -0700505 deps = [
506 "third_party:fx_agg",
507 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700508 sources = [
509 "core/include/fxge/fpf.h",
510 "core/include/fxge/fx_dib.h",
511 "core/include/fxge/fx_font.h",
512 "core/include/fxge/fx_freetype.h",
513 "core/include/fxge/fx_ge.h",
514 "core/include/fxge/fx_ge_apple.h",
515 "core/include/fxge/fx_ge_win32.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700516 "core/src/fxge/agg/include/fx_agg_driver.h",
Tom Sepezb7d358b2015-06-17 10:01:00 -0700517 "core/src/fxge/agg/src/fx_agg_driver.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700518 "core/src/fxge/android/fpf_skiafont.cpp",
519 "core/src/fxge/android/fpf_skiafont.h",
520 "core/src/fxge/android/fpf_skiafontmgr.cpp",
521 "core/src/fxge/android/fpf_skiafontmgr.h",
522 "core/src/fxge/android/fpf_skiamodule.cpp",
523 "core/src/fxge/android/fpf_skiamodule.h",
524 "core/src/fxge/android/fx_android_font.cpp",
525 "core/src/fxge/android/fx_android_font.h",
526 "core/src/fxge/android/fx_android_imp.cpp",
527 "core/src/fxge/android/fx_fpf.h",
528 "core/src/fxge/apple/apple_int.h",
529 "core/src/fxge/apple/fx_apple_platform.cpp",
530 "core/src/fxge/apple/fx_mac_imp.cpp",
531 "core/src/fxge/apple/fx_quartz_device.cpp",
532 "core/src/fxge/dib/dib_int.h",
533 "core/src/fxge/dib/fx_dib_composite.cpp",
534 "core/src/fxge/dib/fx_dib_convert.cpp",
535 "core/src/fxge/dib/fx_dib_engine.cpp",
536 "core/src/fxge/dib/fx_dib_main.cpp",
537 "core/src/fxge/dib/fx_dib_transform.cpp",
538 "core/src/fxge/fontdata/chromefontdata/FoxitDingbats.c",
539 "core/src/fxge/fontdata/chromefontdata/FoxitFixed.c",
540 "core/src/fxge/fontdata/chromefontdata/FoxitFixedBold.c",
541 "core/src/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.c",
542 "core/src/fxge/fontdata/chromefontdata/FoxitFixedItalic.c",
543 "core/src/fxge/fontdata/chromefontdata/FoxitSans.c",
544 "core/src/fxge/fontdata/chromefontdata/FoxitSansBold.c",
545 "core/src/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.c",
546 "core/src/fxge/fontdata/chromefontdata/FoxitSansItalic.c",
547 "core/src/fxge/fontdata/chromefontdata/FoxitSansMM.c",
548 "core/src/fxge/fontdata/chromefontdata/FoxitSerif.c",
549 "core/src/fxge/fontdata/chromefontdata/FoxitSerifBold.c",
550 "core/src/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.c",
551 "core/src/fxge/fontdata/chromefontdata/FoxitSerifItalic.c",
552 "core/src/fxge/fontdata/chromefontdata/FoxitSerifMM.c",
553 "core/src/fxge/fontdata/chromefontdata/FoxitSymbol.c",
Lei Zhang8241df72015-11-06 14:38:48 -0800554 "core/src/fxge/fontdata/chromefontdata/chromefontdata.h",
Bo Xu4c764f32014-12-19 14:29:17 -0800555 "core/src/fxge/freetype/fx_freetype.c",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700556 "core/src/fxge/ge/fx_ge.cpp",
557 "core/src/fxge/ge/fx_ge_device.cpp",
558 "core/src/fxge/ge/fx_ge_font.cpp",
559 "core/src/fxge/ge/fx_ge_fontmap.cpp",
560 "core/src/fxge/ge/fx_ge_linux.cpp",
561 "core/src/fxge/ge/fx_ge_path.cpp",
562 "core/src/fxge/ge/fx_ge_ps.cpp",
563 "core/src/fxge/ge/fx_ge_text.cpp",
564 "core/src/fxge/ge/text_int.h",
565 ]
566
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400567 configs += [
Lei Zhang7b16ba52015-10-26 17:06:53 -0700568 ":fxge_warnings",
Lei Zhang476ac132015-11-05 20:07:27 -0800569 ":pdfium_config",
Dan Sinclairbc6c6722015-10-22 14:58:54 -0400570 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700571
572 if (pdf_use_skia) {
573 sources = [
574 "core/src/fxge/skia/fx_skia_blitter_new.cpp",
575 "core/src/fxge/skia/fx_skia_device.cpp",
576 ]
577 include_dirs = [
578 "//third_party/skia/include/config",
579 "//third_party/skia/include/core",
580 "//third_party/skia/include/effects",
581 "//third_party/skia/include/images",
582 "//third_party/skia/include/lazy",
583 "//third_party/skia/include/pathops",
584 "//third_party/skia/include/utils",
585 "//third_party/skia/src/core",
586 ]
Lei Zhang8241df72015-11-06 14:38:48 -0800587 deps = [
588 "//skia",
589 ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700590 }
591
592 if (is_win) {
593 sources += [
594 "core/src/fxge/win32/dwrite_int.h",
595 "core/src/fxge/win32/fx_win32_device.cpp",
596 "core/src/fxge/win32/fx_win32_dib.cpp",
597 "core/src/fxge/win32/fx_win32_dwrite.cpp",
598 "core/src/fxge/win32/fx_win32_gdipext.cpp",
599 "core/src/fxge/win32/fx_win32_print.cpp",
600 "core/src/fxge/win32/win32_int.h",
601 ]
602 configs -= [
603 "//build/config/win:lean_and_mean",
604 "//build/config/win:nominmax",
605 ]
606 }
607}
608
609static_library("fxedit") {
610 sources = [
611 "fpdfsdk/include/fxedit/fx_edit.h",
612 "fpdfsdk/include/fxedit/fxet_edit.h",
613 "fpdfsdk/include/fxedit/fxet_list.h",
614 "fpdfsdk/include/fxedit/fxet_stub.h",
615 "fpdfsdk/src/fxedit/fxet_ap.cpp",
616 "fpdfsdk/src/fxedit/fxet_edit.cpp",
617 "fpdfsdk/src/fxedit/fxet_list.cpp",
618 "fpdfsdk/src/fxedit/fxet_module.cpp",
619 "fpdfsdk/src/fxedit/fxet_pageobjs.cpp",
620 ]
Lei Zhang476ac132015-11-05 20:07:27 -0800621 configs += [ ":pdfium_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700622}
623
624static_library("pdfwindow") {
625 sources = [
626 "fpdfsdk/include/pdfwindow/IPDFWindow.h",
627 "fpdfsdk/include/pdfwindow/PDFWindow.h",
628 "fpdfsdk/include/pdfwindow/PWL_Button.h",
629 "fpdfsdk/include/pdfwindow/PWL_Caret.h",
630 "fpdfsdk/include/pdfwindow/PWL_ComboBox.h",
631 "fpdfsdk/include/pdfwindow/PWL_Edit.h",
632 "fpdfsdk/include/pdfwindow/PWL_EditCtrl.h",
633 "fpdfsdk/include/pdfwindow/PWL_FontMap.h",
634 "fpdfsdk/include/pdfwindow/PWL_Icon.h",
635 "fpdfsdk/include/pdfwindow/PWL_IconList.h",
636 "fpdfsdk/include/pdfwindow/PWL_Label.h",
637 "fpdfsdk/include/pdfwindow/PWL_ListBox.h",
638 "fpdfsdk/include/pdfwindow/PWL_ListCtrl.h",
639 "fpdfsdk/include/pdfwindow/PWL_Note.h",
640 "fpdfsdk/include/pdfwindow/PWL_ScrollBar.h",
641 "fpdfsdk/include/pdfwindow/PWL_Signature.h",
642 "fpdfsdk/include/pdfwindow/PWL_SpecialButton.h",
643 "fpdfsdk/include/pdfwindow/PWL_Utils.h",
644 "fpdfsdk/include/pdfwindow/PWL_Wnd.h",
645 "fpdfsdk/src/pdfwindow/PWL_Button.cpp",
646 "fpdfsdk/src/pdfwindow/PWL_Caret.cpp",
647 "fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp",
648 "fpdfsdk/src/pdfwindow/PWL_Edit.cpp",
649 "fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp",
650 "fpdfsdk/src/pdfwindow/PWL_FontMap.cpp",
651 "fpdfsdk/src/pdfwindow/PWL_Icon.cpp",
652 "fpdfsdk/src/pdfwindow/PWL_IconList.cpp",
653 "fpdfsdk/src/pdfwindow/PWL_Label.cpp",
654 "fpdfsdk/src/pdfwindow/PWL_ListBox.cpp",
655 "fpdfsdk/src/pdfwindow/PWL_ListCtrl.cpp",
656 "fpdfsdk/src/pdfwindow/PWL_Note.cpp",
657 "fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp",
658 "fpdfsdk/src/pdfwindow/PWL_Signature.cpp",
659 "fpdfsdk/src/pdfwindow/PWL_SpecialButton.cpp",
660 "fpdfsdk/src/pdfwindow/PWL_Utils.cpp",
661 "fpdfsdk/src/pdfwindow/PWL_Wnd.cpp",
662 ]
Lei Zhang476ac132015-11-05 20:07:27 -0800663 configs += [ ":pdfium_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700664}
665
666static_library("javascript") {
667 sources = [
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700668 "fpdfsdk/include/javascript/IJavaScript.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700669 ]
Tom Sepez452b4f32015-10-13 09:27:27 -0700670 if (pdf_enable_v8) {
671 sources += [
Lei Zhang8241df72015-11-06 14:38:48 -0800672 "fpdfsdk/include/jsapi/fxjs_v8.h",
Tom Sepez452b4f32015-10-13 09:27:27 -0700673 "fpdfsdk/src/javascript/Consts.cpp",
674 "fpdfsdk/src/javascript/Consts.h",
675 "fpdfsdk/src/javascript/Document.cpp",
676 "fpdfsdk/src/javascript/Document.h",
677 "fpdfsdk/src/javascript/Field.cpp",
678 "fpdfsdk/src/javascript/Field.h",
679 "fpdfsdk/src/javascript/Icon.cpp",
680 "fpdfsdk/src/javascript/Icon.h",
681 "fpdfsdk/src/javascript/JS_Context.cpp",
682 "fpdfsdk/src/javascript/JS_Context.h",
683 "fpdfsdk/src/javascript/JS_Define.h",
684 "fpdfsdk/src/javascript/JS_EventHandler.cpp",
685 "fpdfsdk/src/javascript/JS_EventHandler.h",
686 "fpdfsdk/src/javascript/JS_GlobalData.cpp",
687 "fpdfsdk/src/javascript/JS_GlobalData.h",
688 "fpdfsdk/src/javascript/JS_Object.cpp",
689 "fpdfsdk/src/javascript/JS_Object.h",
690 "fpdfsdk/src/javascript/JS_Runtime.cpp",
691 "fpdfsdk/src/javascript/JS_Runtime.h",
692 "fpdfsdk/src/javascript/JS_Value.cpp",
693 "fpdfsdk/src/javascript/JS_Value.h",
694 "fpdfsdk/src/javascript/PublicMethods.cpp",
695 "fpdfsdk/src/javascript/PublicMethods.h",
696 "fpdfsdk/src/javascript/app.cpp",
697 "fpdfsdk/src/javascript/app.h",
698 "fpdfsdk/src/javascript/color.cpp",
699 "fpdfsdk/src/javascript/color.h",
700 "fpdfsdk/src/javascript/console.cpp",
701 "fpdfsdk/src/javascript/console.h",
702 "fpdfsdk/src/javascript/event.cpp",
703 "fpdfsdk/src/javascript/event.h",
704 "fpdfsdk/src/javascript/global.cpp",
705 "fpdfsdk/src/javascript/global.h",
706 "fpdfsdk/src/javascript/report.cpp",
707 "fpdfsdk/src/javascript/report.h",
708 "fpdfsdk/src/javascript/resource.cpp",
709 "fpdfsdk/src/javascript/resource.h",
710 "fpdfsdk/src/javascript/util.cpp",
711 "fpdfsdk/src/javascript/util.h",
Tom Sepez452b4f32015-10-13 09:27:27 -0700712 "fpdfsdk/src/jsapi/fxjs_v8.cpp",
713 ]
714 include_dirs = [
715 "//v8",
716 "//v8/include",
717 ]
718 public_deps = [
719 "//v8",
720 ]
721 } else {
722 sources += [ "fpdfsdk/src/javascript/JS_Runtime_Stub.cpp" ]
723 }
Lei Zhang476ac132015-11-05 20:07:27 -0800724 configs += [ ":pdfium_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700725}
726
727static_library("formfiller") {
728 sources = [
729 "fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h",
730 "fpdfsdk/include/formfiller/FFL_CheckBox.h",
731 "fpdfsdk/include/formfiller/FFL_ComboBox.h",
732 "fpdfsdk/include/formfiller/FFL_FormFiller.h",
733 "fpdfsdk/include/formfiller/FFL_IFormFiller.h",
734 "fpdfsdk/include/formfiller/FFL_ListBox.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700735 "fpdfsdk/include/formfiller/FFL_PushButton.h",
736 "fpdfsdk/include/formfiller/FFL_RadioButton.h",
737 "fpdfsdk/include/formfiller/FFL_TextField.h",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700738 "fpdfsdk/include/formfiller/FormFiller.h",
739 "fpdfsdk/src/formfiller/FFL_CBA_Fontmap.cpp",
740 "fpdfsdk/src/formfiller/FFL_CheckBox.cpp",
741 "fpdfsdk/src/formfiller/FFL_ComboBox.cpp",
742 "fpdfsdk/src/formfiller/FFL_FormFiller.cpp",
743 "fpdfsdk/src/formfiller/FFL_IFormFiller.cpp",
744 "fpdfsdk/src/formfiller/FFL_ListBox.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700745 "fpdfsdk/src/formfiller/FFL_PushButton.cpp",
746 "fpdfsdk/src/formfiller/FFL_RadioButton.cpp",
747 "fpdfsdk/src/formfiller/FFL_TextField.cpp",
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700748 ]
Lei Zhang476ac132015-11-05 20:07:27 -0800749 configs += [ ":pdfium_config" ]
John Abd-El-Malekd68f9a32014-06-05 12:45:33 -0700750}
Tom Sepezc706fc02014-11-14 13:39:20 -0800751
752static_library("fpdfxfa") {
753 sources = [
754 "fpdfsdk/src/fpdfxfa/fpdfxfa_app.cpp",
755 "fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp",
756 "fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp",
757 "fpdfsdk/src/fpdfxfa/fpdfxfa_util.cpp",
758 "fpdfsdk/include/fpdfxfa/fpdfxfa_app.h",
759 "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h",
760 "fpdfsdk/include/fpdfxfa/fpdfxfa_page.h",
761 "fpdfsdk/include/fpdfxfa/fpdfxfa_util.h",
762 ]
763 deps = [
764 ":xfa",
765 ]
766 configs -= [ "//build/config/compiler:chromium_code" ]
767 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
768}
769
770static_library("xfa") {
771 sources = [
772 "xfa/include/foxitxfa.h",
773 "xfa/include/fwl/adapter/fwl_adapterclipboardmgr.h",
774 "xfa/include/fwl/adapter/fwl_adaptercursormgr.h",
775 "xfa/include/fwl/adapter/fwl_adaptermonitormgr.h",
776 "xfa/include/fwl/adapter/fwl_adapternative.h",
777 "xfa/include/fwl/adapter/fwl_adapterthreadmgr.h",
778 "xfa/include/fwl/adapter/fwl_adaptertimermgr.h",
779 "xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h",
780 "xfa/include/fwl/adapter/fwl_sdadapterimp.h",
781 "xfa/include/fwl/basewidget/fwl_barcode.h",
782 "xfa/include/fwl/basewidget/fwl_caret.h",
783 "xfa/include/fwl/basewidget/fwl_checkbox.h",
784 "xfa/include/fwl/basewidget/fwl_combobox.h",
785 "xfa/include/fwl/basewidget/fwl_datetimepicker.h",
786 "xfa/include/fwl/basewidget/fwl_edit.h",
787 "xfa/include/fwl/basewidget/fwl_listbox.h",
788 "xfa/include/fwl/basewidget/fwl_menu.h",
789 "xfa/include/fwl/basewidget/fwl_monthcalendar.h",
790 "xfa/include/fwl/basewidget/fwl_picturebox.h",
791 "xfa/include/fwl/basewidget/fwl_pushbutton.h",
792 "xfa/include/fwl/basewidget/fwl_scrollbar.h",
793 "xfa/include/fwl/basewidget/fwl_spinbutton.h",
794 "xfa/include/fwl/basewidget/fwl_tooltipctrl.h",
795 "xfa/include/fwl/basewidget/fxmath_barcode.h",
796 "xfa/include/fwl/core/fwl_app.h",
797 "xfa/include/fwl/core/fwl_content.h",
798 "xfa/include/fwl/core/fwl_error.h",
799 "xfa/include/fwl/core/fwl_form.h",
800 "xfa/include/fwl/core/fwl_grid.h",
801 "xfa/include/fwl/core/fwl_note.h",
802 "xfa/include/fwl/core/fwl_panel.h",
803 "xfa/include/fwl/core/fwl_target.h",
804 "xfa/include/fwl/core/fwl_theme.h",
805 "xfa/include/fwl/core/fwl_thread.h",
806 "xfa/include/fwl/core/fwl_timer.h",
807 "xfa/include/fwl/core/fwl_widget.h",
808 "xfa/include/fwl/core/fwl_widgetdef.h",
809 "xfa/include/fwl/core/fwl_widgetmgr.h",
810 "xfa/include/fwl/fwl.h",
811 "xfa/include/fwl/lightwidget/app.h",
812 "xfa/include/fwl/lightwidget/barcode.h",
813 "xfa/include/fwl/lightwidget/caret.h",
814 "xfa/include/fwl/lightwidget/checkbox.h",
815 "xfa/include/fwl/lightwidget/combobox.h",
816 "xfa/include/fwl/lightwidget/datetimepicker.h",
817 "xfa/include/fwl/lightwidget/edit.h",
818 "xfa/include/fwl/lightwidget/listbox.h",
819 "xfa/include/fwl/lightwidget/picturebox.h",
820 "xfa/include/fwl/lightwidget/pushbutton.h",
821 "xfa/include/fwl/lightwidget/scrollbar.h",
822 "xfa/include/fwl/lightwidget/theme.h",
823 "xfa/include/fwl/lightwidget/tooltipctrl.h",
824 "xfa/include/fwl/lightwidget/widget.h",
825 "xfa/include/fwl/theme/barcodetp.h",
826 "xfa/include/fwl/theme/carettp.h",
827 "xfa/include/fwl/theme/checkboxtp.h",
828 "xfa/include/fwl/theme/comboboxtp.h",
829 "xfa/include/fwl/theme/datetimepickertp.h",
830 "xfa/include/fwl/theme/edittp.h",
831 "xfa/include/fwl/theme/formtp.h",
832 "xfa/include/fwl/theme/listboxtp.h",
833 "xfa/include/fwl/theme/monthcalendartp.h",
834 "xfa/include/fwl/theme/pictureboxtp.h",
835 "xfa/include/fwl/theme/pushbuttontp.h",
836 "xfa/include/fwl/theme/scrollbartp.h",
837 "xfa/include/fwl/theme/utils.h",
838 "xfa/include/fwl/theme/widgettp.h",
839 "xfa/include/fxbarcode/BC_BarCode.h",
840 "xfa/include/fxfa/fxfa.h",
841 "xfa/include/fxfa/fxfa_basic.h",
842 "xfa/include/fxfa/fxfa_objectacc.h",
843 "xfa/include/fxfa/fxfa_widget.h",
844 "xfa/include/fxgraphics/fx_graphics.h",
845 "xfa/include/fxjse/fxjse.h",
846 "xfa/src/fdp/include/fde.h",
847 "xfa/src/fdp/include/fde_brs.h",
848 "xfa/src/fdp/include/fde_css.h",
849 "xfa/src/fdp/include/fde_img.h",
850 "xfa/src/fdp/include/fde_mem.h",
851 "xfa/src/fdp/include/fde_pen.h",
852 "xfa/src/fdp/include/fde_psr.h",
853 "xfa/src/fdp/include/fde_pth.h",
854 "xfa/src/fdp/include/fde_rdr.h",
855 "xfa/src/fdp/include/fde_rdv.h",
856 "xfa/src/fdp/include/fde_tto.h",
857 "xfa/src/fdp/include/fde_xml.h",
858 "xfa/src/fdp/src/css/fde_csscache.cpp",
859 "xfa/src/fdp/src/css/fde_csscache.h",
860 "xfa/src/fdp/src/css/fde_cssdatatable.cpp",
861 "xfa/src/fdp/src/css/fde_cssdatatable.h",
862 "xfa/src/fdp/src/css/fde_cssdeclaration.cpp",
863 "xfa/src/fdp/src/css/fde_cssdeclaration.h",
864 "xfa/src/fdp/src/css/fde_cssstyleselector.cpp",
865 "xfa/src/fdp/src/css/fde_cssstyleselector.h",
866 "xfa/src/fdp/src/css/fde_cssstylesheet.cpp",
867 "xfa/src/fdp/src/css/fde_cssstylesheet.h",
868 "xfa/src/fdp/src/css/fde_csssyntax.cpp",
869 "xfa/src/fdp/src/css/fde_csssyntax.h",
870 "xfa/src/fdp/src/fde/fde_devbasic.cpp",
871 "xfa/src/fdp/src/fde/fde_devbasic.h",
872 "xfa/src/fdp/src/fde/fde_gedevice.cpp",
873 "xfa/src/fdp/src/fde/fde_gedevice.h",
874 "xfa/src/fdp/src/fde/fde_geobject.cpp",
875 "xfa/src/fdp/src/fde/fde_geobject.h",
876 "xfa/src/fdp/src/fde/fde_iterator.cpp",
877 "xfa/src/fdp/src/fde/fde_iterator.h",
878 "xfa/src/fdp/src/fde/fde_object.cpp",
879 "xfa/src/fdp/src/fde/fde_object.h",
880 "xfa/src/fdp/src/fde/fde_render.cpp",
881 "xfa/src/fdp/src/fde/fde_render.h",
882 "xfa/src/fdp/src/tto/fde_textout.cpp",
883 "xfa/src/fdp/src/tto/fde_textout.h",
884 "xfa/src/fdp/src/xml/fde_xml.cpp",
885 "xfa/src/fdp/src/xml/fde_xml.h",
886 "xfa/src/fee/include/fx_wordbreak.h",
887 "xfa/src/fee/include/ifde_txtedtbuf.h",
888 "xfa/src/fee/include/ifde_txtedtengine.h",
889 "xfa/src/fee/include/ifde_txtedtpage.h",
890 "xfa/src/fee/src/fee/fde_txtedtblock.cpp",
891 "xfa/src/fee/src/fee/fde_txtedtblock.h",
892 "xfa/src/fee/src/fee/fde_txtedtbuf.cpp",
893 "xfa/src/fee/src/fee/fde_txtedtbuf.h",
894 "xfa/src/fee/src/fee/fde_txtedtengine.cpp",
895 "xfa/src/fee/src/fee/fde_txtedtengine.h",
896 "xfa/src/fee/src/fee/fde_txtedtkmpmatch.cpp",
897 "xfa/src/fee/src/fee/fde_txtedtkmpmatch.h",
898 "xfa/src/fee/src/fee/fde_txtedtpage.cpp",
899 "xfa/src/fee/src/fee/fde_txtedtpage.h",
900 "xfa/src/fee/src/fee/fde_txtedtparag.cpp",
901 "xfa/src/fee/src/fee/fde_txtedtparag.h",
902 "xfa/src/fee/src/fx_wordbreak/fx_wordbreakdata.cpp",
903 "xfa/src/fee/src/fx_wordbreak/fx_wordbreak_impl.cpp",
904 "xfa/src/fee/src/fx_wordbreak/fx_wordbreak_impl.h",
905 "xfa/src/fgas/include/fgas.h",
906 "xfa/src/fgas/include/fx_alg.h",
907 "xfa/src/fgas/include/fx_cpg.h",
908 "xfa/src/fgas/include/fx_datetime.h",
909 "xfa/src/fgas/include/fx_fnt.h",
910 "xfa/src/fgas/include/fx_lbk.h",
911 "xfa/src/fgas/include/fx_lgg.h",
912 "xfa/src/fgas/include/fx_locale.h",
913 "xfa/src/fgas/include/fx_mem.h",
914 "xfa/src/fgas/include/fx_rbk.h",
915 "xfa/src/fgas/include/fx_sax.h",
916 "xfa/src/fgas/include/fx_stm.h",
917 "xfa/src/fgas/include/fx_sys.h",
918 "xfa/src/fgas/include/fx_tbk.h",
919 "xfa/src/fgas/include/fx_ucd.h",
920 "xfa/src/fgas/include/fx_utl.h",
921 "xfa/src/fgas/src/crt/fx_algorithm.cpp",
922 "xfa/src/fgas/src/crt/fx_codepage.cpp",
923 "xfa/src/fgas/src/crt/fx_codepage.h",
924 "xfa/src/fgas/src/crt/fx_encode.cpp",
925 "xfa/src/fgas/src/crt/fx_memory.cpp",
926 "xfa/src/fgas/src/crt/fx_memory.h",
927 "xfa/src/fgas/src/crt/fx_stream.cpp",
928 "xfa/src/fgas/src/crt/fx_stream.h",
929 "xfa/src/fgas/src/crt/fx_system.cpp",
930 "xfa/src/fgas/src/crt/fx_utils.cpp",
931 "xfa/src/fgas/src/crt/fx_utils.h",
932 "xfa/src/fgas/src/fgas_base.h",
933 "xfa/src/fgas/src/font/fx_fontutils.cpp",
934 "xfa/src/fgas/src/font/fx_fontutils.h",
935 "xfa/src/fgas/src/font/fx_gefont.cpp",
936 "xfa/src/fgas/src/font/fx_gefont.h",
937 "xfa/src/fgas/src/font/fx_stdfontmgr.cpp",
938 "xfa/src/fgas/src/font/fx_stdfontmgr.h",
939 "xfa/src/fgas/src/layout/fx_linebreak.cpp",
940 "xfa/src/fgas/src/layout/fx_rtfbreak.cpp",
941 "xfa/src/fgas/src/layout/fx_rtfbreak.h",
942 "xfa/src/fgas/src/layout/fx_textbreak.cpp",
943 "xfa/src/fgas/src/layout/fx_textbreak.h",
944 "xfa/src/fgas/src/layout/fx_unicode.cpp",
945 "xfa/src/fgas/src/layout/fx_unicode.h",
946 "xfa/src/fgas/src/localization/fx_datetime.cpp",
947 "xfa/src/fgas/src/localization/fx_locale.cpp",
948 "xfa/src/fgas/src/localization/fx_localeimp.h",
949 "xfa/src/fgas/src/localization/fx_localemgr.cpp",
950 "xfa/src/fgas/src/localization/fx_localemgr.h",
951 "xfa/src/fgas/src/xml/fx_sax_imp.cpp",
952 "xfa/src/fgas/src/xml/fx_sax_imp.h",
953 "xfa/src/foxitlib.h",
954 "xfa/src/fwl/src/basewidget/fwl_barcodeimp.cpp",
955 "xfa/src/fwl/src/basewidget/fwl_caretimp.cpp",
956 "xfa/src/fwl/src/basewidget/fwl_checkboximp.cpp",
957 "xfa/src/fwl/src/basewidget/fwl_comboboximp.cpp",
958 "xfa/src/fwl/src/basewidget/fwl_datetimepickerimp.cpp",
959 "xfa/src/fwl/src/basewidget/fwl_editimp.cpp",
960 "xfa/src/fwl/src/basewidget/fwl_formproxyimp.cpp",
961 "xfa/src/fwl/src/basewidget/fwl_listboximp.cpp",
962 "xfa/src/fwl/src/basewidget/fwl_monthcalendarimp.cpp",
963 "xfa/src/fwl/src/basewidget/fwl_pictureboximp.cpp",
964 "xfa/src/fwl/src/basewidget/fwl_pushbuttonimp.cpp",
965 "xfa/src/fwl/src/basewidget/fwl_scrollbarimp.cpp",
966 "xfa/src/fwl/src/basewidget/fwl_spinbuttonimp.cpp",
967 "xfa/src/fwl/src/basewidget/fwl_tooltipctrlimp.cpp",
968 "xfa/src/fwl/src/basewidget/fxmath_barcodeimp.cpp",
969 "xfa/src/fwl/src/basewidget/include/fwl_barcodeimp.h",
970 "xfa/src/fwl/src/basewidget/include/fwl_caretimp.h",
971 "xfa/src/fwl/src/basewidget/include/fwl_checkboximp.h",
972 "xfa/src/fwl/src/basewidget/include/fwl_comboboximp.h",
973 "xfa/src/fwl/src/basewidget/include/fwl_datetimepickerimp.h",
974 "xfa/src/fwl/src/basewidget/include/fwl_editimp.h",
975 "xfa/src/fwl/src/basewidget/include/fwl_formproxyimp.h",
976 "xfa/src/fwl/src/basewidget/include/fwl_listboximp.h",
977 "xfa/src/fwl/src/basewidget/include/fwl_monthcalendarimp.h",
978 "xfa/src/fwl/src/basewidget/include/fwl_pictureboximp.h",
979 "xfa/src/fwl/src/basewidget/include/fwl_pushbuttonimp.h",
980 "xfa/src/fwl/src/basewidget/include/fwl_scrollbarimp.h",
981 "xfa/src/fwl/src/basewidget/include/fwl_spinbuttonimp.h",
982 "xfa/src/fwl/src/basewidget/include/fwl_tooltipctrlimp.h",
983 "xfa/src/fwl/src/basewidget/include/fxmath_barcodeimp.h",
984 "xfa/src/fwl/src/core/fwl_appimp.cpp",
985 "xfa/src/fwl/src/core/fwl_contentimp.cpp",
986 "xfa/src/fwl/src/core/fwl_formimp.cpp",
987 "xfa/src/fwl/src/core/fwl_gridimp.cpp",
988 "xfa/src/fwl/src/core/fwl_noteimp.cpp",
989 "xfa/src/fwl/src/core/fwl_panelimp.cpp",
990 "xfa/src/fwl/src/core/fwl_sdadapterimp.cpp",
991 "xfa/src/fwl/src/core/fwl_targetimp.cpp",
992 "xfa/src/fwl/src/core/fwl_threadimp.cpp",
993 "xfa/src/fwl/src/core/fwl_timerimp.cpp",
994 "xfa/src/fwl/src/core/fwl_widgetimp.cpp",
995 "xfa/src/fwl/src/core/fwl_widgetmgrimp.cpp",
996 "xfa/src/fwl/src/core/include/fwl_appimp.h",
997 "xfa/src/fwl/src/core/include/fwl_contentimp.h",
998 "xfa/src/fwl/src/core/include/fwl_formimp.h",
999 "xfa/src/fwl/src/core/include/fwl_gridimp.h",
1000 "xfa/src/fwl/src/core/include/fwl_noteimp.h",
1001 "xfa/src/fwl/src/core/include/fwl_panelimp.h",
1002 "xfa/src/fwl/src/core/include/fwl_targetimp.h",
1003 "xfa/src/fwl/src/core/include/fwl_threadimp.h",
1004 "xfa/src/fwl/src/core/include/fwl_widgetimp.h",
1005 "xfa/src/fwl/src/core/include/fwl_widgetmgrimp.h",
1006 "xfa/src/fwl/src/lightwidget/app.cpp",
1007 "xfa/src/fwl/src/lightwidget/barcode.cpp",
1008 "xfa/src/fwl/src/lightwidget/caret.cpp",
1009 "xfa/src/fwl/src/lightwidget/checkbox.cpp",
1010 "xfa/src/fwl/src/lightwidget/combobox.cpp",
1011 "xfa/src/fwl/src/lightwidget/datetimepicker.cpp",
1012 "xfa/src/fwl/src/lightwidget/edit.cpp",
1013 "xfa/src/fwl/src/lightwidget/listbox.cpp",
1014 "xfa/src/fwl/src/lightwidget/picturebox.cpp",
1015 "xfa/src/fwl/src/lightwidget/pushbutton.cpp",
1016 "xfa/src/fwl/src/lightwidget/scrollbar.cpp",
1017 "xfa/src/fwl/src/lightwidget/theme.cpp",
1018 "xfa/src/fwl/src/lightwidget/tooltipctrl.cpp",
1019 "xfa/src/fwl/src/lightwidget/widget.cpp",
1020 "xfa/src/fwl/src/theme/barcodetp.cpp",
1021 "xfa/src/fwl/src/theme/carettp.cpp",
1022 "xfa/src/fwl/src/theme/checkboxtp.cpp",
1023 "xfa/src/fwl/src/theme/comboboxtp.cpp",
1024 "xfa/src/fwl/src/theme/datetimepickertp.cpp",
1025 "xfa/src/fwl/src/theme/edittp.cpp",
1026 "xfa/src/fwl/src/theme/formtp.cpp",
1027 "xfa/src/fwl/src/theme/listboxtp.cpp",
1028 "xfa/src/fwl/src/theme/monthcalendartp.cpp",
1029 "xfa/src/fwl/src/theme/pictureboxtp.cpp",
1030 "xfa/src/fwl/src/theme/pushbuttontp.cpp",
1031 "xfa/src/fwl/src/theme/scrollbartp.cpp",
1032 "xfa/src/fwl/src/theme/widgettp.cpp",
Bo Xua9029792015-01-09 17:27:21 -08001033 "xfa/src/fxbarcode/common/BC_CommonBitArray.cpp",
1034 "xfa/src/fxbarcode/common/BC_CommonBitMatrix.cpp",
1035 "xfa/src/fxbarcode/common/BC_CommonBitSource.cpp",
1036 "xfa/src/fxbarcode/common/BC_CommonByteArray.cpp",
1037 "xfa/src/fxbarcode/common/BC_CommonByteMatrix.cpp",
1038 "xfa/src/fxbarcode/common/BC_CommonCharacterSetECI.cpp",
1039 "xfa/src/fxbarcode/common/BC_CommonDecoderResult.cpp",
1040 "xfa/src/fxbarcode/common/BC_CommonECI.cpp",
1041 "xfa/src/fxbarcode/common/BC_CommonPerspectiveTransform.cpp",
1042 "xfa/src/fxbarcode/common/BC_CommonBitArray.h",
1043 "xfa/src/fxbarcode/common/BC_CommonBitMatrix.h",
1044 "xfa/src/fxbarcode/common/BC_CommonBitSource.h",
1045 "xfa/src/fxbarcode/common/BC_CommonByteArray.h",
1046 "xfa/src/fxbarcode/common/BC_CommonByteMatrix.h",
1047 "xfa/src/fxbarcode/common/BC_CommonCharacterSetECI.h",
1048 "xfa/src/fxbarcode/common/BC_CommonDecoderResult.h",
1049 "xfa/src/fxbarcode/common/BC_CommonECI.h",
1050 "xfa/src/fxbarcode/common/BC_CommonPerspectiveTransform.h",
1051 "xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.cpp",
1052 "xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h",
1053 "xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.cpp",
1054 "xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h",
1055 "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.cpp",
1056 "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonDecoder.cpp",
1057 "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.cpp",
1058 "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp",
1059 "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.h",
1060 "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonDecoder.h",
1061 "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h",
1062 "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h",
1063 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixBitMatrixParser.cpp",
1064 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDataBlock.cpp",
1065 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.cpp",
1066 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecoder.cpp",
1067 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDetector.cpp",
1068 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixReader.cpp",
1069 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.cpp",
1070 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.cpp",
1071 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp",
1072 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixBitMatrixParser.h",
1073 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDataBlock.h",
1074 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.h",
1075 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecoder.h",
1076 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDetector.h",
1077 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixReader.h",
1078 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.h",
1079 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.h",
1080 "xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.h",
1081 "xfa/src/fxbarcode/datamatrix/BC_ASCIIEncoder.cpp",
1082 "xfa/src/fxbarcode/datamatrix/BC_Base256Encoder.cpp",
1083 "xfa/src/fxbarcode/datamatrix/BC_C40Encoder.cpp",
1084 "xfa/src/fxbarcode/datamatrix/BC_EdifactEncoder.cpp",
1085 "xfa/src/fxbarcode/datamatrix/BC_EncoderContext.cpp",
1086 "xfa/src/fxbarcode/datamatrix/BC_ErrorCorrection.cpp",
1087 "xfa/src/fxbarcode/datamatrix/BC_SymbolInfo.cpp",
1088 "xfa/src/fxbarcode/datamatrix/BC_SymbolShapeHint.cpp",
1089 "xfa/src/fxbarcode/datamatrix/BC_TextEncoder.cpp",
1090 "xfa/src/fxbarcode/datamatrix/BC_X12Encoder.cpp",
1091 "xfa/src/fxbarcode/datamatrix/BC_DefaultPlacement.cpp",
1092 "xfa/src/fxbarcode/datamatrix/BC_Encoder.cpp",
1093 "xfa/src/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp",
1094 "xfa/src/fxbarcode/datamatrix/BC_ASCIIEncoder.h",
1095 "xfa/src/fxbarcode/datamatrix/BC_Base256Encoder.h",
1096 "xfa/src/fxbarcode/datamatrix/BC_C40Encoder.h",
1097 "xfa/src/fxbarcode/datamatrix/BC_EdifactEncoder.h",
1098 "xfa/src/fxbarcode/datamatrix/BC_EncoderContext.h",
1099 "xfa/src/fxbarcode/datamatrix/BC_ErrorCorrection.h",
1100 "xfa/src/fxbarcode/datamatrix/BC_SymbolInfo.h",
1101 "xfa/src/fxbarcode/datamatrix/BC_SymbolShapeHint.h",
1102 "xfa/src/fxbarcode/datamatrix/BC_TextEncoder.h",
1103 "xfa/src/fxbarcode/datamatrix/BC_X12Encoder.h",
1104 "xfa/src/fxbarcode/datamatrix/BC_DefaultPlacement.h",
1105 "xfa/src/fxbarcode/datamatrix/BC_Encoder.h",
1106 "xfa/src/fxbarcode/datamatrix/BC_HighLevelEncoder.h",
1107 "xfa/src/fxbarcode/oned/BC_OnedCodaBarReader.cpp",
1108 "xfa/src/fxbarcode/oned/BC_OnedCodaBarWriter.cpp",
1109 "xfa/src/fxbarcode/oned/BC_OnedCode128Reader.cpp",
1110 "xfa/src/fxbarcode/oned/BC_OnedCode128Writer.cpp",
1111 "xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp",
1112 "xfa/src/fxbarcode/oned/BC_OnedCode39Writer.cpp",
1113 "xfa/src/fxbarcode/oned/BC_OnedEAN13Reader.cpp",
1114 "xfa/src/fxbarcode/oned/BC_OnedEAN13Writer.cpp",
1115 "xfa/src/fxbarcode/oned/BC_OnedEAN8Reader.cpp",
1116 "xfa/src/fxbarcode/oned/BC_OnedEAN8Writer.cpp",
1117 "xfa/src/fxbarcode/oned/BC_OneDimReader.cpp",
1118 "xfa/src/fxbarcode/oned/BC_OneDimWriter.cpp",
1119 "xfa/src/fxbarcode/oned/BC_OneDReader.cpp",
1120 "xfa/src/fxbarcode/oned/BC_OnedUPCAReader.cpp",
1121 "xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.cpp",
1122 "xfa/src/fxbarcode/oned/BC_OnedCodaBarReader.h",
1123 "xfa/src/fxbarcode/oned/BC_OnedCodaBarWriter.h",
1124 "xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h",
1125 "xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h",
1126 "xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h",
1127 "xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h",
1128 "xfa/src/fxbarcode/oned/BC_OnedEAN13Reader.h",
1129 "xfa/src/fxbarcode/oned/BC_OnedEAN13Writer.h",
1130 "xfa/src/fxbarcode/oned/BC_OnedEAN8Reader.h",
1131 "xfa/src/fxbarcode/oned/BC_OnedEAN8Writer.h",
1132 "xfa/src/fxbarcode/oned/BC_OneDimReader.h",
1133 "xfa/src/fxbarcode/oned/BC_OneDimWriter.h",
1134 "xfa/src/fxbarcode/oned/BC_OneDReader.h",
1135 "xfa/src/fxbarcode/oned/BC_OnedUPCAReader.h",
1136 "xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.h",
1137 "xfa/src/fxbarcode/pdf417/BC_PDF417.cpp",
1138 "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp",
1139 "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.cpp",
1140 "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeRow.cpp",
1141 "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeValue.cpp",
1142 "xfa/src/fxbarcode/pdf417/BC_PDF417BoundingBox.cpp",
1143 "xfa/src/fxbarcode/pdf417/BC_PDF417Codeword.cpp",
1144 "xfa/src/fxbarcode/pdf417/BC_PDF417CodewordDecoder.cpp",
1145 "xfa/src/fxbarcode/pdf417/BC_PDF417Common.cpp",
1146 "xfa/src/fxbarcode/pdf417/BC_PDF417Compaction.cpp",
1147 "xfa/src/fxbarcode/pdf417/BC_PDF417DecodedBitStreamParser.cpp",
1148 "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.cpp",
1149 "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultColumn.cpp",
1150 "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.cpp",
1151 "xfa/src/fxbarcode/pdf417/BC_PDF417Detector.cpp",
1152 "xfa/src/fxbarcode/pdf417/BC_PDF417DetectorResult.cpp",
1153 "xfa/src/fxbarcode/pdf417/BC_PDF417Dimensions.cpp",
1154 "xfa/src/fxbarcode/pdf417/BC_PDF417ECErrorCorrection.cpp",
1155 "xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.cpp",
1156 "xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusPoly.cpp",
1157 "xfa/src/fxbarcode/pdf417/BC_PDF417ErrorCorrection.cpp",
1158 "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.cpp",
1159 "xfa/src/fxbarcode/pdf417/BC_PDF417Reader.cpp",
1160 "xfa/src/fxbarcode/pdf417/BC_PDF417ResultMetadata.cpp",
1161 "xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.cpp",
1162 "xfa/src/fxbarcode/pdf417/BC_PDF417Writer.cpp",
1163 "xfa/src/fxbarcode/pdf417/BC_PDF417.h",
1164 "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h",
1165 "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.h",
1166 "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeRow.h",
1167 "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeValue.h",
1168 "xfa/src/fxbarcode/pdf417/BC_PDF417BoundingBox.h",
1169 "xfa/src/fxbarcode/pdf417/BC_PDF417Codeword.h",
1170 "xfa/src/fxbarcode/pdf417/BC_PDF417CodewordDecoder.h",
1171 "xfa/src/fxbarcode/pdf417/BC_PDF417Common.h",
1172 "xfa/src/fxbarcode/pdf417/BC_PDF417Compaction.h",
1173 "xfa/src/fxbarcode/pdf417/BC_PDF417DecodedBitStreamParser.h",
1174 "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.h",
1175 "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultColumn.h",
1176 "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.h",
1177 "xfa/src/fxbarcode/pdf417/BC_PDF417Detector.h",
1178 "xfa/src/fxbarcode/pdf417/BC_PDF417DetectorResult.h",
1179 "xfa/src/fxbarcode/pdf417/BC_PDF417Dimensions.h",
1180 "xfa/src/fxbarcode/pdf417/BC_PDF417ECErrorCorrection.h",
1181 "xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.h",
1182 "xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusPoly.h",
1183 "xfa/src/fxbarcode/pdf417/BC_PDF417ErrorCorrection.h",
1184 "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h",
1185 "xfa/src/fxbarcode/pdf417/BC_PDF417Reader.h",
1186 "xfa/src/fxbarcode/pdf417/BC_PDF417ResultMetadata.h",
1187 "xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.h",
1188 "xfa/src/fxbarcode/pdf417/BC_PDF417Writer.h",
1189 "xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.cpp",
1190 "xfa/src/fxbarcode/qrcode/BC_QRAlignmentPatternFinder.cpp",
1191 "xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.cpp",
1192 "xfa/src/fxbarcode/qrcode/BC_QRCoder.cpp",
1193 "xfa/src/fxbarcode/qrcode/BC_QRCoderBitVector.cpp",
1194 "xfa/src/fxbarcode/qrcode/BC_QRCoderBlockPair.cpp",
1195 "xfa/src/fxbarcode/qrcode/BC_QRCoderDecoder.cpp",
1196 "xfa/src/fxbarcode/qrcode/BC_QRCodeReader.cpp",
1197 "xfa/src/fxbarcode/qrcode/BC_QRCoderECB.cpp",
1198 "xfa/src/fxbarcode/qrcode/BC_QRCoderECBlocks.cpp",
1199 "xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.cpp",
1200 "xfa/src/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.cpp",
1201 "xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.cpp",
1202 "xfa/src/fxbarcode/qrcode/BC_QRCoderMaskUtil.cpp",
1203 "xfa/src/fxbarcode/qrcode/BC_QRCoderMatrixUtil.cpp",
1204 "xfa/src/fxbarcode/qrcode/BC_QRCoderMode.cpp",
1205 "xfa/src/fxbarcode/qrcode/BC_QRCoderVersion.cpp",
1206 "xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.cpp",
1207 "xfa/src/fxbarcode/qrcode/BC_QRDataBlock.cpp",
1208 "xfa/src/fxbarcode/qrcode/BC_QRDataMask.cpp",
1209 "xfa/src/fxbarcode/qrcode/BC_QRDecodedBitStreamParser.cpp",
1210 "xfa/src/fxbarcode/qrcode/BC_QRDetector.cpp",
1211 "xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.cpp",
1212 "xfa/src/fxbarcode/qrcode/BC_QRFinderPattern.cpp",
1213 "xfa/src/fxbarcode/qrcode/BC_QRFinderPatternFinder.cpp",
1214 "xfa/src/fxbarcode/qrcode/BC_QRGridSampler.cpp",
1215 "xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.h",
1216 "xfa/src/fxbarcode/qrcode/BC_QRAlignmentPatternFinder.h",
1217 "xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h",
1218 "xfa/src/fxbarcode/qrcode/BC_QRCoder.h",
1219 "xfa/src/fxbarcode/qrcode/BC_QRCoderBitVector.h",
1220 "xfa/src/fxbarcode/qrcode/BC_QRCoderBlockPair.h",
1221 "xfa/src/fxbarcode/qrcode/BC_QRCoderDecoder.h",
1222 "xfa/src/fxbarcode/qrcode/BC_QRCodeReader.h",
1223 "xfa/src/fxbarcode/qrcode/BC_QRCoderECB.h",
1224 "xfa/src/fxbarcode/qrcode/BC_QRCoderECBlocks.h",
1225 "xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.h",
1226 "xfa/src/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.h",
1227 "xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.h",
1228 "xfa/src/fxbarcode/qrcode/BC_QRCoderMaskUtil.h",
1229 "xfa/src/fxbarcode/qrcode/BC_QRCoderMatrixUtil.h",
1230 "xfa/src/fxbarcode/qrcode/BC_QRCoderMode.h",
1231 "xfa/src/fxbarcode/qrcode/BC_QRCoderVersion.h",
1232 "xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h",
1233 "xfa/src/fxbarcode/qrcode/BC_QRDataBlock.h",
1234 "xfa/src/fxbarcode/qrcode/BC_QRDataMask.h",
1235 "xfa/src/fxbarcode/qrcode/BC_QRDecodedBitStreamParser.h",
1236 "xfa/src/fxbarcode/qrcode/BC_QRDetector.h",
1237 "xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.h",
1238 "xfa/src/fxbarcode/qrcode/BC_QRFinderPattern.h",
1239 "xfa/src/fxbarcode/qrcode/BC_QRFinderPatternFinder.h",
1240 "xfa/src/fxbarcode/qrcode/BC_QRGridSampler.h",
1241 "xfa/src/fxbarcode/qrcode/BC_FinderPatternInfo.cpp",
1242 "xfa/src/fxbarcode/qrcode/BC_FinderPatternInfo.h",
1243 "xfa/src/fxbarcode/BC_BarCode.cpp",
1244 "xfa/src/fxbarcode/BC_Binarizer.cpp",
1245 "xfa/src/fxbarcode/BC_BinaryBitmap.cpp",
1246 "xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.cpp",
1247 "xfa/src/fxbarcode/BC_Dimension.cpp",
1248 "xfa/src/fxbarcode/BC_Library.cpp",
1249 "xfa/src/fxbarcode/BC_LuminanceSource.cpp",
1250 "xfa/src/fxbarcode/BC_Reader.cpp",
1251 "xfa/src/fxbarcode/BC_ResultPoint.cpp",
1252 "xfa/src/fxbarcode/BC_TwoDimWriter.cpp",
1253 "xfa/src/fxbarcode/BC_UtilCodingConvert.cpp",
1254 "xfa/src/fxbarcode/BC_UtilRSS.cpp",
1255 "xfa/src/fxbarcode/BC_Utils.cpp",
1256 "xfa/src/fxbarcode/BC_Writer.cpp",
1257 "xfa/src/fxbarcode/BC_Binarizer.h",
1258 "xfa/src/fxbarcode/BC_BinaryBitmap.h",
1259 "xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.h",
1260 "xfa/src/fxbarcode/BC_DecoderResult.h",
1261 "xfa/src/fxbarcode/BC_Dimension.h",
1262 "xfa/src/fxbarcode/BC_LuminanceSource.h",
1263 "xfa/src/fxbarcode/BC_Reader.h",
1264 "xfa/src/fxbarcode/BC_ResultPoint.h",
1265 "xfa/src/fxbarcode/BC_TwoDimWriter.h",
1266 "xfa/src/fxbarcode/BC_UtilCodingConvert.h",
1267 "xfa/src/fxbarcode/BC_UtilRSS.h",
1268 "xfa/src/fxbarcode/BC_Writer.h",
1269 "xfa/src/fxbarcode/barcode.h",
1270 "xfa/src/fxbarcode/utils.h",
Tom Sepezc706fc02014-11-14 13:39:20 -08001271 "xfa/src/fxfa/src/app/xfa_checksum.cpp",
1272 "xfa/src/fxfa/src/app/xfa_checksum.h",
1273 "xfa/src/fxfa/src/app/xfa_ffapp.cpp",
1274 "xfa/src/fxfa/src/app/xfa_ffapp.h",
1275 "xfa/src/fxfa/src/app/xfa_ffbarcode.cpp",
1276 "xfa/src/fxfa/src/app/xfa_ffbarcode.h",
1277 "xfa/src/fxfa/src/app/xfa_ffcheckbutton.cpp",
1278 "xfa/src/fxfa/src/app/xfa_ffcheckbutton.h",
1279 "xfa/src/fxfa/src/app/xfa_ffchoicelist.cpp",
1280 "xfa/src/fxfa/src/app/xfa_ffchoicelist.h",
1281 "xfa/src/fxfa/src/app/xfa_ffConfigAcc.cpp",
1282 "xfa/src/fxfa/src/app/xfa_ffConfigAcc.h",
1283 "xfa/src/fxfa/src/app/xfa_ffdoc.cpp",
1284 "xfa/src/fxfa/src/app/xfa_ffdoc.h",
1285 "xfa/src/fxfa/src/app/xfa_ffdochandler.cpp",
1286 "xfa/src/fxfa/src/app/xfa_ffdochandler.h",
1287 "xfa/src/fxfa/src/app/xfa_ffdocview.cpp",
1288 "xfa/src/fxfa/src/app/xfa_ffdocview.h",
1289 "xfa/src/fxfa/src/app/xfa_ffdraw.cpp",
1290 "xfa/src/fxfa/src/app/xfa_ffdraw.h",
1291 "xfa/src/fxfa/src/app/xfa_ffexclgroup.cpp",
1292 "xfa/src/fxfa/src/app/xfa_ffexclgroup.h",
1293 "xfa/src/fxfa/src/app/xfa_fffield.cpp",
1294 "xfa/src/fxfa/src/app/xfa_fffield.h",
1295 "xfa/src/fxfa/src/app/xfa_ffimage.cpp",
1296 "xfa/src/fxfa/src/app/xfa_ffimage.h",
1297 "xfa/src/fxfa/src/app/xfa_ffimageedit.cpp",
1298 "xfa/src/fxfa/src/app/xfa_ffimageedit.h",
1299 "xfa/src/fxfa/src/app/xfa_ffnotify.cpp",
1300 "xfa/src/fxfa/src/app/xfa_ffnotify.h",
1301 "xfa/src/fxfa/src/app/xfa_ffpageview.cpp",
1302 "xfa/src/fxfa/src/app/xfa_ffpageview.h",
1303 "xfa/src/fxfa/src/app/xfa_ffpath.cpp",
1304 "xfa/src/fxfa/src/app/xfa_ffpath.h",
1305 "xfa/src/fxfa/src/app/xfa_ffpushbutton.cpp",
1306 "xfa/src/fxfa/src/app/xfa_ffpushbutton.h",
1307 "xfa/src/fxfa/src/app/xfa_ffsignature.cpp",
1308 "xfa/src/fxfa/src/app/xfa_ffsignature.h",
1309 "xfa/src/fxfa/src/app/xfa_ffsubform.cpp",
1310 "xfa/src/fxfa/src/app/xfa_ffsubform.h",
1311 "xfa/src/fxfa/src/app/xfa_fftext.cpp",
1312 "xfa/src/fxfa/src/app/xfa_fftext.h",
1313 "xfa/src/fxfa/src/app/xfa_fftextedit.cpp",
1314 "xfa/src/fxfa/src/app/xfa_fftextedit.h",
1315 "xfa/src/fxfa/src/app/xfa_ffwidget.cpp",
1316 "xfa/src/fxfa/src/app/xfa_ffwidget.h",
1317 "xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp",
1318 "xfa/src/fxfa/src/app/xfa_ffwidgetacc.h",
1319 "xfa/src/fxfa/src/app/xfa_ffwidgethandler.cpp",
1320 "xfa/src/fxfa/src/app/xfa_ffwidgethandler.h",
1321 "xfa/src/fxfa/src/app/xfa_fontmgr.cpp",
1322 "xfa/src/fxfa/src/app/xfa_fontmgr.h",
1323 "xfa/src/fxfa/src/app/xfa_fwladapter.cpp",
1324 "xfa/src/fxfa/src/app/xfa_fwladapter.h",
1325 "xfa/src/fxfa/src/app/xfa_fwltheme.cpp",
1326 "xfa/src/fxfa/src/app/xfa_fwltheme.h",
1327 "xfa/src/fxfa/src/app/xfa_rendercontext.cpp",
1328 "xfa/src/fxfa/src/app/xfa_rendercontext.h",
1329 "xfa/src/fxfa/src/app/xfa_textlayout.cpp",
1330 "xfa/src/fxfa/src/app/xfa_textlayout.h",
1331 "xfa/src/fxfa/src/common/fxfa_localevalue.h",
1332 "xfa/src/fxfa/src/common/xfa_common.h",
1333 "xfa/src/fxfa/src/common/xfa_debug.h",
1334 "xfa/src/fxfa/src/common/xfa_docdata.h",
1335 "xfa/src/fxfa/src/common/xfa_doclayout.h",
1336 "xfa/src/fxfa/src/common/xfa_document.h",
1337 "xfa/src/fxfa/src/common/xfa_fm2jsapi.h",
1338 "xfa/src/fxfa/src/common/xfa_localemgr.h",
1339 "xfa/src/fxfa/src/common/xfa_object.h",
1340 "xfa/src/fxfa/src/common/xfa_parser.h",
1341 "xfa/src/fxfa/src/common/xfa_script.h",
1342 "xfa/src/fxfa/src/common/xfa_utils.h",
1343 "xfa/src/fxfa/src/fm2js/xfa_error.cpp",
1344 "xfa/src/fxfa/src/fm2js/xfa_error.h",
1345 "xfa/src/fxfa/src/fm2js/xfa_expression.cpp",
1346 "xfa/src/fxfa/src/fm2js/xfa_expression.h",
1347 "xfa/src/fxfa/src/fm2js/xfa_fm2js.cpp",
1348 "xfa/src/fxfa/src/fm2js/xfa_fm2js.h",
1349 "xfa/src/fxfa/src/fm2js/xfa_fm2jsapi.cpp",
1350 "xfa/src/fxfa/src/fm2js/xfa_fm2jscontext.cpp",
1351 "xfa/src/fxfa/src/fm2js/xfa_fm2jscontext.h",
1352 "xfa/src/fxfa/src/fm2js/xfa_fmparse.cpp",
1353 "xfa/src/fxfa/src/fm2js/xfa_fmparse.h",
1354 "xfa/src/fxfa/src/fm2js/xfa_lexer.cpp",
1355 "xfa/src/fxfa/src/fm2js/xfa_lexer.h",
1356 "xfa/src/fxfa/src/fm2js/xfa_program.cpp",
1357 "xfa/src/fxfa/src/fm2js/xfa_program.h",
1358 "xfa/src/fxfa/src/fm2js/xfa_simpleexpression.cpp",
1359 "xfa/src/fxfa/src/fm2js/xfa_simpleexpression.h",
1360 "xfa/src/fxfa/src/parser/xfa_basic_data.cpp",
1361 "xfa/src/fxfa/src/parser/xfa_basic_imp.cpp",
1362 "xfa/src/fxfa/src/parser/xfa_basic_imp.h",
1363 "xfa/src/fxfa/src/parser/xfa_debug_parser.cpp",
1364 "xfa/src/fxfa/src/parser/xfa_debug_parser.h",
1365 "xfa/src/fxfa/src/parser/xfa_document_datadescription_imp.cpp",
1366 "xfa/src/fxfa/src/parser/xfa_document_datadescription_imp.h",
1367 "xfa/src/fxfa/src/parser/xfa_document_datamerger_imp.cpp",
1368 "xfa/src/fxfa/src/parser/xfa_document_datamerger_imp.h",
1369 "xfa/src/fxfa/src/parser/xfa_document_imp.cpp",
1370 "xfa/src/fxfa/src/parser/xfa_document_imp.h",
1371 "xfa/src/fxfa/src/parser/xfa_document_layout_imp.cpp",
1372 "xfa/src/fxfa/src/parser/xfa_document_layout_imp.h",
1373 "xfa/src/fxfa/src/parser/xfa_document_serialize.cpp",
1374 "xfa/src/fxfa/src/parser/xfa_document_serialize.h",
1375 "xfa/src/fxfa/src/parser/xfa_layout_appadapter.cpp",
1376 "xfa/src/fxfa/src/parser/xfa_layout_appadapter.h",
1377 "xfa/src/fxfa/src/parser/xfa_layout_itemlayout.cpp",
1378 "xfa/src/fxfa/src/parser/xfa_layout_itemlayout.h",
1379 "xfa/src/fxfa/src/parser/xfa_layout_pagemgr_new.cpp",
1380 "xfa/src/fxfa/src/parser/xfa_layout_pagemgr_new.h",
1381 "xfa/src/fxfa/src/parser/xfa_locale.cpp",
1382 "xfa/src/fxfa/src/parser/xfa_locale.h",
1383 "xfa/src/fxfa/src/parser/xfa_localemgr.cpp",
1384 "xfa/src/fxfa/src/parser/xfa_localevalue.cpp",
1385 "xfa/src/fxfa/src/parser/xfa_objectacc_imp.cpp",
1386 "xfa/src/fxfa/src/parser/xfa_object_imp.cpp",
1387 "xfa/src/fxfa/src/parser/xfa_parser_imp.cpp",
1388 "xfa/src/fxfa/src/parser/xfa_parser_imp.h",
1389 "xfa/src/fxfa/src/parser/xfa_script_datawindow.cpp",
1390 "xfa/src/fxfa/src/parser/xfa_script_datawindow.h",
1391 "xfa/src/fxfa/src/parser/xfa_script_eventpseudomodel.cpp",
1392 "xfa/src/fxfa/src/parser/xfa_script_eventpseudomodel.h",
1393 "xfa/src/fxfa/src/parser/xfa_script_hostpseudomodel.cpp",
1394 "xfa/src/fxfa/src/parser/xfa_script_hostpseudomodel.h",
1395 "xfa/src/fxfa/src/parser/xfa_script_imp.cpp",
1396 "xfa/src/fxfa/src/parser/xfa_script_imp.h",
1397 "xfa/src/fxfa/src/parser/xfa_script_layoutpseudomodel.cpp",
1398 "xfa/src/fxfa/src/parser/xfa_script_layoutpseudomodel.h",
1399 "xfa/src/fxfa/src/parser/xfa_script_logpseudomodel.cpp",
1400 "xfa/src/fxfa/src/parser/xfa_script_logpseudomodel.h",
1401 "xfa/src/fxfa/src/parser/xfa_script_nodehelper.cpp",
1402 "xfa/src/fxfa/src/parser/xfa_script_nodehelper.h",
1403 "xfa/src/fxfa/src/parser/xfa_script_resolveprocessor.cpp",
1404 "xfa/src/fxfa/src/parser/xfa_script_resolveprocessor.h",
1405 "xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp",
1406 "xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.h",
1407 "xfa/src/fxfa/src/parser/xfa_utils_imp.cpp",
1408 "xfa/src/fxgraphics/src/fx_graphics.cpp",
1409 "xfa/src/fxgraphics/src/fx_path_generator.cpp",
1410 "xfa/src/fxgraphics/src/fx_path_generator.h",
1411 "xfa/src/fxgraphics/src/pre.h",
Tom Sepezc706fc02014-11-14 13:39:20 -08001412 ]
Lei Zhang8241df72015-11-06 14:38:48 -08001413 include_dirs = [
1414 ".",
1415 ]
Tom Sepez452b4f32015-10-13 09:27:27 -07001416 if (pdf_enable_v8) {
1417 sources += [
1418 "xfa/src/fxjse/src/class.cpp",
1419 "xfa/src/fxjse/src/class.h",
1420 "xfa/src/fxjse/src/context.cpp",
1421 "xfa/src/fxjse/src/context.h",
1422 "xfa/src/fxjse/src/dynprop.cpp",
1423 "xfa/src/fxjse/src/runtime.cpp",
1424 "xfa/src/fxjse/src/runtime.h",
1425 "xfa/src/fxjse/src/scope_inline.h",
1426 "xfa/src/fxjse/src/util_inline.h",
1427 "xfa/src/fxjse/src/value.cpp",
1428 "xfa/src/fxjse/src/value.h"
Tom Sepez15ce59a2015-10-26 12:45:29 -07001429 ]
Tom Sepez452b4f32015-10-13 09:27:27 -07001430 include_dirs = [
1431 "//v8",
1432 "//v8/include",
1433 ]
1434 public_deps = [
1435 "//v8",
1436 ]
1437 deps = [
1438 "//v8:v8_libplatform",
1439 ]
1440 }
Tom Sepezc706fc02014-11-14 13:39:20 -08001441 configs -= [ "//build/config/compiler:chromium_code" ]
Tom Sepez452b4f32015-10-13 09:27:27 -07001442 configs += [
1443 ":pdfium_config",
1444 "//build/config/compiler:no_chromium_code",
Tom Sepezc706fc02014-11-14 13:39:20 -08001445 ]
1446}
Tom Sepez04681f32015-01-09 13:59:19 -08001447
1448test("pdfium_unittests") {
1449 sources = [
Dan Sinclairbd552392015-11-02 16:26:55 -05001450 "core/src/fpdfapi/fpdf_font/fpdf_font_cid_unittest.cpp",
Dan Sinclair15a05702015-11-02 13:34:21 -05001451 "core/src/fpdfapi/fpdf_font/fpdf_font_unittest.cpp",
Dan Sinclairb4518212015-11-02 16:44:09 -05001452 "core/src/fpdfapi/fpdf_page/fpdf_page_parser_old_unittest.cpp",
Dan Sinclair4d6f03a2015-11-02 16:12:41 -05001453 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp",
Dan Sinclaireed2ee92015-11-03 14:32:34 -05001454 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_unittest.cpp",
Tom Sepezdb205822015-03-19 13:02:23 -07001455 "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp",
Tom Sepez04681f32015-01-09 13:59:19 -08001456 "core/src/fxcrt/fx_basic_bstring_unittest.cpp",
Tom Sepezed099be2015-05-15 16:30:52 -07001457 "core/src/fxcrt/fx_basic_memmgr_unittest.cpp",
Bo Xua6f95eb2015-01-21 12:17:23 -08001458 "core/src/fxcrt/fx_basic_wstring_unittest.cpp",
Lei Zhangee02ea32015-10-29 15:01:55 -07001459 "core/src/fxcrt/fx_bidi_unittest.cpp",
Dan Sinclair10cfea12015-11-16 13:09:00 -05001460 "core/src/fxcrt/fx_extension_unittest.cpp",
Tom Sepez24e733e2015-10-16 14:18:50 -07001461 "core/src/fxcrt/fx_system_unittest.cpp",
Lei Zhang13fe8c92015-09-22 21:53:22 -07001462 "third_party/base/nonstd_unique_ptr_unittest.cpp",
Bo Xua9029792015-01-09 17:27:21 -08001463 "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp",
JUN FANG130c7d12015-05-13 14:34:28 -07001464 "xfa/src/fxfa/src/parser/xfa_utils_imp_unittest.cpp",
Tom Sepez04681f32015-01-09 13:59:19 -08001465 ]
1466 deps = [
1467 "//testing/gtest",
1468 "//testing/gtest:gtest_main",
Tom Sepezd831dc72015-10-19 16:04:22 -07001469 ":pdfium",
1470 ":test_support",
Tom Sepez04681f32015-01-09 13:59:19 -08001471 ]
Lei Zhang476ac132015-11-05 20:07:27 -08001472 configs += [ ":pdfium_config" ]
Tom Sepez04681f32015-01-09 13:59:19 -08001473}
Tom Sepez1b1bb492015-01-22 17:36:32 -08001474
1475test("pdfium_embeddertests") {
1476 sources = [
Oliver Chang67169d32015-11-04 14:33:56 -08001477 "core/src/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp",
Tom Sepez441932f2015-04-10 10:40:55 -07001478 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp",
JUN FANGfbc74492015-04-03 11:35:50 -07001479 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp",
Oliver Chang66feb702015-11-12 22:24:32 -08001480 "core/src/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp",
Dan Sinclair431ba182015-10-27 12:19:11 -04001481 "core/src/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp",
Tom Sepez2255a1b2015-01-23 15:33:44 -08001482 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001483 "fpdfsdk/src/fpdfdoc_embeddertest.cpp",
Tom Sepeza310e002015-02-27 13:03:07 -08001484 "fpdfsdk/src/fpdfformfill_embeddertest.cpp",
Tom Sepez26b8a5b2015-01-27 12:42:36 -08001485 "fpdfsdk/src/fpdftext_embeddertest.cpp",
Tom Sepezcf22eb82015-05-12 17:28:08 -07001486 "fpdfsdk/src/fpdfview_c_api_test.c",
1487 "fpdfsdk/src/fpdfview_c_api_test.h",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001488 "fpdfsdk/src/fpdfview_embeddertest.cpp",
1489 "testing/embedder_test.cpp",
1490 "testing/embedder_test.h",
Tom Sepeza310e002015-02-27 13:03:07 -08001491 "testing/embedder_test_mock_delegate.h",
Tom Sepez6efc0ad2015-06-02 17:11:18 -07001492 "testing/embedder_test_timer_handling_delegate.h",
Jun Fangbf18cb62015-10-28 18:36:28 +08001493 "xfa/src/fxfa/src/parser/xfa_parser_imp_embeddertest.cpp",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001494 ]
1495 deps = [
Tom Sepeza310e002015-02-27 13:03:07 -08001496 "//testing/gmock",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001497 "//testing/gtest",
Tom Sepez452b4f32015-10-13 09:27:27 -07001498 ":pdfium",
Tom Sepezd831dc72015-10-19 16:04:22 -07001499 ":test_support",
Tom Sepez1b1bb492015-01-22 17:36:32 -08001500 ]
Lei Zhang8241df72015-11-06 14:38:48 -08001501 include_dirs = []
Tom Sepez452b4f32015-10-13 09:27:27 -07001502 if (pdf_enable_v8) {
Lei Zhang8241df72015-11-06 14:38:48 -08001503 sources += [ "fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp" ]
Tom Sepez452b4f32015-10-13 09:27:27 -07001504 deps += [
1505 "//v8",
1506 "//v8:v8_libplatform",
1507 ]
1508 include_dirs += [
1509 "//v8",
1510 "//v8/include",
1511 ]
1512 }
Lei Zhang476ac132015-11-05 20:07:27 -08001513 configs += [ ":pdfium_config" ]
Tom Sepez1b1bb492015-01-22 17:36:32 -08001514}