Skip to content

Commit

Permalink
Build abi_wrapper with correct toolchain (#3185)
Browse files Browse the repository at this point in the history
Build starboard_layer_posix_*_abi_wrappers files with correct toolchain.

b/330771976
  • Loading branch information
maxz-lab committed May 8, 2024
1 parent 16073f4 commit 5d80a91
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion starboard/shared/modular/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@

# TODO: b/315170518 - Revert to static library after fixing
# symbol visibility issues for windows based modular platform builds.
if (sb_is_modular || sb_is_evergreen_compatible) {
if ((sb_is_modular || sb_is_evergreen_compatible) &&
(current_toolchain == starboard_toolchain ||
build_with_separate_cobalt_toolchain)) {
source_set("starboard_layer_posix_abi_wrappers") {
sources = [
"starboard_layer_posix_file_abi_wrappers.cc",
Expand Down

0 comments on commit 5d80a91

Please sign in to comment.