|
1 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 # All rights reserved. |
|
3 # This component and the accompanying materials are made available |
|
4 # under the terms of "Eclipse Public License v1.0" |
|
5 # which accompanies this distribution, and is available |
|
6 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 # Initial Contributors: |
|
8 # Nokia Corporation - initial contribution. |
|
9 # Contributors: |
|
10 # Description: |
|
11 |
|
12 |
|
13 TEMPLATE = app |
|
14 |
|
15 include(../../../../../common.pri) |
|
16 include(../../../../tsrc/testutils/testutils.pri) |
|
17 |
|
18 CONFIG(debug, debug|release) { |
|
19 DESTDIR = debug |
|
20 } else { |
|
21 DESTDIR = release |
|
22 } |
|
23 CONFIG += HB |
|
24 CONFIG += debug_and_release \ |
|
25 console |
|
26 QT += testlib |
|
27 |
|
28 DEFINES += CONTENT_ARSENAL_STORAGE_UT |
|
29 coverage:DEFINES += COVERAGE_MEASUREMENT |
|
30 |
|
31 DEPENDPATH += . \ |
|
32 ./inc \ |
|
33 ./src |
|
34 |
|
35 INCLUDEPATH += . \ |
|
36 ./inc \ |
|
37 ../../inc \ |
|
38 ../../../../inc \ |
|
39 ../../../homescreensrv_plat/contentstorage_api \ |
|
40 ../../../../srvinc \ |
|
41 ../../../../cautils/inc \ |
|
42 ../../../casrvmgr/inc \ |
|
43 ../../../../castorage/inc \ |
|
44 $$MW_LAYER_SYSTEMINCLUDE |
|
45 |
|
46 include(t_caappscanner.pri) |
|
47 symbian: { |
|
48 ### get rid of localization warnings |
|
49 CONFIG -= hb |
|
50 load(hb.prf) |
|
51 CONFIG -= symbian_i18n |
|
52 ### |
|
53 |
|
54 CONFIG += symbian_test |
|
55 coverage: CONFIG -= symbian_test |
|
56 |
|
57 TARGET.UID2 = 0x10009D8D |
|
58 TARGET.UID3 = 0x2002870E |
|
59 TARGET.CAPABILITY = ALL \ |
|
60 -TCB |
|
61 TARGET.EPOCSTACKSIZE = 0x14000 \ |
|
62 // \ |
|
63 80kB |
|
64 TARGET.EPOCHEAPSIZE = 0x20000 \ |
|
65 0x1000000 \ |
|
66 // \ |
|
67 128kB \ |
|
68 - \ |
|
69 16MB |
|
70 LIBS += \ |
|
71 -lapparc \ |
|
72 -lapgrfx \ |
|
73 -lefsrv \ |
|
74 -leuser \ |
|
75 -lPlatformEnv \ |
|
76 -lbafl \ |
|
77 -lcamenu \ |
|
78 -lcasathandler \ |
|
79 -lcalocalizerscanner \ |
|
80 -lcommdb \ |
|
81 -lefsrv \ |
|
82 -lestor \ |
|
83 -lapparc \ |
|
84 -lplatformenv \ |
|
85 -lsysutil \ |
|
86 -lapgrfx \ |
|
87 -lws32 \ |
|
88 -lavkon \ |
|
89 -lcone \ |
|
90 -lecom \ |
|
91 -lsisregistryclient \ |
|
92 -lWidgetRegistryClient \ |
|
93 -lsqldb \ |
|
94 -lcomsdbgutil \ |
|
95 -lscrclient \ |
|
96 -lsifnotification |
|
97 |
|
98 exportDB.sources = ./data/castorage.db |
|
99 exportDB.path = c:/testing/data/t_caappscanner/ |
|
100 |
|
101 exportWRT.sources = ./data/*.wgt |
|
102 exportWRT.path = c:/testing/data/t_caappscanner/installs/ |
|
103 |
|
104 exportMMCHistory.sources = ./data/mmchistory |
|
105 exportMMCHistory.path = c:/testing/data/t_caappscanner/ |
|
106 |
|
107 exportARMSis.sources = ./data/armv5/sapiapp_S60_3_X_v_1_0_0.sisx |
|
108 exportARMSis.path = c:/testing/data/t_caappscanner/installs/ |
|
109 |
|
110 exportWINSCWSis.sources = ./data/winscw/sapiapp_S60_3_X_v_1_0_0.sisx |
|
111 exportWINSCWSis.path = c:/testing/data/t_caappscanner/installs/ |
|
112 |
|
113 exportJava.sources = ./data/*.jar |
|
114 exportJava.path = c:/testing/data/t_caappscanner/ |
|
115 |
|
116 BLD_INF_RULES.prj_exports += "./data/mmchistory c:/testing/data/t_caappscanner/" |
|
117 BLD_INF_RULES.prj_exports += "./data/castorage.db c:/testing/data/t_caappscanner/" |
|
118 BLD_INF_RULES.prj_exports += "./data/AccuWeather_W3C.wgt c:/testing/data/t_caappscanner/installs/" |
|
119 BLD_INF_RULES.prj_exports += "./data/SmokeTestUnsigned.wgt c:/testing/data/t_caappscanner/installs/" |
|
120 BLD_INF_RULES.prj_exports += "./data/winscw/sapiapp_S60_3_X_v_1_0_0.sisx c:/testing/data/t_caappscanner/installs/" |
|
121 BLD_INF_RULES.prj_exports += "./data/HelloWorld.jar c:/testing/data/t_caappscanner/" |
|
122 |
|
123 DEPLOYMENT += exportDB exportWRT exportMMCHistory exportARMSis exportJava |
|
124 |
|
125 BLD_INF_RULES.prj_testexports += "$${exportDB.sources} $${exportDB.path}$$basename(exportDB.sources)" |
|
126 BLD_INF_RULES.prj_testexports += "./data/AccuWeather_W3C.wgt c:/testing/data/t_caappscanner/installs/" |
|
127 BLD_INF_RULES.prj_testexports += "./data/SmokeTestUnsigned.wgt c:/testing/data/t_caappscanner/installs/" |
|
128 BLD_INF_RULES.prj_testexports += "$${exportMMCHistory.sources} $${exportMMCHistory.path}$$basename(exportMMCHistory.sources)" |
|
129 BLD_INF_RULES.prj_testexports += "$${exportWINSCWSis.sources} $${exportWINSCWSis.path}$$basename(exportWINSCWSis.sources)" |
|
130 BLD_INF_RULES.prj_testexports += "./data/HelloWorld.jar c:/testing/data/t_caappscanner/" |
|
131 } |
|
132 |
|
133 |