Skip to content

Running tizen device api

Halton Huo edited this page Jul 25, 2013 · 4 revisions

Currently Tizen Device API with Crosswalk works only on Linux. The implementation is under heavy developed, please track https://github.com/otcshare/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]:otcshare/tizen-extensions-crosswalk.git

  4. cd tizen-extensions-crosswalk

  5. export XWALK_SOURCE_DIR=~/dev/crosswalk/src/xwalk

  6. ./configure or gyp -D build=Release -D type=desktop -D xwalk_path=$XWALK_SOURCE_DIR --depth=. tizen-wrt.gyp for Release build.

  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

BKMs

Remote debugging

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