activityfw/activityserviceplugin/activityserviceplugin.pro
changeset 109 e0aa398e6810
parent 104 9b022b1f357c
child 115 3ab5c078b490
equal deleted inserted replaced
104:9b022b1f357c 109:e0aa398e6810
    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/activityserviceplugin.h \
    28 HEADERS +=  ./inc/afserviceplugin.h \
    27             ./inc/afactivityclient.h \
    29             ./inc/afclient.h \
    28             ./inc/afactivitymanager.h \
    30             ./inc/afmanager.h \
    29             ./inc/applicationlauncher.h \
    31             ./inc/afactivitystorage_p.h \
       
    32             ./inc/afactivation_p.h \
       
    33             ./inc/afcommandlineparser.h \
       
    34             ./inc/afstorageproxy.h \
    30 
    35 
    31 SOURCES +=  ./src/activityserviceplugin.cpp \
    36 HEADERS +=  ../../homescreensrv_plat/activity_framework_api/afactivities_global.h \
    32             ./src/afactivityclient.cpp \
    37             ../../homescreensrv_plat/activity_framework_api/afactivitystorage.h \
    33             ./src/afactivitymanager.cpp \
    38             ../../homescreensrv_plat/activity_framework_api/afactivation.h \
    34             ./src/applicationlauncher.cpp \
    39 
       
    40 SOURCES +=  ./src/afserviceplugin.cpp \
       
    41             ./src/afclient.cpp \
       
    42             ./src/afmanager.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 }