aboutsummaryrefslogtreecommitdiff
path: root/pw_chrono_threadx
diff options
context:
space:
mode:
authorNathaniel Brough <nathaniel.brough@gmail.com>2021-04-18 22:52:00 +0800
committerCQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>2021-05-01 16:57:23 +0000
commitc2d5781a76268bfdc00b2f5232bf3e7c1129bf37 (patch)
treec74a60863c6a407d5871677d0468eac330d22abe /pw_chrono_threadx
parent3d0e3152db29c24a75464b069557aab72a389595 (diff)
downloadpigweed-c2d5781a76268bfdc00b2f5232bf3e7c1129bf37.tar.gz
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>
Diffstat (limited to 'pw_chrono_threadx')
-rw-r--r--pw_chrono_threadx/BUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/pw_chrono_threadx/BUILD b/pw_chrono_threadx/BUILD
index 0920cfbfd..ad0d83d86 100644
--- a/pw_chrono_threadx/BUILD
+++ b/pw_chrono_threadx/BUILD
@@ -33,6 +33,9 @@ pw_cc_library(
"public",
"public_overrides",
],
+ target_compatible_with = [
+ "//pw_build/constraints/rtos:threadx",
+ ],
deps = [
"//pw_chrono:epoch",
],
@@ -43,6 +46,9 @@ pw_cc_library(
srcs = [
"system_clock.cc",
],
+ target_compatible_with = [
+ "//pw_build/constraints/rtos:threadx",
+ ],
deps = [
":system_clock_headers",
"//pw_chrono:system_clock_facade",