Skip to content

Commit

Permalink
Fix error identifying cobalt_toolchain (#4582)
Browse files Browse the repository at this point in the history
b/371241293

Fixes current_toolchain == cobalt_toolchain condition. See
b371241293#comment29 for details
  • Loading branch information
niranjanyardi authored Dec 14, 2024
1 parent e967f94 commit 57a06dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/config/BUILDCONFIG.gn
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,8 @@ if (target_os == "android") {

# Create a separation between cobalt and host toolchain if needed.
if (is_cobalt && _default_toolchain == host_toolchain) {
_default_toolchain = "//cobalt" + _default_toolchain
default_toolchain_path = string_split(_default_toolchain, "//")
_default_toolchain = "//cobalt/" + default_toolchain_path[1]
}

# If a custom toolchain has been set in the args, set it as default. Otherwise,
Expand Down

0 comments on commit 57a06dd

Please sign in to comment.