activityfw/activityserviceplugin/activityserviceplugin.pro
author hgs
Mon, 20 Sep 2010 10:22:22 +0300
changeset 119 50e220be30d1
parent 112 dbfb5e38438b
child 125 26079c1bb561
permissions -rw-r--r--
201037
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
89
hgs
parents:
diff changeset
     1
#
hgs
parents:
diff changeset
     2
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
hgs
parents:
diff changeset
     3
# All rights reserved.
hgs
parents:
diff changeset
     4
# This component and the accompanying materials are made available
hgs
parents:
diff changeset
     5
# under the terms of "Eclipse Public License v1.0"
hgs
parents:
diff changeset
     6
# which accompanies this distribution, and is available
hgs
parents:
diff changeset
     7
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
hgs
parents:
diff changeset
     8
#
hgs
parents:
diff changeset
     9
# Initial Contributors:
hgs
parents:
diff changeset
    10
# Nokia Corporation - initial contribution.
hgs
parents:
diff changeset
    11
#
hgs
parents:
diff changeset
    12
# Contributors:
hgs
parents:
diff changeset
    13
#
hgs
parents:
diff changeset
    14
# Description: 
hgs
parents:
diff changeset
    15
#
hgs
parents:
diff changeset
    16
hgs
parents:
diff changeset
    17
TEMPLATE = lib
107
hgs
parents: 102
diff changeset
    18
TARGET = afservice
89
hgs
parents:
diff changeset
    19
hgs
parents:
diff changeset
    20
CONFIG += plugin 
hgs
parents:
diff changeset
    21
include(activityserviceplugin.pri)
hgs
parents:
diff changeset
    22
119
hgs
parents: 112
diff changeset
    23
CONFIG += qtservice 
hgs
parents: 112
diff changeset
    24
QTSERVICE.DESCRIPTOR = data/afservice.xml
hgs
parents: 112
diff changeset
    25
107
hgs
parents: 102
diff changeset
    26
DEFINES += AFACTIVITIES_LIB
hgs
parents: 102
diff changeset
    27
94
hgs
parents: 92
diff changeset
    28
INCLUDEPATH += ./inc \
107
hgs
parents: 102
diff changeset
    29
               ../inc \
89
hgs
parents:
diff changeset
    30
102
hgs
parents: 100
diff changeset
    31
HEADERS +=  ./inc/afserviceplugin.h \
hgs
parents: 100
diff changeset
    32
            ./inc/afclient.h \
hgs
parents: 100
diff changeset
    33
            ./inc/afmanager.h \
107
hgs
parents: 102
diff changeset
    34
            ./inc/afactivitystorage_p.h \
hgs
parents: 102
diff changeset
    35
            ./inc/afactivation_p.h \
hgs
parents: 102
diff changeset
    36
            ./inc/afcommandlineparser.h \
hgs
parents: 102
diff changeset
    37
            ./inc/afstorageproxy.h \
hgs
parents: 102
diff changeset
    38
hgs
parents: 102
diff changeset
    39
HEADERS +=  ../../homescreensrv_plat/activity_framework_api/afactivities_global.h \
hgs
parents: 102
diff changeset
    40
            ../../homescreensrv_plat/activity_framework_api/afactivitystorage.h \
hgs
parents: 102
diff changeset
    41
            ../../homescreensrv_plat/activity_framework_api/afactivation.h \
94
hgs
parents: 92
diff changeset
    42
102
hgs
parents: 100
diff changeset
    43
SOURCES +=  ./src/afserviceplugin.cpp \
hgs
parents: 100
diff changeset
    44
            ./src/afclient.cpp \
hgs
parents: 100
diff changeset
    45
            ./src/afmanager.cpp \
hgs
parents: 100
diff changeset
    46
            ./src/aflauncher.cpp \
107
hgs
parents: 102
diff changeset
    47
            ./src/afactivitystorage.cpp \
hgs
parents: 102
diff changeset
    48
            ./src/afactivitystorage_p.cpp \
hgs
parents: 102
diff changeset
    49
            ./src/afactivation.cpp \
hgs
parents: 102
diff changeset
    50
            ./src/afactivation_p.cpp \
hgs
parents: 102
diff changeset
    51
            ./src/afcommandlineparser.cpp \
hgs
parents: 102
diff changeset
    52
            ./src/afstorageproxy.cpp \
89
hgs
parents:
diff changeset
    53
hgs
parents:
diff changeset
    54
