From 5e8e6e226e612e7b2f5cc4438b67a335cc44055a Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Fri, 31 Oct 2014 11:44:03 -0700 Subject: [PATCH] Add instructions for building Release to HACKING.md R=ojan@chromium.org, eseidel@chromium.org Review URL: https://codereview.chromium.org/693163003 --- engine/src/flutter/HACKING.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/engine/src/flutter/HACKING.md b/engine/src/flutter/HACKING.md index 65f8811007..63f4248397 100644 --- a/engine/src/flutter/HACKING.md +++ b/engine/src/flutter/HACKING.md @@ -5,7 +5,12 @@ Building -------- * Follow the setup & build instructions for [Mojo](https://github.com/domokit/mojo) -* Build ``sky`` with ``ninja``, e.g. ``ninja -C out/Debug sky`` +* Build ``sky`` with ``ninja``, e.g. ``ninja -C out/Debug sky`` for a debug build. + +If you want to build release, run the following commands: + +* ``gn gen out/Release --args="is_debug=false"`` +* ``ninja -C out/Release sky`` Running applications -------------------- @@ -13,9 +18,11 @@ Running applications * ``./sky/tools/skydb [url]`` * You should see a ``(skydb)`` prompt * Type ``help`` to see the list of available commands + * Note: skydb is currently hard-coded to use ``//out/Debug`` * ``./sky/tools/test_sky --debug`` - * This should run the tests + * This runs the tests against ``//out/Debug``. If you want to run against + ``//out/Release``, omit the ``--debug`` flag. Running tests manually ----------------------