targets/host: Restore layering check
Bug: 378564135
Change-Id: I3e8c4e935ba0654c3219a6d03917aae52adfb336
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/263632
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Commit-Queue: Ted Pudlik <tpudlik@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
diff --git a/targets/host/BUILD.bazel b/targets/host/BUILD.bazel
index 0cfa389..3b6d118 100644
--- a/targets/host/BUILD.bazel
+++ b/targets/host/BUILD.bazel
@@ -16,10 +16,6 @@
package(
default_visibility = ["//visibility:public"],
- # TODO: https://pwbug.dev/378564135 - Re-enable layering check after
- # http://pwrev.dev/263374 is submitted and we can depend on
- # //pw_thread_stl:options directly.
- features = ["-layering_check"],
)
cc_library(
@@ -42,7 +38,7 @@
"@pigweed//pw_multibuf:simple_allocator",
"@pigweed//pw_system:async",
"@pigweed//pw_system:io",
- "@pigweed//pw_thread_stl:thread",
+ "@pigweed//pw_thread_stl:options",
],
target_compatible_with = incompatible_with_mcu(),
deps = ["//system:headers"],
@@ -51,7 +47,7 @@
cc_library(
name = "production_app_threads",
srcs = ["production_app_threads.cc"],
- implementation_deps = ["@pigweed//pw_thread_stl:thread"],
+ implementation_deps = ["@pigweed//pw_thread_stl:options"],
target_compatible_with = incompatible_with_mcu(),
deps = ["//apps/production:threads_headers"],
)