messagingapp/msgnotifications/msgnotifier/tsrc/unittest_mmsplugin/testmmsplugin/testmmsplugin.pro
changeset 70 a15d9966050f
child 72 6f657153cbc5
equal deleted inserted replaced
61:8ba0afbb4637 70:a15d9966050f
       
     1 
       
     2 #
       
     3 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     4 # All rights reserved.
       
     5 # This component and the accompanying materials are made available
       
     6 # under the terms of "Eclipse Public License v1.0"
       
     7 # which accompanies this distribution, and is available
       
     8 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     9 #
       
    10 # Initial Contributors:
       
    11 # Nokia Corporation - initial contribution.
       
    12 #
       
    13 # Contributors:
       
    14 #
       
    15 # Description:
       
    16 #
       
    17 
       
    18 QT += testlib
       
    19 QT -= gui
       
    20 
       
    21 CONFIG += hb
       
    22 CONFIG += symbian_test
       
    23 
       
    24 TEMPLATE = app
       
    25 TARGET = testmmsplugin
       
    26 
       
    27 INCLUDEPATH += inc
       
    28 INCLUDEPATH += ../../inc
       
    29 INCLUDEPATH += ../../../../../../../../inc
       
    30 INCLUDEPATH += ../../../../../../inc
       
    31 INCLUDEPATH += ../../../../../msgutils/unieditorutils/unieditorplugins/unieditormmsplugin/inc
       
    32 INCLUDEPATH += ../../../../../msgutils/unidatautils/unidatamodel/inc
       
    33 INCLUDEPATH += ../../../../../msgutils/unieditorutils/editorgenutils/inc
       
    34 INCLUDEPATH += ../../../../../../../../mmsengine/mmsmessage/inc 
       
    35 INCLUDEPATH += ../../../../../../../../mmsengine/inc
       
    36 INCLUDEPATH += ../mmstestbed/inc
       
    37 INCLUDEPATH +=
       
    38 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
    39 
       
    40 DEFINES += BUILD_TEST_DLL
       
    41 
       
    42 SOURCES += \
       
    43   src/testmmsplugin.cpp \
       
    44   ../../../../../msgutils/unieditorutils/unieditorplugins/unieditormmsplugin/src/unieditormmsplugin.cpp \
       
    45   ../../../../../msgutils/unieditorutils/unieditorplugins/unieditormmsplugin/src/unieditormmsplugin_p.cpp  
       
    46       
       
    47 
       
    48 # Input
       
    49 HEADERS += \
       
    50   inc/testmmsplugin.h \
       
    51   ../../../../../msgutils/unieditorutils/unieditorplugins/unieditormmsplugin/inc/unieditormmsplugin.h \
       
    52   ../../../../../msgutils/unieditorutils/unieditorplugins/unieditormmsplugin/inc/unieditormmsplugin_p.h 
       
    53                
       
    54    
       
    55 SYMBIAN_PLATFORMS = WINSCW ARMV5
       
    56 
       
    57 symbian {
       
    58     TARGET.UID3 =  0xE7232a7c
       
    59 #    TARGET.CAPABILITY = CAP_GENERAL_DLL
       
    60     TARGET.CAPABILITY = CAP_APPLICATION
       
    61     TARGET.EPOCSTACKSIZE = 0x8000
       
    62     TARGET.EPOCHEAPSIZE = 0x1000 0x1F00000
       
    63     TARGET.EPOCALLOWDLLDATA = 1
       
    64     VENDORID =  VID_DEFAULT
       
    65     BLD_INF_RULES.prj_exports += "data/testmmsplugin.cfg c:/testmmsplugin.cfg"
       
    66     BLD_INF_RULES.prj_exports += "data/testmmsplugin.pl  c:/testmmsplugin.pl"
       
    67     BLD_INF_RULES.prj_exports += "data/SmileyFace.gif    c:/SmileyFace.gif"
       
    68     BLD_INF_RULES.prj_exports += "data/sample.txt        c:/sample.txt"
       
    69 
       
    70 	}
       
    71 
       
    72  LIBS += -leuser \
       
    73     -lcsserverclientapi \ 
       
    74     -lcsutils \
       
    75     -lconvergedmessageutils \
       
    76     -lMsgMedia \
       
    77     -leikctl \
       
    78     -leditorgenutils \
       
    79     -lcone \
       
    80     -leikcoctl \
       
    81     -leikcore \
       
    82     -leikdlg \
       
    83     -lmsgs \
       
    84     -letext \
       
    85     -lmmsserversettings \
       
    86     -lgsmu \
       
    87     -lmmsgenutils \
       
    88     -lefsrv \
       
    89     -lestor \
       
    90     -lsmcm \
       
    91     -lCommonEngine \
       
    92     -lbafl \
       
    93     -lCdlEngine \
       
    94     -lFeatMgr \
       
    95     -lapmime \
       
    96     -lapgrfx \
       
    97     -lcharconv \
       
    98     -lInetProtUtil \
       
    99     -lsmildtd \  
       
   100     -lxmldom \
       
   101     -lxmlparser \
       
   102     -lcone \
       
   103     -lQtCore \
       
   104     -letel \
       
   105     -lmmsmessage \  
       
   106     -lcommdb \
       
   107     -lcommsdat \
       
   108     -letelmm \
       
   109     -lunidatamodelloader \
       
   110     -lunidatamodel \
       
   111     -lavkon \
       
   112     -leikcoctl \
       
   113     -leikctl \
       
   114     -lform \
       
   115     -luiklaf\ 
       
   116     -lxqutils\ 
       
   117     -lmmstestbed\
       
   118    -lmsginit \
       
   119         -lmsgs \
       
   120         -letext \
       
   121         -lsmcm \
       
   122         -lmmsmessage \
       
   123         -lmmsserversettings \
       
   124         -lmmscli \
       
   125         -lxqservice \
       
   126         -lQtContacts \
       
   127         -lQtVersit \
       
   128         -lunidatamodelloader \
       
   129 	-lxqsettingsmanager \
       
   130         -apgrfx.lib \
       
   131         -lxqutils \
       
   132         -lws32 \
       
   133         -lapgrfx \
       
   134 	-lxqsystemtoneservice
       
   135 
       
   136   	
       
   137 
       
   138 packageheader = "$${LITERAL_HASH}{\"QTestMsgNotifier\"},(0xE7232a7c),1,0,0,TYPE=SA"
       
   139 
       
   140 vendorinfo = \
       
   141 			"; Localised Vendor name" \
       
   142 			"%{\"Nokia\"}" \
       
   143 			"; Unique Vendor name" \
       
   144 			":\"Nokia\"" 
       
   145 			
       
   146 dependencyinfo = \
       
   147 				"; Default HW/platform dependencies" \
       
   148 				"[0x101F7961],0,0,0,{\"S60ProductID\"}" \
       
   149 				"[0x2001E61C],4,6,3,{"Qt"}
       
   150 				
       
   151 default_deployment.pkg_prerules =	packageheader \
       
   152 									vendorinfo \
       
   153 									dependencyinfo 
       
   154 
       
   155 #Copy the dependent DLL
       
   156 symbian: {
       
   157 	addCfg.sources = ./data/testmmsplugin.cfg
       
   158 	addCfg.path = C:/
       
   159 	DEPLOYMENT += addCfg
       
   160 
       
   161 	addPl.sources = ./data/testmmsplugin.pl
       
   162 	addPl.path = C:/
       
   163 	DEPLOYMENT += addPl
       
   164 
       
   165 	addFiles.sources = mmstestbed.dll
       
   166 	addFiles.path = /sys/bin
       
   167 	DEPLOYMENT += addFiles
       
   168 
       
   169       addP2.sources = ./data/SmileyFace.gif
       
   170 	addP2.path = C:/
       
   171 	DEPLOYMENT += addP2
       
   172 
       
   173 	addP3.sources = ./data/sample.txt
       
   174 	addP3.path = C:/
       
   175 	DEPLOYMENT += addP3	
       
   176 
       
   177 
       
   178 }