1 # |
|
2 # Copyright (c) 2010 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: SecUi notification dialog plugin project. |
|
15 # |
|
16 |
|
17 TEMPLATE = lib |
|
18 TARGET = secuinotificationdialogplugin |
|
19 CONFIG += plugin |
|
20 TRANSLATIONS = secui.ts |
|
21 |
|
22 CONFIG += hb |
|
23 CONFIG += mobility |
|
24 MOBILITY = publishsubscribe |
|
25 |
|
26 # directories |
|
27 INCLUDEPATH += . |
|
28 DEPENDPATH += . |
|
29 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE |
|
30 INCLUDEPATH += ../../../../inc |
|
31 |
|
32 HEADERS += inc/secuinotificationdialogplugin.h \ |
|
33 inc/secuinotificationdialog.h \ |
|
34 inc/secuinotificationcontentwidget.h |
|
35 |
|
36 SOURCES += src/secuinotificationdialogplugin.cpp \ |
|
37 src/secuinotificationdialog.cpp \ |
|
38 src/secuinotificationcontentwidget.cpp |
|
39 |
|
40 RESOURCES += secuinotificationdialogplugin.qrc |
|
41 |
|
42 symbian: { |
|
43 TARGET.EPOCALLOWDLLDATA = 1 |
|
44 # NetworkControl NetworkServices needed for emergency calls |
|
45 TARGET.CAPABILITY = CAP_GENERAL_DLL NetworkControl NetworkServices |
|
46 TARGET.UID3 = 0x2102432C # TODO: allocate UID |
|
47 |
|
48 pluginstub.sources = secuinotificationdialogplugin.dll |
|
49 pluginstub.path = /resource/plugins/devicedialogs |
|
50 DEPLOYMENT += pluginstub |
|
51 crml.sources = secuinotificationdialogplugin.qcrml |
|
52 crml.path = c:/resource/qt/crml |
|
53 DEPLOYMENT += crml |
|
54 } |
|
55 BLD_INF_RULES.prj_exports += \ |
|
56 "$${LITERAL_HASH}include <platform_paths.hrh>" \ |
|
57 "qmakepluginstubs/secuinotificationdialogplugin.qtplugin /epoc32/data/z/pluginstub/secuinotificationdialogplugin.qtplugin"\ |
|
58 "rom/secuinotificationdialogplugin.iby CORE_APP_LAYER_IBY_EXPORT_PATH(secuinotificationdialogplugin.iby)"\ |
|
59 "rom/secuinotificationdialogplugin_resources.iby LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(secuinotificationdialogplugin_resources.iby)" |
|
60 |
|
61 LIBS += -lxqservice |
|
62 LIBS += -lphoneclient |
|
63 |
|
64 tests { |
|
65 test.depends = sub-src |
|
66 test.commands += cd tsrc && $(MAKE) test |
|
67 autotest.depends = sub-src |
|
68 autotest.commands += cd tsrc && $(MAKE) autotest |
|
69 QMAKE_EXTRA_TARGETS += test autotest |
|
70 } |
|