From e9e23a704e6c8d5f6bea567d10466f968dec9ed8 Mon Sep 17 00:00:00 2001 From: Maciej Skrzypkowski Date: Tue, 20 Oct 2015 10:56:32 +0200 Subject: [PATCH] Mobile profile build [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 Change-Id: Ic3057435427df0d8e4bc90e769b8e2ab78de1e46 --- CMakeLists.txt | 1 + build_mobile.sh | 2 ++ packaging/org.tizen.browser.spec | 1 + 3 files changed, 4 insertions(+) create mode 100755 build_mobile.sh diff --git a/CMakeLists.txt b/CMakeLists.txt index 312cc7e..1e94aba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 index 0000000..f9abe55 --- /dev/null +++ b/build_mobile.sh @@ -0,0 +1,2 @@ +#!/bin/bash +gbs -c .gbs.conf build -P profile.tzmo_v3.0_arm-wayland -A armv7l --include-all diff --git a/packaging/org.tizen.browser.spec b/packaging/org.tizen.browser.spec index 44c7454..7fd35cf 100644 --- a/packaging/org.tizen.browser.spec +++ b/packaging/org.tizen.browser.spec @@ -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 -- 2.7.4