pkiutilities/untrustedcertificatedialog/untrustedcertificateplugin.pro
branchRCL_3
changeset 22 03674e5abf46
parent 21 09b1ac925e3f
child 23 94da73d93b58
equal deleted inserted replaced
21:09b1ac925e3f 22:03674e5abf46
     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:  Device dialog plugin that shows untrusted certificate
       
    15 #               dialog for TLS server authentication failure errors.
       
    16 #
       
    17 
       
    18 TEMPLATE = lib
       
    19 TARGET = untrustedcertdialog
       
    20 CONFIG += hb plugin
       
    21 
       
    22 INCLUDEPATH += .
       
    23 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
       
    24 DEPENDPATH += .
       
    25 
       
    26 HEADERS += inc/untrustedcertificateplugin.h \
       
    27     inc/untrustedcertificatedefinitions.h \
       
    28     inc/untrustedcertificatedialog.h \
       
    29     inc/untrustedcertificatewidget.h \
       
    30     inc/untrustedcertificateinfobase.h
       
    31 
       
    32 SOURCES += src/untrustedcertificateplugin.cpp \
       
    33     src/untrustedcertificatedialog.cpp \
       
    34     src/untrustedcertificatewidget.cpp \
       
    35     src/untrustedcertificateinfobase.cpp
       
    36 
       
    37 symbian: {
       
    38     TARGET.EPOCALLOWDLLDATA = 1
       
    39     TARGET.CAPABILITY = CAP_GENERAL_DLL
       
    40     TARGET.UID3 = 0x20030000
       
    41 
       
    42     HEADERS += inc/untrustedcertificateinfo_symbian.h
       
    43     SOURCES += src/untrustedcertificatewidget_symbian.cpp \
       
    44         src/untrustedcertificateinfo_symbian.cpp
       
    45     
       
    46     LIBS += -lcrypto -lx509 -lx500 -lhash -lX509CertNameParser
       
    47     
       
    48     pluginstub.sources = untrustedcertdialog.dll
       
    49     pluginstub.path = /resource/plugins/devicedialogs
       
    50     DEPLOYMENT += pluginstub
       
    51 }
       
    52 
       
    53 BLD_INF_RULES.prj_exports += \
       
    54     "$${LITERAL_HASH}include <platform_paths.hrh>" \
       
    55     "qmakepluginstubs/untrustedcertdialog.qtplugin /epoc32/data/z/pluginstub/untrustedcertdialog.qtplugin" \
       
    56     "rom/untrustedcertdialog.iby CORE_MW_LAYER_IBY_EXPORT_PATH(untrustedcertdialog.iby)" \
       
    57     "rom/untrustedcertdialog_resources.iby LANGUAGE_MW_LAYER_IBY_EXPORT_PATH(untrustedcertdialog_resources.iby)"
       
    58