This repository has been archived by the owner on May 13, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Quick Start Guide
MrBar42 edited this page May 24, 2018
·
3 revisions
This section describes how to build the crosswalk-tizen project using gbs.
-
Clone the crosswalk-tizen project with command:
$ git clone https://github.com/crosswalk-project/crosswalk-tizen.git
-
Switch to the crosswalk-tizen directory that you clone.
$ cd crosswalk-tizen/
-
Configure the GBS configuration file
Git Build System
crosswalk-izen uses the GBS (Git Build System) to build source code and generate rpm packages locally.
See Installing development tools for detailed information about installing GBS.
$ vi ~/.gbs.conf
[general]
profile = profile.tizen3.0_mobile
[profile.tizen3.0_mobile]
repos=repo.tizen3.0_arm
[repo.tizen3.0_arm]
url = http://download.tizen.org/snapshots/tizen/mobile/latest/repos/arm-wayland/packages/
The url value in the gbs.conf file should be set according to your profile and architecture:
| Profile | Arch | url |
|----------------- |------- |-------------------------------------------------------------------------------------------- |
| Mobile | 32bit | http://download.tizen.org/snapshots/tizen/mobile/latest/repos/arm-wayland/packages/ |
| | 64bit | http://download.tizen.org/snapshots/tizen/mobile/latest/repos/arm64-wayland/packages/ |
| Mobile Emulator | 32bit | http://download.tizen.org/snapshots/tizen/mobile/latest/repos/emulator32-wayland/packages/ |
| | 64bit | http://download.tizen.org/snapshots/tizen/mobile/latest/repos/emulator64-wayland/packages/ |
| TV | 32bit | http://download.tizen.org/snapshots/tizen/tv/latest/repos/arm-wayland/packages/ |
| TV Emulator | 32bit | http://download.tizen.org/snapshots/tizen/tv/latest/repos/emulator32-wayland/packages/ |
For more information about GBS, please refer to [Building Packages Locally with GBS](https://source.tizen.org/documentation/developer-guide/getting-started-guide/building-packages-locally-gbs?langredirect=1).
-
Build the project with following command
~/{my path}/crosswalk-tizen $ gbs build -A <Arch>
The value of 'Arch' should be changed according to the architecture which you wish to build for.
Supported architectures are i586, x86_64, armv7l and aarch64.
- After successfully building, GBS moves the generated crosswalk-tizen RPM package into the output directory which is ~/GBS-ROOT/local/repos/<Release_ID>/<Arch>.
Refer to the Getting Started page to create your first crosswalk-tizen web application.