Avoid potential negative array index access to cached text.
[LibreOffice.git] / framework / Library_fwk.mk
blobcb893808900e3eee6c92f287db9441ec0c1c1643
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,fwk))
22 $(eval $(call gb_Library_add_defs,fwk,\
23 -DFWK_DLLIMPLEMENTATION \
26 $(eval $(call gb_Library_set_componentfile,fwk,framework/util/fwk,services))
28 $(eval $(call gb_Library_set_include,fwk,\
29 -I$(SRCDIR)/framework/source/inc \
30 -I$(SRCDIR)/framework/inc \
31 -I$(WORKDIR)/CustomTarget/officecfg/registry \
32 $$(INCLUDE) \
35 $(eval $(call gb_Library_set_precompiled_header,fwk,framework/inc/pch/precompiled_fwk))
37 $(eval $(call gb_Library_use_external,fwk,boost_headers))
39 $(eval $(call gb_Library_use_custom_headers,fwk,\
40 officecfg/registry \
43 $(eval $(call gb_Library_use_sdk_api,fwk))
45 $(eval $(call gb_Library_use_libraries,fwk,\
46 comphelper \
47 cppu \
48 cppuhelper \
49 $(call gb_Helper_optional,BREAKPAD, \
50 crashreport) \
51 i18nlangtag \
52 sal \
53 salhelper \
54 sot \
55 svl \
56 svt \
57 tk \
58 tl \
59 ucbhelper \
60 utl \
61 vcl \
64 ifneq ($(ENABLE_WASM_STRIP_RECOVERYUI),TRUE)
65 $(eval $(call gb_Library_add_exception_objects,fwk,\
66 framework/source/services/autorecovery \
69 $(eval $(call gb_Library_add_componentimpl,fwk,autorecovery))
70 endif
72 $(eval $(call gb_Library_add_exception_objects,fwk,\
73 framework/source/accelerators/acceleratorcache \
74 framework/source/accelerators/acceleratorconfiguration \
75 framework/source/accelerators/documentacceleratorconfiguration \
76 framework/source/accelerators/globalacceleratorconfiguration \
77 framework/source/accelerators/keymapping \
78 framework/source/accelerators/moduleacceleratorconfiguration \
79 framework/source/accelerators/presethandler \
80 framework/source/accelerators/storageholder \
81 framework/source/classes/framecontainer \
82 framework/source/classes/taskcreator \
83 framework/source/dispatch/closedispatcher \
84 framework/source/dispatch/dispatchinformationprovider \
85 framework/source/dispatch/dispatchprovider \
86 framework/source/dispatch/interceptionhelper \
87 framework/source/dispatch/loaddispatcher \
88 framework/source/dispatch/startmoduledispatcher \
89 framework/source/dispatch/windowcommanddispatch \
90 framework/source/dispatch/dispatchdisabler \
91 framework/source/dispatch/mailtodispatcher \
92 framework/source/dispatch/oxt_handler \
93 framework/source/dispatch/popupmenudispatcher \
94 framework/source/dispatch/servicehandler \
95 framework/source/dispatch/systemexec \
96 framework/source/helper/dockingareadefaultacceptor \
97 framework/source/helper/ocomponentaccess \
98 framework/source/helper/ocomponentenumeration \
99 framework/source/helper/oframes \
100 framework/source/helper/persistentwindowstate \
101 framework/source/helper/statusindicator \
102 framework/source/helper/statusindicatorfactory \
103 framework/source/helper/tagwindowasmodified \
104 framework/source/helper/titlebarupdate \
105 framework/source/helper/uiconfigelementwrapperbase \
106 framework/source/helper/uielementwrapperbase \
107 framework/source/helper/vclstatusindicator \
108 framework/source/helper/wakeupthread \
109 framework/source/interaction/quietinteraction \
110 framework/source/jobs/helponstartup \
111 framework/source/jobs/shelljob \
112 framework/source/fwe/classes/actiontriggercontainer \
113 framework/source/fwe/classes/actiontriggerpropertyset \
114 framework/source/fwe/classes/actiontriggerseparatorpropertyset \
115 framework/source/fwe/classes/addonmenu \
116 framework/source/fwe/classes/addonsoptions \
117 framework/source/fwe/classes/framelistanalyzer \
118 framework/source/fwe/classes/fwkresid \
119 framework/source/fwe/classes/rootactiontriggercontainer \
120 framework/source/fwe/classes/sfxhelperfunctions \
121 framework/source/fwe/dispatch/interaction \
122 framework/source/fwe/helper/actiontriggerhelper \
123 framework/source/fwe/helper/configimporter \
124 framework/source/fwe/helper/propertysetcontainer \
125 framework/source/fwe/helper/titlehelper \
126 framework/source/fwe/helper/documentundoguard \
127 framework/source/fwe/helper/undomanagerhelper \
128 framework/source/fwe/xml/menuconfiguration \
129 framework/source/fwe/xml/menudocumenthandler \
130 framework/source/fwe/xml/saxnamespacefilter \
131 framework/source/fwe/xml/statusbarconfiguration \
132 framework/source/fwe/xml/statusbardocumenthandler \
133 framework/source/fwe/xml/toolboxconfiguration \
134 framework/source/fwe/xml/toolboxdocumenthandler \
135 framework/source/fwe/xml/xmlnamespaces \
136 framework/source/fwi/classes/converter \
137 framework/source/fwi/classes/protocolhandlercache \
138 framework/source/fwi/helper/mischelper \
139 framework/source/fwi/helper/shareablemutex \
140 framework/source/fwi/jobs/configaccess \
141 framework/source/fwi/threadhelp/transactionmanager \
142 framework/source/fwi/uielement/constitemcontainer \
143 framework/source/fwi/uielement/itemcontainer \
144 framework/source/fwi/uielement/rootitemcontainer \
145 framework/source/jobs/job \
146 framework/source/jobs/jobdata \
147 framework/source/jobs/jobdispatch \
148 framework/source/jobs/jobexecutor \
149 framework/source/jobs/jobresult \
150 framework/source/jobs/joburl \
151 framework/source/layoutmanager/helpers \
152 framework/source/layoutmanager/layoutmanager \
153 framework/source/layoutmanager/toolbarlayoutmanager \
154 framework/source/layoutmanager/uielement \
155 framework/source/loadenv/loadenv \
156 framework/source/loadenv/targethelper \
157 framework/source/recording/dispatchrecorder \
158 framework/source/recording/dispatchrecordersupplier \
159 framework/source/services/ContextChangeEventMultiplexer \
160 framework/source/services/desktop \
161 framework/source/services/dispatchhelper \
162 framework/source/services/frame \
163 framework/source/services/modulemanager \
164 framework/source/services/pathsettings \
165 framework/source/services/sessionlistener \
166 framework/source/services/substitutepathvars \
167 framework/source/services/taskcreatorsrv \
168 framework/source/services/urltransformer \
169 framework/source/services/mediatypedetectionhelper \
170 framework/source/services/uriabbreviation \
171 framework/source/uiconfiguration/CommandImageResolver \
172 framework/source/uiconfiguration/ImageList \
173 framework/source/uiconfiguration/globalsettings \
174 framework/source/uiconfiguration/graphicnameaccess \
175 framework/source/uiconfiguration/imagemanager \
176 framework/source/uiconfiguration/imagemanagerimpl \
177 framework/source/uiconfiguration/moduleuicfgsupplier \
178 framework/source/uiconfiguration/moduleuiconfigurationmanager \
179 framework/source/uiconfiguration/uicategorydescription \
180 framework/source/uiconfiguration/uiconfigurationmanager \
181 framework/source/uiconfiguration/windowstateconfiguration \
182 framework/source/uielement/addonstoolbarwrapper \
183 framework/source/uielement/buttontoolbarcontroller \
184 framework/source/uielement/comboboxtoolbarcontroller \
185 framework/source/uielement/complextoolbarcontroller \
186 framework/source/uielement/controlmenucontroller \
187 framework/source/uielement/dropdownboxtoolbarcontroller \
188 framework/source/uielement/edittoolbarcontroller \
189 framework/source/uielement/FixedImageToolbarController \
190 framework/source/uielement/FixedTextToolbarController \
191 framework/source/uielement/genericstatusbarcontroller \
192 framework/source/uielement/generictoolbarcontroller \
193 framework/source/uielement/imagebuttontoolbarcontroller \
194 framework/source/uielement/langselectionstatusbarcontroller \
195 framework/source/uielement/menubarmanager \
196 framework/source/uielement/menubarmerger \
197 framework/source/uielement/menubarwrapper \
198 framework/source/uielement/objectmenucontroller \
199 framework/source/uielement/popuptoolbarcontroller \
200 framework/source/uielement/progressbarwrapper \
201 framework/source/uielement/recentfilesmenucontroller \
202 framework/source/uielement/resourcemenucontroller \
203 framework/source/uielement/spinfieldtoolbarcontroller \
204 framework/source/uielement/statusbar \
205 framework/source/uielement/statusbaritem \
206 framework/source/uielement/statusbarmanager \
207 framework/source/uielement/statusbarmerger \
208 framework/source/uielement/statusbarwrapper \
209 framework/source/uielement/statusindicatorinterfacewrapper \
210 framework/source/uielement/styletoolbarcontroller \
211 framework/source/uielement/subtoolbarcontroller \
212 framework/source/uielement/thesaurusmenucontroller \
213 framework/source/uielement/togglebuttontoolbarcontroller \
214 framework/source/uielement/toolbarmanager \
215 framework/source/uielement/toolbarmerger \
216 framework/source/uielement/toolbarwrapper \
217 framework/source/uielement/uicommanddescription \
218 framework/source/uielement/fontmenucontroller \
219 framework/source/uielement/fontsizemenucontroller \
220 framework/source/uielement/footermenucontroller \
221 framework/source/uielement/headermenucontroller \
222 framework/source/uielement/langselectionmenucontroller \
223 framework/source/uielement/macrosmenucontroller \
224 framework/source/uielement/newmenucontroller \
225 framework/source/uielement/toolbarmodemenucontroller \
226 framework/source/uielement/toolbarsmenucontroller \
227 framework/source/uifactory/addonstoolbarfactory \
228 framework/source/uifactory/factoryconfiguration \
229 framework/source/uifactory/menubarfactory \
230 framework/source/uifactory/statusbarfactory \
231 framework/source/uifactory/toolbarfactory \
232 framework/source/uifactory/uicontrollerfactory \
233 framework/source/uifactory/uielementfactorymanager \
234 framework/source/uifactory/windowcontentfactorymanager \
235 framework/source/xml/acceleratorconfigurationreader \
236 framework/source/xml/acceleratorconfigurationwriter \
237 framework/source/xml/imagesconfiguration \
238 framework/source/xml/imagesdocumenthandler \
241 ifeq ($(OS),WNT)
242 $(eval $(call gb_Library_use_system_win32_libs,fwk,\
243 advapi32 \
245 endif
247 # vim: set noet sw=4 ts=4: