Mobile profile build 37/49737/5
authorMaciej Skrzypkowski <m.skrzypkows@samsung.com>
Tue, 20 Oct 2015 08:56:32 +0000 (10:56 +0200)
committerJanusz Majnert <j.majnert@samsung.com>
Wed, 21 Oct 2015 07:31:32 +0000 (00:31 -0700)
[Issue]    https://bugs.tizen.org/jira/browse/TM-34
[Problem]  There was no build for mobile profile.
[Solution] Added new profile and build option
[Verify]   Run build_mobile.sh script, check if it works.

Signed-off-by: Maciej Skrzypkowski <m.skrzypkows@samsung.com>
Change-Id: Ic3057435427df0d8e4bc90e769b8e2ab78de1e46

CMakeLists.txt
build_mobile.sh [new file with mode: 0755]
packaging/org.tizen.browser.spec

index 312cc7e..1e94aba 100644 (file)
@@ -144,4 +144,5 @@ message(STATUS "Build for Tizen          (TIZEN_BUILD)     :" ${TIZEN_BUILD})
 message(STATUS "Interal libs are dynamic (DYN_INT_LIBS)    :" ${DYN_INT_LIBS})
 message(STATUS "Building Unit tests      (BUILD_UT)        :" ${BUILD_UT})
 message(STATUS "Code Coverage statistics (COVERAGE_STATS)  :" ${COVERAGE_STATS})
+message(STATUS "Device profile           (PROFILE)         :" ${PROFILE})
 message(STATUS "------------------------------------------")
diff --git a/build_mobile.sh b/build_mobile.sh
new file mode 100755 (executable)
index 0000000..f9abe55
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/bash
+gbs -c .gbs.conf build -P profile.tzmo_v3.0_arm-wayland -A armv7l --include-all
index 44c7454..7fd35cf 100644 (file)
@@ -84,6 +84,7 @@ cmake .. \
     -DICONDIR=%{_icondir} \
     -DBUILD_UT=%{BUILD_UT} \
     -DCOVERAGE_STATS=%{COVERAGE_STATS} \
+    -DPROFILE=%{profile} \
 %if "%{?_with_wayland}" == "1"
     -DWAYLAND_SUPPORT=On
 %else