From 866c9fa5ec00dcd3275f6d5c0756e511cebd0a3d Mon Sep 17 00:00:00 2001 From: Jelle Foks Date: Mon, 12 Aug 2024 18:31:32 -0400 Subject: [PATCH] Don't optimize for size. (#3711) This turns of the compiler flag for optimizing for size, so that it's optimizing for speed instead. b/348717754 (cherry picked from commit bf3a4c43a7ae666fa856e5e11705367c30d5055a) --- build/config/compiler/compiler.gni | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/config/compiler/compiler.gni b/build/config/compiler/compiler.gni index d23449f7d40f..d3c27343c0a7 100644 --- a/build/config/compiler/compiler.gni +++ b/build/config/compiler/compiler.gni @@ -44,7 +44,7 @@ declare_args() { # If true, optimize for size. # Default to favoring speed over size for platforms not listed below. optimize_for_size = - !is_high_end_android && (is_android || is_ios || is_castos) + !(is_high_end_android || is_starboard) && (is_android || is_ios || is_castos) } declare_args() {