63
|
1 |
#
|
|
2 |
# Copyright (c) 2009 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: Advanced security settings (control panel plugin)
|
|
15 |
#
|
|
16 |
|
|
17 |
TEMPLATE = lib
|
|
18 |
TARGET = cpadvancedsecplugin
|
|
19 |
CONFIG += hb plugin
|
|
20 |
LIBS += -lcpframework
|
|
21 |
|
|
22 |
HEADERS += inc/advsecsettingsloader.h \
|
|
23 |
inc/advsecsettingscertificatemodel.h \
|
|
24 |
inc/advsecsettingscertificate.h \
|
|
25 |
inc/advsecsettingstrustedcertusageuids.h \
|
|
26 |
inc/advsecsettingsstoreuids.h \
|
|
27 |
inc/advsecsettingsviewbase.h \
|
|
28 |
inc/advsecsettingsmainview.h \
|
|
29 |
inc/advsecsettingscertificatelistview.h \
|
|
30 |
inc/advsecsettingscertificatedetailview.h \
|
|
31 |
inc/advsecsettingscerttrustsettingsview.h \
|
|
32 |
inc/advsecsettingssecuritymodulemodel.h \
|
|
33 |
inc/advsecsettingssecuritymoduleview.h \
|
|
34 |
inc/advsecsettingssecuritymoduledetailview.h
|
|
35 |
|
|
36 |
SOURCES += src/advsecsettingsloader.cpp \
|
|
37 |
src/advsecsettingscertificatemodel.cpp \
|
|
38 |
src/advsecsettingscertificate.cpp \
|
|
39 |
src/advsecsettingsviewbase.cpp \
|
|
40 |
src/advsecsettingsmainview.cpp \
|
|
41 |
src/advsecsettingscertificatelistview.cpp \
|
|
42 |
src/advsecsettingscertificatedetailview.cpp \
|
|
43 |
src/advsecsettingscerttrustsettingsview.cpp \
|
|
44 |
src/advsecsettingssecuritymodulemodel.cpp \
|
|
45 |
src/advsecsettingssecuritymoduleview.cpp \
|
|
46 |
src/advsecsettingssecuritymoduledetailview.cpp
|
|
47 |
|
|
48 |
symbian: {
|
|
49 |
TARGET.CAPABILITY = CAP_ECOM_PLUGIN
|
|
50 |
TARGET.UID3 = 0X2002E684
|
|
51 |
TARGET.EPOCALLOWDLLDATA = 1
|
|
52 |
|
|
53 |
INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
|
|
54 |
|
|
55 |
LIBS += -lefsrv # RFs
|
|
56 |
LIBS += -lcertstore # CUnifiedCertStore
|
|
57 |
LIBS += -lctframework # CCTCertInfo
|
|
58 |
LIBS += -lx509 # CX509Certificate
|
|
59 |
LIBS += -lpkixcert # CPKIXValidationResult
|
|
60 |
LIBS += -lX509CertNameParser # X509CertNameParser
|
|
61 |
LIBS += -lhash # CMD5
|
|
62 |
LIBS += -lDevTokenClient # CTrustSitesStore
|
|
63 |
LIBS += -lcryptography # CRSAParameters, CDSAPublicKey, TInteger::BitCount
|
|
64 |
LIBS += -lcrypto # CValidityPeriod, CSignedObject, CAlgorithmIdentifier
|
|
65 |
|
|
66 |
PLUGIN_STUB_PATH = /resource/qt/plugins/controlpanel
|
|
67 |
|
|
68 |
deploy.path = C:
|
|
69 |
pluginstub.sources = $${TARGET}.dll
|
|
70 |
pluginstub.path = $$PLUGIN_STUB_PATH
|
|
71 |
DEPLOYMENT += pluginstub
|
|
72 |
|
|
73 |
qtplugins.path = $$PLUGIN_STUB_PATH
|
|
74 |
qtplugins.sources += qmakepluginstubs/$${TARGET}.qtplugin
|
|
75 |
|
|
76 |
BLD_INF_RULES.prj_exports += \
|
|
77 |
"$${LITERAL_HASH}include <platform_paths.hrh>" \
|
|
78 |
"rom/cpadvancedsecplugin.iby CORE_APP_LAYER_IBY_EXPORT_PATH(cpadvancedsecplugin.iby)" \
|
|
79 |
"rom/cpadvancedsecplugin_resources.iby LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(cpadvancedsecplugin_resources.iby)"
|
|
80 |
|
|
81 |
for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)"
|
|
82 |
|
|
83 |
MMP_RULES += SMPSAFE
|
|
84 |
|
|
85 |
HEADERS += inc/advsecsettingscertificatemodel_symbian_p.h \
|
|
86 |
inc/advsecsettingscertlistbuilder_symbian.h \
|
|
87 |
inc/advsecsettingscertdetailsbuilder_symbian.h \
|
|
88 |
inc/advsecsettingslabeledcertinfo_symbian.h \
|
|
89 |
inc/advsecsettingscertmover_symbian.h \
|
|
90 |
inc/advsecsettingssecuritymodulemodel_symbian_p.h \
|
|
91 |
inc/advsecsettingssecuritymodule_symbian.h \
|
|
92 |
inc/advsecsettingssecuritymoduleeraser_symbian.h
|
|
93 |
SOURCES += src/advsecsettingscertificatemodel_symbian_p.cpp \
|
|
94 |
src/advsecsettingscertlistbuilder_symbian.cpp \
|
|
95 |
src/advsecsettingscertdetailsbuilder_symbian.cpp \
|
|
96 |
src/advsecsettingslabeledcertinfo_symbian.cpp \
|
|
97 |
src/advsecsettingscertmover_symbian.cpp \
|
|
98 |
src/advsecsettingssecuritymodulemodel_symbian_p.cpp \
|
|
99 |
src/advsecsettingssecuritymodule_symbian.cpp \
|
|
100 |
src/advsecsettingssecuritymoduleeraser_symbian.cpp
|
|
101 |
} else {
|
|
102 |
HEADERS += inc/advsecsettingscertificatemodel_stub_p.h \
|
|
103 |
inc/advsecsettingssecuritymodulemodel_stub_p.h
|
|
104 |
SOURCES += src/advsecsettingscertificatemodel_stub_p.cpp \
|
|
105 |
src/advsecsettingssecuritymodulemodel_stub_p.cpp
|
|
106 |
}
|
|
107 |
|
|
108 |
TRANSLATIONS = certificate_manager.ts
|