-
Notifications
You must be signed in to change notification settings - Fork 0
Running tizen device api
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.
-
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 insidesrc
, there's axwalk
directory. At this point there must be a ~/dev/crosswalk/src/out/Release/xwalk executable -
cd ~/dev
-
git clone [email protected]:crosswalk-project/tizen-extensions-crosswalk.git
-
cd tizen-extensions-crosswalk
-
export GYP_GENERATORS=ninja
-
./configure or
gyp -D extension_build_type=Release --depth=. tizen-wrt.gyp
for Release build. Add-D extension_host_os=desktop
for desktop environment. -
ninja -C out/Default
-
There should be several libtizen_xxx.so under
~/dev/tizen-extensions-crosswalk/out/Default
file after make runs. -
./run.sh
(make sure xwalk in your $PATH)
-
./run.sh --remote-debugging-port=9222
then follow https://github.com/crosswalk-project/crosswalk/wiki/Try-Crosswalk#debug-your-web-app