core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/model/SBVCatalog.java
author Ed Swartz <ed.swartz@nokia.com>
Fri, 04 Dec 2009 14:46:25 -0600
changeset 633 1bb6b7462d64
parent 148 c7e636e6e9cd
permissions -rw-r--r--
Make sure dynamic platforms are reported in alphabetical order to appease tests (and be consistent between Windows and Unix)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
140
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
     1
/*
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
     2
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
     3
* All rights reserved.
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
     4
* This component and the accompanying materials are made available
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
     5
* under the terms of the License "Eclipse Public License v1.0"
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
     6
* which accompanies this distribution, and is available
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
     8
*
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
     9
* Initial Contributors:
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    11
*
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    12
*/
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    13
package com.nokia.carbide.cpp.internal.sdk.core.model;
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    14
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    15
import java.io.File;
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    16
import java.io.FilenameFilter;
148
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    17
import java.text.MessageFormat;
140
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    18
import java.util.ArrayList;
633
1bb6b7462d64 Make sure dynamic platforms are reported in alphabetical order to appease tests (and be consistent between Windows and Unix)
Ed Swartz <ed.swartz@nokia.com>
parents: 148
diff changeset
    19
import java.util.Arrays;
140
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    20
import java.util.List;
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    21
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    22
import org.eclipse.core.runtime.IPath;
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    23
import org.eclipse.core.runtime.Path;
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    24
148
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    25
import com.nokia.carbide.cpp.internal.api.sdk.Messages;
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    26
import com.nokia.carbide.cpp.sdk.core.*;
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    27
import com.nokia.cpp.internal.api.utils.core.*;
140
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    28
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    29
/**
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    30
 * This class defines the hierarchy of VAR files detected for a given SDK.
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    31
 *
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    32
 */
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    33
public class SBVCatalog implements ISBVCatalog {
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    34
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    35
	private List<IMessage> messages;
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    36
	private List<SBVPlatform> platforms;
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    37
	
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    38
	public SBVCatalog(IPath sdkPath, IPath sdkIncludePath) {
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    39
		this.messages = new ArrayList<IMessage>(1);
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    40
		this.platforms = new ArrayList<SBVPlatform>(10);
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    41
		
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    42
		File epoc32ToolsDir = sdkPath.append("epoc32").append("tools").append("variant").toFile(); //$NON-NLS-1$ //$NON-NLS-2$ 
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    43
		File[] sbvFiles = epoc32ToolsDir.listFiles(new FilenameFilter() {
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    44
			public boolean accept(File file, String str) {
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    45
				return str.toLowerCase().endsWith(".var"); //$NON-NLS-1$
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    46
			}
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    47
		});
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    48
		
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    49
		// cannot read directory; return empty catalog
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    50
		if (sbvFiles == null){
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    51
			return;
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    52
		}
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    53
		
633
1bb6b7462d64 Make sure dynamic platforms are reported in alphabetical order to appease tests (and be consistent between Windows and Unix)
Ed Swartz <ed.swartz@nokia.com>
parents: 148
diff changeset
    54
		// sort alphabetically
1bb6b7462d64 Make sure dynamic platforms are reported in alphabetical order to appease tests (and be consistent between Windows and Unix)
Ed Swartz <ed.swartz@nokia.com>
parents: 148
diff changeset
    55
		Arrays.sort(sbvFiles);
1bb6b7462d64 Make sure dynamic platforms are reported in alphabetical order to appease tests (and be consistent between Windows and Unix)
Ed Swartz <ed.swartz@nokia.com>
parents: 148
diff changeset
    56
		
140
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    57
		// gather the individual SBV platforms
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    58
		for (File sbvFile : sbvFiles) {
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    59
			IPath sbvPath = new Path(sbvFile.getAbsolutePath());
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    60
			SBVPlatform platform = SBVPlatform.createPlatform(this, sbvPath, messages, sdkIncludePath);
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    61
			if (platform != null) {
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    62
				platforms.add(platform);
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    63
			}
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    64
		}
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    65
		
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    66
		// now wire up the platforms
148
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    67
		establishPlatformHierarchy();
140
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    68
	}
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    69
148
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    70
	/**
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    71
	 * Iterate the platforms and connect them together
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    72
	 */
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    73
	private void establishPlatformHierarchy() {
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    74
		List<ISBVPlatform> remaining = new ArrayList<ISBVPlatform>(platforms);
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    75
		while (!remaining.isEmpty()) {
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    76
			SBVPlatform current = (SBVPlatform) remaining.remove(0);
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    77
			String variantPlatformName = current.getExtendedVariantName();
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    78
			if (variantPlatformName != null) {
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    79
				ISBVPlatform customizedPlatform = findPlatform(variantPlatformName);
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    80
				if (customizedPlatform == null) {
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    81
					messages.add(new Message(IMessage.ERROR,
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    82
							new MessageLocation(current.getSBVPath()),
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    83
							"SBVCatalog.MissingCustomizedPlatform", //$NON-NLS-1$
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    84
							MessageFormat.format(
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    85
									Messages.getString("SBVCatalog.MissingCustomizedPlatform"), //$NON-NLS-1$
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    86
									new Object[] { current.getName(), variantPlatformName })
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    87
							));
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    88
				} else {
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    89
					current.setExtendedPlatform(customizedPlatform);
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    90
				}
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    91
			}
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    92
		}
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    93
	}
c7e636e6e9cd Fix message properties for new SBV parser stuff. Connect SBVPlatform hierarchy from the SBVCatalog.
timkelly
parents: 147
diff changeset
    94
	
140
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    95
	/* (non-Javadoc)
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    96
	 * @see com.nokia.carbide.cpp.sdk.core.ISBVCatalog#getMessages()
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    97
	 */
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    98
	public IMessage[] getMessages() {
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
    99
		return (IMessage[]) messages.toArray(new IMessage[messages.size()]);
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
   100
	}
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
   101
	
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
   102
	/* (non-Javadoc)
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
   103
	 * @see com.nokia.carbide.cpp.sdk.core.ISBVCatalog#findPlatform(java.lang.String)
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
   104
	 */
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
   105
	public ISBVPlatform findPlatform(String platformName) {
147
2bb08686aa38 add support to add BUILD_INCLUDE system paths defined from build variants to project configurations.
timkelly
parents: 142
diff changeset
   106
		
2bb08686aa38 add support to add BUILD_INCLUDE system paths defined from build variants to project configurations.
timkelly
parents: 142
diff changeset
   107
		// The platform name for a symbian binary variant should be <plat>.<variant>
2bb08686aa38 add support to add BUILD_INCLUDE system paths defined from build variants to project configurations.
timkelly
parents: 142
diff changeset
   108
		//So we will only care about the second part to find the actual SBV platform
2bb08686aa38 add support to add BUILD_INCLUDE system paths defined from build variants to project configurations.
timkelly
parents: 142
diff changeset
   109
		String searchName = platformName;
2bb08686aa38 add support to add BUILD_INCLUDE system paths defined from build variants to project configurations.
timkelly
parents: 142
diff changeset
   110
		String[] token = platformName.split("\\.");
2bb08686aa38 add support to add BUILD_INCLUDE system paths defined from build variants to project configurations.
timkelly
parents: 142
diff changeset
   111
		if (token.length == 2){
2bb08686aa38 add support to add BUILD_INCLUDE system paths defined from build variants to project configurations.
timkelly
parents: 142
diff changeset
   112
			searchName = token[1];
2bb08686aa38 add support to add BUILD_INCLUDE system paths defined from build variants to project configurations.
timkelly
parents: 142
diff changeset
   113
		}
140
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
   114
		for (ISBVPlatform platform : platforms) {
147
2bb08686aa38 add support to add BUILD_INCLUDE system paths defined from build variants to project configurations.
timkelly
parents: 142
diff changeset
   115
			if (platform.getName().equalsIgnoreCase(searchName))
140
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
   116
				return platform;
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
   117
		}
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
   118
		return null;
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
   119
	}
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
   120
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
   121
	/* (non-Javadoc)
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
   122
	 * @see com.nokia.carbide.cpp.sdk.core.ISBVCatalog#getPlatforms()
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
   123
	 */
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
   124
	public ISBVPlatform[] getPlatforms() {
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
   125
		return (ISBVPlatform[]) platforms.toArray(new ISBVPlatform[platforms.size()]);
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
   126
	}
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
   127
	
697b7727d088 Add preliminary parser support for Symbian Binary Variation support (ported from BSF support). See bug 8796
timkelly
parents:
diff changeset
   128
}