Fix unit test failure when using Skia in debug builds
[LibreOffice.git] / svx / Library_svxcore.mk
blob28ed214c063f2149a7601abd6250acacd5260559
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/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval $(call gb_Library_Library,svxcore))
22 $(eval $(call gb_Library_set_componentfile,svxcore,svx/util/svxcore,services))
24 $(eval $(call gb_Library_add_componentimpls,svxcore, \
25 $(if $(ENABLE_WASM_STRIP_BASIC_DRAW_MATH_IMPRESS),,draw) \
28 $(eval $(call gb_Library_add_sdi_headers,svxcore,svx/sdi/svxslots))
30 $(eval $(call gb_Library_use_custom_headers,svxcore,\
31 officecfg/registry \
32 oox/generated \
35 $(eval $(call gb_Library_use_sdk_api,svxcore))
37 $(eval $(call gb_Library_set_include,svxcore,\
38 -I$(SRCDIR)/svx/inc \
39 -I$(SRCDIR)/svx/source/inc \
40 $$(INCLUDE) \
41 -I$(WORKDIR)/SdiTarget/svx/sdi \
44 $(eval $(call gb_Library_set_precompiled_header,svxcore,svx/inc/pch/precompiled_svxcore))
46 #BOOST switch in customshapes
47 #dialog:
48 #.IF "$(OS)"=="WNT"
49 #CFLAGS+= -DUNICODE -D_UNICODE
50 #.ENDIF
52 $(eval $(call gb_Library_add_defs,svxcore,\
53 -DSVXCORE_DLLIMPLEMENTATION \
56 $(eval $(call gb_Library_use_libraries,svxcore,\
57 avmedia \
58 basegfx \
59 sb \
60 comphelper \
61 cppuhelper \
62 cppu \
63 $(call gb_Helper_optional,DBCONNECTIVITY, \
64 dbtools) \
65 docmodel \
66 drawinglayercore \
67 drawinglayer \
68 editeng \
69 fwk \
70 i18nlangtag \
71 i18nutil \
72 lng \
73 sal \
74 salhelper \
75 sax \
76 sfx \
77 sot \
78 svl \
79 svt \
80 tk \
81 tl \
82 ucbhelper \
83 utl \
84 vcl \
85 xo \
88 $(eval $(call gb_Library_use_externals,svxcore,\
89 boost_headers \
90 icuuc \
91 icu_headers \
92 libxml2 \
95 ifeq ($(OS),MACOSX)
97 $(eval $(call gb_Library_add_cxxflags,svxcore,\
98 $(gb_OBJCXXFLAGS) \
101 $(eval $(call gb_Library_use_system_darwin_frameworks,svxcore,\
102 Foundation \
105 endif
107 $(eval $(call gb_Library_add_exception_objects,svxcore,\
108 svx/source/core/extedit \
109 svx/source/core/graphichelper \
110 svx/source/customshapes/EnhancedCustomShape2d \
111 svx/source/customshapes/EnhancedCustomShapeFunctionParser \
112 svx/source/customshapes/EnhancedCustomShapeGeometry \
113 svx/source/customshapes/EnhancedCustomShapeTypeNames \
114 svx/source/diagram/datamodel \
115 svx/source/diagram/IDiagramHelper \
116 svx/source/dialog/dialmgr \
117 svx/source/dialog/dlgutil \
118 svx/source/dialog/hexcolorcontrol \
119 svx/source/dialog/framelink \
120 svx/source/dialog/framelinkarray \
121 svx/source/dialog/langbox \
122 svx/source/dialog/pagenumberlistbox \
123 svx/source/dialog/papersizelistbox \
124 svx/source/dialog/samecontentlistbox \
125 svx/source/dialog/spacinglistbox \
126 svx/source/dialog/svxdlg \
127 svx/source/dialog/SvxNumOptionsTabPageHelper \
128 svx/source/engine3d/camera3d \
129 svx/source/engine3d/cube3d \
130 svx/source/engine3d/deflt3d \
131 svx/source/engine3d/dragmt3d \
132 svx/source/engine3d/e3dsceneupdater \
133 svx/source/engine3d/e3dundo \
134 svx/source/engine3d/extrud3d \
135 svx/source/engine3d/helperhittest3d \
136 svx/source/engine3d/helperminimaldepth3d \
137 svx/source/engine3d/lathe3d \
138 svx/source/engine3d/obj3d \
139 svx/source/engine3d/objfac3d \
140 svx/source/engine3d/polygn3d \
141 svx/source/engine3d/scene3d \
142 svx/source/engine3d/sphere3d \
143 svx/source/engine3d/svx3ditems \
144 svx/source/engine3d/view3d \
145 svx/source/engine3d/view3d1 \
146 svx/source/engine3d/viewpt3d2 \
147 svx/source/fmcomp/dbaexchange \
148 svx/source/fmcomp/fmgridcl \
149 svx/source/fmcomp/fmgridif \
150 svx/source/fmcomp/gridcell \
151 svx/source/fmcomp/gridcols \
152 svx/source/fmcomp/gridctrl \
153 svx/source/fmcomp/xmlexchg \
154 svx/source/form/dataaccessdescriptor \
155 svx/source/form/datalistener \
156 svx/source/form/datanavi \
157 svx/source/form/delayedevent \
158 svx/source/form/labelitemwindow \
159 svx/source/form/fmcontrolbordermanager \
160 svx/source/form/fmcontrollayout \
161 svx/source/form/fmdmod \
162 svx/source/form/fmdocumentclassification \
163 svx/source/form/fmexch \
164 svx/source/form/fmexpl \
165 svx/source/form/fmmodel \
166 svx/source/form/fmobj \
167 svx/source/form/fmpage \
168 svx/source/form/fmpgeimp \
169 svx/source/form/fmscriptingenv \
170 svx/source/form/fmservs \
171 svx/source/form/fmshell \
172 svx/source/form/fmshimp \
173 svx/source/form/fmtextcontroldialogs \
174 svx/source/form/fmtextcontrolfeature \
175 svx/source/form/fmtextcontrolshell \
176 svx/source/form/fmtools \
177 svx/source/form/fmundo \
178 svx/source/form/fmview \
179 svx/source/form/fmvwimp \
180 svx/source/form/formcontrolfactory \
181 svx/source/form/formcontroller \
182 svx/source/form/formcontrolling \
183 svx/source/form/formdispatchinterceptor \
184 svx/source/form/formfeaturedispatcher \
185 svx/source/form/formtoolbars \
186 svx/source/form/legacyformcontroller \
187 svx/source/form/navigatortree \
188 svx/source/form/navigatortreemodel \
189 svx/source/form/ParseContext \
190 svx/source/form/sdbdatacolumn \
191 svx/source/form/sqlparserclient \
192 svx/source/form/typemap \
193 svx/source/form/xfm_addcondition \
194 svx/source/gallery2/codec \
195 svx/source/gallery2/galbrws1 \
196 svx/source/gallery2/galbrws2 \
197 svx/source/gallery2/galctrl \
198 svx/source/gallery2/galexpl \
199 svx/source/gallery2/galini \
200 svx/source/gallery2/gallery1 \
201 svx/source/gallery2/galmisc \
202 svx/source/gallery2/galobj \
203 svx/source/gallery2/galtheme \
204 svx/source/gallery2/GalleryControl \
205 svx/source/gallery2/galleryobjectcollection \
206 svx/source/gallery2/galleryfilestorage \
207 svx/source/gallery2/galleryfilestorageentry \
208 svx/source/gallery2/gallerystoragelocations \
209 svx/source/items/chrtitem \
210 svx/source/items/clipfmtitem \
211 svx/source/items/customshapeitem \
212 svx/source/items/drawitem \
213 svx/source/items/e3ditem \
214 svx/source/items/RectangleAlignmentItem \
215 svx/source/items/galleryitem \
216 svx/source/items/grfitem \
217 svx/source/sdr/animation/scheduler \
218 svx/source/sdr/animation/objectanimator \
219 svx/source/sdr/animation/animationstate \
220 svx/source/sdr/attribute/sdrallfillattributeshelper \
221 svx/source/sdr/attribute/sdrlinefilleffectstextattribute \
222 svx/source/sdr/attribute/sdrfilltextattribute \
223 svx/source/sdr/attribute/sdreffectstextattribute \
224 svx/source/sdr/attribute/sdrtextattribute \
225 svx/source/sdr/attribute/sdrlineeffectstextattribute \
226 svx/source/sdr/attribute/sdrformtextattribute \
227 svx/source/sdr/attribute/sdrformtextoutlineattribute \
228 svx/source/sdr/contact/viewobjectcontactofgroup \
229 svx/source/sdr/contact/viewobjectcontactofsdrpage \
230 svx/source/sdr/contact/viewcontactofpageobj \
231 svx/source/sdr/contact/viewcontactofe3d \
232 svx/source/sdr/contact/viewcontactofe3dcube \
233 svx/source/sdr/contact/viewcontactofsdrmediaobj \
234 svx/source/sdr/contact/viewobjectcontactofmasterpagedescriptor \
235 svx/source/sdr/contact/viewobjectcontactofpageobj \
236 svx/source/sdr/contact/viewobjectcontactofe3dscene \
237 svx/source/sdr/contact/viewcontactofgraphic \
238 svx/source/sdr/contact/viewobjectcontactredirector \
239 svx/source/sdr/contact/viewcontactofsdrcircobj \
240 svx/source/sdr/contact/viewcontactofgroup \
241 svx/source/sdr/contact/viewcontactofunocontrol \
242 svx/source/sdr/contact/viewcontactofsdrobjcustomshape \
243 svx/source/sdr/contact/viewcontactofsdrobj \
244 svx/source/sdr/contact/objectcontact \
245 svx/source/sdr/contact/viewcontactoftextobj \
246 svx/source/sdr/contact/viewcontactofe3dlathe \
247 svx/source/sdr/contact/viewcontactofsdrpage \
248 svx/source/sdr/contact/viewcontactofe3dextrude \
249 svx/source/sdr/contact/viewcontactofmasterpagedescriptor \
250 svx/source/sdr/contact/viewcontact \
251 svx/source/sdr/contact/viewcontactofsdrole2obj \
252 svx/source/sdr/contact/displayinfo \
253 svx/source/sdr/contact/viewcontactofe3dscene \
254 svx/source/sdr/contact/viewcontactofsdrrectobj \
255 svx/source/sdr/contact/viewobjectcontactofsdrole2obj \
256 svx/source/sdr/contact/viewobjectcontactofunocontrol \
257 svx/source/sdr/contact/viewobjectcontactofgraphic \
258 $(call gb_Helper_optional,AVMEDIA,svx/source/sdr/contact/sdrmediawindow) \
259 svx/source/sdr/contact/viewobjectcontactofsdrmediaobj \
260 svx/source/sdr/contact/viewcontactofsdrcaptionobj \
261 svx/source/sdr/contact/viewcontactofvirtobj \
262 svx/source/sdr/contact/viewcontactofe3dsphere \
263 svx/source/sdr/contact/viewcontactofe3dpolygon \
264 svx/source/sdr/contact/viewcontactofsdredgeobj \
265 svx/source/sdr/contact/viewobjectcontact \
266 svx/source/sdr/contact/viewobjectcontactofsdrobj \
267 svx/source/sdr/contact/objectcontactofpageview \
268 svx/source/sdr/contact/viewcontactofsdrpathobj \
269 svx/source/sdr/contact/viewcontactofsdrmeasureobj \
270 svx/source/sdr/contact/objectcontactofobjlistpainter \
271 svx/source/sdr/contact/viewobjectcontactofe3d \
272 svx/source/sdr/overlay/overlayline \
273 svx/source/sdr/overlay/overlaycrosshair \
274 svx/source/sdr/overlay/overlayrollingrectangle \
275 svx/source/sdr/overlay/overlaytriangle \
276 svx/source/sdr/overlay/overlayselection \
277 svx/source/sdr/overlay/overlayrectangle \
278 svx/source/sdr/overlay/overlaybitmapex \
279 svx/source/sdr/overlay/overlaymanagerbuffered \
280 svx/source/sdr/overlay/overlayhelpline \
281 svx/source/sdr/overlay/overlayanimatedbitmapex \
282 svx/source/sdr/overlay/overlaypolypolygon \
283 svx/source/sdr/overlay/overlayobjectcell \
284 svx/source/sdr/overlay/overlaytools \
285 svx/source/sdr/overlay/overlayprimitive2dsequenceobject \
286 svx/source/sdr/overlay/overlayobject \
287 svx/source/sdr/overlay/overlaymanager \
288 svx/source/sdr/overlay/overlayobjectlist \
289 svx/source/sdr/overlay/overlayhandle \
290 svx/source/sdr/misc/ImageMapInfo \
291 svx/source/sdr/primitive2d/sdrellipseprimitive2d \
292 svx/source/sdr/primitive2d/sdrprimitivetools \
293 svx/source/sdr/primitive2d/sdrtextprimitive2d \
294 svx/source/sdr/primitive2d/primitivefactory2d \
295 svx/source/sdr/primitive2d/sdrolecontentprimitive2d \
296 svx/source/sdr/primitive2d/sdrcustomshapeprimitive2d \
297 svx/source/sdr/primitive2d/sdrgrafprimitive2d \
298 svx/source/sdr/primitive2d/sdrole2primitive2d \
299 svx/source/sdr/primitive2d/sdrpathprimitive2d \
300 svx/source/sdr/primitive2d/sdrrectangleprimitive2d \
301 svx/source/sdr/primitive2d/sdrcaptionprimitive2d \
302 svx/source/sdr/primitive2d/sdrconnectorprimitive2d \
303 svx/source/sdr/primitive2d/sdrmeasureprimitive2d \
304 svx/source/sdr/primitive2d/sdrframeborderprimitive2d \
305 svx/source/sdr/primitive2d/sdrattributecreator \
306 svx/source/sdr/primitive2d/sdrdecompositiontools \
307 svx/source/sdr/primitive3d/sdrattributecreator3d \
308 svx/source/sdr/properties/pageproperties \
309 svx/source/sdr/properties/e3dsceneproperties \
310 svx/source/sdr/properties/itemsettools \
311 svx/source/sdr/properties/captionproperties \
312 svx/source/sdr/properties/e3dextrudeproperties \
313 svx/source/sdr/properties/e3dproperties \
314 svx/source/sdr/properties/measureproperties \
315 svx/source/sdr/properties/customshapeproperties \
316 svx/source/sdr/properties/rectangleproperties \
317 svx/source/sdr/properties/groupproperties \
318 svx/source/sdr/properties/properties \
319 svx/source/sdr/properties/e3dlatheproperties \
320 svx/source/sdr/properties/graphicproperties \
321 svx/source/sdr/properties/circleproperties \
322 svx/source/sdr/properties/emptyproperties \
323 svx/source/sdr/properties/e3dsphereproperties \
324 svx/source/sdr/properties/defaultproperties \
325 svx/source/sdr/properties/textproperties \
326 svx/source/sdr/properties/attributeproperties \
327 svx/source/sdr/properties/connectorproperties \
328 svx/source/sdr/properties/e3dcompoundproperties \
329 svx/source/sdr/properties/oleproperties \
330 svx/source/svdraw/charthelper \
331 svx/source/svdraw/constructhelper \
332 svx/source/svdraw/clonelist \
333 svx/source/svdraw/gradtrns \
334 svx/source/svdraw/polypolygoneditor \
335 svx/source/svdraw/presetooxhandleadjustmentrelations \
336 svx/source/svdraw/sdrhittesthelper \
337 svx/source/svdraw/sdrmasterpagedescriptor \
338 svx/source/svdraw/sdrpagewindow \
339 svx/source/svdraw/sdrpaintwindow \
340 svx/source/svdraw/sdrundomanager \
341 svx/source/svdraw/selectioncontroller \
342 svx/source/svdraw/svdattr \
343 svx/source/svdraw/svdcrtv \
344 svx/source/svdraw/svddrag \
345 svx/source/svdraw/svddrgmt \
346 svx/source/svdraw/svddrgv \
347 svx/source/svdraw/svdedtv \
348 svx/source/svdraw/svdedtv1 \
349 svx/source/svdraw/svdedtv2 \
350 svx/source/svdraw/svdedxv \
351 svx/source/svdraw/svdetc \
352 svx/source/svdraw/svdfmtf \
353 svx/source/svdraw/svdglev \
354 svx/source/svdraw/svdglue \
355 svx/source/svdraw/svdhdl \
356 svx/source/svdraw/svdhlpln \
357 svx/source/svdraw/svditer \
358 svx/source/svdraw/svdlayer \
359 svx/source/svdraw/svdmark \
360 svx/source/svdraw/svdmodel \
361 svx/source/svdraw/svdmrkv \
362 svx/source/svdraw/svdmrkv1 \
363 svx/source/svdraw/svdoashp \
364 svx/source/svdraw/svdoattr \
365 svx/source/svdraw/svdobj \
366 svx/source/svdraw/svdobjplusdata \
367 svx/source/svdraw/svdobjuserdatalist \
368 svx/source/svdraw/svdocapt \
369 svx/source/svdraw/svdocirc \
370 svx/source/svdraw/svdoedge \
371 svx/source/svdraw/svdograf \
372 svx/source/svdraw/svdogrp \
373 svx/source/svdraw/svdomeas \
374 svx/source/svdraw/svdomedia \
375 svx/source/svdraw/svdoole2 \
376 svx/source/svdraw/svdopage \
377 svx/source/svdraw/svdopath \
378 svx/source/svdraw/svdorect \
379 svx/source/svdraw/svdotext \
380 svx/source/svdraw/svdotextdecomposition \
381 svx/source/svdraw/svdotextpathdecomposition \
382 svx/source/svdraw/svdotxat \
383 svx/source/svdraw/svdotxdr \
384 svx/source/svdraw/svdotxed \
385 svx/source/svdraw/svdotxfl \
386 svx/source/svdraw/svdotxln \
387 svx/source/svdraw/svdotxtr \
388 svx/source/svdraw/svdouno \
389 svx/source/svdraw/svdoutl \
390 svx/source/svdraw/svdoutlinercache \
391 svx/source/svdraw/svdovirt \
392 svx/source/svdraw/svdpage \
393 svx/source/svdraw/svdpagv \
394 svx/source/svdraw/svdpdf \
395 svx/source/svdraw/svdpntv \
396 svx/source/svdraw/svdpoev \
397 svx/source/svdraw/svdsnpv \
398 svx/source/svdraw/svdtext \
399 svx/source/svdraw/svdtrans \
400 svx/source/svdraw/svdundo \
401 svx/source/svdraw/svdview \
402 svx/source/svdraw/svdviter \
403 svx/source/svdraw/svdxcgv \
404 svx/source/svdraw/textchain \
405 svx/source/svdraw/textchainflow \
406 svx/source/svdraw/textchaincursor \
407 svx/source/styles/CommonStylePreviewRenderer \
408 svx/source/styles/CommonStyleManager \
409 svx/source/styles/ColorSets \
410 svx/source/table/cell \
411 svx/source/table/cellcursor \
412 svx/source/table/cellrange \
413 svx/source/table/propertyset \
414 svx/source/table/svdotable \
415 svx/source/table/tablecolumn \
416 svx/source/table/tablecolumns \
417 svx/source/table/tablecontroller \
418 svx/source/table/tablehandles \
419 svx/source/table/tablelayouter \
420 svx/source/table/tablemodel \
421 svx/source/table/tablerow \
422 svx/source/table/tablerows \
423 svx/source/table/tableundo \
424 svx/source/table/viewcontactoftableobj \
425 svx/source/theme/ThemeColorChangerCommon \
426 svx/source/theme/ThemeColorPaletteManager \
427 svx/source/tbxctrls/extrusioncontrols \
428 svx/source/tbxctrls/fontworkgallery \
429 svx/source/tbxctrls/linectrl \
430 svx/source/tbxctrls/Palette \
431 svx/source/tbxctrls/PaletteManager \
432 svx/source/tbxctrls/tbcontrl \
433 svx/source/tbxctrls/tbxcolorupdate \
434 svx/source/tbxctrls/SvxColorValueSet \
435 svx/source/tbxctrls/SvxPresetListBox \
436 svx/source/tbxctrls/StylesPreviewToolBoxControl \
437 svx/source/tbxctrls/StylesPreviewWindow \
438 svx/source/toolbars/extrusionbar \
439 svx/source/toolbars/fontworkbar \
440 svx/source/uitest/sdrobject \
441 svx/source/unodraw/gluepts \
442 svx/source/unodraw/SvxXTextColumns \
443 svx/source/unodraw/tableshape \
444 svx/source/unodraw/unobrushitemhelper \
445 svx/source/unodraw/unobtabl \
446 svx/source/unodraw/unodtabl \
447 svx/source/unodraw/UnoGraphicExporter \
448 svx/source/unodraw/unogtabl \
449 svx/source/unodraw/unohtabl \
450 svx/source/unodraw/unomlstr \
451 svx/source/unodraw/unomod \
452 svx/source/unodraw/unomtabl \
453 svx/source/unodraw/UnoNameItemTable \
454 svx/source/unodraw/unopage \
455 svx/source/unodraw/unoprov \
456 svx/source/unodraw/unoshap2 \
457 svx/source/unodraw/unoshap3 \
458 svx/source/unodraw/unoshap4 \
459 svx/source/unodraw/unoshape \
460 svx/source/unodraw/unoshtxt \
461 svx/source/unodraw/unottabl \
462 svx/source/unodraw/XPropertyTable \
463 svx/source/xml/xmleohlp \
464 svx/source/xml/xmlexport \
465 svx/source/xml/xmlgrhlp \
466 svx/source/xml/xmlxtexp \
467 svx/source/xml/xmlxtimp \
468 svx/source/xoutdev/xattr \
469 svx/source/xoutdev/xattr2 \
470 svx/source/xoutdev/xattrbmp \
471 svx/source/xoutdev/_xoutbmp \
472 svx/source/xoutdev/_xpoly \
473 svx/source/xoutdev/xpool \
474 svx/source/xoutdev/xtabbtmp \
475 svx/source/xoutdev/xtabcolr \
476 svx/source/xoutdev/xtabdash \
477 svx/source/xoutdev/xtabgrdt \
478 svx/source/xoutdev/xtabhtch \
479 svx/source/xoutdev/xtable \
480 svx/source/xoutdev/xtabptrn \
481 svx/source/xoutdev/XPropertyEntry \
482 svx/source/xoutdev/xtablend \
485 $(eval $(call gb_SdiTarget_SdiTarget,svx/sdi/svxslots,svx/sdi/svx))
487 $(eval $(call gb_SdiTarget_set_include,svx/sdi/svxslots,\
488 $$(INCLUDE) \
489 -I$(SRCDIR)/svx/inc \
490 -I$(SRCDIR)/svx/sdi \
491 -I$(SRCDIR)/sfx2/sdi \
494 # vim: set noet sw=4 ts=4: