messagingapp/msgnotifications/msgnotifier/tsrc/unittest_mmsplugin/testmmsgplugin/testmmsplugin.pro
changeset 52 12db4185673b
equal deleted inserted replaced
44:36f374c67aa8 52:12db4185673b
       
     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.EPOCSTACKSIZE = 0x8000
       
    61     TARGET.EPOCHEAPSIZE = 0x1000 0x1F00000
       
    62     TARGET.EPOCALLOWDLLDATA = 1
       
    63     VENDORID =  VID_DEFAULT
       
    64     BLD_INF_RULES.prj_exports += "data/testmmsplugin.cfg c:/testmmsplugin.cfg"
       
    65     BLD_INF_RULES.prj_exports += "data/testmmsplugin.pl  c:/testmmsplugin.pl"
       
    66     BLD_INF_RULES.prj_exports += "data/SmileyFace.gif    c:/SmileyFace.gif"
       
    67     BLD_INF_RULES.prj_exports += "data/sample.txt        c:/sample.txt"
       
    68 
       
    69 	}
       
    70 
       
    71  LIBS += -leuser \
       
    72     -lcsserverclientapi \ 
       
    73     -lcsutils \
       
    74     -lconvergedmessageutils \
       
    75     -lMsgMedia \
       
    76     -leikctl \
       
    77     -leditorgenutils \
       
    78     -lcone \
       
    79     -leikcoctl \
       
    80     -leikcore \
       
    81     -leikdlg \
       
    82     -lmsgs \
       
    83     -letext \
       
    84     -lmmsserversettings \
       
    85     -lgsmu \
       
    86     -lmmsgenutils \
       
    87     -lefsrv \
       
    88     -lestor \
       
    89     -lsmcm \
       
    90     -lCommonEngine \
       
    91     -lbafl \
       
    92     -lCdlEngine \
       
    93     -lFeatMgr \
       
    94     -lapmime \
       
    95     -lapgrfx \
       
    96     -lcharconv \
       
    97     -lInetProtUtil \
       
    98     -lsmildtd \  
       
    99     -lxmldom \
       
   100     -lxmlparser \
       
   101     -lcone \
       
   102     -lQtCore \
       
   103     -letel \
       
   104     -lmmsmessage \  
       
   105     -lcommdb \
       
   106     -lcommsdat \
       
   107     -letelmm \
       
   108     -lunidatamodelloader \
       
   109     -lunidatamodel \
       
   110     -lavkon \
       
   111     -leikcoctl \
       
   112     -leikctl \
       
   113     -lform \
       
   114     -luiklaf\ 
       
   115     -lxqutils\ 
       
   116     -lmmstestbed\
       
   117    -lmsginit \
       
   118         -lmsgs \
       
   119         -letext \
       
   120         -lsmcm \
       
   121         -lmmsmessage \
       
   122         -lmmsserversettings \
       
   123         -lmmscli \
       
   124         -lxqservice \
       
   125         -lQtContacts \
       
   126         -lQtVersit \
       
   127         -lunidatamodelloader \
       
   128 	-lxqsettingsmanager \
       
   129         -apgrfx.lib \
       
   130         -lxqutils \
       
   131         -lws32 \
       
   132         -lapgrfx \
       
   133 	-lxqsystemtoneservice
       
   134 
       
   135   	
       
   136 
       
   137 packageheader = "$${LITERAL_HASH}{\"QTestLibCVsClientServerTest\"},(0xE7232a7c),1,0,0,TYPE=SA"
       
   138 
       
   139 vendorinfo = \
       
   140 			"; Localised Vendor name" \
       
   141 			"%{\"Nokia\"}" \
       
   142 			"; Unique Vendor name" \
       
   143 			":\"Nokia\"" 
       
   144 			
       
   145 dependencyinfo = \
       
   146 				"; Default HW/platform dependencies" \
       
   147 				"[0x101F7961],0,0,0,{\"S60ProductID\"}" \
       
   148 				"[0x2001E61C],4,6,3,{"Qt"}
       
   149 				
       
   150 default_deployment.pkg_prerules =	packageheader \
       
   151 									vendorinfo \
       
   152 									dependencyinfo 
       
   153 
       
   154 #Copy the dependent DLL
       
   155 symbian: {
       
   156 	addCfg.sources = ./data/testmmsplugin.cfg
       
   157 	addCfg.path = C:/
       
   158 	DEPLOYMENT += addCfg
       
   159 
       
   160 	addPl.sources = ./data/testmmsplugin.pl
       
   161 	addPl.path = C:/
       
   162 	DEPLOYMENT += addPl
       
   163 
       
   164 	addFiles.sources = mmstestbed.dll
       
   165 	addFiles.path = /sys/bin
       
   166 	DEPLOYMENT += addFiles
       
   167 
       
   168       addP2.sources = ./data/SmileyFace.gif
       
   169 	addP2.path = C:/
       
   170 	DEPLOYMENT += addP2
       
   171 
       
   172 	addP3.sources = ./data/sample.txt
       
   173 	addP3.path = C:/
       
   174 	DEPLOYMENT += addP3	
       
   175 
       
   176 
       
   177 }