Skip to content

Commit

Permalink
bazel: Remove obsolete label flag
Browse files Browse the repository at this point in the history
This flag and its associated config_settings have long been unused.

Bug: 343487589
Change-Id: I1ff5de8f8c7890c970e87b3007c2433b5de33107
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/256692
Docs-Not-Needed: Ted Pudlik <[email protected]>
Commit-Queue: Auto-Submit <[email protected]>
Pigweed-Auto-Submit: Ted Pudlik <[email protected]>
Lint: Lint 🤖 <[email protected]>
Reviewed-by: Dave Roth <[email protected]>
Presubmit-Verified: CQ Bot Account <[email protected]>
  • Loading branch information
tpudlik authored and CQ Bot Account committed Dec 27, 2024
1 parent f7cdadd commit 8e7fd5e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 33 deletions.
28 changes: 0 additions & 28 deletions pw_build/constraints/rtos/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -26,45 +26,17 @@ constraint_value(
constraint_setting = ":rtos",
)

config_setting(
name = "none_setting",
flag_values = {
"//targets:target_rtos": ":none",
},
)

constraint_value(
name = "embos",
constraint_setting = ":rtos",
)

config_setting(
name = "embos_setting",
flag_values = {
"//targets:target_rtos": ":embos",
},
)

constraint_value(
name = "freertos",
constraint_setting = ":rtos",
)

config_setting(
name = "freertos_setting",
flag_values = {
"//targets:target_rtos": ":freertos",
},
)

constraint_value(
name = "threadx",
constraint_setting = ":rtos",
)

config_setting(
name = "threadx_setting",
flag_values = {
"//targets:target_rtos": ":threadx",
},
)
5 changes: 0 additions & 5 deletions targets/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ label_flag(
build_setting_default = "//third_party/mcuxpresso:default_mcuxpresso_sdk",
)

label_flag(
name = "target_rtos",
build_setting_default = "//pw_build/constraints/rtos:none",
)

sphinx_docs_library(
name = "docs",
srcs = [
Expand Down

0 comments on commit 8e7fd5e

Please sign in to comment.