symbian {
94
hgs
parents: 92
diff changeset
    55
    INCLUDEPATH += ./s60/inc \
hgs
parents: 92
diff changeset
    56
107
hgs
parents: 102
diff changeset
    57
    SOURCES +=  ./s60/src/applicationlauncher_p.cpp \
hgs
parents: 102
diff changeset
    58
                ./s60/src/afstorageproxy_p.cpp \
hgs
parents: 102
diff changeset
    59
                ./s60/src/afserializer.cpp \
89
hgs
parents:
diff changeset
    60
    
107
hgs
parents: 102
diff changeset
    61
    HEADERS +=  ./s60/inc/applicationlauncher_p.h \
hgs
parents: 102
diff changeset
    62
                ./s60/inc/afstorageproxy_p.h \
hgs
parents: 102
diff changeset
    63
                ./s60/inc/afserializer.h \
89
hgs
parents:
diff changeset
    64
92
hgs
parents: 90
diff changeset
    65
    LIBS += -lapparc \
hgs
parents: 90
diff changeset
    66
            -lapgrfx \
hgs
parents: 90
diff changeset
    67
            -lcone \
99
hgs
parents: 98
diff changeset
    68
            -lafstorageclient \
107
hgs
parents: 102
diff changeset
    69
            -lxqutils \
hgs
parents: 102
diff changeset
    70
            -lafstoragecommon.lib \
hgs
parents: 102
diff changeset
    71
            -lestor \
hgs
parents: 102
diff changeset
    72
            -lfbscli \
hgs
parents: 102
diff changeset
    73
89
hgs
parents:
diff changeset
    74
}
hgs
parents:
diff changeset
    75
hgs
parents:
diff changeset
    76
win32 {
94
hgs
parents: 92
diff changeset
    77
    INCLUDEPATH += ./win/inc \
89
hgs
parents:
diff changeset
    78
94
hgs
parents: 92
diff changeset
    79
    SOURCES += ./win/src/applicationlauncher_p.cpp
hgs
parents: 92
diff changeset
    80
hgs
parents: 92
diff changeset
    81
    HEADERS += ./win/inc/applicationlauncher_p.h
89
hgs
parents:
diff changeset
    82
}            
hgs
parents:
diff changeset
    83
            
hgs
parents:
diff changeset
    84
symbian {
hgs
parents:
diff changeset
    85
    load(data_caging_paths) 
hgs
parents:
diff changeset
    86
    TARGET.EPOCALLOWDLLDATA = 1
hgs
parents:
diff changeset
    87
    TARGET.CAPABILITY = ALL -TCB
92
hgs
parents: 90
diff changeset
    88
    TARGET.UID3 = 0x200267B2
hgs
parents: 90
diff changeset
    89
107
hgs
parents: 102
diff changeset
    90
    plugin.sources = afservice.dll
89
hgs
parents:
diff changeset
    91
    plugin.path = $$QT_PLUGINS_BASE_DIR     
94
hgs
parents: 92
diff changeset
    92
    
107
hgs
parents: 102
diff changeset
    93
    xml.sources = ./data/afservice.xml
94
hgs
parents: 92
diff changeset
    94
    xml.path = $$RESOURCE_FILES_DIR/activity
hgs
parents: 92
diff changeset
    95
    
119
hgs
parents: 112
diff changeset
    96
    DEPLOYMENT += xml plugin
96
hgs
parents: 94
diff changeset
    97
hgs
parents: 94
diff changeset
    98
    #temporary workaround
107
hgs
parents: 102
diff changeset
    99
    BLD_INF_RULES.prj_exports += "data/afservice.xml z:/resource/activity/afservice.xml"
hgs
parents: 102
diff changeset
   100
    
hgs
parents: 102
diff changeset
   101
    #export xml with old name (remove after next release)
hgs
parents: 102
diff changeset
   102
    BLD_INF_RULES.prj_exports += "data/afservice.xml z:/resource/activity/activityserviceplugin.xml"
112
hgs
parents: 107
diff changeset
   103
    BLD_INF_RULES.prj_exports += "data/afservice.xml c:/resource/activity/activityserviceplugin.xml"
96
hgs
parents: 94
diff changeset
   104
    
107
hgs
parents: 102
diff changeset
   105
    # we want to export few classes, use standard .def block instead of the one generated by plugin
hgs
parents: 102
diff changeset
   106
    defBlock = \
hgs
parents: 102
diff changeset
   107
        "$${LITERAL_HASH}ifdef WINSCW" \
hgs
parents: 102
diff changeset
   108
        "DEFFILE ./bwins/$${TARGET}.def" \
hgs
parents: 102
diff changeset
   109
        "$${LITERAL_HASH}elif defined EABI" \
hgs
parents: 102
diff changeset
   110
        "DEFFILE ./eabi/$${TARGET}.def" \
hgs
parents: 102
diff changeset
   111
        "$${LITERAL_HASH}endif"
hgs
parents: 102
diff changeset
   112
    MMP_RULES += defBlock
89
hgs
parents:
diff changeset
   113
}