activityfw/activityserviceplugin/activityserviceplugin.pro
changeset 107 b34d53f6acdf
parent 102 8b8b34fa9751
child 112 dbfb5e38438b
equal deleted inserted replaced
106:e78d6e055a5b 107:b34d53f6acdf
    13 #
    13 #
    14 # Description: 
    14 # Description: 
    15 #
    15 #
    16 
    16 
    17 TEMPLATE = lib
    17 TEMPLATE = lib
    18 TARGET = activityserviceplugin
    18 TARGET = afservice
    19 
    19 
    20 CONFIG += plugin 
    20 CONFIG += plugin 
    21 include(activityserviceplugin.pri)
    21 include(activityserviceplugin.pri)
    22 
    22 
       
    23 DEFINES += AFACTIVITIES_LIB
       
    24 
    23 INCLUDEPATH += ./inc \
    25 INCLUDEPATH += ./inc \
    24                ../../inc
    26                ../inc \
    25 
    27 
    26 HEADERS +=  ./inc/afserviceplugin.h \
    28 HEADERS +=  ./inc/afserviceplugin.h \
    27             ./inc/afclient.h \
    29             ./inc/afclient.h \
    28             ./inc/afmanager.h \
    30             ./inc/afmanager.h \
    29             ./inc/aflauncher.h \
    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 \
    30 
    39 
    31 SOURCES +=  ./src/afserviceplugin.cpp \
    40 SOURCES +=  ./src/afserviceplugin.cpp \
    32             ./src/afclient.cpp \
    41             ./src/afclient.cpp \
    33             ./src/afmanager.cpp \
    42             ./src/afmanager.cpp \
    34             ./src/aflauncher.cpp \
    43             ./src/aflauncher.cpp \
       
    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 \
    35 
    50 
    36 symbian {
    51 symbian {
    37     INCLUDEPATH += ./s60/inc \
    52     INCLUDEPATH += ./s60/inc \
    38 
    53 
    39     SOURCES += ./s60/src/applicationlauncher_p.cpp
    54     SOURCES +=  ./s60/src/applicationlauncher_p.cpp \
       
    55                 ./s60/src/afstorageproxy_p.cpp \
       
    56                 ./s60/src/afserializer.cpp \
    40     
    57     
    41     HEADERS += ./s60/inc/applicationlauncher_p.h
    58     HEADERS +=  ./s60/inc/applicationlauncher_p.h \
       
    59                 ./s60/inc/afstorageproxy_p.h \
       
    60                 ./s60/inc/afserializer.h \
    42 
    61 
    43     LIBS += -lapparc \
    62     LIBS += -lapparc \
    44             -lapgrfx \
    63             -lapgrfx \
    45             -lcone \
    64             -lcone \
    46             -lafstorageclient \
    65             -lafstorageclient \
    47             -lxqutils
    66             -lxqutils \
    48  
    67             -lafstoragecommon.lib \
       
    68             -lestor \
       
    69             -lfbscli \
       
    70 
    49 }
    71 }
    50 
    72 
    51 win32 {
    73 win32 {
    52     INCLUDEPATH += ./win/inc \
    74     INCLUDEPATH += ./win/inc \
    53 
    75 
    60     load(data_caging_paths) 
    82     load(data_caging_paths) 
    61     TARGET.EPOCALLOWDLLDATA = 1
    83     TARGET.EPOCALLOWDLLDATA = 1
    62     TARGET.CAPABILITY = ALL -TCB
    84     TARGET.CAPABILITY = ALL -TCB
    63     TARGET.UID3 = 0x200267B2
    85     TARGET.UID3 = 0x200267B2
    64 
    86 
    65     plugin.sources = activityserviceplugin.dll
    87     plugin.sources = afservice.dll
    66     plugin.path = $$QT_PLUGINS_BASE_DIR     
    88     plugin.path = $$QT_PLUGINS_BASE_DIR     
    67     
    89     
    68     xml.sources = ./data/activityserviceplugin.xml
    90     xml.sources = ./data/afservice.xml
    69     xml.path = $$RESOURCE_FILES_DIR/activity
    91     xml.path = $$RESOURCE_FILES_DIR/activity
    70     
    92     
    71     DEPLOYMENT += xml
    93     DEPLOYMENT += xml
    72 
    94 
    73     #temporary workaround
    95     #temporary workaround
    74     BLD_INF_RULES.prj_exports += "data/activityserviceplugin.xml z:/resource/activity/activityserviceplugin.xml"
    96     BLD_INF_RULES.prj_exports += "data/afservice.xml z:/resource/activity/afservice.xml"
    75     
    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"    
       
   101     
       
   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
    76 }
   110 }