[Title] modify build script
authorjihye kim <jihye1128.kim@samsung.com>
Wed, 1 Aug 2012 10:10:11 +0000 (19:10 +0900)
committerjihye kim <jihye1128.kim@samsung.com>
Wed, 1 Aug 2012 10:10:11 +0000 (19:10 +0900)
[Type] bug fix
[Module] event injector
[Priority] major
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

package/build.linux

index 65cbfe5..af157fb 100755 (executable)
@@ -12,21 +12,34 @@ __set_parameter()
        ide_root_path_name=ide
 
        case ${TARGET_OS} in
-               ubuntu-32 | ubuntu-64)
-                       archive_platform_name=linux
-                       windowing=gtk
-                       ;;
-               windows-32 | windows-64)
-                       archive_platform_name=win32
-                       windowing=win32
-                       ;;
-               macos-64)
-                       archive_platform_name=mac
-                       windowing=gtk
-                       ;;
-               *)
-                       echo "${platform} is not support yet."
-                       ;;
+            ubuntu-32)
+                archive_platform_name=linux
+                windowing=gtk
+                architecture=x86
+                ;;
+            windows-32)
+                archive_platform_name=win32
+                windowing=win32
+                architecture=x86
+                ;;
+            ubuntu-64)
+                archive_platform_name=linux
+                windowing=gtk
+                architecture=x86_64
+                ;;
+            windows-64)
+                archive_platform_name=win32
+                windowing=win32
+                architecture=x86_64
+                ;;
+            macos-64)
+                archive_platform_name=macosx
+                windowing=cocoa
+                architecture=x86_64
+                ;;
+            *)
+                echo "${platform} is not support yet."
+               ;;
        esac
 
        result_archive_file=${build_id}-${archive_platform_name}.${windowing}.${architecture}.zip
@@ -35,10 +48,10 @@ __set_parameter()
 __set_build_parameter()
 {
        case ${TARGET_OS} in
-               ubuntu-32 | ubuntu-64)
+               ubuntu-32|ubuntu-64)
                        reference_ide_path=${ROOTDIR}/indigo-pde/eclipse
                        ;;
-               windows-32 | windows-64)
+               windows-32|windows-64)
                        reference_ide_path=${ROOTDIR}/indigo-winpde/eclipse
                        ;;
                macos-64)
@@ -189,10 +202,10 @@ __unzip_plugin_pack()
 build_plugins()
 {
        case ${TARGET_OS} in
-               ubuntu-32 | ubuntu-64)
+               ubuntu-32|ubuntu-64)
                        echo "build plugin for ${platform}"
                        ;;
-               windows-32 | windows-64)
+               windows-32|windows-64)
                        echo "build plugin for ${platform}"
                        ;;
                macos-64)