securitydialogs/secuinotifications/secuinotificationdialogplugin/secuinotificationdialogplugin.pro
changeset 15 318c4eab2439
child 17 8957df7b0072
equal deleted inserted replaced
14:b75757c81051 15:318c4eab2439
       
     1 #
       
     2 # Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 # All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 #
       
     9 # Initial Contributors:
       
    10 # Nokia Corporation - initial contribution.
       
    11 #
       
    12 # Contributors:
       
    13 # 
       
    14 # Description: SecUi notification dialog plugin project.
       
    15 #
       
    16 
       
    17 TEMPLATE = lib
       
    18 TARGET = secuinotificationdialogplugin
       
    19 CONFIG += plugin
       
    20 
       
    21 CONFIG += hb
       
    22 
       
    23 # directories
       
    24 INCLUDEPATH += .
       
    25 DEPENDPATH += .
       
    26 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
    27 INCLUDEPATH += ../../../../inc
       
    28 
       
    29 HEADERS += inc/secuinotificationdialogplugin.h \
       
    30     inc/secuinotificationdialog.h \
       
    31     inc/secuinotificationcontentwidget.h
       
    32 
       
    33 SOURCES += src/secuinotificationdialogplugin.cpp \
       
    34     src/secuinotificationdialog.cpp \
       
    35     src/secuinotificationcontentwidget.cpp
       
    36 
       
    37 RESOURCES += secuinotificationdialogplugin.qrc
       
    38 
       
    39 symbian: {
       
    40     TARGET.EPOCALLOWDLLDATA = 1
       
    41     TARGET.CAPABILITY = CAP_GENERAL_DLL
       
    42     TARGET.UID3 = 0x2102432C    # TODO: allocate UID
       
    43 
       
    44     pluginstub.sources = secuinotificationdialogplugin.dll
       
    45     pluginstub.path = /resource/plugins/devicedialogs
       
    46     DEPLOYMENT += pluginstub
       
    47 }
       
    48 BLD_INF_RULES.prj_exports += \
       
    49   "$${LITERAL_HASH}include <platform_paths.hrh>" \
       
    50   "qmakepluginstubs/secuinotificationdialogplugin.qtplugin   /epoc32/data/z/pluginstub/secuinotificationdialogplugin.qtplugin"\
       
    51   "rom/secuinotificationdialogplugin.iby    CORE_APP_LAYER_IBY_EXPORT_PATH(secuinotificationdialogplugin.iby)"
       
    52   
       
    53 LIBS += -lxqservice
       
    54 
       
    55 tests {
       
    56     test.depends = sub-src
       
    57     test.commands += cd tsrc && $(MAKE) test
       
    58     autotest.depends = sub-src
       
    59     autotest.commands += cd tsrc && $(MAKE) autotest
       
    60     QMAKE_EXTRA_TARGETS += test autotest
       
    61 }