BUILD: CONF: Supported Debug, Release build configuration for multiple
authordonghyuk.yang <donghyuk.yang@samsung.com>
Mon, 24 Mar 2014 06:09:48 +0000 (15:09 +0900)
committerdonghyuk.yang <donghyuk.yang@samsung.com>
Mon, 24 Mar 2014 06:09:48 +0000 (15:09 +0900)
architecture.

Platform project have had Tizen-Emulator and Tizen-Device build
configurations until now. Those configuration can not support multiple
architecture because Tizen-Emulator mapped to x86 and Tizen-Device
mapped to arm. Now, Tizen-Emulator and Tizen-Device configurations are
not support. Instead of it, Debug and Release configuration will
support. It can support multiple architecture because configuration does
not map to specific architecture.

Change-Id: Ib686afaebebcf648ee74880baa15746bf26e3a4d
Signed-off-by: donghyuk.yang <donghyuk.yang@samsung.com>
org.tizen.nativeplatform/OSGI-INF/l10n/bundle.properties
org.tizen.nativeplatform/plugin.xml

index eb58a0d..33cefd5 100644 (file)
@@ -42,6 +42,8 @@ PlatformImportWizard.description=Create new Tizen platform projects from the exi
 ## Build configurations
 Platform.buildconf.emulator=Tizen-Emulator
 Platform.buildconf.device=Tizen-Device
+Platform.buildconf.debug=Debug
+Platform.buildconf.release=Release
 
 ## Project converter
 Platform.proj.converter=Upgrade Tizen Platform Project, GCC-4.5
index 21f59d2..c55f622 100644 (file)
 
         <projectType
             buildArtefactType="org.tizen.nativeide.buildArtefactType.platform"
-            id="org.tizen.nativebuild.target.sbi.gcc45.platform"
+            id="org.tizen.nativebuild.target.sbi.gcc45.platform.2.0"
             isAbstract="false"
             isTest="false">
             <configuration
                 name="%Platform.buildconf.emulator">
                 <toolChain
                     id="org.tizen.nativeide.toolchain.sbi.gcc45.platform.emulator"
+                    isAbstract="true"
                     superClass="org.tizen.nativeide.toolchain.sbi.gcc45.platform.base">
                 </toolChain>
             </configuration>
                 name="%Platform.buildconf.device">
                 <toolChain
                     id="org.tizen.nativeide.toolchain.sbi.gcc45.platform.device"
+                    isAbstract="true"
+                    superClass="org.tizen.nativeide.toolchain.sbi.gcc45.platform.base">
+                </toolChain>
+            </configuration>          
+        </projectType>
+        
+               <projectType
+            buildArtefactType="org.tizen.nativeide.buildArtefactType.platform"
+            id="org.tizen.nativebuild.target.sbi.gcc45.platform"
+            isAbstract="false"
+            isTest="false">
+            <configuration
+                cleanCommand="rm -f"
+                errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;"
+                id="org.tizen.nativeide.config.sbi.gcc45.platform.debug"
+                name="%Platform.buildconf.debug">
+                <toolChain
+                    id="org.tizen.nativeide.toolchain.sbi.gcc45.platform.debug"
+                    superClass="org.tizen.nativeide.toolchain.sbi.gcc45.platform.base">
+                </toolChain>
+            </configuration>
+            <configuration
+                cleanCommand="rm -f"
+                errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;"
+                id="org.tizen.nativeide.config.sbi.gcc45.platform.release"
+                name="%Platform.buildconf.release">
+                <toolChain
+                    id="org.tizen.nativeide.toolchain.sbi.gcc45.platform.release"
                     superClass="org.tizen.nativeide.toolchain.sbi.gcc45.platform.base">
                 </toolChain>
             </configuration>