Commit 92d129d8 authored by Nico Weber's avatar Nico Weber Committed by Commit Bot

android: Re-enable thinlto in official builds.

ToTAndroidOfficial is green after https://chromium-review.googlesource.com/1257202
so chances are this is fixed in the recent clang roll.

Bug: 887272,889062
Change-Id: Iea7a64507cea2cc0410f851af68a5f9fc008b5ae
Reviewed-on: https://chromium-review.googlesource.com/c/1258287
Commit-Queue: Egor Pasko <pasko@chromium.org>
Reviewed-by: default avatarEgor Pasko <pasko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#596159}
parent 770c43fa
...@@ -52,8 +52,7 @@ declare_args() { ...@@ -52,8 +52,7 @@ declare_args() {
# Enables support for ThinLTO, which links 3x-10x faster than full LTO. See # Enables support for ThinLTO, which links 3x-10x faster than full LTO. See
# also http://blog.llvm.org/2016/06/thinlto-scalable-and-incremental-lto.html # also http://blog.llvm.org/2016/06/thinlto-scalable-and-incremental-lto.html
# TODO(https://crbug.com/887272): Reenable on is_android && is_official_build # TODO(https://crbug.com/887272): Reenable on is_android && is_official_build
use_thin_lto = use_thin_lto = is_cfi || (is_android && is_official_build)
is_cfi || (is_android && is_official_build && llvm_force_head_revision)
# Tell VS to create a PDB that references information in .obj files rather # Tell VS to create a PDB that references information in .obj files rather
# than copying it all. This should improve linker performance. mspdbcmf.exe # than copying it all. This should improve linker performance. mspdbcmf.exe
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment