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