author | kashif.sayed |
Fri, 26 Mar 2010 02:16:01 +0530 | |
branch | v5backport |
changeset 28 | c98d4e1e5d8e |
parent 21 | 11157e26c4a7 |
child 53 | 282cea3dd14c |
permissions | -rw-r--r-- |
17 | 1 |
/* |
2 |
* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 |
* All rights reserved. |
|
4 |
* This component and the accompanying materials are made available |
|
5 |
* under the terms of "Eclipse Public License v1.0" |
|
6 |
* which accompanies this distribution, and is available |
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 |
* |
|
9 |
* Initial Contributors: |
|
10 |
* Nokia Corporation - initial contribution. |
|
11 |
* |
|
12 |
* Contributors: |
|
13 |
* |
|
14 |
* Description: Predefined include paths to be used in the mmp-files for the |
|
15 |
* components in the layered model. There is one definition for |
|
16 |
* each layer. The mmp-file should use the statement that is |
|
17 |
* intended for the same layer as where the mmp-file resides. |
|
18 |
* |
|
19 |
* There is also macros to be used in the bld.inf-files to |
|
20 |
* export of Public and Platform headers into |
|
21 |
* correct locations. |
|
22 |
* |
|
23 |
* Usage examples: |
|
24 |
* --------------------------------------------- |
|
25 |
* How to include this file in bld.inf and mmp-files. |
|
26 |
* Reasoning: The build system is such that at the time the |
|
27 |
* bld.inf and mmp-files are "compiled" the available |
|
28 |
* include paths are limited. Only the /epoc32/include |
|
29 |
* can be guaranteed. Thus to get this file available |
|
30 |
* you need to make include relative to the mentioned |
|
31 |
* directory. |
|
32 |
* --------------------------------------------- |
|
33 |
* |
|
34 |
* #include <platform_paths.hrh> |
|
35 |
* |
|
36 |
* ************************************************************* |
|
37 |
* * MMP file related macro usages to add the system include paths |
|
38 |
* * |
|
39 |
* * The include paths has to be related to the layer in which your SW |
|
40 |
* * resides. Thus as an example: a component residing in middleware |
|
41 |
* * layer should use the MW specific macro. |
|
42 |
* * Keep this as a separate line in the mmp-files. If you need to |
|
43 |
* * add your own SYSTEMINCLUDE paths, please defined them as |
|
44 |
* * separate statement. |
|
45 |
* ************************************************************* |
|
46 |
* APP_LAYER_SYSTEMINCLUDE |
|
47 |
* MW_LAYER_SYSTEMINCLUDE |
|
48 |
* OS_LAYER_SYSTEMINCLUDE |
|
49 |
** |
|
50 |
* ************************************************************* |
|
51 |
* * Macros related to using various parts of stdapis |
|
52 |
* ************************************************************* |
|
53 |
* To use STLLIB you need to have this in your mmp-file |
|
54 |
* STLLIB_USAGE_DEFINITIONS |
|
55 |
* |
|
56 |
* Depending on what module you are using from stdapis you need to have |
|
57 |
* one or more of the following macros in your mmp-file (every one in |
|
58 |
* separate line !) |
|
59 |
* |
|
60 |
* OS_LAYER_LIBC_SYSTEMINCLUDE |
|
61 |
* OS_LAYER_GLIB_SYSTEMINCLUDE |
|
62 |
* OS_LAYER_SSL_SYSTEMINCLUDE |
|
63 |
* OS_LAYER_STDCPP_SYSTEMINCLUDE |
|
64 |
* OS_LAYER_BOOST_SYSTEMINCLUDE |
|
65 |
* OS_LAYER_DBUS_SYSTEMINCLUDE |
|
66 |
* OS_LAYER_LIBUTILITY_SYSTEMINCLUDE |
|
67 |
* |
|
68 |
* ************************************************************* |
|
69 |
* * Macros related to exporting Public and Platform APIs into |
|
70 |
* * correct place in the new system. |
|
71 |
* * |
|
72 |
* * The macro that you should use depends on 2 things: |
|
73 |
* * - in which layer your package, which exports the APIs resides |
|
74 |
* * - what is the visibility of the API (public or platform) |
|
75 |
* ************************************************************* |
|
76 |
* // the exporting of public APIs should use one of below macros |
|
77 |
* // depending on which layer the API belogs to |
|
78 |
* APP_LAYER_PUBLIC_EXPORT_PATH |
|
79 |
* MW_LAYER_PUBLIC_EXPORT_PATH |
|
80 |
* OS_LAYER_PUBLIC_EXPORT_PATH |
|
81 |
* |
|
82 |
* // the exporting of platform APIs should use one of below macros |
|
83 |
* // depending on which layer the API belogs to |
|
84 |
* APP_LAYER_PLATFORM_EXPORT_PATH |
|
85 |
* MW_LAYER_PLATFORM_EXPORT_PATH |
|
86 |
* OS_LAYER_PLATFORM_EXPORT_PATH |
|
87 |
* |
|
88 |
* The hierarchy how APIs should reside in foundation has been specified |
|
89 |
* in developer documentation. See further details from documentation. |
|
90 |
* Below is example case relying on the structure |
|
91 |
* my_own_api/group/bld.inf |
|
92 |
* my_own_api/inc/header1.h |
|
93 |
* my_own_api/inc/subdir/header2.h |
|
94 |
* |
|
95 |
* Assuming that the API is in middleware layer and a public API. |
|
96 |
* Then the bld.inf should have the following |
|
97 |
* ../inc/header1.h APP_LAYER_PUBLIC_EXPORT_PATH(header1.h) |
|
98 |
* ../inc/subdir/header2.h APP_LAYER_PUBLIC_EXPORT_PATH(subdir/header2.h) |
|
99 |
* |
|
100 |
* In the above case the locations are as follow (with current MACRO settings): |
|
101 |
* header1.h in /epoc32/include/app |
|
102 |
* header2.h in /epoc32/include/app/subdir |
|
103 |
* |
|
104 |
* |
|
105 |
* ************************************************************* |
|
106 |
* * Macros related to IBY file exporting |
|
107 |
* ************************************************************* |
|
108 |
* |
|
109 |
* Component bld.inf files need to include platform_paths.hrh, see |
|
110 |
* beginning of this file on how to do this correctly. Component bld.inf |
|
111 |
* files need to use these macros in PRJ_EXPORTS to get their IBY files |
|
112 |
* to ROM image. |
|
113 |
* |
|
114 |
* --------------------------------------------- |
|
115 |
* Usage for Core image (ROM+ROFS1): |
|
116 |
* --------------------------------------------- |
|
117 |
* // Layer specific specific macros. Use the macro, which is specified |
|
118 |
* // for the layer, in which your component resides |
|
119 |
* <somepath>/<file1.iby> CORE_APP_LAYER_IBY_EXPORT_PATH(<file1.iby>) |
|
120 |
* <somepath>/<file2.iby> CORE_MW_LAYER_IBY_EXPORT_PATH(<file2.iby>) |
|
121 |
* <somepath>/<file3.iby> CORE_OS_LAYER_IBY_EXPORT_PATH(<file3.iby>) |
|
122 |
* |
|
123 |
* //stub iby files |
|
124 |
* <somepath>/<file4.iby> CORE_IBY_EXPORT_PATH(stubs,<file4.iby>) |
|
125 |
* //tool iby files |
|
126 |
* <somepath>/<file5.iby> CORE_IBY_EXPORT_PATH(tools,<file5.iby>) |
|
127 |
* |
|
128 |
* --------------------------------------------- |
|
129 |
* Usage for Variant image, Language part (ROFS2): |
|
130 |
* --------------------------------------------- |
|
131 |
* // Layer specific specific macros. Use the macro, which is specified |
|
132 |
* // for the layer, in which your component resides |
|
133 |
* <somepath>/<file1.iby> LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(<file1.iby>) |
|
134 |
* <somepath>/<file2.iby> LANGUAGE_MW_LAYER_IBY_EXPORT_PATH(<file2.iby>) |
|
135 |
* <somepath>/<file3.iby> LANGUAGE_OS_LAYER_IBY_EXPORT_PATH(<file3.iby>) |
|
136 |
* |
|
137 |
* --------------------------------------------- |
|
138 |
* Usage for Variant image, Language part (ROFS2): |
|
139 |
* --------------------------------------------- |
|
140 |
* // Layer specific specific macros. Use the macro, which is specified |
|
141 |
* // for the layer, in which your component resides |
|
142 |
* <somepath>/<file1.iby> CUSTOMER_APP_LAYER_IBY_EXPORT_PATH(<file1.iby>) |
|
143 |
* <somepath>/<file2.iby> CUSTOMER_MW_LAYER_IBY_EXPORT_PATH(<file2.iby>) |
|
144 |
* <somepath>/<file3.iby> CUSTOMER_OS_LAYER_IBY_EXPORT_PATH(<file3.iby>) |
|
145 |
* |
|
146 |
* --------------------------------------------- |
|
147 |
* Usage for Customer Variant image, (ROFS3): |
|
148 |
* --------------------------------------------- |
|
149 |
* // Layer specific specific macros. Use the macro, which is specified |
|
150 |
* // for the layer, in which your component resides |
|
151 |
* <somepath>/<f1.iby> CUSTOMER_VARIANT_APP_LAYER_IBY_EXPORT_PATH(<f1.iby>) |
|
152 |
* <somepath>/<f2.iby> CUSTOMER_VARIANT_MW_LAYER_IBY_EXPORT_PATH(<f2.iby>) |
|
153 |
* <somepath>/<f3.iby> CUSTOMER_VARIANT_OS_LAYER_IBY_EXPORT_PATH(<f3.iby>) |
|
154 |
* |
|
155 |
* |
|
156 |
* ************************************************************* |
|
157 |
* * Macro related to Exporting localization .loc files into |
|
158 |
* * correct place in the system. |
|
159 |
* ************************************************************* |
|
160 |
* |
|
161 |
* --------------------------------------------- |
|
162 |
* Usage for components: |
|
163 |
* --------------------------------------------- |
|
164 |
* Component bld.inf files need to include platform_paths.hrh, see |
|
165 |
* beginning of this file on how to do this correctly. Component bld.inf |
|
166 |
* files need to use these macros in PRJ_EXPORTS to get their loc files |
|
167 |
* for localization. |
|
168 |
* loc files that should be localized by localisation team should be in |
|
169 |
* loc-folder in the source tree (see developer guidelines) |
|
170 |
* |
|
171 |
* // Layer specific specific macros. Use the macro, which is specified |
|
172 |
* // for the layer, in which your component resides |
|
173 |
* <somepath>/loc/<file>.loc APP_LAYER_LOC_EXPORT_PATH(<file>.loc) |
|
174 |
* <somepath>/loc/<file>.loc MW_LAYER_LOC_EXPORT_PATH(<file>.loc) |
|
175 |
* <somepath>/loc/<file>.loc OS_LAYER_LOC_EXPORT_PATH(<file>.loc) |
|
176 |
* |
|
177 |
* |
|
178 |
* |
|
179 |
* |
|
180 |
*/ |
|
181 |
||
182 |
||
183 |
#ifndef PLATFORM_PATHS_HRH |
|
184 |
#define PLATFORM_PATHS_HRH |
|
185 |
||
20
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
17
diff
changeset
|
186 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
17
diff
changeset
|
187 |
// This should not be here, but I'm tired of adding this line to every |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
17
diff
changeset
|
188 |
// single MMP. |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
17
diff
changeset
|
189 |
#include <defaultcaps.hrh> |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
17
diff
changeset
|
190 |
|
17 | 191 |
/** |
192 |
************************************************************************** |
|
193 |
* General comments about the exporting of headers macros |
|
194 |
* 1) The definitions point currently to the old locations. (which makes some |
|
195 |
* macros to have same values. The idea is that you can already start using |
|
196 |
* them now and those will be later on changed => change affects everybody. |
|
197 |
*************************************************************************** |
|
198 |
*/ |
|
199 |
||
200 |
/** |
|
201 |
* --------------------------------------- |
|
202 |
* Location, where the applications layer specific public headers should be exported |
|
203 |
* See usage on top of this hrh-file. |
|
204 |
* --------------------------------------- |
|
205 |
*/ |
|
206 |
||
207 |
#if __GNUC__ >= 3 |
|
208 |
#define APP_LAYER_SDK_EXPORT_PATH(exported) do not use intentionally generates error |
|
209 |
#define APP_LAYER_PUBLIC_EXPORT_PATH(exported) /epoc32/include/app/exported |
|
210 |
#else |
|
211 |
#define APP_LAYER_SDK_EXPORT_PATH(exported) do not use intentionally generates error |
|
212 |
#define APP_LAYER_PUBLIC_EXPORT_PATH(exported) /epoc32/include/app/##exported |
|
213 |
#endif |
|
214 |
||
215 |
/** |
|
216 |
* --------------------------------------- |
|
217 |
* Location, where the applications layer specific platform headers should be exported |
|
218 |
* See usage on top of this hrh-file. |
|
219 |
* --------------------------------------- |
|
220 |
*/ |
|
221 |
#if __GNUC__ >= 3 |
|
222 |
#define APP_LAYER_DOMAIN_EXPORT_PATH(exported) do not use intentionally generates error |
|
223 |
#define APP_LAYER_PLATFORM_EXPORT_PATH(exported) /epoc32/include/platform/app/exported |
|
224 |
#else |
|
225 |
#define APP_LAYER_DOMAIN_EXPORT_PATH(exported) do not use intentionally generates error |
|
226 |
#define APP_LAYER_PLATFORM_EXPORT_PATH(exported) /epoc32/include/platform/app/##exported |
|
227 |
#endif |
|
228 |
||
229 |
/** |
|
230 |
* --------------------------------------- |
|
231 |
* Location, where the middleware layer specific public headers should be exported |
|
232 |
* See usage on top of this hrh-file. |
|
233 |
* --------------------------------------- |
|
234 |
*/ |
|
235 |
#if __GNUC__ >= 3 |
|
236 |
#define MW_LAYER_SDK_EXPORT_PATH(exported) do not use intentionally generates error |
|
237 |
#define MW_LAYER_PUBLIC_EXPORT_PATH(exported) /epoc32/include/mw/exported |
|
238 |
#else |
|
239 |
#define MW_LAYER_SDK_EXPORT_PATH(exported) do not use intentionally generates error |
|
240 |
#define MW_LAYER_PUBLIC_EXPORT_PATH(exported) /epoc32/include/mw/##exported |
|
241 |
#endif |
|
242 |
||
243 |
/** |
|
244 |
* --------------------------------------- |
|
245 |
* Location, where the middleware layer specific platform headers should be exported |
|
246 |
* --------------------------------------- |
|
247 |
*/ |
|
248 |
#if __GNUC__ >= 3 |
|
249 |
#define MW_LAYER_DOMAIN_EXPORT_PATH(exported) do not use intentionally generates error |
|
250 |
#define MW_LAYER_PLATFORM_EXPORT_PATH(exported) /epoc32/include/platform/mw/exported |
|
251 |
#else |
|
252 |
#define MW_LAYER_DOMAIN_EXPORT_PATH(exported) do not use intentionally generates error |
|
253 |
#define MW_LAYER_PLATFORM_EXPORT_PATH(exported) /epoc32/include/platform/mw/##exported |
|
254 |
#endif |
|
255 |
||
256 |
/** |
|
257 |
* --------------------------------------- |
|
258 |
* Location, where the os layer specific public headers should be exported |
|
259 |
* --------------------------------------- |
|
260 |
*/ |
|
261 |
#if __GNUC__ >= 3 |
|
262 |
#define OSEXT_LAYER_SDK_EXPORT_PATH(exported) do not use intentionally generates error |
|
263 |
#define OS_LAYER_PUBLIC_EXPORT_PATH(exported) /epoc32/include/exported |
|
264 |
#else |
|
265 |
#define OSEXT_LAYER_SDK_EXPORT_PATH(exported) do not use intentionally generates error |
|
266 |
#define OS_LAYER_PUBLIC_EXPORT_PATH(exported) /epoc32/include/##exported |
|
267 |
#endif |
|
268 |
||
269 |
/** |
|
270 |
* --------------------------------------- |
|
271 |
* Location, where the os specific platform headers should be exported |
|
272 |
* --------------------------------------- |
|
273 |
*/ |
|
274 |
#if __GNUC__ >= 3 |
|
275 |
#define OSEXT_LAYER_DOMAIN_EXPORT_PATH(exported) do not use intentionally generates error |
|
276 |
#define OS_LAYER_PLATFORM_EXPORT_PATH(exported) /epoc32/include/platform/exported |
|
277 |
#else |
|
278 |
#define OSEXT_LAYER_DOMAIN_EXPORT_PATH(exported) do not use intentionally generates error |
|
279 |
#define OS_LAYER_PLATFORM_EXPORT_PATH(exported) /epoc32/include/platform/##exported |
|
280 |
#endif |
|
281 |
||
282 |
/** |
|
283 |
* --------------------------------------- |
|
284 |
* Location, where the cenrep excel sheets should be exported |
|
285 |
* Deprecated: should no longer be used. Kept for compability. |
|
286 |
* --------------------------------------- |
|
287 |
*/ |
|
288 |
#if __GNUC__ >= 3 |
|
289 |
#define CENREP_XLS_EXPORT_PATH(exported) /epoc32/tools/cenrep/data/src/exported |
|
290 |
#else |
|
291 |
#define CENREP_XLS_EXPORT_PATH(exported) /epoc32/tools/cenrep/data/src/##exported |
|
292 |
#endif |
|
293 |
||
294 |
/** |
|
295 |
************************************************************************** |
|
296 |
* General comments about the 3 define statements related to include paths: |
|
297 |
* 1) the /epoc32/include/oem is now defined there for backward compability. |
|
298 |
* Once the directory is empty, the directory will be removed. However this |
|
299 |
* enables us to ensure that if you use these define statements => you do |
|
300 |
* not have to remove the statements later on, when the directory no longer |
|
301 |
* exists. |
|
302 |
* 2) These statements should be enough in normal cases. For certain specific |
|
303 |
* cases you migth need to add some specific directory from /epoc32/include |
|
304 |
* (for instance /epoc32/include/ecom). |
|
305 |
* In normal cases the include staments in code should be relative to one of |
|
306 |
* the system include paths, but in certain cases, the included files requires |
|
307 |
* that the subdirectory is also part of the system include paths. |
|
308 |
**************************************************************************** |
|
309 |
*/ |
|
310 |
||
311 |
/** |
|
312 |
* This define statements defines the SYSTEMINCLUDE-line, which is intended to be |
|
313 |
* used in the mmp-files that are part of the applications-layer. It includes all |
|
314 |
* the needed directories from the /epoc32/include, that are valid ones for the |
|
315 |
* application-layer components. |
|
316 |
* |
|
317 |
* Applications layer is the last one in the list, since most likely the most of |
|
318 |
* the headers come from middleware or os-layer => thus they are first. |
|
319 |
*/ |
|
320 |
#define APP_LAYER_SYSTEMINCLUDE SYSTEMINCLUDE \ |
|
321 |
/epoc32/include \ |
|
322 |
/epoc32/include/platform/mw \ |
|
323 |
/epoc32/include/platform \ |
|
324 |
/epoc32/include/app \ |
|
325 |
/epoc32/include/platform/app \ |
|
326 |
/epoc32/include/platform/loc \ |
|
327 |
/epoc32/include/platform/mw/loc \ |
|
328 |
/epoc32/include/platform/app/loc \ |
|
329 |
/epoc32/include/platform/loc/sc \ |
|
330 |
/epoc32/include/platform/mw/loc/sc \ |
|
331 |
/epoc32/include/platform/app/loc/sc |
|
332 |
/** |
|
333 |
* This define statements defines the SYSTEMINCLUDE-line, which is intended to be |
|
334 |
* used in the mmp-files that are part of the middleware-layer. It includes all |
|
335 |
* the needed directories from the /epoc32/include, that are valid ones for the |
|
336 |
* middleware-layer components. |
|
337 |
*/ |
|
338 |
#define MW_LAYER_SYSTEMINCLUDE SYSTEMINCLUDE \ |
|
339 |
/epoc32/include \ |
|
340 |
/epoc32/include/mw \ |
|
341 |
/epoc32/include/platform/mw \ |
|
342 |
/epoc32/include/platform \ |
|
343 |
/epoc32/include/platform/loc \ |
|
344 |
/epoc32/include/platform/mw/loc \ |
|
345 |
/epoc32/include/platform/loc/sc \ |
|
346 |
/epoc32/include/platform/mw/loc/sc |
|
347 |
||
348 |
/** |
|
349 |
* This define statements defines the SYSTEMINCLUDE-line, which is intended to be |
|
350 |
* used in the mmp-files that are part of the osextensions-layer. It includes all |
|
351 |
* the needed directories from the /epoc32/include, that are valid ones for the |
|
352 |
* os-layer components. |
|
353 |
*/ |
|
354 |
#define OS_LAYER_SYSTEMINCLUDE SYSTEMINCLUDE \ |
|
355 |
/epoc32/include \ |
|
356 |
/epoc32/include/platform \ |
|
357 |
/epoc32/include/platform/loc \ |
|
358 |
/epoc32/include/platform/loc/sc |
|
359 |
||
360 |
// Below statement is Deprecated and the OS_LAYER_SYSTEMINCLUDE-macro has to be |
|
361 |
// used. |
|
362 |
// Removed, use teh OS_LAYER_SYSTEMINCLUDE instead. |
|
363 |
// #define OSEXT_LAYER_SYSTEMINCLUDE OS_LAYER_SYSTEMINCLUDE |
|
364 |
||
365 |
/** |
|
366 |
* This define statements defines the SYSTEMINCLUDE-line, which is intended to be |
|
367 |
* used in the mmp-files that are part of the os-layer. This is intended |
|
368 |
* to be only used by those components which need to use in their mmp-file either |
|
369 |
* kern_ext.mmh or nkern_ext.mmh. Reason is that those |
|
370 |
* 2 files already contain the /epoc32/include as system include path. |
|
371 |
* |
|
372 |
*/ |
|
373 |
#define OS_LAYER_KERNEL_SYSTEMINCLUDE SYSTEMINCLUDE \ |
|
374 |
/epoc32/include/platform |
|
375 |
||
376 |
// Below statement is Deprecated and the OS_LAYER_KERNEL_SYSTEMINCLUDE-macro |
|
377 |
// has to be used. |
|
378 |
// Removed, use the OS_LAYER_KERNER_SYSTEMINCLUDE instead. |
|
379 |
// #define OSEXT_LAYER_KERNEL_SYSTEMINCLUDE OS_LAYER_KERNEL_SYSTEMINCLUDE |
|
380 |
||
381 |
/** |
|
382 |
**************************************************************************** |
|
383 |
* Definitions that also define the systeminclude paths for various |
|
384 |
* part of stdapis. Each statement has to be in its own line in the using |
|
385 |
* mmp-file. There are be more than 1 statement in single mmp-file. |
|
386 |
**************************************************************************** |
|
387 |
*/ |
|
388 |
#define OS_LAYER_LIBC_SYSTEMINCLUDE SYSTEMINCLUDE OS_LAYER_PUBLIC_EXPORT_PATH(stdapis) |
|
389 |
||
390 |
#define OS_LAYER_GLIB_SYSTEMINCLUDE SYSTEMINCLUDE OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0) \ |
|
391 |
OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0/glib) \ |
|
392 |
OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0/gobject) |
|
393 |
||
394 |
||
395 |
#define OS_LAYER_SSL_SYSTEMINCLUDE SYSTEMINCLUDE OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/openssl) |
|
396 |
||
397 |
#define OS_LAYER_STDCPP_SYSTEMINCLUDE SYSTEMINCLUDE OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/stlport) |
|
398 |
||
399 |
#define OS_LAYER_BOOST_SYSTEMINCLUDE SYSTEMINCLUDE OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/boost) |
|
400 |
||
401 |
#define OS_LAYER_DBUS_SYSTEMINCLUDE SYSTEMINCLUDE OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/dbus-1.0) \ |
|
402 |
OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/dbus-1.0/dbus) |
|
403 |
#define OS_LAYER_LIBUTILITY_SYSTEMINCLUDE SYSTEMINCLUDE OS_LAYER_PLATFORM_EXPORT_PATH(stdapis/utility) |
|
404 |
||
405 |
#define OS_LAYER_LIBOIL_SYSTEMINCLUDE SYSTEMINCLUDE OS_LAYER_PLATFORM_EXPORT_PATH(stdapis/liboil) |
|
406 |
||
407 |
#define MW_LAYER_GSTREAMER_SYSTEMINCLUDE SYSTEMINCLUDE \ |
|
408 |
/epoc32/include/platform/mw/gstreamer/10_18 \ |
|
409 |
/epoc32/include/platform/mw/gstreamer/10_18/gst \ |
|
410 |
/epoc32/include/platform/mw/gstreamer/10_18/gst/gstcontroller \ |
|
411 |
/epoc32/include/stdapis/machine |
|
412 |
||
413 |
// You need to add STLLIB_USAGE_DEFINITIONS as a separate line into your mmp-file, if you are using |
|
414 |
// the stllib. |
|
415 |
#define STLLIB_USAGE_DEFINITIONS OPTION CW -wchar_t on\ |
|
416 |
MACRO _WCHAR_T_DECLARED |
|
417 |
||
418 |
||
419 |
/** |
|
420 |
**************************************************************************** |
|
421 |
* Definitions that also define the paths to the layer specific source directories. |
|
422 |
**************************************************************************** |
|
423 |
*/ |
|
424 |
/** |
|
425 |
* The below 3 macros define the paths to the layer-specific source dirs. |
|
426 |
* See usage on top of this hrh-file, these are used the same way as |
|
427 |
* for instance the OS_LAYER_DOMAIN_EXPORT_PATH |
|
428 |
* Deprecated: is not allowed to be using in Symbian Foundation |
|
429 |
*/ |
|
430 |
#if __GNUC__ >= 3 |
|
431 |
#define APP_LAYER_SOURCE_PATH(rest) do not use intentionally generates error in export |
|
432 |
#define MW_LAYER_SOURCE_PATH(rest) do not use intentionally generates error in export |
|
433 |
#define OSEXT_LAYER_SOURCE_PATH(rest) do not use intentionally generates error in export |
|
434 |
#else |
|
435 |
#define APP_LAYER_SOURCE_PATH(rest) do not use intentionally generates error in export |
|
436 |
#define MW_LAYER_SOURCE_PATH(rest) do not use intentionally generates error in export |
|
437 |
#define OSEXT_LAYER_SOURCE_PATH(rest) do not use intentionally generates error in export |
|
438 |
#endif |
|
439 |
||
440 |
/** |
|
441 |
**************************************************************************** |
|
442 |
* Definitions to export IBY files to different folders where they will be taken |
|
443 |
* to ROM image |
|
444 |
**************************************************************************** |
|
445 |
*/ |
|
446 |
||
447 |
// Following three definitions are used for exporting IBY files to |
|
448 |
// Core image (ROM+ROFS1). IBY files are exported according to their layer. |
|
449 |
#if __GNUC__ >= 3 |
|
450 |
#define CORE_APP_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/core/app/exported |
|
451 |
#define CORE_MW_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/core/mw/exported |
|
452 |
#define CORE_OSEXT_LAYER_IBY_EXPORT_PATH(exported) do not use intentionally generates error |
|
453 |
#define CORE_OS_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/core/os/exported |
|
454 |
#define CORE_ADAPT_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/exported |
|
455 |
#else |
|
456 |
#define CORE_APP_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/core/app/##exported |
|
457 |
#define CORE_MW_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/core/mw/##exported |
|
458 |
#define CORE_OSEXT_LAYER_IBY_EXPORT_PATH(exported) do not use intentionally generates error |
|
459 |
#define CORE_OS_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/core/os/##exported |
|
460 |
#define CORE_ADAPT_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/##exported |
|
461 |
#endif |
|
462 |
||
463 |
// Following three definitions are used for exporting IBY files to Variant image, |
|
464 |
// Language part (ROFS2). IBY files are exported according to their layer. |
|
465 |
#if __GNUC__ >= 3 |
|
466 |
#define LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/language/app/exported |
|
467 |
#define LANGUAGE_MW_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/language/mw/exported |
|
468 |
#define LANGUAGE_OSEXT_LAYER_IBY_EXPORT_PATH(exported) do not use intentionally generates error |
|
469 |
#define LANGUAGE_OS_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/language/os/exported |
|
470 |
#else |
|
471 |
#define LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/language/app/##exported |
|
472 |
#define LANGUAGE_MW_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/language/mw/##exported |
|
473 |
#define LANGUAGE_OSEXT_LAYER_IBY_EXPORT_PATH(exported) do not use intentionally generates error |
|
474 |
#define LANGUAGE_OS_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/language/os/##exported |
|
475 |
#endif |
|
476 |
||
477 |
// Following three definitions are used for exporting IBY files to Variant image, (ROFS2). |
|
478 |
// BY files are exported according to their layer. |
|
479 |
#if __GNUC__ >= 3 |
|
480 |
#define CUSTOMER_APP_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customer/app/exported |
|
481 |
#define CUSTOMER_MW_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customer/mw/exported |
|
482 |
#define CUSTOMER_OSEXT_LAYER_IBY_EXPORT_PATH(exported) do not use intentionally generates error |
|
483 |
#define CUSTOMER_OS_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customer/os/exported |
|
484 |
#else |
|
485 |
#define CUSTOMER_APP_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customer/app/##exported |
|
486 |
#define CUSTOMER_MW_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customer/mw/##exported |
|
487 |
#define CUSTOMER_OSEXT_LAYER_IBY_EXPORT_PATH(exported) do not use intentionally generates error |
|
488 |
#define CUSTOMER_OS_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customer/os/##exported |
|
489 |
#endif |
|
490 |
||
491 |
// Following three definitions are used for exporting IBY files to |
|
492 |
// Variant Customer part, (ROFS3). IBY files are exported according to |
|
493 |
// their layer. |
|
494 |
#if __GNUC__ >= 3 |
|
495 |
#define CUSTOMER_VARIANT_APP_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customervariant/app/exported |
|
496 |
#define CUSTOMER_VARIANT_MW_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customervariant/mw/exported |
|
497 |
#define CUSTOMER_VARIANT_OSEXT_LAYER_IBY_EXPORT_PATH(exported) do not use intentionally generates error |
|
498 |
#define CUSTOMER_VARIANT_OS_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customervariant/os/exported |
|
499 |
#else |
|
500 |
#define CUSTOMER_VARIANT_APP_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customervariant/app/##exported |
|
501 |
#define CUSTOMER_VARIANT_MW_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customervariant/mw/##exported |
|
502 |
#define CUSTOMER_VARIANT_OSEXT_LAYER_IBY_EXPORT_PATH(exported) do not use intentionally generates error |
|
503 |
#define CUSTOMER_VARIANT_OS_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customervariant/os/##exported |
|
504 |
#endif |
|
505 |
||
506 |
||
507 |
// Following definition is used for exporting tools and stubs IBY files to |
|
508 |
// Core image. |
|
509 |
#if __GNUC__ >= 3 |
|
510 |
#define CORE_IBY_EXPORT_PATH(path,exported) /epoc32/rom/include/core/path/exported |
|
511 |
#else |
|
512 |
#define CORE_IBY_EXPORT_PATH(path,exported) /epoc32/rom/include/core/##path##/##exported |
|
513 |
#endif |
|
514 |
||
515 |
/** |
|
516 |
* --------------------------------------- |
|
517 |
* Location, where the localization .loc file should be exported |
|
518 |
* --------------------------------------- |
|
519 |
*/ |
|
520 |
// Location, where the os layer localization .loc file should be |
|
521 |
// exported |
|
522 |
#if __GNUC__ >= 3 |
|
523 |
// Deprecated: use the OS_LAYER_LOC_EXPORT_PATH instead |
|
524 |
#define OSEXT_LAYER_LOC_EXPORT_PATH(exported) do not use intentionally generates error |
|
525 |
#define OS_LAYER_LOC_EXPORT_PATH(exported) /epoc32/include/platform/loc/sc/exported |
|
526 |
||
527 |
// Location, where the middleware layer localization .loc file should be |
|
528 |
// exported |
|
529 |
#define MW_LAYER_LOC_EXPORT_PATH(exported) /epoc32/include/platform/mw/loc/sc/exported |
|
530 |
||
531 |
// Location, where the application layer localization .loc file should be |
|
532 |
// exported |
|
533 |
#define APP_LAYER_LOC_EXPORT_PATH(exported) /epoc32/include/platform/app/loc/sc/exported |
|
534 |
||
535 |
#else |
|
536 |
||
537 |
// Deprecated: use the OS_LAYER_LOC_EXPORT_PATH instead |
|
538 |
#define OSEXT_LAYER_LOC_EXPORT_PATH(exported) do not use intentionally generates error |
|
539 |
#define OS_LAYER_LOC_EXPORT_PATH(exported) /epoc32/include/platform/loc/sc/##exported |
|
540 |
||
541 |
// Location, where the middleware layer localization .loc file should be exported |
|
542 |
#define MW_LAYER_LOC_EXPORT_PATH(exported) /epoc32/include/platform/mw/loc/sc/##exported |
|
543 |
||
544 |
// Location, where the application layer localization .loc file should be exported |
|
545 |
#define APP_LAYER_LOC_EXPORT_PATH(exported) /epoc32/include/platform/app/loc/sc/##exported |
|
546 |
#endif |
|
547 |
||
548 |
/** |
|
549 |
* --------------------------------------- |
|
550 |
* Macros for Configuration tool migration. |
|
551 |
* The below macros define the location under epoc32, where the confml |
|
552 |
* (Configuration Markup Language) and crml (Central Repository Markup Language) |
|
553 |
* files should be exported. |
|
554 |
* --------------------------------------- |
|
555 |
*/ |
|
556 |
#if __GNUC__ >= 3 |
|
557 |
#define CONFML_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/category/file |
|
558 |
#define CRML_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/category/file |
|
559 |
#define GCFML_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/category/file |
|
560 |
#define CONFML_CONFIG_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/category/config/file |
|
561 |
#else |
|
562 |
#define CONFML_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/##category##/##file |
|
563 |
#define CRML_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/##category##/##file |
|
564 |
#define GCFML_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/##category##/##file |
|
565 |
#define CONFML_CONFIG_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/##category##/config/##file |
|
566 |
#endif |
|
567 |
||
568 |
#define APP_LAYER_CONFML(exported) CONFML_EXPORT_PATH(exported,s60) |
|
569 |
#define APP_LAYER_CRML(exported) CRML_EXPORT_PATH(exported,s60) |
|
570 |
#define APP_LAYER_GCFML(exported) GCFML_EXPORT_PATH(exported,s60) |
|
571 |
#define APP_LAYER_CONFML_CONFIG(exported) CONFML_CONFIG_EXPORT_PATH(exported,s60) |
|
572 |
||
573 |
#define MW_LAYER_CONFML(exported) CONFML_EXPORT_PATH(exported,s60) |
|
574 |
#define MW_LAYER_CRML(exported) CRML_EXPORT_PATH(exported,s60) |
|
575 |
#define MW_LAYER_GCFML(exported) GCFML_EXPORT_PATH(exported,s60) |
|
576 |
#define MW_LAYER_CONFML_CONFIG(exported) CONFML_CONFIG_EXPORT_PATH(exported,s60) |
|
577 |
||
578 |
// Deprecate: Use the OS_LAYER_* macros instead of OSEXT_LAYER_* |
|
579 |
#define OSEXT_LAYER_CONFML(exported) do not use intentionally generates error |
|
580 |
#define OSEXT_LAYER_CRML(exported) do not use intentionally generates error |
|
581 |
#define OSEXT_LAYER_GCFML(exported) do not use intentionally generates error |
|
582 |
#define OSEXT_LAYER_CONFML_CONFIG(exported) do not use intentionally generates error |
|
583 |
#define OS_LAYER_CONFML(exported) CONFML_EXPORT_PATH(exported,s60) |
|
584 |
#define OS_LAYER_CRML(exported) CRML_EXPORT_PATH(exported,s60) |
|
585 |
#define OS_LAYER_GCFML(exported) GCFML_EXPORT_PATH(exported,s60) |
|
586 |
#define OS_LAYER_CONFML_CONFIG(exported) CONFML_CONFIG_EXPORT_PATH(exported,s60) |
|
587 |
||
588 |
#endif // end of PLATFORM_PATHS_HRH |