Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / external / pdfium / Library_pdfium.mk
blob9695552aaa8e69d339e9e53824cad2f38fecb740
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_Library_Library,pdfium))
12 $(eval $(call gb_Library_use_unpacked,pdfium,pdfium))
14 $(eval $(call gb_Library_set_warnings_not_errors,pdfium))
16 $(eval $(call gb_Library_set_include,pdfium,\
17 -I$(WORKDIR)/UnpackedTarball/pdfium \
18 -I$(WORKDIR)/UnpackedTarball/pdfium/third_party \
19 $$(INCLUDE) \
22 $(eval $(call gb_Library_add_defs,pdfium,\
23 -DPDFIUM_DLLIMPLEMENTATION \
24 -DUSE_SYSTEM_LIBJPEG \
25 -DUNICODE \
28 # Don't show warnings upstream doesn't care about.
29 $(eval $(call gb_Library_add_cxxflags,pdfium,\
30 -w \
32 $(eval $(call gb_Library_add_cflags,pdfium,\
33 -w \
36 $(eval $(call gb_Library_set_generated_cxx_suffix,pdfium,cpp))
38 # pdfium
39 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
40 UnpackedTarball/pdfium/fpdfsdk/cba_annotiterator \
41 UnpackedTarball/pdfium/fpdfsdk/cfx_systemhandler \
42 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_annot \
43 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_annothandlermgr \
44 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_annotiteration \
45 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_baannot \
46 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_baannothandler \
47 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_datetime \
48 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_formfillenvironment \
49 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_interform \
50 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_pageview \
51 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_widget \
52 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_widgethandler \
53 UnpackedTarball/pdfium/fpdfsdk/fpdf_dataavail \
54 UnpackedTarball/pdfium/fpdfsdk/fpdf_ext \
55 UnpackedTarball/pdfium/fpdfsdk/fpdf_flatten \
56 UnpackedTarball/pdfium/fpdfsdk/fpdf_progressive \
57 UnpackedTarball/pdfium/fpdfsdk/fpdf_searchex \
58 UnpackedTarball/pdfium/fpdfsdk/fpdf_structtree \
59 UnpackedTarball/pdfium/fpdfsdk/fpdf_sysfontinfo \
60 UnpackedTarball/pdfium/fpdfsdk/fpdf_transformpage \
61 UnpackedTarball/pdfium/fpdfsdk/fpdfdoc \
62 UnpackedTarball/pdfium/fpdfsdk/fpdfeditimg \
63 UnpackedTarball/pdfium/fpdfsdk/fpdfeditpage \
64 UnpackedTarball/pdfium/fpdfsdk/fpdfeditpath \
65 UnpackedTarball/pdfium/fpdfsdk/fpdfedittext \
66 UnpackedTarball/pdfium/fpdfsdk/fpdfformfill \
67 UnpackedTarball/pdfium/fpdfsdk/fpdfppo \
68 UnpackedTarball/pdfium/fpdfsdk/fpdfsave \
69 UnpackedTarball/pdfium/fpdfsdk/fpdftext \
70 UnpackedTarball/pdfium/fpdfsdk/fpdfview \
71 UnpackedTarball/pdfium/fpdfsdk/fsdk_actionhandler \
72 UnpackedTarball/pdfium/fpdfsdk/fsdk_pauseadapter \
73 UnpackedTarball/pdfium/fpdfsdk/pdfsdk_fieldaction \
76 # fdrm
77 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
78 UnpackedTarball/pdfium/core/fdrm/crypto/fx_crypt \
79 UnpackedTarball/pdfium/core/fdrm/crypto/fx_crypt_aes \
80 UnpackedTarball/pdfium/core/fdrm/crypto/fx_crypt_sha \
83 # formfiller
84 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
85 UnpackedTarball/pdfium/fpdfsdk/formfiller/cba_fontmap \
86 UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_checkbox \
87 UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_combobox \
88 UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_formfiller \
89 UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_interactiveformfiller \
90 UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_listbox \
91 UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_pushbutton \
92 UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_radiobutton \
93 UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_textfield \
96 # fpdfapi
97 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
98 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/Adobe-CNS1-UCS2_5 \
99 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/B5pc-H_0 \
100 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/B5pc-V_0 \
101 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/CNS-EUC-H_0 \
102 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/CNS-EUC-V_0 \
103 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/ETen-B5-H_0 \
104 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/ETen-B5-V_0 \
105 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/ETenms-B5-H_0 \
106 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/ETenms-B5-V_0 \
107 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/HKscs-B5-H_5 \
108 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/HKscs-B5-V_5 \
109 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/UniCNS-UCS2-H_3 \
110 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/UniCNS-UCS2-V_3 \
111 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/UniCNS-UTF16-H_0 \
112 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/cmaps_cns1 \
113 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/Adobe-GB1-UCS2_5 \
114 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GB-EUC-H_0 \
115 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GB-EUC-V_0 \
116 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBK-EUC-H_2 \
117 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBK-EUC-V_2 \
118 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBK2K-H_5 \
119 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBK2K-V_5 \
120 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBKp-EUC-H_2 \
121 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBKp-EUC-V_2 \
122 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBpc-EUC-H_0 \
123 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBpc-EUC-V_0 \
124 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/UniGB-UCS2-H_4 \
125 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/UniGB-UCS2-V_4 \
126 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/cmaps_gb1 \
127 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/83pv-RKSJ-H_1 \
128 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/90ms-RKSJ-H_2 \
129 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/90ms-RKSJ-V_2 \
130 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/90msp-RKSJ-H_2 \
131 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/90msp-RKSJ-V_2 \
132 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/90pv-RKSJ-H_1 \
133 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/Add-RKSJ-H_1 \
134 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/Add-RKSJ-V_1 \
135 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/Adobe-Japan1-UCS2_4 \
136 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/EUC-H_1 \
137 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/EUC-V_1 \
138 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/Ext-RKSJ-H_2 \
139 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/Ext-RKSJ-V_2 \
140 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/H_1 \
141 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-HW-H_4 \
142 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-HW-V_4 \
143 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-H_4 \
144 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-V_4 \
145 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/V_1 \
146 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/cmaps_japan1 \
147 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/Adobe-Korea1-UCS2_2 \
148 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/KSC-EUC-H_0 \
149 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/KSC-EUC-V_0 \
150 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/KSCms-UHC-HW-H_1 \
151 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/KSCms-UHC-HW-V_1 \
152 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/KSCms-UHC-H_1 \
153 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/KSCms-UHC-V_1 \
154 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/KSCpc-EUC-H_0 \
155 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/UniKS-UCS2-H_1 \
156 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/UniKS-UCS2-V_1 \
157 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/UniKS-UTF16-H_0 \
158 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/cmaps_korea1 \
159 UnpackedTarball/pdfium/core/fpdfapi/cmaps/fpdf_cmaps \
160 UnpackedTarball/pdfium/core/fpdfapi/cpdf_modulemgr \
161 UnpackedTarball/pdfium/core/fpdfapi/cpdf_pagerendercontext \
162 UnpackedTarball/pdfium/core/fpdfapi/edit/cpdf_pagecontentgenerator \
163 UnpackedTarball/pdfium/core/fpdfapi/edit/fpdf_edit_create \
164 UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_cidfont \
165 UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_font \
166 UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_fontencoding \
167 UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_simplefont \
168 UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_truetypefont \
169 UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_type1font \
170 UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_type3char \
171 UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_type3font \
172 UnpackedTarball/pdfium/core/fpdfapi/font/fpdf_font \
173 UnpackedTarball/pdfium/core/fpdfapi/font/fpdf_font_cid \
174 UnpackedTarball/pdfium/core/fpdfapi/font/ttgsubtable \
175 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_allstates \
176 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_clippath \
177 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_color \
178 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_colorspace \
179 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_colorstate \
180 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_contentmark \
181 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_contentmarkitem \
182 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_contentparser \
183 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_docpagedata \
184 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_form \
185 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_formobject \
186 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_generalstate \
187 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_graphicstates \
188 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_image \
189 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_imageobject \
190 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_meshstream \
191 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_page \
192 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_pagemodule \
193 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_pageobject \
194 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_pageobjectholder \
195 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_pageobjectlist \
196 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_path \
197 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_pathobject \
198 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_pattern \
199 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_shadingobject \
200 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_shadingpattern \
201 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_streamcontentparser \
202 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_streamparser \
203 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_textobject \
204 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_textstate \
205 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_tilingpattern \
206 UnpackedTarball/pdfium/core/fpdfapi/page/fpdf_page_colors \
207 UnpackedTarball/pdfium/core/fpdfapi/page/fpdf_page_func \
208 UnpackedTarball/pdfium/core/fpdfapi/parser/cfdf_document \
209 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_array \
210 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_boolean \
211 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_crypto_handler \
212 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_data_avail \
213 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_dictionary \
214 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_document \
215 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_hint_tables \
216 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_indirect_object_holder \
217 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_linearized_header \
218 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_name \
219 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_null \
220 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_number \
221 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_object \
222 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_parser \
223 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_reference \
224 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_security_handler \
225 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_simple_parser \
226 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_stream \
227 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_stream_acc \
228 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_string \
229 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_syntax_parser \
230 UnpackedTarball/pdfium/core/fpdfapi/parser/fpdf_parser_decode \
231 UnpackedTarball/pdfium/core/fpdfapi/parser/fpdf_parser_utility \
232 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_charposlist \
233 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_devicebuffer \
234 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_dibsource \
235 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_dibtransferfunc \
236 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_docrenderdata \
237 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_imagecacheentry \
238 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_imageloader \
239 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_imagerenderer \
240 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_pagerendercache \
241 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_progressiverenderer \
242 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_rendercontext \
243 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_renderoptions \
244 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_renderstatus \
245 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_scaledrenderbuffer \
246 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_textrenderer \
247 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_transferfunc \
248 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_type3cache \
249 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_type3glyphs \
252 # fpdfdoc
253 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
254 UnpackedTarball/pdfium/core/fpdfdoc/cline \
255 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_aaction \
256 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_action \
257 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_actionfields \
258 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_annot \
259 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_annotlist \
260 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_apsettings \
261 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_bookmark \
262 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_bookmarktree \
263 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_defaultappearance \
264 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_dest \
265 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_docjsactions \
266 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_filespec \
267 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_formcontrol \
268 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_formfield \
269 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_iconfit \
270 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_interform \
271 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_link \
272 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_linklist \
273 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_metadata \
274 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_nametree \
275 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_numbertree \
276 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_occontext \
277 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_pagelabel \
278 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_variabletext \
279 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_viewerpreferences \
280 UnpackedTarball/pdfium/core/fpdfdoc/cpvt_color \
281 UnpackedTarball/pdfium/core/fpdfdoc/cpvt_fontmap \
282 UnpackedTarball/pdfium/core/fpdfdoc/cpvt_generateap \
283 UnpackedTarball/pdfium/core/fpdfdoc/cpvt_sectioninfo \
284 UnpackedTarball/pdfium/core/fpdfdoc/cpvt_wordinfo \
285 UnpackedTarball/pdfium/core/fpdfdoc/csection \
286 UnpackedTarball/pdfium/core/fpdfdoc/ctypeset \
287 UnpackedTarball/pdfium/core/fpdfdoc/doc_tagged \
290 # fpdftext
291 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
292 UnpackedTarball/pdfium/core/fpdftext/cpdf_linkextract \
293 UnpackedTarball/pdfium/core/fpdftext/cpdf_textpage \
294 UnpackedTarball/pdfium/core/fpdftext/cpdf_textpagefind \
295 UnpackedTarball/pdfium/core/fpdftext/unicodenormalizationdata \
298 # fxcodec
299 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
300 UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec \
301 UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_fax \
302 UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_flate \
303 UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_icc \
304 UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jbig \
305 UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg \
306 UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpx_opj \
307 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_ArithDecoder \
308 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_ArithIntDecoder \
309 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_BitStream \
310 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_Context \
311 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_GrdProc \
312 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_GrrdProc \
313 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_GsidProc \
314 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_HtrdProc \
315 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_HuffmanDecoder \
316 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_HuffmanTable \
317 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_HuffmanTable_Standard \
318 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_Image \
319 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_PatternDict \
320 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_PddProc \
321 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_SddProc \
322 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_Segment \
323 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_SymbolDict \
324 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_TrdProc \
327 # fxcrt
328 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
329 UnpackedTarball/pdfium/core/fxcrt/cfx_blockbuffer \
330 UnpackedTarball/pdfium/core/fxcrt/cfx_bytestring \
331 UnpackedTarball/pdfium/core/fxcrt/cfx_widestring \
332 UnpackedTarball/pdfium/core/fxcrt/fx_basic_buffer \
333 UnpackedTarball/pdfium/core/fxcrt/fx_basic_coords \
334 UnpackedTarball/pdfium/core/fxcrt/fx_basic_gcc \
335 UnpackedTarball/pdfium/core/fxcrt/fx_basic_memmgr \
336 UnpackedTarball/pdfium/core/fxcrt/fx_basic_utf \
337 UnpackedTarball/pdfium/core/fxcrt/fx_basic_util \
338 UnpackedTarball/pdfium/core/fxcrt/fx_bidi \
339 UnpackedTarball/pdfium/core/fxcrt/fx_extension \
340 UnpackedTarball/pdfium/core/fxcrt/fx_ucddata \
341 UnpackedTarball/pdfium/core/fxcrt/fx_unicode \
342 UnpackedTarball/pdfium/core/fxcrt/fxcrt_posix \
343 UnpackedTarball/pdfium/core/fxcrt/fxcrt_stream \
344 UnpackedTarball/pdfium/core/fxcrt/fxcrt_windows \
345 UnpackedTarball/pdfium/core/fxcrt/xml/cxml_attritem \
346 UnpackedTarball/pdfium/core/fxcrt/xml/cxml_attrmap \
347 UnpackedTarball/pdfium/core/fxcrt/xml/cxml_element \
348 UnpackedTarball/pdfium/core/fxcrt/xml/cxml_parser \
351 # fxedit
352 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
353 UnpackedTarball/pdfium/fpdfsdk/fxedit/fxet_ap \
354 UnpackedTarball/pdfium/fpdfsdk/fxedit/fxet_edit \
355 UnpackedTarball/pdfium/fpdfsdk/fxedit/fxet_list \
358 # fxge
359 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
360 UnpackedTarball/pdfium/core/fxge/dib/cfx_bitmapcomposer \
361 UnpackedTarball/pdfium/core/fxge/dib/cfx_bitmapstorer \
362 UnpackedTarball/pdfium/core/fxge/dib/cfx_dibextractor \
363 UnpackedTarball/pdfium/core/fxge/dib/cfx_dibitmap \
364 UnpackedTarball/pdfium/core/fxge/dib/cfx_dibsource \
365 UnpackedTarball/pdfium/core/fxge/dib/cfx_filtereddib \
366 UnpackedTarball/pdfium/core/fxge/dib/cfx_imagerenderer \
367 UnpackedTarball/pdfium/core/fxge/dib/cfx_imagestretcher \
368 UnpackedTarball/pdfium/core/fxge/dib/cfx_imagetransformer \
369 UnpackedTarball/pdfium/core/fxge/dib/cfx_scanlinecompositor \
370 UnpackedTarball/pdfium/core/fxge/dib/cstretchengine \
371 UnpackedTarball/pdfium/core/fxge/dib/fx_dib_main \
372 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitDingbats \
373 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitFixed \
374 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitFixedBold \
375 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic \
376 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitFixedItalic \
377 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSans \
378 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSansBold \
379 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSansBoldItalic \
380 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSansItalic \
381 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSansMM \
382 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSerif \
383 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSerifBold \
384 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic \
385 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSerifItalic \
386 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSerifMM \
387 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSymbol \
388 UnpackedTarball/pdfium/core/fxge/freetype/fx_freetype \
389 UnpackedTarball/pdfium/core/fxge/ge/cfx_cliprgn \
390 UnpackedTarball/pdfium/core/fxge/ge/cfx_facecache \
391 UnpackedTarball/pdfium/core/fxge/ge/cfx_folderfontinfo \
392 UnpackedTarball/pdfium/core/fxge/ge/cfx_font \
393 UnpackedTarball/pdfium/core/fxge/ge/cfx_fontcache \
394 UnpackedTarball/pdfium/core/fxge/ge/cfx_fontmapper \
395 UnpackedTarball/pdfium/core/fxge/ge/cfx_fontmgr \
396 UnpackedTarball/pdfium/core/fxge/ge/cfx_gemodule \
397 UnpackedTarball/pdfium/core/fxge/ge/cfx_graphstate \
398 UnpackedTarball/pdfium/core/fxge/ge/cfx_graphstatedata \
399 UnpackedTarball/pdfium/core/fxge/ge/cfx_pathdata \
400 UnpackedTarball/pdfium/core/fxge/ge/cfx_renderdevice \
401 UnpackedTarball/pdfium/core/fxge/ge/cfx_substfont \
402 UnpackedTarball/pdfium/core/fxge/ge/cfx_unicodeencoding \
403 UnpackedTarball/pdfium/core/fxge/ge/cttfontdesc \
404 UnpackedTarball/pdfium/core/fxge/ge/fx_ge_fontmap \
405 UnpackedTarball/pdfium/core/fxge/ge/fx_ge_linux \
406 UnpackedTarball/pdfium/core/fxge/ge/fx_ge_text \
407 UnpackedTarball/pdfium/core/fxge/ifx_renderdevicedriver \
408 UnpackedTarball/pdfium/core/fxge/agg/fx_agg_driver \
411 # javascript, build with pdf_enable_v8 disabled.
412 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
413 UnpackedTarball/pdfium/fpdfsdk/javascript/JS_Runtime_Stub \
416 # pdfwindow
417 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
418 UnpackedTarball/pdfium/fpdfsdk/pdfwindow/PWL_Button \
419 UnpackedTarball/pdfium/fpdfsdk/pdfwindow/PWL_Caret \
420 UnpackedTarball/pdfium/fpdfsdk/pdfwindow/PWL_ComboBox \
421 UnpackedTarball/pdfium/fpdfsdk/pdfwindow/PWL_Edit \
422 UnpackedTarball/pdfium/fpdfsdk/pdfwindow/PWL_EditCtrl \
423 UnpackedTarball/pdfium/fpdfsdk/pdfwindow/PWL_FontMap \
424 UnpackedTarball/pdfium/fpdfsdk/pdfwindow/PWL_Icon \
425 UnpackedTarball/pdfium/fpdfsdk/pdfwindow/PWL_ListBox \
426 UnpackedTarball/pdfium/fpdfsdk/pdfwindow/PWL_ScrollBar \
427 UnpackedTarball/pdfium/fpdfsdk/pdfwindow/PWL_SpecialButton \
428 UnpackedTarball/pdfium/fpdfsdk/pdfwindow/PWL_Utils \
429 UnpackedTarball/pdfium/fpdfsdk/pdfwindow/PWL_Wnd \
430 UnpackedTarball/pdfium/fpdfsdk/pdfwindow/cpwl_color \
433 # third_party/bigint
434 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
435 UnpackedTarball/pdfium/third_party/bigint/BigInteger \
436 UnpackedTarball/pdfium/third_party/bigint/BigIntegerUtils \
437 UnpackedTarball/pdfium/third_party/bigint/BigUnsigned \
438 UnpackedTarball/pdfium/third_party/bigint/BigUnsignedInABase \
441 # third_party/fx_agg
442 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
443 UnpackedTarball/pdfium/third_party/agg23/agg_curves \
444 UnpackedTarball/pdfium/third_party/agg23/agg_path_storage \
445 UnpackedTarball/pdfium/third_party/agg23/agg_rasterizer_scanline_aa \
446 UnpackedTarball/pdfium/third_party/agg23/agg_vcgen_dash \
447 UnpackedTarball/pdfium/third_party/agg23/agg_vcgen_stroke \
450 # third_party/fx_lcms2
451 $(eval $(call gb_Library_add_generated_cobjects,pdfium,\
452 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmscam02 \
453 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmscgats \
454 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmscnvrt \
455 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmserr \
456 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmsgamma \
457 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmsgmt \
458 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmshalf \
459 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmsintrp \
460 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmsio0 \
461 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmsio1 \
462 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmslut \
463 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmsmd5 \
464 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmsmtrx \
465 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmsnamed \
466 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmsopt \
467 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmspack \
468 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmspcs \
469 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmsplugin \
470 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmsps2 \
471 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmssamp \
472 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmssm \
473 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmstypes \
474 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmsvirt \
475 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmswtpnt \
476 UnpackedTarball/pdfium/third_party/lcms2-2.6/src/cmsxform \
479 # third_party/fx_libopenjpeg
480 $(eval $(call gb_Library_add_generated_cobjects,pdfium,\
481 UnpackedTarball/pdfium/third_party/libopenjpeg20/bio \
482 UnpackedTarball/pdfium/third_party/libopenjpeg20/cio \
483 UnpackedTarball/pdfium/third_party/libopenjpeg20/dwt \
484 UnpackedTarball/pdfium/third_party/libopenjpeg20/event \
485 UnpackedTarball/pdfium/third_party/libopenjpeg20/function_list \
486 UnpackedTarball/pdfium/third_party/libopenjpeg20/image \
487 UnpackedTarball/pdfium/third_party/libopenjpeg20/invert \
488 UnpackedTarball/pdfium/third_party/libopenjpeg20/j2k \
489 UnpackedTarball/pdfium/third_party/libopenjpeg20/jp2 \
490 UnpackedTarball/pdfium/third_party/libopenjpeg20/mct \
491 UnpackedTarball/pdfium/third_party/libopenjpeg20/mqc \
492 UnpackedTarball/pdfium/third_party/libopenjpeg20/openjpeg \
493 UnpackedTarball/pdfium/third_party/libopenjpeg20/opj_clock \
494 UnpackedTarball/pdfium/third_party/libopenjpeg20/pi \
495 UnpackedTarball/pdfium/third_party/libopenjpeg20/raw \
496 UnpackedTarball/pdfium/third_party/libopenjpeg20/t1 \
497 UnpackedTarball/pdfium/third_party/libopenjpeg20/t2 \
498 UnpackedTarball/pdfium/third_party/libopenjpeg20/tcd \
499 UnpackedTarball/pdfium/third_party/libopenjpeg20/tgt \
502 # pdfium_base
503 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
504 UnpackedTarball/pdfium/third_party/base/allocator/partition_allocator/address_space_randomization \
505 UnpackedTarball/pdfium/third_party/base/allocator/partition_allocator/page_allocator \
506 UnpackedTarball/pdfium/third_party/base/allocator/partition_allocator/spin_lock \
507 UnpackedTarball/pdfium/third_party/base/allocator/partition_allocator/partition_alloc \
510 $(eval $(call gb_Library_use_externals,pdfium,\
511 jpeg \
512 zlib \
515 ifeq ($(OS),LINUX)
516 $(eval $(call gb_Library_add_libs,pdfium,\
517 -ldl \
518 -lrt \
519 -lpthread \
522 $(eval $(call gb_Library_use_external,pdfium,freetype))
523 else
524 $(eval $(call gb_Library_set_include,pdfium,\
525 -I$(WORKDIR)/UnpackedTarball/pdfium/third_party/freetype/include/ \
526 -I$(WORKDIR)/UnpackedTarball/pdfium/third_party/freetype/src/include/ \
527 $$(INCLUDE) \
530 $(eval $(call gb_Library_add_defs,pdfium,\
531 -DFT2_BUILD_LIBRARY \
532 -DFT_CONFIG_MODULES_H='<freetype-custom-config/ftmodule.h>' \
533 -DFT_CONFIG_OPTIONS_H='<freetype-custom-config/ftoption.h>' \
536 # third_party/freetype
537 $(eval $(call gb_Library_add_generated_cobjects,pdfium,\
538 UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftbase \
539 UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftbitmap \
540 UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftglyph \
541 UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftinit \
542 UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftlcdfil \
543 UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftmm \
544 UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftsystem \
545 UnpackedTarball/pdfium/third_party/freetype/src/src/cff/cff \
546 UnpackedTarball/pdfium/third_party/freetype/src/src/cid/type1cid \
547 UnpackedTarball/pdfium/third_party/freetype/src/src/psaux/psaux \
548 UnpackedTarball/pdfium/third_party/freetype/src/src/pshinter/pshinter \
549 UnpackedTarball/pdfium/third_party/freetype/src/src/psnames/psmodule \
550 UnpackedTarball/pdfium/third_party/freetype/src/src/raster/raster \
551 UnpackedTarball/pdfium/third_party/freetype/src/src/sfnt/sfnt \
552 UnpackedTarball/pdfium/third_party/freetype/src/src/smooth/smooth \
553 UnpackedTarball/pdfium/third_party/freetype/src/src/truetype/truetype \
554 UnpackedTarball/pdfium/third_party/freetype/src/src/type1/type1 \
556 endif
558 ifeq ($(OS),WNT)
559 # fxge
560 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
561 UnpackedTarball/pdfium/core/fxge/win32/cfx_psrenderer \
562 UnpackedTarball/pdfium/core/fxge/win32/cpsoutput \
563 UnpackedTarball/pdfium/core/fxge/win32/fx_win32_device \
564 UnpackedTarball/pdfium/core/fxge/win32/fx_win32_dib \
565 UnpackedTarball/pdfium/core/fxge/win32/fx_win32_dwrite \
566 UnpackedTarball/pdfium/core/fxge/win32/fx_win32_gdipext \
567 UnpackedTarball/pdfium/core/fxge/win32/fx_win32_print \
570 $(eval $(call gb_Library_use_system_win32_libs,pdfium,\
571 gdi32 \
573 endif
575 ifeq ($(OS),MACOSX)
576 # fxge
577 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
578 UnpackedTarball/pdfium/core/fxge/apple/fx_apple_platform \
579 UnpackedTarball/pdfium/core/fxge/apple/fx_mac_imp \
580 UnpackedTarball/pdfium/core/fxge/apple/fx_quartz_device \
583 $(eval $(call gb_Library_use_system_darwin_frameworks,pdfium,\
584 AppKit \
585 CoreFoundation \
587 endif
589 ifeq ($(OS),ANDROID)
590 # fxge
591 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
592 UnpackedTarball/pdfium/core/fxge/android/cfpf_skiadevicemodule \
593 UnpackedTarball/pdfium/core/fxge/android/cfpf_skiafont \
594 UnpackedTarball/pdfium/core/fxge/android/cfpf_skiafontmgr \
595 UnpackedTarball/pdfium/core/fxge/android/cfx_androidfontinfo \
596 UnpackedTarball/pdfium/core/fxge/android/fx_android_imp \
598 endif
600 # vim: set noet sw=4 ts=4: