|
1 # |
|
2 # Copyright (c) 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: |
|
15 # |
|
16 |
|
17 TEMPLATE = app |
|
18 CONFIG += hb mobility |
|
19 MOBILITY = serviceframework |
|
20 HB = hbcore |
|
21 include(../../../../common.pri) |
|
22 include(../../../tsrc/testutils/testutils.pri) |
|
23 CONFIG(debug, debug|release) { |
|
24 DESTDIR = debug |
|
25 } else { |
|
26 DESTDIR = release |
|
27 } |
|
28 |
|
29 CONFIG += debug_and_release \ |
|
30 console |
|
31 QT += testlib xml |
|
32 |
|
33 DEFINES += CONTENTARSENAL_UNITTEST |
|
34 DEFINES += CONTENT_ARSENAL_STORAGE_UT |
|
35 |
|
36 coverage:DEFINES += COVERAGE_MEASUREMENT |
|
37 DEPENDPATH += . \ |
|
38 ./inc \ |
|
39 ./src |
|
40 INCLUDEPATH += . \ |
|
41 ./inc \ |
|
42 ../../inc \ |
|
43 ../../../../homescreensrv_plat/contentstorage_api \ |
|
44 ../../../srvinc \ |
|
45 ../../../inc \ |
|
46 ../../../cautils\inc \ |
|
47 ../../../castorage/inc \ |
|
48 ../../../../contentstorage/inc |
|
49 |
|
50 |
|
51 INCLUDEPATH += ../../../cautils/inc \ |
|
52 ../../inc |
|
53 |
|
54 LIBS += -lcaclient |
|
55 |
|
56 symbian: { |
|
57 CONFIG += symbian_test |
|
58 ### get rid of localization warnings |
|
59 CONFIG -= hb |
|
60 load(hb.prf) |
|
61 CONFIG -= symbian_i18n |
|
62 ### |
|
63 coverage: { |
|
64 SUBDIRS += ../../../cautils |
|
65 |
|
66 SUBDIRS += ../../../caclient |
|
67 |
|
68 BLD_INF_RULES.prj_mmpfiles += "../../../casrv/casrvmgr/group/casrvmanager.mmp" \ |
|
69 "../../../casatinterface/group/MenuInterface.mmp" \ |
|
70 "../../../group/casathandler.mmp" \ |
|
71 "../../../group/camenu.mmp" \ |
|
72 "../../../group/camenusrv.mmp" " |
|
73 |
|
74 CONFIG -= symbian_test |
|
75 } |
|
76 |
|
77 TARGET.UID2 = 0x100039CE |
|
78 TARGET.UID3 = 0x20026FA8 |
|
79 TARGET.CAPABILITY = ALL -TCB |
|
80 TARGET.EPOCSTACKSIZE = 0x14000 // 80kB |
|
81 TARGET.EPOCHEAPSIZE = 0x20000 0x1000000 // 128kB - 16MB |
|
82 |
|
83 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE |
|
84 |
|
85 LIBS += \ |
|
86 -lapgrfx \ |
|
87 -lefsrv \ |
|
88 -lws32 \ |
|
89 -lcautils \ |
|
90 -lsqldb \ |
|
91 -lbafl \ |
|
92 -lflogger \ |
|
93 -lsysutil |
|
94 |
|
95 export.sources = ./data/armv5/*.sisx |
|
96 export.path = /testing/data/t_caclient/installs |
|
97 |
|
98 exportDB.sources = ./data/castorage.db |
|
99 exportDB.path = /testing/data/t_caclient/ |
|
100 |
|
101 exportQM.sources = ./data/emailTest.qm |
|
102 exportQM.path = /resource/qt/translations/ |
|
103 |
|
104 |
|
105 DEPLOYMENT += export \ |
|
106 exportDB \ |
|
107 exportQM |
|
108 |
|
109 } |
|
110 |
|
111 include(t_caclient.pri) |
|
112 !win32:include(t_caclient_installs_win32.pri) |
|
113 !symbian:unix:include(t_caclient_installs_unix.pri) |