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