[Title] Modified supported toolchain type from tizen.obs to
authordonghyuk.yang <donghyuk.yang@samsung.com>
Mon, 18 Mar 2013 07:40:38 +0000 (16:40 +0900)
committerdonghyuk.yang <donghyuk.yang@samsung.com>
Mon, 18 Mar 2013 07:40:38 +0000 (16:40 +0900)
tizen.platform

org.tizen.nativeplatform/src/org/tizen/nativeplatform/build/PlatformProjectConverter.java
org.tizen.nativeplatform/src/org/tizen/nativeplatform/rootstrap/RootstrapManager.java
org.tizen.nativeplatform/src/org/tizen/nativeplatform/views/model/PlatformRootstrap.java

index 7024520..cf48e6a 100644 (file)
@@ -156,29 +156,4 @@ public class PlatformProjectConverter implements IConvertManagedBuildObject {
                
                return newConfig;
        }
-
-       /*
-       protected String getNewBuildTargetName( IConfiguration config , String toId ) {
-               String newTargetName = null;
-               
-               if ( toId.equals(PlatformConfigurationManager.SBI_PROJECT_TYPE_ID) ) {
-                       if ( config.getParent().getId().contains("custom.debian.emulator") ) {
-                               newTargetName = SmartBuildInterface.makeTargetID(
-                                               PlatformConfigurationManager.SBI_I386_ROOTSTRAP_NAME, 
-                                               PlatformConfigurationManager.SBI_I386_TOOLCHAIN_NAME) ;
-                       } else if ( config.getParent().getId().contains("custom.debian.device") ) {
-                               newTargetName = SmartBuildInterface.makeTargetID(
-                                               PlatformConfigurationManager.SBI_ARM_ROOTSTRAP_NAME, 
-                                               PlatformConfigurationManager.SBI_ARM_TOOLCHAIN_NAME) ;
-                       } else {
-                               newTargetName = PlatformConfigurationManager.SBI_DEFAULT_TARGET_NAME;
-                       }
-               }  else {
-                       newTargetName = PlatformConfigurationManager.SBI_DEFAULT_TARGET_NAME;
-               }
-               
-               return newTargetName;
-       }
-       */ 
-
 }
index ec0b073..3107baa 100644 (file)
@@ -717,7 +717,7 @@ public class RootstrapManager {
                                attrPath.setValue( getRootstrapPathOfXml(path) );
                        }
                        Attr attrType =  doc.createAttribute("supportToolchainType");
-                       attrType.setValue("tizen.obs");
+                       attrType.setValue(PlatformRootstrap.SUPPORTED_TOOLCHAIN_TYPE);
                        
                        firstnode.setAttributeNode(attrId);
                        firstnode.setAttributeNode(attrName);
index b3c2a0f..c38b0fc 100644 (file)
@@ -47,7 +47,7 @@ public class PlatformRootstrap extends Rootstrap implements ICheckTreeItem {
        public static final String PROPERTY_REPO_URLS = "REPOSITORY_URLS";
        public static final String PROPERTY_CONFIGURATION_FILE = "CONFIGURATION_FILE";
 
-       public static final String SUPPORTED_TOOLCHAIN_TYPE = "tizen.obs";
+       public static final String SUPPORTED_TOOLCHAIN_TYPE = "tizen.platform";
        public static final String DEFAULT_ROOTSTRAP_ARM_ID = "tizen-device-2.1.platform";
        public static final String DEFAULT_ROOTSTRAP_I386_ID = "tizen-emulator-2.1.platform";
        private static final String VERSION = "1.0";