diff options
author | Xin Li <delphij@google.com> | 2024-06-13 10:50:00 -0700 |
---|---|---|
committer | Xin Li <delphij@google.com> | 2024-06-13 10:50:00 -0700 |
commit | 3ccc229314cb5743e7c9494cc38454ce3dd0aeb0 (patch) | |
tree | 1ba9b93fda929860a1670e1d8941ba78ca479f8e /pw_thread_embos/BUILD.bazel | |
parent | 646563934a3e2ee26f50171f94d95173a1662e2c (diff) | |
parent | 0069dc840059ee077efa7b808807fc580596f40c (diff) | |
download | pigweed-master.tar.gz |
Bug: 346855327
Merged-In: I7ce03a557c45113c8e7a15fc56e858dea3333f60
Change-Id: I4343bc6d1345a3cbbf9eb9d74afe8c42ac1eb177
Diffstat (limited to 'pw_thread_embos/BUILD.bazel')
-rw-r--r-- | pw_thread_embos/BUILD.bazel | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/pw_thread_embos/BUILD.bazel b/pw_thread_embos/BUILD.bazel index 83e080408..c9c51d5f0 100644 --- a/pw_thread_embos/BUILD.bazel +++ b/pw_thread_embos/BUILD.bazel @@ -12,16 +12,11 @@ # License for the specific language governing permissions and limitations under # the License. -load( - "//pw_build:pigweed.bzl", - "pw_cc_library", -) - package(default_visibility = ["//visibility:public"]) licenses(["notice"]) -pw_cc_library( +cc_library( name = "id", hdrs = [ "id_public_overrides/pw_thread_backend/id_inline.h", @@ -43,7 +38,7 @@ pw_cc_library( # currently do not have Bazel support. ) -pw_cc_library( +cc_library( name = "sleep", srcs = [ "sleep.cc", @@ -68,7 +63,7 @@ pw_cc_library( # currently do not have Bazel support. ) -pw_cc_library( +cc_library( name = "thread", srcs = [ "thread.cc", @@ -87,6 +82,7 @@ pw_cc_library( "thread_public_overrides", ], deps = [ + ":config_override", ":id", "//pw_assert", "//pw_string", @@ -96,7 +92,12 @@ pw_cc_library( # currently do not have Bazel support. ) -pw_cc_library( +label_flag( + name = "config_override", + build_setting_default = "//pw_build:default_module_config", +) + +cc_library( name = "non_portable_test_thread_options", srcs = [ "test_threads.cc", @@ -112,7 +113,7 @@ pw_cc_library( ], ) -pw_cc_library( +cc_library( name = "yield", hdrs = [ "public/pw_thread_embos/yield_inline.h", @@ -129,7 +130,7 @@ pw_cc_library( # currently do not have Bazel support. ) -pw_cc_library( +cc_library( name = "util", srcs = [ "util.cc", @@ -148,7 +149,7 @@ pw_cc_library( # currently do not have Bazel support. ) -pw_cc_library( +cc_library( name = "snapshot", srcs = [ "snapshot.cc", |