workspace: Switches Bazel builds to using facades
Switches over all packages that were previously working with Bazel
to use the new facades API. In the process of doing this a few new
modules where newly compatible with Bazel. This is reflected in the
changes to the presubmit.
Change-Id: I12aa67fa43b9ac2b947f33814f901dd00f929543
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/41561
Reviewed-by: Keir Mierle <keir@google.com>
Reviewed-by: Akira Baruah <akirabaruah@google.com>
Reviewed-by: Ewout van Bekkum <ewout@google.com>
Commit-Queue: Keir Mierle <keir@google.com>
diff --git a/pw_chrono_embos/BUILD b/pw_chrono_embos/BUILD
index a65d083..f0d01a8 100644
--- a/pw_chrono_embos/BUILD
+++ b/pw_chrono_embos/BUILD
@@ -33,6 +33,9 @@
"public",
"public_overrides",
],
+ target_compatible_with = [
+ "//pw_build/constraints/rtos:embos",
+ ],
deps = [
"//pw_chrono:epoch",
],
@@ -43,10 +46,11 @@
srcs = [
"system_clock.cc",
],
+ target_compatible_with = [
+ "//pw_build/constraints/rtos:embos",
+ ],
deps = [
":system_clock_headers",
"//pw_chrono:system_clock_facade",
- # TODO(pwbug/317): This should depend on embOS but our third parties
- # currently do not have Bazel support.
],
)