omadrm/drmengine/group/DrmCrypto.mmp
author William Roberts <williamr@symbian.org>
Tue, 02 Mar 2010 16:43:46 +0000
branchRCL_3
changeset 12 7e4c4cbd8e5c
parent 2 76350b5be3d8
child 13 77a4e6a1beb4
permissions -rw-r--r--
Workaround for Bug 2121 - just use the stub implementation directly until CryptoPrep.flm is fixed

/*
* Copyright (c) 2004-2007 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  DRM Crypto Library build configuration, CMLA stubs only
*
*/


#include <platform_paths.hrh>

TARGET          DrmCrypto.dll
TARGETTYPE      DLL
UID             0x1000008D 0x101F6DB9
CAPABILITY      CAP_GENERAL_DLL DRM CommDD
VENDORID        VID_DEFAULT

USERINCLUDE     ../utils/inc
USERINCLUDE     ../drmcrypto/inc
USERINCLUDE     ../keystorage/inc
USERINCLUDE     ../../../inc   // ADo level inc dir

// Default system include paths for middleware layer modules.
MW_LAYER_SYSTEMINCLUDE
SYSTEMINCLUDE   /epoc32/include/libc
SYSTEMINCLUDE   /epoc32/include/ecom

SOURCEPATH      ../utils/src
SOURCE          Base64.cpp

SOURCE          drmaescrypto.cpp

#if 1
#warning Workaround for Bug 2121
SOURCEPATH      ../drmcrypto/stub
SOURCE          CmlaCryptoStub.cpp
#else
SOURCEPATH      ../drmcrypto/build
SOURCE          cmlacrypto.cpp
#endif

SOURCEPATH      ../drmcrypto/src
SOURCE          OmaCrypto.cpp

LIBRARY         euser.lib
LIBRARY         efsrv.lib
LIBRARY         asn1.lib
LIBRARY         cryptography.lib
LIBRARY         crypto.lib
LIBRARY         x509.lib
LIBRARY         pkixcert.lib
LIBRARY         random.lib
LIBRARY         hash.lib
LIBRARY         flogger.lib
LIBRARY         DrmKeyStorage.lib

#if defined(ARMCC)
deffile ../eabi/
#elif defined( WINSCW )
deffile ../bwinscw/
#elif defined( WINS )
deffile ../bwins/
#else
deffile ../bmarm/
#endif

SMPSAFE