From 6be1c2ad1d8d35ece01eb6d6ceb36408f63da768 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Thu, 16 Jul 2015 12:50:19 -0700 Subject: [PATCH] Improve CONTRIBUTING.md to distinguish between Linux and Android steps. --- CONTRIBUTING.md | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index aa2bfd5c4b905..b06e702b8b063 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -29,13 +29,26 @@ target_os = ["android"] * `gclient sync` * `cd src` * `git remote add upstream git@github.com:domokit/sky_engine.git` - * `./build/install-build-deps.sh` Building the code ----------------- - * `./mojo/tools/mojob gn` - * `ninja -C out/Debug` +Currently we support building for an Android target and for a headless Linux +target. + +### Android + +* (Only the first time) `./build/install-build-deps-android.sh` +* `./mojo/tools/mojob.py gn --android` (Note: There's currently a harmless + go-related error when running this command.) +* `ninja -C out/android_Debug` + +### Linux + +* (Only the first time) `./build/install-build-deps.sh` +* `./mojo/tools/mojob.py gn` (Note: There's currently a harmless go-related + error when running this command.) +* `ninja -C out/Debug` Contributing code -----------------