breakdeps/CONE.MMP
author William Roberts <williamr@symbian.org>
Mon, 25 Oct 2010 17:26:54 +0100
changeset 80 3ab0df073c86
parent 79 26cde9838d22
permissions -rw-r--r--
Add support for "slim", which is "stem" + removal of some exports and checking of import details For this to work, the static_dependencies.txt file needs to contain the augmented dependency information. To help with this, it can now consume a mixture of both rom_content.csv lines and static_dependencies.txt lines: the best way to update the information would be something like (edit rom_content.csv to add "slim" to XXX.dll) findstr /i "xxx.dll" rom_content.csv > slim.txt findstr /i "xxx.dll" static_dependencies.txt >> slim.txt perl ..\tools\static_dependencies.pl -u static_dependencies.txt slim.txt > new_dependencies.txt This will notice the "slim" marking for xxx.dll, and record the detailed import and export lists for xxx.dll and everything which links to it. The new information will look something like sys\bin\xxx.dll /epoc32/release/armv5/urel/stem_xxx.dll exports=1-98.100-102:euser[100039e5].dll sys\bin\yyy.dll /epoc32/release/armv5/urel/yyy.dll euser[100039e5].dll:xxx[102750c7].dll@2.4-5.77.104-106:scppnwdl.dll sys\bin\zzz.dll /epoc32/release/armv5/urel/zzz.dll euser[100039e5].dll:xxx[102750c7].dll@23.25.74-77:scppnwdl.dll Only executables for which there is a "slim" marking will have this level of detail. The filtering script now does the detailed cross-checking of imports to exports for "slim" executables. In this case, it will observe the stem_xxx.dll does not export ordinal 104, and so the filtering will include deleting sys\bin\yyy.dll (xxx.dll Missing ordinal 104) sys\bin\zzz.dll will be acceptable, because it only uses ordinals which are still present in stem_xxx.dll
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
42
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
     1
// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
     2
// All rights reserved.
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
     3
// This component and the accompanying materials are made available
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
     4
// under the terms of "Eclipse Public License v1.0"
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
     5
// which accompanies this distribution, and is available
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
     7
//
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
     8
// Initial Contributors:
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
     9
// Nokia Corporation - initial contribution.
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    10
//
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    11
// Contributors:
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    12
//
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    13
// Description:
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    14
// cone.dll Control environment
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    15
// 
55
f1c1302a0b48 Create stem_cone.dll, breaking dependency on mediaclientaudio.dll and mediaclient.dll
William Roberts <williamr@symbian.org>
parents: 54
diff changeset
    16
// Modified to build stem_cone.dll to break dependency on mediaclientaudio.dll
f1c1302a0b48 Create stem_cone.dll, breaking dependency on mediaclientaudio.dll and mediaclient.dll
William Roberts <williamr@symbian.org>
parents: 54
diff changeset
    17
// Assumes that the sf/mw/classicui package is accessible and adjusts the paths
f1c1302a0b48 Create stem_cone.dll, breaking dependency on mediaclientaudio.dll and mediaclient.dll
William Roberts <williamr@symbian.org>
parents: 54
diff changeset
    18
// to refer back to /sf/mw/classicui/lafagnosticuifoundation/cone where needed
42
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    19
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    20
/**
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    21
 @file
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    22
*/
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    23
55
f1c1302a0b48 Create stem_cone.dll, breaking dependency on mediaclientaudio.dll and mediaclient.dll
William Roberts <williamr@symbian.org>
parents: 54
diff changeset
    24
target			stem_cone.dll
42
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    25
CAPABILITY All -Tcb
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    26
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    27
targettype		DLL
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    28
UID			0x1000008D 0x10003A41
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    29
VENDORID 	0x70000001
79
26cde9838d22 Tidy up MMP files - use NOEXPORTLIBRARY throughout, and don't rebuild the (unchanged) eiksrvui resource file
William Roberts <williamr@symbian.org>
parents: 55
diff changeset
    30
