boottimeintegritycheck/TrkDummy/group/TrkDummy1.mmp
changeset 0 164170e6151a
child 30 cc1cea6aabaf
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/boottimeintegritycheck/TrkDummy/group/TrkDummy1.mmp	Tue Jan 26 15:20:08 2010 +0200
@@ -0,0 +1,60 @@
+/*
+* Copyright (c) 2008 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:  Dummy exe to prevent installing too liberal TrkApp
+*  Version     : %version: 7 %
+*
+*/
+
+
+// This MMP file builds dummy exe that can be included in ROM image
+// to prevent installing old TrkApp.exe, which allows hacking platform
+// security. Dummy exe has the same UID3 as old TrkApp.exe, and hence
+// installing old TrkApp.exe will fail (error: 'Unable to install').
+// If the same file name (TrkApp.exe, see TrkDummy.iby) is used too,
+// then installing old TrkApp.exe fails with error: 'Cannot install!
+// This component is built-in'.
+
+
+#if(!defined __SERIES60_30__ && !defined __SERIES60_31__)
+  #include <platform_paths.hrh>
+#endif
+
+CAPABILITY      None
+
+TARGETPATH      /sys/bin
+TARGET          TrkDummy1.exe
+TARGETTYPE      exe
+
+// Note: UID3 matches to the TrkApplication UID to block it's installation.
+UID             0x100039CE 0x200159D8
+
+LANG            SC
+
+SOURCEPATH      ../src
+SOURCE          TrkDummy.cpp
+SOURCE          TrkDummyApplication.cpp
+
+USERINCLUDE     ../inc 
+#if defined (__SERIES60_30__) || defined(__SERIES60_31__)
+	SYSTEMINCLUDE	/epoc32/include  
+#else
+    MW_LAYER_SYSTEMINCLUDE    
+#endif
+
+LIBRARY         euser.lib
+LIBRARY         apparc.lib
+LIBRARY         eikcore.lib
+LIBRARY         avkon.lib
+
+SMPSAFE