|
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 QT += testlib |
|
18 QT -= gui |
|
19 |
|
20 TEMPLATE = app |
|
21 TARGET = testunidatamodelvcalplugin |
|
22 |
|
23 CONFIG += hb |
|
24 CONFIG += symbian_test |
|
25 CONFIG += qtestlib |
|
26 |
|
27 INCLUDEPATH += . |
|
28 INCLUDEPATH += ../../../../../../inc |
|
29 INCLUDEPATH += ../../../../../../../inc |
|
30 INCLUDEPATH += ../../../../../../../../../../epoc32/include/platform/mw |
|
31 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE |
|
32 |
|
33 DEFINES += BUILD_TEST_DLL |
|
34 |
|
35 SOURCES += \ |
|
36 src/testunidatamodelvcalplugin.cpp |
|
37 |
|
38 |
|
39 # Input |
|
40 HEADERS += \ |
|
41 inc/testunidatamodelvcalplugin.h |
|
42 |
|
43 |
|
44 |
|
45 SYMBIAN_PLATFORMS = WINSCW ARMV5 |
|
46 symbian { |
|
47 TARGET.CAPABILITY = CAP_GENERAL_DLL |
|
48 TARGET.EPOCSTACKSIZE = 0x8000 |
|
49 TARGET.EPOCHEAPSIZE = 0x1000 0x1F00000 |
|
50 TARGET.EPOCALLOWDLLDATA = 1 |
|
51 BLD_INF_RULES.prj_exports += "vcal1.txt /epoc32/winscw/c/test/vcal1.txt" |
|
52 BLD_INF_RULES.prj_exports += "BioMtm.rsc /epoc32/winscw/c/resource/messaging/mtm/BioMtm.rsc" |
|
53 BLD_INF_RULES.prj_exports += "data/TestUniDataModelVCalPlugin.cfg c:/TestUniDataModelVCalPlugin.cfg" |
|
54 BLD_INF_RULES.prj_exports += "data/TestUniDataModelVCalPlugin.pl c:/TestUniDataModelVCalPlugin.pl" |
|
55 } |
|
56 |
|
57 |
|
58 packageheader = "$${LITERAL_HASH}{\"testunidatamodelvcalplugin\"},(0xE2815e10),1,0,0,TYPE=SA" |
|
59 |
|
60 vendorinfo = \ |
|
61 "; Localised Vendor name" \ |
|
62 "%{\"Nokia\"}" \ |
|
63 "; Unique Vendor name" \ |
|
64 ":\"Nokia\"" |
|
65 |
|
66 dependencyinfo = \ |
|
67 "; Default HW/platform dependencies" \ |
|
68 "[0x101F7961],0,0,0,{\"S60ProductID\"}" \ |
|
69 "[0x2001E61C],4,6,3,{"Qt"} |
|
70 |
|
71 default_deployment.pkg_prerules = packageheader \ |
|
72 vendorinfo \ |
|
73 dependencyinfo |
|
74 |
|
75 |
|
76 #Copy the dependent DLL |
|
77 symbian: { |
|
78 addCfg.sources = ./data/TestUniDataModelVCalPlugin.cfg |
|
79 addCfg.path = C:/ |
|
80 DEPLOYMENT += addCfg |
|
81 |
|
82 addPl.sources = ./data/TestUniDataModelVCalPlugin.pl |
|
83 addPl.path = C:/ |
|
84 DEPLOYMENT += addPl |
|
85 |
|
86 addP2.sources = ./vcal1.txt |
|
87 addP2.path = C:/ |
|
88 DEPLOYMENT += addP2 |
|
89 |
|
90 } |
|
91 |
|
92 |
|
93 LIBS += -leuser \ |
|
94 -lconvergedmessageutils\ |
|
95 -lmsgs \ |
|
96 -lsmcm \ |
|
97 -lgsmu \ |
|
98 -letext \ |
|
99 -lmsgs \ |
|
100 -lunidatamodelloader\ |
|
101 -lQtCore \ |
|
102 -lbioc \ |
|
103 -lefsrv \ |
|
104 -lbiodb \ |
|
105 -lxqutils \ |
|
106 -lbifu |
|
107 |
|
108 |