equal
deleted
inserted
replaced
|
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Implementation of the Class ExexpTarget for the elf2e32 tool |
|
15 // @internalComponent |
|
16 // @released |
|
17 // |
|
18 // |
|
19 |
|
20 #include "export_type_rebuild_target.h" |
|
21 #include "deffile.h" |
|
22 |
|
23 /** |
|
24 Constructor for the ExportTypeRebuildTarget Class |
|
25 |
|
26 @internalComponent |
|
27 @released |
|
28 */ |
|
29 ExportTypeRebuildTarget::ExportTypeRebuildTarget(ParameterListInterface* aParameterListInterface) : ExportTypeTarget(aParameterListInterface) { |
|
30 iDefFile = new DefFile(); |
|
31 } |
|
32 |
|
33 /** |
|
34 Destructor for the ExportTypeRebuildTarget Class |
|
35 |
|
36 @internalComponent |
|
37 @released |
|
38 */ |
|
39 ExportTypeRebuildTarget::~ExportTypeRebuildTarget() |
|
40 { |
|
41 delete iDefFile; |
|
42 } |
|
43 |
|
44 /** |
|
45 Function to process the symbols to be exported. The symbols from the DEF File are read |
|
46 and passed to ValidateExports() to validate against the symbols present in the ELF file. |
|
47 The final list of exports symbols is created. |
|
48 |
|
49 @internalComponent |
|
50 @released |
|
51 */ |
|
52 void ExportTypeRebuildTarget::ProcessExports() |
|
53 { |
|
54 iDefExports = iDefFile->ReadDefFile( iParameterListInterface->DefInput() ); |
|
55 |
|
56 ValidateExports(iDefExports); |
|
57 CreateExports(); |
|
58 } |