|
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 ../../../../extinc \ |
|
42 ../../../../cautils/inc \ |
|
43 ../../../casrvmgr/inc \ |
|
44 ../../../../castorage/inc \ |
|
45 ../../../../srvinc \ |
|
46 /epoc32/include/mw/hb/hbcore \ |
|
47 $$MW_LAYER_SYSTEMINCLUDE |
|
48 |
|
49 include(t_cawidgetscanner.pri) |
|
50 |
|
51 symbian: { |
|
52 |
|
53 ### get rid of localization warnings |
|
54 CONFIG -= hb |
|
55 load(hb.prf) |
|
56 CONFIG -= symbian_i18n |
|
57 ### |
|
58 |
|
59 CONFIG += symbian_test |
|
60 coverage: CONFIG -= symbian_test |
|
61 |
|
62 TARGET.UID2 = 0x10009D8D |
|
63 TARGET.UID3 = 0x20028705 |
|
64 TARGET.CAPABILITY = ALL \ |
|
65 -TCB |
|
66 TARGET.EPOCSTACKSIZE = 0x14000 \ |
|
67 // \ |
|
68 80kB |
|
69 TARGET.EPOCHEAPSIZE = 0x20000 \ |
|
70 0x1000000 \ |
|
71 // \ |
|
72 128kB \ |
|
73 - \ |
|
74 16MB |
|
75 |
|
76 LIBS += \ |
|
77 -leuser \ |
|
78 -lestor \ |
|
79 -lapparc \ |
|
80 -lapgrfx \ |
|
81 -lcautils \ |
|
82 -lsysutil \ |
|
83 -lplatformenv \ |
|
84 -lcasrvmanager \ |
|
85 -lws32 \ |
|
86 -lecom \ |
|
87 -lxmlengineDOM \ |
|
88 -lcharconv \ |
|
89 -lplatformenv \ |
|
90 -lsisregistryclient \ |
|
91 -lsqldb \ |
|
92 -lbafl \ |
|
93 -lefsrv \ |
|
94 -lflogger \ |
|
95 -lcamenu \ |
|
96 -lscrclient \ |
|
97 -lsifnotification \ |
|
98 -lsif \ |
|
99 -lhbcore \ |
|
100 -lxmlengineDOM \ |
|
101 -lxqutils |
|
102 |
|
103 exportDB.sources = ./data/castorage.db ./data/widgettranslation_en_GB.qm |
|
104 exportDB.path = c:/testing/data/t_cawidgetscanner/ |
|
105 |
|
106 exportManifest.sources = ./data/validwidget1.manifest ./data/validwidget2.manifest ./data/validwidget3.manifest ./data/validwidget4.manifest |
|
107 exportManifest.path = c:/testing/data/t_cawidgetscanner |
|
108 |
|
109 exportSis.path = c:/testing/data/installs |
|
110 exportSis.sources = ./data/validwidget1.SISX ./data/validwidget2.SISX ./data/validwidget3.SISX ./data/validwidget4.SISX |
|
111 |
|
112 BLD_INF_RULES.prj_testexports += "$${exportDB.sources} $${exportDB.path}" |
|
113 |
|
114 for(exportManifest, exportManifest.sources):{ |
|
115 BLD_INF_RULES.prj_testexports += \ |
|
116 "./$$exportManifest $$exportManifest.path/$$basename(exportManifest)" |
|
117 } |
|
118 |
|
119 for(exportSis, exportSis.sources): { |
|
120 BLD_INF_RULES.prj_testexports += \ |
|
121 "./$$exportSis $$exportSis.path/$$basename(exportSis)" |
|
122 } |
|
123 |
|
124 DEPLOYMENT += exportDB exportManifest exportSis |
|
125 } |
|
126 |
|
127 |
|
128 |
|
129 |