commit | 377ad0417d8f7df348fd865e21a0a905daa4b22c | [log] [tgz] |
---|---|---|
author | Petr Hosek <phosek@google.com> | Sat Jan 12 21:45:40 2019 -0800 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jan 14 20:14:38 2019 +0000 |
tree | a9423ddf0a44b1155c57e309e4d2f70ace778cec | |
parent | 282a428cc9603abb65d985144b92caa225cd6392 [diff] [blame] |
Enable LTO for release builds This should reduce the final binary size and improve performance. Change-Id: Ic73082b77f7bee6959d33464496b57c433bfc57c Reviewed-on: https://gn-review.googlesource.com/c/3742 Commit-Queue: Petr Hosek <phosek@google.com> Reviewed-by: Scott Graham <scottmg@chromium.org>
diff --git a/infra/recipes/gn.expected/cq_mac.json b/infra/recipes/gn.expected/cq_mac.json index 64234cc..85a4b13 100644 --- a/infra/recipes/gn.expected/cq_mac.json +++ b/infra/recipes/gn.expected/cq_mac.json
@@ -238,7 +238,8 @@ "cmd": [ "python", "-u", - "[START_DIR]/gn/build/gen.py" + "[START_DIR]/gn/build/gen.py", + "--use-lto" ], "cwd": "[START_DIR]/gn", "env": {