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

Building Crosswalk Android Extensions

Deqing Huang edited this page Jun 10, 2014 · 2 revisions

This article explains how to build your changes on a device with Crosswalk Android.

Prerequisites

Please check following tools are installed before start building your extension.

gyp

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

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 (>=5.34)

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.

Android SDK

Crosswalk Android Extension also depends on Android SDK.

  • Use which aidl to double check if it is included in system's PATH.

Building

With the prerequisites in place, building the extension will be as follows:

./gyp_extensions
ninja -C out/Default