Skip to content

Commit

Permalink
Cherry pick PR #3711: Don't optimize for size. (#3970)
Browse files Browse the repository at this point in the history
Refer to the original PR: #3711

This turns of the compiler flag for optimizing for size, so that it's
optimizing for speed instead.

b/348717754

Co-authored-by: Jelle Foks <[email protected]>
  • Loading branch information
cobalt-github-releaser-bot and jellefoks committed Aug 13, 2024
1 parent d3f7c42 commit 57b4e9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/config/compiler/compiler.gni
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 57b4e9b

Please sign in to comment.