Update for lacros

This commit is contained in:
Alexander David Frick 2022-02-08 00:47:44 -06:00 committed by GitHub
parent 58c9c91922
commit 82171f4e9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -129,7 +129,7 @@ declare_args() {
# TODO(gbiv): We disable optimizations by default on most platforms because
# the space overhead is too great. We should use some mixture of profiles and
# optimization settings to better tune the size increase.
thin_lto_enable_optimizations = (is_chromeos_ash || is_android || is_win ||
thin_lto_enable_optimizations = (is_chromeos || is_android || is_win ||
is_linux || is_mac) && is_official_build
# Initialize all local variables with a pattern. This flag will fill
@ -710,7 +710,7 @@ config("compiler") {
# ldflags += [ "-Wl,--thinlto-cache-policy=$cache_policy" ]
if (is_chromeos_ash) {
if (is_chromeos) {
# Not much performance difference was noted between the default (100)
# and these. ARM was originally set lower than x86 to keep the size
# bloat of ThinLTO to <10%, but that's potentially no longer true.