cid#1507934 Big parameter passed by value
[LibreOffice.git] / external / pdfium / Library_pdfium.mk
blob9ae166889b2c42be50714e4d91849186ed94c557
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_disabled,pdfium))
16 $(eval $(call gb_Library_set_precompiled_header,pdfium,external/pdfium/inc/pch/precompiled_pdfium))
18 $(eval $(call gb_Library_set_include,pdfium,\
19 -I$(call gb_UnpackedTarball_get_dir,pdfium) \
20 -I$(call gb_UnpackedTarball_get_dir,pdfium)/third_party \
21 -I$(call gb_UnpackedTarball_get_dir,pdfium)/third_party/agg23 \
22 $(if $(filter TRUE,$(SYSTEM_ABSEIL)),$(ABSEIL_CFLAGS),-I$(call gb_UnpackedTarball_get_dir,pdfium)/third_party/abseil-cpp) \
23 $(if $(filter TRUE,$(SYSTEM_OPENJPEG2)),$(OPENJPEG2_CFLAGS)) \
24 $$(INCLUDE) \
27 $(eval $(call gb_Library_add_defs,pdfium,\
28 -DFPDF_IMPLEMENTATION \
29 -DUSE_SYSTEM_LCMS2 \
30 -DUSE_SYSTEM_LIBJPEG \
31 -DUSE_SYSTEM_ZLIB \
32 -DUSE_SYSTEM_ICUUC \
33 -DMEMORY_TOOL_REPLACES_ALLOCATOR \
34 -DUNICODE \
35 -DWIN32_LEAN_AND_MEAN \
36 -DCOMPONENT_BUILD \
38 ifeq ($(SYSTEM_OPENJPEG2),TRUE)
39 $(eval $(call gb_Library_add_defs,pdfium,\
40 -DUSE_SYSTEM_LIBOPENJPEG2 \
42 endif
45 $(eval $(call gb_Library_set_generated_cxx_suffix,pdfium,cpp))
47 # pdfium
48 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
49 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_annot \
50 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_annotiteration \
51 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_baannot \
52 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_formfillenvironment \
53 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_pageview \
54 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_widget \
55 UnpackedTarball/pdfium/fpdfsdk/fpdf_dataavail \
56 UnpackedTarball/pdfium/fpdfsdk/fpdf_ext \
57 UnpackedTarball/pdfium/fpdfsdk/fpdf_flatten \
58 UnpackedTarball/pdfium/fpdfsdk/fpdf_progressive \
59 UnpackedTarball/pdfium/fpdfsdk/fpdf_searchex \
60 UnpackedTarball/pdfium/fpdfsdk/fpdf_structtree \
61 UnpackedTarball/pdfium/fpdfsdk/fpdf_sysfontinfo \
62 UnpackedTarball/pdfium/fpdfsdk/fpdf_transformpage \
63 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_annotiterator \
64 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_customaccess \
65 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_filewriteadapter \
66 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_helpers \
67 UnpackedTarball/pdfium/fpdfsdk/fpdf_annot \
68 UnpackedTarball/pdfium/fpdfsdk/fpdf_attachment \
69 UnpackedTarball/pdfium/fpdfsdk/fpdf_catalog \
70 UnpackedTarball/pdfium/fpdfsdk/fpdf_doc \
71 UnpackedTarball/pdfium/fpdfsdk/fpdf_editimg \
72 UnpackedTarball/pdfium/fpdfsdk/fpdf_editpage \
73 UnpackedTarball/pdfium/fpdfsdk/fpdf_editpath \
74 UnpackedTarball/pdfium/fpdfsdk/fpdf_edittext \
75 UnpackedTarball/pdfium/fpdfsdk/fpdf_formfill \
76 UnpackedTarball/pdfium/fpdfsdk/fpdf_save \
77 UnpackedTarball/pdfium/fpdfsdk/fpdf_text \
78 UnpackedTarball/pdfium/fpdfsdk/fpdf_view \
79 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_pauseadapter \
80 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_interactiveform \
81 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_renderpage \
82 UnpackedTarball/pdfium/fpdfsdk/fpdf_signature \
83 UnpackedTarball/pdfium/constants/annotation_common \
84 UnpackedTarball/pdfium/constants/appearance \
85 UnpackedTarball/pdfium/constants/form_fields \
86 UnpackedTarball/pdfium/constants/page_object \
87 UnpackedTarball/pdfium/constants/stream_dict_common \
88 UnpackedTarball/pdfium/constants/transparency \
89 UnpackedTarball/pdfium/constants/font_encodings \
92 # fdrm
93 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
94 UnpackedTarball/pdfium/core/fdrm/fx_crypt \
95 UnpackedTarball/pdfium/core/fdrm/fx_crypt_aes \
96 UnpackedTarball/pdfium/core/fdrm/fx_crypt_sha \
99 # formfiller
100 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
101 UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_checkbox \
102 UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_combobox \
103 UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_formfield \
104 UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_interactiveformfiller \
105 UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_listbox \
106 UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_pushbutton \
107 UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_radiobutton \
108 UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_textfield \
109 UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_button \
110 UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_textobject \
111 UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_fieldaction \
112 UnpackedTarball/pdfium/fpdfsdk/formfiller/cffl_perwindowdata \
115 # fpdfapi
116 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
117 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/Adobe-CNS1-UCS2_5 \
118 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/B5pc-H_0 \
119 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/B5pc-V_0 \
120 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/CNS-EUC-H_0 \
121 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/CNS-EUC-V_0 \
122 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/ETen-B5-H_0 \
123 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/ETen-B5-V_0 \
124 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/ETenms-B5-H_0 \
125 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/ETenms-B5-V_0 \
126 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/HKscs-B5-H_5 \
127 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/HKscs-B5-V_5 \
128 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/UniCNS-UCS2-H_3 \
129 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/UniCNS-UCS2-V_3 \
130 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/UniCNS-UTF16-H_0 \
131 UnpackedTarball/pdfium/core/fpdfapi/cmaps/CNS1/cmaps_cns1 \
132 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/Adobe-GB1-UCS2_5 \
133 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GB-EUC-H_0 \
134 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GB-EUC-V_0 \
135 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBK-EUC-H_2 \
136 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBK-EUC-V_2 \
137 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBK2K-H_5 \
138 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBK2K-V_5 \
139 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBKp-EUC-H_2 \
140 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBKp-EUC-V_2 \
141 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBpc-EUC-H_0 \
142 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/GBpc-EUC-V_0 \
143 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/UniGB-UCS2-H_4 \
144 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/UniGB-UCS2-V_4 \
145 UnpackedTarball/pdfium/core/fpdfapi/cmaps/GB1/cmaps_gb1 \
146 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/83pv-RKSJ-H_1 \
147 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/90ms-RKSJ-H_2 \
148 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/90ms-RKSJ-V_2 \
149 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/90msp-RKSJ-H_2 \
150 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/90msp-RKSJ-V_2 \
151 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/90pv-RKSJ-H_1 \
152 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/Add-RKSJ-H_1 \
153 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/Add-RKSJ-V_1 \
154 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/Adobe-Japan1-UCS2_4 \
155 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/EUC-H_1 \
156 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/EUC-V_1 \
157 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/Ext-RKSJ-H_2 \
158 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/Ext-RKSJ-V_2 \
159 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/H_1 \
160 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-HW-H_4 \
161 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-HW-V_4 \
162 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-H_4 \
163 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-V_4 \
164 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/V_1 \
165 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Japan1/cmaps_japan1 \
166 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/Adobe-Korea1-UCS2_2 \
167 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/KSC-EUC-H_0 \
168 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/KSC-EUC-V_0 \
169 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/KSCms-UHC-HW-H_1 \
170 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/KSCms-UHC-HW-V_1 \
171 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/KSCms-UHC-H_1 \
172 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/KSCms-UHC-V_1 \
173 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/KSCpc-EUC-H_0 \
174 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/UniKS-UCS2-H_1 \
175 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/UniKS-UCS2-V_1 \
176 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/UniKS-UTF16-H_0 \
177 UnpackedTarball/pdfium/core/fpdfapi/cmaps/Korea1/cmaps_korea1 \
178 UnpackedTarball/pdfium/core/fpdfapi/cmaps/fpdf_cmaps \
179 UnpackedTarball/pdfium/core/fpdfapi/edit/cpdf_pagecontentgenerator \
180 UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_cidfont \
181 UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_font \
182 UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_fontencoding \
183 UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_simplefont \
184 UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_truetypefont \
185 UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_type1font \
186 UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_type3char \
187 UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_type3font \
188 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_allstates \
189 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_clippath \
190 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_color \
191 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_colorspace \
192 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_colorstate \
193 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_contentmarks \
194 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_contentmarkitem \
195 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_contentparser \
196 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_docpagedata \
197 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_form \
198 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_formobject \
199 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_generalstate \
200 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_graphicstates \
201 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_image \
202 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_imageobject \
203 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_meshstream \
204 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_page \
205 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_pagemodule \
206 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_pageobject \
207 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_pageobjectholder \
208 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_path \
209 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_pathobject \
210 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_pattern \
211 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_shadingobject \
212 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_shadingpattern \
213 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_streamcontentparser \
214 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_streamparser \
215 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_textobject \
216 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_textstate \
217 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_tilingpattern \
218 UnpackedTarball/pdfium/core/fpdfapi/parser/cfdf_document \
219 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_array \
220 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_boolean \
221 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_crypto_handler \
222 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_data_avail \
223 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_dictionary \
224 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_document \
225 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_hint_tables \
226 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_indirect_object_holder \
227 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_linearized_header \
228 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_name \
229 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_null \
230 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_number \
231 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_object \
232 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_parser \
233 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_reference \
234 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_security_handler \
235 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_simple_parser \
236 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_stream \
237 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_stream_acc \
238 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_string \
239 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_syntax_parser \
240 UnpackedTarball/pdfium/core/fpdfapi/parser/fpdf_parser_decode \
241 UnpackedTarball/pdfium/core/fpdfapi/parser/fpdf_parser_utility \
242 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_object_walker \
243 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_read_validator \
244 UnpackedTarball/pdfium/core/fpdfapi/render/charposlist \
245 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_devicebuffer \
246 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_docrenderdata \
247 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_imagecacheentry \
248 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_imageloader \
249 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_imagerenderer \
250 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_pagerendercache \
251 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_progressiverenderer \
252 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_rendercontext \
253 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_renderoptions \
254 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_renderstatus \
255 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_scaledrenderbuffer \
256 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_textrenderer \
257 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_type3cache \
258 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_type3glyphmap \
259 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_rendershading \
260 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_rendertiling \
261 UnpackedTarball/pdfium/core/fpdfapi/edit/cpdf_creator \
262 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_encryptor \
263 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_flateencoder \
264 UnpackedTarball/pdfium/core/fpdfapi/font/cfx_cttgsubtable \
265 UnpackedTarball/pdfium/core/fpdfapi/font/cfx_stockfontarray \
266 UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_cid2unicodemap \
267 UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_cmap \
268 UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_cmapparser \
269 UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_fontglobals \
270 UnpackedTarball/pdfium/core/fpdfapi/font/cpdf_tounicodemap \
271 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_devicecs \
272 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_expintfunc \
273 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_function \
274 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_iccprofile \
275 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_patterncs \
276 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_psengine \
277 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_psfunc \
278 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_sampledfunc \
279 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_stitchfunc \
280 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_object_avail \
281 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_page_object_avail \
282 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_cross_ref_avail \
283 UnpackedTarball/pdfium/core/fpdfapi/edit/cpdf_pagecontentmanager \
284 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_transparency \
285 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_dib \
286 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_object_stream \
287 UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_cross_ref_table \
288 UnpackedTarball/pdfium/core/fpdfapi/edit/cpdf_stringarchivestream \
289 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_occontext \
290 UnpackedTarball/pdfium/core/fpdfapi/edit/cpdf_contentstream_write_utils \
291 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_annotcontext \
292 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_pagerendercontext \
293 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_transferfuncdib \
294 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_transferfunc \
295 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_basedcs \
296 UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_indexedcs \
299 # fpdfdoc
300 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
301 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_aaction \
302 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_action \
303 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_annot \
304 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_annotlist \
305 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_apsettings \
306 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_bookmark \
307 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_bookmarktree \
308 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_defaultappearance \
309 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_dest \
310 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_filespec \
311 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_formcontrol \
312 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_formfield \
313 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_iconfit \
314 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_interactiveform \
315 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_link \
316 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_linklist \
317 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_metadata \
318 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_nametree \
319 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_numbertree \
320 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_pagelabel \
321 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_viewerpreferences \
322 UnpackedTarball/pdfium/core/fpdfdoc/cpvt_fontmap \
323 UnpackedTarball/pdfium/core/fpdfdoc/cpvt_wordinfo \
324 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_structelement \
325 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_structtree \
326 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_color_utils \
327 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_icon \
328 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_bafontmap \
329 UnpackedTarball/pdfium/core/fpdfdoc/cpdf_generateap \
330 UnpackedTarball/pdfium/core/fpdfdoc/cpvt_section \
331 UnpackedTarball/pdfium/core/fpdfdoc/cpvt_variabletext \
334 # fpdftext
335 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
336 UnpackedTarball/pdfium/core/fpdftext/cpdf_linkextract \
337 UnpackedTarball/pdfium/core/fpdftext/cpdf_textpage \
338 UnpackedTarball/pdfium/core/fpdftext/cpdf_textpagefind \
339 UnpackedTarball/pdfium/core/fpdftext/unicodenormalizationdata \
342 # fxcodec
343 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
344 UnpackedTarball/pdfium/core/fxcodec/fx_codec \
345 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_ArithDecoder \
346 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_ArithIntDecoder \
347 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_BitStream \
348 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_Context \
349 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_GrdProc \
350 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_GrrdProc \
351 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_HtrdProc \
352 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_HuffmanDecoder \
353 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_HuffmanTable \
354 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_Image \
355 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_PatternDict \
356 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_PddProc \
357 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_SddProc \
358 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_Segment \
359 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_SymbolDict \
360 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_TrdProc \
361 UnpackedTarball/pdfium/core/fxcodec/gif/cfx_gif \
362 UnpackedTarball/pdfium/core/fxcodec/gif/lzw_decompressor \
363 UnpackedTarball/pdfium/core/fxcodec/cfx_codec_memory \
364 UnpackedTarball/pdfium/core/fxcodec/fax/faxmodule \
365 UnpackedTarball/pdfium/core/fxcodec/scanlinedecoder \
366 UnpackedTarball/pdfium/core/fxcodec/jpeg/jpegmodule \
367 UnpackedTarball/pdfium/core/fxcodec/jpx/cjpx_decoder \
368 UnpackedTarball/pdfium/core/fxcodec/jpx/jpx_decode_utils \
369 UnpackedTarball/pdfium/core/fxcodec/jbig2/JBig2_DocumentContext \
370 UnpackedTarball/pdfium/core/fxcodec/basic/basicmodule \
371 UnpackedTarball/pdfium/core/fxcodec/flate/flatemodule \
372 UnpackedTarball/pdfium/core/fxcodec/icc/icc_transform \
373 UnpackedTarball/pdfium/core/fxcodec/jbig2/jbig2_decoder \
374 UnpackedTarball/pdfium/core/fxcodec/jpeg/jpeg_common \
377 # fxcrt
378 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
379 UnpackedTarball/pdfium/core/fxcrt/cfx_memorystream \
380 UnpackedTarball/pdfium/core/fxcrt/cfx_seekablestreamproxy \
381 UnpackedTarball/pdfium/core/fxcrt/fx_bidi \
382 UnpackedTarball/pdfium/core/fxcrt/fx_coordinates \
383 UnpackedTarball/pdfium/core/fxcrt/fx_extension \
384 UnpackedTarball/pdfium/core/fxcrt/fx_memory \
385 UnpackedTarball/pdfium/core/fxcrt/fx_stream \
386 UnpackedTarball/pdfium/core/fxcrt/fx_system \
387 UnpackedTarball/pdfium/core/fxcrt/fx_unicode \
388 UnpackedTarball/pdfium/core/fxcrt/xml/cfx_xmldocument \
389 UnpackedTarball/pdfium/core/fxcrt/xml/cfx_xmlelement \
390 UnpackedTarball/pdfium/core/fxcrt/xml/cfx_xmlparser \
391 UnpackedTarball/pdfium/core/fxcrt/xml/cfx_xmlnode \
392 UnpackedTarball/pdfium/core/fxcrt/xml/cfx_xmlinstruction \
393 UnpackedTarball/pdfium/core/fxcrt/xml/cfx_xmltext \
394 UnpackedTarball/pdfium/core/fxcrt/xml/cfx_xmlchardata \
395 UnpackedTarball/pdfium/core/fxcrt/css/cfx_csscolorvalue \
396 UnpackedTarball/pdfium/core/fxcrt/css/cfx_csscomputedstyle \
397 UnpackedTarball/pdfium/core/fxcrt/css/cfx_csscustomproperty \
398 UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssdeclaration \
399 UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssenumvalue \
400 UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssnumbervalue \
401 UnpackedTarball/pdfium/core/fxcrt/css/cfx_csspropertyholder \
402 UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssrulecollection \
403 UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssselector \
404 UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssstringvalue \
405 UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssstylerule \
406 UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssstyleselector \
407 UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssstylesheet \
408 UnpackedTarball/pdfium/core/fxcrt/css/cfx_csssyntaxparser \
409 UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssvalue \
410 UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssvaluelist \
411 UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssvaluelistparser \
412 UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssinputtextbuf \
413 UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssoutputtextbuf \
414 UnpackedTarball/pdfium/core/fxcrt/cfx_datetime \
415 UnpackedTarball/pdfium/core/fxcrt/bytestring \
416 UnpackedTarball/pdfium/core/fxcrt/cfx_binarybuf \
417 UnpackedTarball/pdfium/core/fxcrt/cfx_bitstream \
418 UnpackedTarball/pdfium/core/fxcrt/cfx_utf8decoder \
419 UnpackedTarball/pdfium/core/fxcrt/cfx_widetextbuf \
420 UnpackedTarball/pdfium/core/fxcrt/fx_random \
421 UnpackedTarball/pdfium/core/fxcrt/fx_string \
422 UnpackedTarball/pdfium/core/fxcrt/widestring \
423 UnpackedTarball/pdfium/core/fxcrt/css/cfx_cssdata \
424 UnpackedTarball/pdfium/core/fxcrt/fx_codepage \
425 UnpackedTarball/pdfium/core/fxcrt/fx_number \
426 UnpackedTarball/pdfium/core/fxcrt/cfx_utf8encoder \
427 UnpackedTarball/pdfium/core/fxcrt/cfx_readonlymemorystream \
428 UnpackedTarball/pdfium/core/fxcrt/observed_ptr \
429 UnpackedTarball/pdfium/core/fxcrt/string_data_template \
432 # fxge
433 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
434 UnpackedTarball/pdfium/core/fxge/dib/cfx_bitmapcomposer \
435 UnpackedTarball/pdfium/core/fxge/dib/cfx_bitmapstorer \
436 UnpackedTarball/pdfium/core/fxge/dib/cfx_dibextractor \
437 UnpackedTarball/pdfium/core/fxge/dib/cfx_dibitmap \
438 UnpackedTarball/pdfium/core/fxge/cfx_drawutils \
439 UnpackedTarball/pdfium/core/fxge/dib/cfx_imagerenderer \
440 UnpackedTarball/pdfium/core/fxge/dib/cfx_imagestretcher \
441 UnpackedTarball/pdfium/core/fxge/dib/cfx_imagetransformer \
442 UnpackedTarball/pdfium/core/fxge/dib/cfx_scanlinecompositor \
443 UnpackedTarball/pdfium/core/fxge/dib/cstretchengine \
444 UnpackedTarball/pdfium/core/fxge/dib/fx_dib \
445 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitDingbats \
446 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitFixed \
447 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitFixedBold \
448 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic \
449 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitFixedItalic \
450 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSans \
451 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSansBold \
452 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSansBoldItalic \
453 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSansItalic \
454 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSansMM \
455 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSerif \
456 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSerifBold \
457 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic \
458 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSerifItalic \
459 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSerifMM \
460 UnpackedTarball/pdfium/core/fxge/fontdata/chromefontdata/FoxitSymbol \
461 UnpackedTarball/pdfium/core/fxge/freetype/fx_freetype \
462 UnpackedTarball/pdfium/core/fxge/renderdevicedriver_iface \
463 UnpackedTarball/pdfium/core/fxge/agg/fx_agg_driver \
464 UnpackedTarball/pdfium/core/fxge/cfx_cliprgn \
465 UnpackedTarball/pdfium/core/fxge/cfx_color \
466 UnpackedTarball/pdfium/core/fxge/cfx_glyphcache \
467 UnpackedTarball/pdfium/core/fxge/cfx_folderfontinfo \
468 UnpackedTarball/pdfium/core/fxge/cfx_font \
469 UnpackedTarball/pdfium/core/fxge/cfx_fontcache \
470 UnpackedTarball/pdfium/core/fxge/cfx_fontmapper \
471 UnpackedTarball/pdfium/core/fxge/cfx_fontmgr \
472 UnpackedTarball/pdfium/core/fxge/cfx_gemodule \
473 UnpackedTarball/pdfium/core/fxge/cfx_graphstate \
474 UnpackedTarball/pdfium/core/fxge/cfx_graphstatedata \
475 UnpackedTarball/pdfium/core/fxge/cfx_path \
476 UnpackedTarball/pdfium/core/fxge/cfx_renderdevice \
477 UnpackedTarball/pdfium/core/fxge/cfx_substfont \
478 UnpackedTarball/pdfium/core/fxge/cfx_unicodeencoding \
479 UnpackedTarball/pdfium/core/fxge/cfx_glyphbitmap \
480 UnpackedTarball/pdfium/core/fxge/scoped_font_transform \
481 UnpackedTarball/pdfium/core/fxge/text_glyph_pos \
482 UnpackedTarball/pdfium/core/fxge/fx_font \
483 UnpackedTarball/pdfium/core/fxge/dib/cfx_dibbase \
484 UnpackedTarball/pdfium/core/fxge/dib/cfx_cmyk_to_srgb \
485 UnpackedTarball/pdfium/core/fxge/text_char_pos \
486 UnpackedTarball/pdfium/core/fxge/cfx_face \
487 UnpackedTarball/pdfium/core/fxge/cfx_defaultrenderdevice \
488 UnpackedTarball/pdfium/core/fxge/calculate_pitch \
491 # javascript, build with pdf_enable_v8 disabled.
492 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
493 UnpackedTarball/pdfium/fxjs/cjs_event_context_stub \
494 UnpackedTarball/pdfium/fxjs/cjs_runtimestub \
495 UnpackedTarball/pdfium/fxjs/ijs_runtime \
498 # pwl
499 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
500 UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_appstream \
501 UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_button \
502 UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_caret \
503 UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_combo_box \
504 UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_edit \
505 UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_edit_impl \
506 UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_sbbutton \
507 UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_list_box \
508 UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_cbbutton \
509 UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_cblistbox \
510 UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_list_ctrl \
511 UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_scroll_bar \
512 UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_special_button \
513 UnpackedTarball/pdfium/core/fxcrt/cfx_timer \
514 UnpackedTarball/pdfium/fpdfsdk/pwl/cpwl_wnd \
517 # third_party/fx_agg
518 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
519 UnpackedTarball/pdfium/third_party/agg23/agg_curves \
520 UnpackedTarball/pdfium/third_party/agg23/agg_path_storage \
521 UnpackedTarball/pdfium/third_party/agg23/agg_rasterizer_scanline_aa \
522 UnpackedTarball/pdfium/third_party/agg23/agg_vcgen_dash \
523 UnpackedTarball/pdfium/third_party/agg23/agg_vcgen_stroke \
526 ifneq ($(SYSTEM_ABSEIL),TRUE)
527 # third_party/abseil-cpp
528 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
529 UnpackedTarball/pdfium/third_party/abseil-cpp/absl/types/bad_optional_access \
531 endif
533 ifneq ($(SYSTEM_OPENJPEG2),TRUE)
534 # third_party/fx_libopenjpeg
535 $(eval $(call gb_Library_add_generated_cobjects,pdfium,\
536 UnpackedTarball/pdfium/third_party/libopenjpeg/bio \
537 UnpackedTarball/pdfium/third_party/libopenjpeg/cio \
538 UnpackedTarball/pdfium/third_party/libopenjpeg/dwt \
539 UnpackedTarball/pdfium/third_party/libopenjpeg/event \
540 UnpackedTarball/pdfium/third_party/libopenjpeg/function_list \
541 UnpackedTarball/pdfium/third_party/libopenjpeg/image \
542 UnpackedTarball/pdfium/third_party/libopenjpeg/invert \
543 UnpackedTarball/pdfium/third_party/libopenjpeg/j2k \
544 UnpackedTarball/pdfium/third_party/libopenjpeg/jp2 \
545 UnpackedTarball/pdfium/third_party/libopenjpeg/mct \
546 UnpackedTarball/pdfium/third_party/libopenjpeg/mqc \
547 UnpackedTarball/pdfium/third_party/libopenjpeg/openjpeg \
548 UnpackedTarball/pdfium/third_party/libopenjpeg/opj_clock \
549 UnpackedTarball/pdfium/third_party/libopenjpeg/pi \
550 UnpackedTarball/pdfium/third_party/libopenjpeg/thread \
551 UnpackedTarball/pdfium/third_party/libopenjpeg/t1 \
552 UnpackedTarball/pdfium/third_party/libopenjpeg/t2 \
553 UnpackedTarball/pdfium/third_party/libopenjpeg/tcd \
554 UnpackedTarball/pdfium/third_party/libopenjpeg/tgt \
555 UnpackedTarball/pdfium/third_party/libopenjpeg/sparse_array \
556 UnpackedTarball/pdfium/third_party/libopenjpeg/ht_dec \
559 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
560 UnpackedTarball/pdfium/third_party/libopenjpeg/opj_malloc \
562 endif
564 # pdfium_base
565 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
566 UnpackedTarball/pdfium/third_party/base/allocator/partition_allocator/address_space_randomization \
567 UnpackedTarball/pdfium/third_party/base/allocator/partition_allocator/page_allocator \
568 UnpackedTarball/pdfium/third_party/base/allocator/partition_allocator/spin_lock \
569 UnpackedTarball/pdfium/third_party/base/allocator/partition_allocator/partition_alloc \
570 UnpackedTarball/pdfium/third_party/base/debug/alias \
571 UnpackedTarball/pdfium/third_party/base/allocator/partition_allocator/oom_callback \
572 UnpackedTarball/pdfium/third_party/base/allocator/partition_allocator/partition_bucket \
573 UnpackedTarball/pdfium/third_party/base/allocator/partition_allocator/partition_oom \
574 UnpackedTarball/pdfium/third_party/base/allocator/partition_allocator/partition_page \
575 UnpackedTarball/pdfium/third_party/base/allocator/partition_allocator/partition_root_base \
576 UnpackedTarball/pdfium/third_party/base/allocator/partition_allocator/random \
577 UnpackedTarball/pdfium/third_party/base/memory/aligned_memory \
580 # skia_shared
581 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
582 UnpackedTarball/pdfium/third_party/skia_shared/SkFloatToDecimal \
585 $(eval $(call gb_Library_use_externals,pdfium,\
586 libjpeg \
587 lcms2 \
588 zlib \
589 icu_headers \
590 icuuc \
593 ifneq (,$(filter LINUX ANDROID,$(OS)))
594 $(eval $(call gb_Library_add_libs,pdfium,\
595 -ldl \
596 -lrt \
599 ifeq ($(SYSTEM_OPENJPEG2),TRUE)
600 $(eval $(call gb_Library_add_libs,pdfium,\
601 $(OPENJPEG2_LIBS) \
603 endif
605 ifeq ($(SYSTEM_ABSEIL),TRUE)
606 $(eval $(call gb_Library_add_libs,pdfium,\
607 $(ABSEIL_LIBS) \
609 endif
611 $(eval $(call gb_Library_use_external,pdfium,freetype))
612 $(eval $(call gb_Library_add_defs,pdfium,\
613 -DDEFINE_PS_TABLES_DATA \
616 else
617 $(eval $(call gb_Library_set_include,pdfium,\
618 -I$(call gb_UnpackedTarball_get_dir,pdfium)/third_party/freetype/include/ \
619 -I$(call gb_UnpackedTarball_get_dir,pdfium)/third_party/freetype/src/include/ \
620 $$(INCLUDE) \
623 $(eval $(call gb_Library_add_defs,pdfium,\
624 -DFT2_BUILD_LIBRARY \
625 -DFT_CONFIG_MODULES_H='<freetype-custom-config/ftmodule.h>' \
626 -DFT_CONFIG_OPTIONS_H='<freetype-custom-config/ftoption.h>' \
629 # third_party/freetype
630 $(eval $(call gb_Library_add_generated_cobjects,pdfium,\
631 UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftbase \
632 UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftbitmap \
633 UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftglyph \
634 UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftinit \
635 UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftmm \
636 UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftsystem \
637 UnpackedTarball/pdfium/third_party/freetype/src/src/cff/cff \
638 UnpackedTarball/pdfium/third_party/freetype/src/src/cid/type1cid \
639 UnpackedTarball/pdfium/third_party/freetype/src/src/psaux/psaux \
640 UnpackedTarball/pdfium/third_party/freetype/src/src/pshinter/pshinter \
641 UnpackedTarball/pdfium/third_party/freetype/src/src/psnames/psmodule \
642 UnpackedTarball/pdfium/third_party/freetype/src/src/raster/raster \
643 UnpackedTarball/pdfium/third_party/freetype/src/src/sfnt/sfnt \
644 UnpackedTarball/pdfium/third_party/freetype/src/src/smooth/smooth \
645 UnpackedTarball/pdfium/third_party/freetype/src/src/truetype/truetype \
646 UnpackedTarball/pdfium/third_party/freetype/src/src/type1/type1 \
647 UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftdebug \
648 UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftfstype \
650 endif
652 ifneq ($(OS),WNT)
653 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
654 UnpackedTarball/pdfium/core/fxcrt/cfx_fileaccess_posix \
655 UnpackedTarball/pdfium/core/fxcrt/fx_folder_posix \
657 endif
659 ifeq ($(OS),WNT)
660 # fxge
661 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
662 UnpackedTarball/pdfium/core/fxge/win32/cfx_psrenderer \
663 UnpackedTarball/pdfium/core/fxge/win32/cpsoutput \
664 UnpackedTarball/pdfium/core/fxge/win32/cgdi_device_driver \
665 UnpackedTarball/pdfium/core/fxge/win32/cgdi_display_driver \
666 UnpackedTarball/pdfium/core/fxge/win32/cgdi_plus_ext \
667 UnpackedTarball/pdfium/core/fxge/win32/cgdi_printer_driver \
668 UnpackedTarball/pdfium/core/fxge/win32/cps_printer_driver \
669 UnpackedTarball/pdfium/core/fxge/win32/ctext_only_printer_driver \
670 UnpackedTarball/pdfium/core/fxge/win32/cwin32_platform \
671 UnpackedTarball/pdfium/core/fxge/win32/cfx_psfonttracker \
672 UnpackedTarball/pdfium/core/fxge/cfx_windowsrenderdevice \
673 UnpackedTarball/pdfium/core/fxcrt/cfx_fileaccess_windows \
674 UnpackedTarball/pdfium/core/fxcrt/fx_folder_windows \
675 UnpackedTarball/pdfium/third_party/base/win/win_util \
676 UnpackedTarball/pdfium/core/fpdfapi/render/cpdf_windowsrenderdevice \
679 $(eval $(call gb_Library_use_system_win32_libs,pdfium,\
680 gdi32 \
683 $(eval $(call gb_Library_add_defs,pdfium,\
684 -DWIN32 \
686 endif
688 ifeq ($(OS),MACOSX)
689 # fxge
690 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
691 UnpackedTarball/pdfium/core/fxge/apple/fx_apple_platform \
692 UnpackedTarball/pdfium/core/fxge/apple/fx_apple_impl \
693 UnpackedTarball/pdfium/core/fxge/apple/fx_quartz_device \
696 $(eval $(call gb_Library_use_system_darwin_frameworks,pdfium,\
697 AppKit \
698 CoreFoundation \
700 endif
702 ifeq ($(OS),iOS)
703 # fxge
704 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
705 UnpackedTarball/pdfium/core/fxge/apple/fx_apple_platform \
706 UnpackedTarball/pdfium/core/fxge/apple/fx_apple_impl \
707 UnpackedTarball/pdfium/core/fxge/apple/fx_quartz_device \
710 $(eval $(call gb_Library_use_system_darwin_frameworks,pdfium,\
711 CoreGraphics \
712 CoreFoundation \
714 endif
716 ifeq ($(OS),ANDROID)
717 # fxge
718 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
719 UnpackedTarball/pdfium/core/fxge/android/cfpf_skiadevicemodule \
720 UnpackedTarball/pdfium/core/fxge/android/cfpf_skiafont \
721 UnpackedTarball/pdfium/core/fxge/android/cfpf_skiafontmgr \
722 UnpackedTarball/pdfium/core/fxge/android/cfx_androidfontinfo \
723 UnpackedTarball/pdfium/core/fxge/android/fx_android_impl \
724 UnpackedTarball/pdfium/core/fxge/android/cfpf_skiapathfont \
726 endif
728 ifeq ($(OS),LINUX)
729 # fxge
730 $(eval $(call gb_Library_add_generated_exception_objects,pdfium,\
731 UnpackedTarball/pdfium/core/fxge/linux/fx_linux_impl \
733 endif
735 # vim: set noet sw=4 ts=4: