-
Notifications
You must be signed in to change notification settings - Fork 21
Building Crosswalk Android Extensions
This article explains how to build your changes on a device with Crosswalk Android.
Please check following tools are installed before start building your extension.
The gyp
utility is used for generating the extension project. It usually can be found in Chromium code, also can be installed as a separate tool.
- Use
which gyp
to double check if it is included in system's PATH.
depot_tools
contains useful utilities like gclient. It is used in build client to automatically checkout required code.
- Use
which gclient
to double check if it is included in system's PATH.
Crosswalk Android Extension depends on Crosswalk, you can download it from Crosswalk's website and unpack it to an arbitrary folder. Remember to add this folder into system's PATH.
- Use
which make_apk.py
to double check if it is included in system's PATH.
Crosswalk Android Extension also depends on Android SDK.
- Use
which aidl
to double check if it is included in system's PATH.
With the prerequisites in place, building the extension will be as follows:
-
Generate the project:
./gyp_extensions # This builds all extensions
or
./gyp_extensions <extension-name> # This builds a specific extension
-
Build the project:
ninja -C out/Default