NOEXPORTLIBRARY
42
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    31
55
f1c1302a0b48 Create stem_cone.dll, breaking dependency on mediaclientaudio.dll and mediaclient.dll
William Roberts <williamr@symbian.org>
parents: 54
diff changeset
    32
userinclude		/sf/mw/classicui/lafagnosticuifoundation/cone/inc
f1c1302a0b48 Create stem_cone.dll, breaking dependency on mediaclientaudio.dll and mediaclient.dll
William Roberts <williamr@symbian.org>
parents: 54
diff changeset
    33
USERINCLUDE     /sf/mw/classicui/lafagnosticuifoundation/cone/src
f1c1302a0b48 Create stem_cone.dll, breaking dependency on mediaclientaudio.dll and mediaclient.dll
William Roberts <williamr@symbian.org>
parents: 54
diff changeset
    34
// userinclude		../../../../../mw/classicui/lafagnosticuifoundation/cone/inc
42
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    35
MW_LAYER_SYSTEMINCLUDE_SYMBIAN
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    36
55
f1c1302a0b48 Create stem_cone.dll, breaking dependency on mediaclientaudio.dll and mediaclient.dll
William Roberts <williamr@symbian.org>
parents: 54
diff changeset
    37
SOURCEPATH	/sf/mw/classicui/lafagnosticuifoundation/cone/src
42
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    38
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    39
source  COEAUI.CPP    COECCNTX.CPP COECNTRL.CPP
55
f1c1302a0b48 Create stem_cone.dll, breaking dependency on mediaclientaudio.dll and mediaclient.dll
William Roberts <williamr@symbian.org>
parents: 54
diff changeset
    40
source  COEFEP.CPP    COEHELP.CPP  COEMAIN.CPP
42
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    41
source  COEUTILS.CPP  Coemop.cpp   COEMAINSECUREFEP.CPP
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    42
source  COEFONT.cpp	COEFONTPROVIDER.cpp	coetextdrawer.cpp
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    43
source  coecontrolarray.cpp CoeDataStorage.cpp
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    44
source  CoeColorUse.cpp
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    45
source  COECNTSS.CPP
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    46
source  COEVIEW.CPP
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    47
source	coevwman.cpp
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    48
source  COEPRIV.CPP
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    49
source  COEINPUT.CPP
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    50
source  CoeEnvExtra.cpp
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    51
55
f1c1302a0b48 Create stem_cone.dll, breaking dependency on mediaclientaudio.dll and mediaclient.dll
William Roberts <williamr@symbian.org>
parents: 54
diff changeset
    52
SOURCEPATH .
f1c1302a0b48 Create stem_cone.dll, breaking dependency on mediaclientaudio.dll and mediaclient.dll
William Roberts <williamr@symbian.org>
parents: 54
diff changeset
    53
f1c1302a0b48 Create stem_cone.dll, breaking dependency on mediaclientaudio.dll and mediaclient.dll
William Roberts <williamr@symbian.org>
parents: 54
diff changeset
    54
source  coesndpy.cpp
f1c1302a0b48 Create stem_cone.dll, breaking dependency on mediaclientaudio.dll and mediaclient.dll
William Roberts <williamr@symbian.org>
parents: 54
diff changeset
    55
42
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    56
library			euser.lib  efsrv.lib  bafl.lib
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    57
library			gdi.lib    ws32.lib   egul.lib   viewcli.lib
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    58
library			ecom.lib  centralrepository.lib  estor.lib
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    59
library			hal.lib
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    60
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    61
#if defined(USE_IH_RAISE_EVENT)
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    62
library         instrumentationhandler.lib
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    63
#endif
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    64
55
f1c1302a0b48 Create stem_cone.dll, breaking dependency on mediaclientaudio.dll and mediaclient.dll
William Roberts <williamr@symbian.org>
parents: 54
diff changeset
    65
deffile stem_cone.def
42
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    66
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    67
START WINS
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    68
	baseaddress		0x40600000
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    69
END
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    70
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    71
29cf161020cf Break CONE dependency on MediaClient.dll and MediaClientAudio.dll
markw <markw@symbian.org>
parents:
diff changeset
    72
SMPSAFE