|
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: Silent widget |
|
15 # |
|
16 |
|
17 TEMPLATE = lib |
|
18 CONFIG += plugin mobility hb |
|
19 MOBILITY = serviceframework |
|
20 |
|
21 include(../../common.pri) |
|
22 include(silentwidgetplugin.pri) |
|
23 include (rom/silentwidgetplugin_rom.pri) |
|
24 |
|
25 INCLUDEPATH += ./inc |
|
26 |
|
27 RESOURCES += silentwidgetplugin.qrc |
|
28 |
|
29 TRANSLATIONS = silent_widget.ts |
|
30 |
|
31 symbian: { |
|
32 |
|
33 PLUGIN_SUBDIR = /private/20022F35/import/widgetregistry/2002EAD3 |
|
34 |
|
35 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE |
|
36 TARGET.UID3 = 0x2002EAD3 |
|
37 TARGET.EPOCALLOWDLLDATA=1 |
|
38 TARGET.CAPABILITY = ALL -TCB |
|
39 |
|
40 LIBS += -lprofileeng -lxqsettingsmanager |
|
41 |
|
42 plugins.path = $${PLUGIN_SUBDIR} |
|
43 plugins.sources = $${TARGET}.dll |
|
44 |
|
45 widgetResources.path = $${PLUGIN_SUBDIR} |
|
46 widgetResources.sources += resource/$${TARGET}.xml |
|
47 widgetResources.sources += resource/$${TARGET}.manifest |
|
48 widgetResources.sources += resource/$${TARGET}.png |
|
49 |
|
50 DEPLOYMENT += plugins \ |
|
51 widgetResources |
|
52 } |
|
53 |
|
54 win32: { |
|
55 |
|
56 CONFIG(debug, debug|release) { |
|
57 SUBDIRPART = debug |
|
58 } else { |
|
59 SUBDIRPART = release |
|
60 } |
|
61 |
|
62 PLUGIN_SUBDIR = /hsresources/import/widgetregistry/2002EAD3 |
|
63 |
|
64 DESTDIR = $$PWD/../../../../../bin/$${SUBDIRPART}/$${PLUGIN_SUBDIR} |
|
65 |
|
66 manifest.path = $${DESTDIR} |
|
67 manifest.files = ./resource/*.manifest ./resource/*.xml ./resource/*.png |
|
68 |
|
69 INSTALLS += manifest |
|
70 |
|
71 } |