89
|
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 = lib
|
107
|
18 |
TARGET = afservice
|
89
|
19 |
|
|
20 |
CONFIG += plugin
|
|
21 |
include(activityserviceplugin.pri)
|
|
22 |
|
119
|
23 |
CONFIG += qtservice
|
|
24 |
QTSERVICE.DESCRIPTOR = data/afservice.xml
|
|
25 |
|
107
|
26 |
DEFINES += AFACTIVITIES_LIB
|
|
27 |
|
94
|
28 |
INCLUDEPATH += ./inc \
|
107
|
29 |
../inc \
|
89
|
30 |
|
102
|
31 |
HEADERS += ./inc/afserviceplugin.h \
|
|
32 |
./inc/afclient.h \
|
|
33 |
./inc/afmanager.h \
|
107
|
34 |
./inc/afactivitystorage_p.h \
|
|
35 |
./inc/afactivation_p.h \
|
|
36 |
./inc/afcommandlineparser.h \
|
|
37 |
./inc/afstorageproxy.h \
|
|
38 |
|
|
39 |
HEADERS += ../../homescreensrv_plat/activity_framework_api/afactivities_global.h \
|
|
40 |
../../homescreensrv_plat/activity_framework_api/afactivitystorage.h \
|
|
41 |
../../homescreensrv_plat/activity_framework_api/afactivation.h \
|
94
|
42 |
|
102
|
43 |
SOURCES += ./src/afserviceplugin.cpp \
|
|
44 |
./src/afclient.cpp \
|
|
45 |
./src/afmanager.cpp \
|
|
46 |
./src/aflauncher.cpp \
|
107
|
47 |
./src/afactivitystorage.cpp \
|
|
48 |
./src/afactivitystorage_p.cpp \
|
|
49 |
./src/afactivation.cpp \
|
|
50 |
./src/afactivation_p.cpp \
|
|
51 |
./src/afcommandlineparser.cpp \
|
|
52 |
./src/afstorageproxy.cpp \
|
89
|
53 |
|
|
54 |
symbian {
|
94
|
55 |
INCLUDEPATH += ./s60/inc \
|
|
56 |
|
107
|
57 |
SOURCES += ./s60/src/applicationlauncher_p.cpp \
|
|
58 |
./s60/src/afstorageproxy_p.cpp \
|
|
59 |
./s60/src/afserializer.cpp \
|
89
|
60 |
|
107
|
61 |
HEADERS += ./s60/inc/applicationlauncher_p.h \
|
|
62 |
./s60/inc/afstorageproxy_p.h \
|
|
63 |
./s60/inc/afserializer.h \
|
89
|
64 |
|
92
|
65 |
LIBS += -lapparc \
|
|
66 |
-lapgrfx \
|
|
67 |
-lcone \
|
99
|
68 |
-lafstorageclient \
|
107
|
69 |
-lxqutils \
|
|
70 |
-lafstoragecommon.lib \
|
|
71 |
-lestor \
|
|
72 |
-lfbscli \
|
|
73 |
|
89
|
74 |
}
|
|
75 |
|
|
76 |
win32 {
|
94
|
77 |
INCLUDEPATH += ./win/inc \
|
89
|
78 |
|
94
|
79 |
SOURCES += ./win/src/applicationlauncher_p.cpp
|
|
80 |
|
|
81 |
HEADERS += ./win/inc/applicationlauncher_p.h
|
89
|
82 |
}
|
|
83 |
|
|
84 |
symbian {
|
|
85 |
load(data_caging_paths)
|
|
86 |
TARGET.EPOCALLOWDLLDATA = 1
|
|
87 |
TARGET.CAPABILITY = ALL -TCB
|
92
|
88 |
TARGET.UID3 = 0x200267B2
|
|
89 |
|
107
|
90 |
plugin.sources = afservice.dll
|
89
|
91 |
plugin.path = $$QT_PLUGINS_BASE_DIR
|
94
|
92 |
|
107
|
93 |
xml.sources = ./data/afservice.xml
|
94
|
94 |
xml.path = $$RESOURCE_FILES_DIR/activity
|
|
95 |
|
119
|
96 |
DEPLOYMENT += xml plugin
|
96
|
97 |
|
|
98 |
#temporary workaround
|
107
|
99 |
BLD_INF_RULES.prj_exports += "data/afservice.xml z:/resource/activity/afservice.xml"
|
|
100 |
|
|
101 |
#export xml with old name (remove after next release)
|
|
102 |
BLD_INF_RULES.prj_exports += "data/afservice.xml z:/resource/activity/activityserviceplugin.xml"
|
112
|
103 |
BLD_INF_RULES.prj_exports += "data/afservice.xml c:/resource/activity/activityserviceplugin.xml"
|
96
|
104 |
|
107
|
105 |
# we want to export few classes, use standard .def block instead of the one generated by plugin
|
|
106 |
defBlock = \
|
|
107 |
"$${LITERAL_HASH}ifdef WINSCW" \
|
|
108 |
"DEFFILE ./bwins/$${TARGET}.def" \
|
|
109 |
"$${LITERAL_HASH}elif defined EABI" \
|
|
110 |
"DEFFILE ./eabi/$${TARGET}.def" \
|
|
111 |
"$${LITERAL_HASH}endif"
|
|
112 |
MMP_RULES += defBlock
|
89
|
113 |
}
|