Skip to content

Commit

Permalink
Don't build Evergreen targets on non-Evergreen platforms
Browse files Browse the repository at this point in the history
b/309493306
  • Loading branch information
gbournou committed Jan 9, 2024
1 parent fc372aa commit 15a4bac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
7 changes: 3 additions & 4 deletions starboard/elf_loader/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ if (sb_is_evergreen_compatible) {
}
}

# TODO: b/309493306 - Stop building evergreen targets for all non-evergreen platforms.
if (current_toolchain == starboard_toolchain && !is_host_win) {
if (current_toolchain == starboard_toolchain &&
(sb_is_evergreen || sb_is_evergreen_compatible)) {
target(starboard_level_final_executable_type, "elf_loader_sandbox") {
data_deps = [ "//third_party/icu:icudata" ]
if (cobalt_font_package == "empty") {
Expand Down Expand Up @@ -160,8 +160,7 @@ if (sb_is_evergreen_compatible) {
}
}

# TODO: b/309493306 - Stop building evergreen targets for all non-evergreen platforms.
if (!is_host_win) {
if (sb_is_evergreen || sb_is_evergreen_compatible) {
target(gtest_target_type, "elf_loader_test") {
testonly = true
sources = [ "//starboard/common/test_main.cc" ]
Expand Down
9 changes: 3 additions & 6 deletions starboard/loader_app/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,7 @@ static_library("installation_manager") {
]
}

# TODO: b/309493306 - Stop building evergreen targets for all non-evergreen platforms.
if (!is_host_win) {
if (sb_is_evergreen || sb_is_evergreen_compatible) {
target(gtest_target_type, "installation_manager_test") {
testonly = true
sources = [
Expand Down Expand Up @@ -278,8 +277,7 @@ static_library("slot_management") {
}
}

# TODO: b/309493306 - Stop building evergreen targets for all non-evergreen platforms.
if (!is_host_win) {
if (sb_is_evergreen || sb_is_evergreen_compatible) {
target(gtest_target_type, "slot_management_test") {
testonly = true
sources = [
Expand Down Expand Up @@ -328,8 +326,7 @@ static_library("reset_evergreen_update") {
deps = [ "//starboard:starboard_group" ]
}

# TODO: b/309493306 - Stop building evergreen targets for all non-evergreen platforms.
if (!is_host_win) {
if (sb_is_evergreen || sb_is_evergreen_compatible) {
target(gtest_target_type, "reset_evergreen_update_test") {
testonly = true
sources = [
Expand Down

0 comments on commit 15a4bac

Please sign in to comment.