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": {