summaryrefslogtreecommitdiff
path: root/core/fpdfapi/BUILD.gn
blob: 489df0b11e10a28363997dacef2479b1c16d5368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
# Copyright 2018 The PDFium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/jumbo.gni")
import("../../pdfium.gni")

jumbo_source_set("fpdfapi") {
  sources = [
    "cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp",
    "cmaps/CNS1/B5pc-H_0.cpp",
    "cmaps/CNS1/B5pc-V_0.cpp",
    "cmaps/CNS1/CNS-EUC-H_0.cpp",
    "cmaps/CNS1/CNS-EUC-V_0.cpp",
    "cmaps/CNS1/ETen-B5-H_0.cpp",
    "cmaps/CNS1/ETen-B5-V_0.cpp",
    "cmaps/CNS1/ETenms-B5-H_0.cpp",
    "cmaps/CNS1/ETenms-B5-V_0.cpp",
    "cmaps/CNS1/HKscs-B5-H_5.cpp",
    "cmaps/CNS1/HKscs-B5-V_5.cpp",
    "cmaps/CNS1/UniCNS-UCS2-H_3.cpp",
    "cmaps/CNS1/UniCNS-UCS2-V_3.cpp",
    "cmaps/CNS1/UniCNS-UTF16-H_0.cpp",
    "cmaps/CNS1/cmaps_cns1.cpp",
    "cmaps/GB1/Adobe-GB1-UCS2_5.cpp",
    "cmaps/GB1/GB-EUC-H_0.cpp",
    "cmaps/GB1/GB-EUC-V_0.cpp",
    "cmaps/GB1/GBK-EUC-H_2.cpp",
    "cmaps/GB1/GBK-EUC-V_2.cpp",
    "cmaps/GB1/GBK2K-H_5.cpp",
    "cmaps/GB1/GBK2K-V_5.cpp",
    "cmaps/GB1/GBKp-EUC-H_2.cpp",
    "cmaps/GB1/GBKp-EUC-V_2.cpp",
    "cmaps/GB1/GBpc-EUC-H_0.cpp",
    "cmaps/GB1/GBpc-EUC-V_0.cpp",
    "cmaps/GB1/UniGB-UCS2-H_4.cpp",
    "cmaps/GB1/UniGB-UCS2-V_4.cpp",
    "cmaps/GB1/cmaps_gb1.cpp",
    "cmaps/Japan1/83pv-RKSJ-H_1.cpp",
    "cmaps/Japan1/90ms-RKSJ-H_2.cpp",
    "cmaps/Japan1/90ms-RKSJ-V_2.cpp",
    "cmaps/Japan1/90msp-RKSJ-H_2.cpp",
    "cmaps/Japan1/90msp-RKSJ-V_2.cpp",
    "cmaps/Japan1/90pv-RKSJ-H_1.cpp",
    "cmaps/Japan1/Add-RKSJ-H_1.cpp",
    "cmaps/Japan1/Add-RKSJ-V_1.cpp",
    "cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp",
    "cmaps/Japan1/EUC-H_1.cpp",
    "cmaps/Japan1/EUC-V_1.cpp",
    "cmaps/Japan1/Ext-RKSJ-H_2.cpp",
    "cmaps/Japan1/Ext-RKSJ-V_2.cpp",
    "cmaps/Japan1/H_1.cpp",
    "cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp",
    "cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp",
    "cmaps/Japan1/UniJIS-UCS2-H_4.cpp",
    "cmaps/Japan1/UniJIS-UCS2-V_4.cpp",
    "cmaps/Japan1/V_1.cpp",
    "cmaps/Japan1/cmaps_japan1.cpp",
    "cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp",
    "cmaps/Korea1/KSC-EUC-H_0.cpp",
    "cmaps/Korea1/KSC-EUC-V_0.cpp",
    "cmaps/Korea1/KSCms-UHC-HW-H_1.cpp",
    "cmaps/Korea1/KSCms-UHC-HW-V_1.cpp",
    "cmaps/Korea1/KSCms-UHC-H_1.cpp",
    "cmaps/Korea1/KSCms-UHC-V_1.cpp",
    "cmaps/Korea1/KSCpc-EUC-H_0.cpp",
    "cmaps/Korea1/UniKS-UCS2-H_1.cpp",
    "cmaps/Korea1/UniKS-UCS2-V_1.cpp",
    "cmaps/Korea1/UniKS-UTF16-H_0.cpp",
    "cmaps/Korea1/cmaps_korea1.cpp",
    "cmaps/cmap_int.h",
    "cmaps/fpdf_cmaps.cpp",
    "cpdf_modulemgr.cpp",
    "cpdf_modulemgr.h",
    "cpdf_pagerendercontext.cpp",
    "cpdf_pagerendercontext.h",
    "edit/cpdf_creator.cpp",
    "edit/cpdf_creator.h",
    "edit/cpdf_encryptor.cpp",
    "edit/cpdf_encryptor.h",
    "edit/cpdf_flateencoder.cpp",
    "edit/cpdf_flateencoder.h",
    "edit/cpdf_pagecontentgenerator.cpp",
    "edit/cpdf_pagecontentgenerator.h",
    "edit/cpdf_pagecontentmanager.cpp",
    "edit/cpdf_pagecontentmanager.h",
    "edit/cpdf_stringarchivestream.cpp",
    "edit/cpdf_stringarchivestream.h",
    "font/cfx_cttgsubtable.cpp",
    "font/cfx_cttgsubtable.h",
    "font/cfx_stockfontarray.cpp",
    "font/cfx_stockfontarray.h",
    "font/cpdf_cid2unicodemap.cpp",
    "font/cpdf_cid2unicodemap.h",
    "font/cpdf_cidfont.cpp",
    "font/cpdf_cidfont.h",
    "font/cpdf_cmap.cpp",
    "font/cpdf_cmap.h",
    "font/cpdf_cmapmanager.cpp",
    "font/cpdf_cmapmanager.h",
    "font/cpdf_cmapparser.cpp",
    "font/cpdf_cmapparser.h",
    "font/cpdf_font.cpp",
    "font/cpdf_font.h",
    "font/cpdf_fontencoding.cpp",
    "font/cpdf_fontencoding.h",
    "font/cpdf_fontglobals.cpp",
    "font/cpdf_fontglobals.h",
    "font/cpdf_simplefont.cpp",
    "font/cpdf_simplefont.h",
    "font/cpdf_tounicodemap.cpp",
    "font/cpdf_tounicodemap.h",
    "font/cpdf_truetypefont.cpp",
    "font/cpdf_truetypefont.h",
    "font/cpdf_type1font.cpp",
    "font/cpdf_type1font.h",
    "font/cpdf_type3char.cpp",
    "font/cpdf_type3char.h",
    "font/cpdf_type3font.cpp",
    "font/cpdf_type3font.h",
    "page/cpdf_allstates.cpp",
    "page/cpdf_allstates.h",
    "page/cpdf_clippath.cpp",
    "page/cpdf_clippath.h",
    "page/cpdf_color.cpp",
    "page/cpdf_color.h",
    "page/cpdf_colorspace.cpp",
    "page/cpdf_colorspace.h",
    "page/cpdf_colorstate.cpp",
    "page/cpdf_colorstate.h",
    "page/cpdf_contentmarkitem.cpp",
    "page/cpdf_contentmarkitem.h",
    "page/cpdf_contentmarks.cpp",
    "page/cpdf_contentmarks.h",
    "page/cpdf_contentparser.cpp",
    "page/cpdf_contentparser.h",
    "page/cpdf_countedobject.h",
    "page/cpdf_devicecs.cpp",
    "page/cpdf_devicecs.h",
    "page/cpdf_docpagedata.cpp",
    "page/cpdf_docpagedata.h",
    "page/cpdf_expintfunc.cpp",
    "page/cpdf_expintfunc.h",
    "page/cpdf_form.cpp",
    "page/cpdf_form.h",
    "page/cpdf_formobject.cpp",
    "page/cpdf_formobject.h",
    "page/cpdf_function.cpp",
    "page/cpdf_function.h",
    "page/cpdf_generalstate.cpp",
    "page/cpdf_generalstate.h",
    "page/cpdf_graphicstates.cpp",
    "page/cpdf_graphicstates.h",
    "page/cpdf_iccprofile.cpp",
    "page/cpdf_iccprofile.h",
    "page/cpdf_image.cpp",
    "page/cpdf_image.h",
    "page/cpdf_imageobject.cpp",
    "page/cpdf_imageobject.h",
    "page/cpdf_meshstream.cpp",
    "page/cpdf_meshstream.h",
    "page/cpdf_page.cpp",
    "page/cpdf_page.h",
    "page/cpdf_pagemodule.cpp",
    "page/cpdf_pagemodule.h",
    "page/cpdf_pageobject.cpp",
    "page/cpdf_pageobject.h",
    "page/cpdf_pageobjectholder.cpp",
    "page/cpdf_pageobjectholder.h",
    "page/cpdf_pageobjectlist.cpp",
    "page/cpdf_pageobjectlist.h",
    "page/cpdf_path.cpp",
    "page/cpdf_path.h",
    "page/cpdf_pathobject.cpp",
    "page/cpdf_pathobject.h",
    "page/cpdf_pattern.cpp",
    "page/cpdf_pattern.h",
    "page/cpdf_patterncs.cpp",
    "page/cpdf_patterncs.h",
    "page/cpdf_psengine.cpp",
    "page/cpdf_psengine.h",
    "page/cpdf_psfunc.cpp",
    "page/cpdf_psfunc.h",
    "page/cpdf_sampledfunc.cpp",
    "page/cpdf_sampledfunc.h",
    "page/cpdf_shadingobject.cpp",
    "page/cpdf_shadingobject.h",
    "page/cpdf_shadingpattern.cpp",
    "page/cpdf_shadingpattern.h",
    "page/cpdf_stitchfunc.cpp",
    "page/cpdf_stitchfunc.h",
    "page/cpdf_streamcontentparser.cpp",
    "page/cpdf_streamcontentparser.h",
    "page/cpdf_streamparser.cpp",
    "page/cpdf_streamparser.h",
    "page/cpdf_textobject.cpp",
    "page/cpdf_textobject.h",
    "page/cpdf_textstate.cpp",
    "page/cpdf_textstate.h",
    "page/cpdf_tilingpattern.cpp",
    "page/cpdf_tilingpattern.h",
    "page/ipdf_page.h",
    "parser/cfdf_document.cpp",
    "parser/cfdf_document.h",
    "parser/cpdf_array.cpp",
    "parser/cpdf_array.h",
    "parser/cpdf_boolean.cpp",
    "parser/cpdf_boolean.h",
    "parser/cpdf_cross_ref_avail.cpp",
    "parser/cpdf_cross_ref_avail.h",
    "parser/cpdf_cross_ref_table.cpp",
    "parser/cpdf_cross_ref_table.h",
    "parser/cpdf_crypto_handler.cpp",
    "parser/cpdf_crypto_handler.h",
    "parser/cpdf_data_avail.cpp",
    "parser/cpdf_data_avail.h",
    "parser/cpdf_dictionary.cpp",
    "parser/cpdf_dictionary.h",
    "parser/cpdf_document.cpp",
    "parser/cpdf_document.h",
    "parser/cpdf_hint_tables.cpp",
    "parser/cpdf_hint_tables.h",
    "parser/cpdf_indirect_object_holder.cpp",
    "parser/cpdf_indirect_object_holder.h",
    "parser/cpdf_linearized_header.cpp",
    "parser/cpdf_linearized_header.h",
    "parser/cpdf_name.cpp",
    "parser/cpdf_name.h",
    "parser/cpdf_null.cpp",
    "parser/cpdf_null.h",
    "parser/cpdf_number.cpp",
    "parser/cpdf_number.h",
    "parser/cpdf_object.cpp",
    "parser/cpdf_object.h",
    "parser/cpdf_object_avail.cpp",
    "parser/cpdf_object_avail.h",
    "parser/cpdf_object_stream.cpp",
    "parser/cpdf_object_stream.h",
    "parser/cpdf_object_walker.cpp",
    "parser/cpdf_object_walker.h",
    "parser/cpdf_page_object_avail.cpp",
    "parser/cpdf_page_object_avail.h",
    "parser/cpdf_parser.cpp",
    "parser/cpdf_parser.h",
    "parser/cpdf_read_validator.cpp",
    "parser/cpdf_read_validator.h",
    "parser/cpdf_reference.cpp",
    "parser/cpdf_reference.h",
    "parser/cpdf_security_handler.cpp",
    "parser/cpdf_security_handler.h",
    "parser/cpdf_simple_parser.cpp",
    "parser/cpdf_simple_parser.h",
    "parser/cpdf_stream.cpp",
    "parser/cpdf_stream.h",
    "parser/cpdf_stream_acc.cpp",
    "parser/cpdf_stream_acc.h",
    "parser/cpdf_string.cpp",
    "parser/cpdf_string.h",
    "parser/cpdf_syntax_parser.cpp",
    "parser/cpdf_syntax_parser.h",
    "parser/fpdf_parser_decode.cpp",
    "parser/fpdf_parser_decode.h",
    "parser/fpdf_parser_utility.cpp",
    "parser/fpdf_parser_utility.h",
    "render/cpdf_charposlist.cpp",
    "render/cpdf_charposlist.h",
    "render/cpdf_devicebuffer.cpp",
    "render/cpdf_devicebuffer.h",
    "render/cpdf_dibbase.cpp",
    "render/cpdf_dibbase.h",
    "render/cpdf_dibtransferfunc.cpp",
    "render/cpdf_dibtransferfunc.h",
    "render/cpdf_docrenderdata.cpp",
    "render/cpdf_docrenderdata.h",
    "render/cpdf_imagecacheentry.cpp",
    "render/cpdf_imagecacheentry.h",
    "render/cpdf_imageloader.cpp",
    "render/cpdf_imageloader.h",
    "render/cpdf_imagerenderer.cpp",
    "render/cpdf_imagerenderer.h",
    "render/cpdf_pagerendercache.cpp",
    "render/cpdf_pagerendercache.h",
    "render/cpdf_progressiverenderer.cpp",
    "render/cpdf_progressiverenderer.h",
    "render/cpdf_rendercontext.cpp",
    "render/cpdf_rendercontext.h",
    "render/cpdf_renderoptions.cpp",
    "render/cpdf_renderoptions.h",
    "render/cpdf_renderstatus.cpp",
    "render/cpdf_renderstatus.h",
    "render/cpdf_scaledrenderbuffer.cpp",
    "render/cpdf_scaledrenderbuffer.h",
    "render/cpdf_textrenderer.cpp",
    "render/cpdf_textrenderer.h",
    "render/cpdf_transferfunc.cpp",
    "render/cpdf_transferfunc.h",
    "render/cpdf_transparency.cpp",
    "render/cpdf_transparency.h",
    "render/cpdf_type3cache.cpp",
    "render/cpdf_type3cache.h",
    "render/cpdf_type3glyphs.cpp",
    "render/cpdf_type3glyphs.h",
  ]
  configs += [ "../../:pdfium_core_config" ]
  deps = [
    "../../:fxcrt",
    "../../third_party:lcms2",
  ]
  visibility = [ "../../*" ]
}