From f1486c2ca0fac9c9f5c6d775b3ae1330027ccca0 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Mon, 12 Dec 2016 16:04:57 -0800 Subject: [PATCH] Fix typo in README regarding --unopt builds on host. (flutter/engine#3308) --- engine/src/flutter/CONTRIBUTING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/src/flutter/CONTRIBUTING.md b/engine/src/flutter/CONTRIBUTING.md index 810d73c206..130056da94 100644 --- a/engine/src/flutter/CONTRIBUTING.md +++ b/engine/src/flutter/CONTRIBUTING.md @@ -137,8 +137,9 @@ Once the artifacts are built, you can start using them in your application by fo ### Desktop (Mac and Linux), for tests * `gclient sync` to update your dependencies. - * `./flutter/tools/gn` to prepare your build files. + * `./flutter/tools/gn --unoptimized` to prepare your build files. * `ninja -C out/host_debug_unopt` to build a desktop unoptimized binary. + * `--unoptimized` disables C++ compiler optimizations and does not strip debug symbols. You may skip the flag and invoke `ninja -C out/host_debug` if you would rather have the native components optimized. To run the tests, you'll also need to clone [the main Flutter repository](https://github.com/flutter/flutter). See [the instructions for contributing](https://github.com/flutter/flutter/blob/master/CONTRIBUTING.md)