Skip to content
Shiliu Wang edited this page May 21, 2013 · 6 revisions

Get the code

Cameo uses gclient to manage the code and dependencies. To get gclient tool, you should install depot_tools.

Create a .gclient file with following commands.

gclient config --name=src/cameo ssh://[email protected]/otcshare/cameo.git@origin/master

At the same level of .gclient file, execute

gclient sync

to fetch all codes.

Build Instructions

Please setup the build environment as:

We recommend to use ninja as build tool. Please refer to Ninja Build to setup the environment.

We use gyp to generate projects. To generate cameo projects, go to src directory, execute

python cameo/gyp_cameo

to generate the projects.

To build the launcher, execute:

ninja -C out/Release cameo

To build the tests, execute:

ninja -C out/Release cameo_unittest
ninja -C out/Release cameo_browsertest

Introduction

Clone this wiki locally