|
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 |
|
18 TEMPLATE = app |
|
19 TARGET = |
|
20 |
|
21 QT += testlib sql xml core |
|
22 CONFIG += hb symbian_test |
|
23 HB += hbfeedback |
|
24 DEFINES += QT_NO_DEBUG_OUTPUT |
|
25 DEFINES += QT_NO_WARNING_OUTPUT |
|
26 DEFINES += PBK_UNIT_TEST |
|
27 |
|
28 MOC_DIR = moc |
|
29 |
|
30 INCLUDEPATH += ../../../../../inc |
|
31 INCLUDEPATH += ../../../../../phonebookui/phonebookapp/inc |
|
32 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE |
|
33 |
|
34 INCLUDEPATH += ../../../cntcommonui/core \ |
|
35 ../../../cntcommonui/engine_inc \ |
|
36 ../../../inc |
|
37 INCLUDEPATH += ../../../../phonebookengines/cntimageutility/inc |
|
38 |
|
39 |
|
40 # contacts/inc/ |
|
41 HEADERS += ../../../../inc |
|
42 |
|
43 #======================================================================= |
|
44 # phonebookservices being unit tested |
|
45 |
|
46 HEADERS += ../../inc/cntabstractserviceprovider.h |
|
47 HEADERS += ../../inc/cntservices.h |
|
48 SOURCES += ../../src/cntservices.cpp |
|
49 |
|
50 |
|
51 #======================================================================= |
|
52 # test utilities |
|
53 |
|
54 HEADERS += ../../../cntcommonui/tsrc/testutility/testrunner.h |
|
55 SOURCES += ../../../cntcommonui/tsrc/testutility/testrunner.cpp |
|
56 |
|
57 HEADERS += ../../../cntcommonui/tsrc/testutility/testengine.h |
|
58 SOURCES += ../../../cntcommonui/tsrc/testutility/testengine.cpp |
|
59 |
|
60 HEADERS += ../../../cntcommonui/tsrc/testutility/testviewmanager.h |
|
61 SOURCES += ../../../cntcommonui/tsrc/testutility/testviewmanager.cpp |
|
62 |
|
63 #HEADERS += ../../../cntcommonui/tsrc/testutility/hbstubs_helper.h |
|
64 #SOURCES += ../../../cntcommonui/tsrc/testutility/hbstubs.cpp |
|
65 |
|
66 #SOURCES += ../../../cntcommonui/tsrc/testutility/qthighway_stub.cpp |
|
67 #qthighway_stub_helper.h |
|
68 |
|
69 #======================================================================= |
|
70 # Dependencies from cntcommonui which are needed |
|
71 |
|
72 HEADERS += ../../../cntcommonui/core/cntextensionmanager.h |
|
73 SOURCES += ../../../cntcommonui/core/cntextensionmanager.cpp |
|
74 |
|
75 HEADERS += ../../../cntcommonui/core/cntthumbnailmanager.h |
|
76 SOURCES += ../../../cntcommonui/core/cntthumbnailmanager.cpp |
|
77 |
|
78 #======================================================================= |
|
79 |
|
80 # Tester sources |
|
81 HEADERS += ./*.h |
|
82 SOURCES += ./*.cpp |
|
83 |
|
84 |
|
85 |
|
86 # capability |
|
87 TARGET.CAPABILITY = ALL -TCB |
|
88 |
|
89 TRANSLATIONS = contacts.ts |
|
90 |
|
91 LIBS += -lhbcore \ |
|
92 -lqtcontacts \ |
|
93 -lcntlistmodel \ |
|
94 -lcntcommonui \ |
|
95 -lqtversit \ |
|
96 -lcntimageutility \ |
|
97 -lxqkeycapture \ |
|
98 -lxqservice \ |
|
99 -lxqserviceutil |
|
100 symbian:MMP_RULES += SMPSAFE |