Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
niranjanyardi committed Feb 5, 2025
1 parent c9ef9d3 commit 6239969
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion starboard/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ if (is_cobalt_hermetic_build) {
"//starboard/client_porting/eztime",
]

if (!sb_is_evergreen) {
if (!sb_is_evergreen && current_toolchain == cobalt_toolchain) {
# For modular builds, we need to wrap any POSIX APIs that may not be ABI
# equivalent across the Cobalt toolchain and the platform toolchain. For
# non-Evergreen builds, this is done via the below wrapper implementations
Expand Down
3 changes: 2 additions & 1 deletion starboard/shared/modular/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ if ((sb_is_modular || sb_is_evergreen_compatible) &&
}
}

if (is_cobalt_hermetic_build && !sb_is_evergreen) {
if (is_cobalt_hermetic_build && !sb_is_evergreen &&
current_toolchain == cobalt_toolchain) {
source_set("cobalt_layer_posix_abi_wrappers") {
sources = [
"cobalt_layer_posix_directory_abi_wrappers.cc",
Expand Down

0 comments on commit 6239969

Please sign in to comment.