125
|
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(../../../../contentstorage/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 |
../../../../contentstorage/caclient/inc \
|
|
43 |
../../../../contentstorage_api \
|
|
44 |
../../../../contentstorage/srvinc \
|
|
45 |
../../../../contentstorage/inc \
|
|
46 |
../../../../contentstorage/cautils/inc \
|
|
47 |
../../../../contentstorage/castorage/inc \
|
|
48 |
../../../../contentstorage/inc
|
|
49 |
|
|
50 |
LIBS += -lcaclient
|
|
51 |
|
|
52 |
symbian: {
|
|
53 |
CONFIG += symbian_test
|
|
54 |
### get rid of localization warnings
|
|
55 |
CONFIG -= hb
|
|
56 |
load(hb.prf)
|
|
57 |
CONFIG -= symbian_i18n
|
|
58 |
###
|
|
59 |
|
|
60 |
TARGET.UID2 = 0x100039CE
|
|
61 |
TARGET.UID3 = 0x2002DCFA
|
|
62 |
TARGET.CAPABILITY = ALL -TCB
|
|
63 |
TARGET.EPOCSTACKSIZE = 0x14000 // 80kB
|
|
64 |
TARGET.EPOCHEAPSIZE = 0x20000 0x1000000 // 128kB - 16MB
|
|
65 |
|
|
66 |
INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
|
|
67 |
|
|
68 |
LIBS += \
|
|
69 |
-lapgrfx \
|
|
70 |
-lefsrv \
|
|
71 |
-lws32 \
|
|
72 |
-lcautils \
|
|
73 |
-lsqldb \
|
|
74 |
-lbafl \
|
|
75 |
-lflogger \
|
|
76 |
-lsysutil
|
|
77 |
|
|
78 |
export.sources = ./data/armv5/*.sisx
|
|
79 |
export.path = /testing/data/t_caclient/installs
|
|
80 |
|
|
81 |
exportDB.sources = ./data/castorage.db
|
|
82 |
exportDB.path = /testing/data/t_caclient/
|
|
83 |
|
|
84 |
exportQM.sources = ./data/emailTest.qm
|
|
85 |
exportQM.path = /resource/qt/translations/
|
|
86 |
|
|
87 |
|
|
88 |
DEPLOYMENT += export \
|
|
89 |
exportDB \
|
|
90 |
exportQM
|
|
91 |
|
|
92 |
}
|
|
93 |
|
|
94 |
include(t_contentstorage_api.pri)
|
|
95 |
!win32:include(t_contentstorage_api_installs_win32.pri)
|
|
96 |
!symbian:unix:include(t_contentstorage_api_installs_unix.pri)
|
|
97 |
|
|
98 |
|
|
99 |
symbian:MMP_RULES += SMPSAFE
|