The Crosswalk Project is structured around and heavily depends on the Chromium project.
As such, Crosswalk uses the same build system and auxiliary tools as Chromium:
depot_toolsmanages source code checkouts, the dependencies among them and ships some additional tools required to build Chromium and Crosswalk (such as ninja on all platforms and git and Python on Windows).
ninjais the actual build system, responsible for invoking the compiler, running scripts, linking binaries and creating APKs.
The following sub-pages describe all the steps required in order to build your own copy of Crosswalk, from setting up network proxies to building to running our tests.
The instructions below correspond to the operating system you are using to build Crosswalk (the "host"), not the platform you are targeting. That is, if you want to build Crosswalk for Android, you still need to follow the instructions for Linux below.
- Prerequisites covers dealing with
network proxies and correctly installing and bootstrapping
- The platform-specific pages detail how to check out and build Crosswalk for different operating systems:
- Running tests covers how to run Crosswalk's tests, with instructions for all different platforms we support.
- Tracking a different branch
covers how to build a Crosswalk branch other than
master(a stable or older branch, for example).