Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Running tizen device api

Alexis Menard edited this page Aug 30, 2013 · 4 revisions

Currently Tizen Device API with Crosswalk works only on Linux. The implementation is under heavy developed, please track https://github.com/crosswalk-project/tizen-extensions-crosswalk/wiki/APIs for latest status.

How to Build

  1. If you do not have a Crosswalk binary, Follow the regular steps to build Crosswalk. The remaining instructions will assume that Crosswalk base directory is ~/dev/crosswalk. That directory should contain an src subdirectory, and inside src, there's a xwalk directory. At this point there must be a ~/dev/crosswalk/src/out/Release/xwalk executable

  2. cd ~/dev

  3. git clone [email protected]:crosswalk-project/tizen-extensions-crosswalk.git

  4. cd tizen-extensions-crosswalk

  5. export GYP_GENERATORS=ninja

  6. ./configure or gyp -D extension_build_type=Release --depth=. tizen-wrt.gyp for Release build. Add -D extension_host_os=desktop for desktop environment.

  7. ninja -C out/Default

  8. There should be several libtizen_xxx.so under ~/dev/tizen-extensions-crosswalk/out/Default file after make runs.

  9. ./run.sh (make sure xwalk in your $PATH)

BKMs

Remote debugging

  1. ./run.sh --remote-debugging-port=9222 then follow https://github.com/crosswalk-project/crosswalk/wiki/Try-Crosswalk#debug-your-web-app
Clone this wiki locally