pw_assert: Fix bazel build
Change-Id: I123d7ca5b647327413d06d8ee68123c500f0e5b2
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/34620
Reviewed-by: Wyatt Hepler <hepler@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
Reviewed-by: Akira Baruah <akirabaruah@google.com>
Commit-Queue: Wyatt Hepler <hepler@google.com>
diff --git a/pw_assert/BUILD b/pw_assert/BUILD
index 6b799f1..682dfd4 100644
--- a/pw_assert/BUILD
+++ b/pw_assert/BUILD
@@ -1,4 +1,4 @@
-# Copyright 2020 The Pigweed Authors
+# Copyright 2021 The Pigweed Authors
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
@@ -29,9 +29,9 @@
name = "facade",
hdrs = [
"public/pw_assert/assert.h",
+ "public/pw_assert/internal/assert_impl.h",
"public/pw_assert/light.h",
"public/pw_assert/options.h",
- "public/pw_assert/internal/assert_impl.h",
],
includes = ["public"],
deps = [
@@ -45,6 +45,7 @@
deps = [
":facade",
PW_ASSERT_BACKEND + ":headers",
+ PW_ASSERT_BACKEND,
],
)
@@ -70,14 +71,15 @@
"//pw_span",
"//pw_string",
"//pw_unit_test",
+ PW_ASSERT_BACKEND,
],
)
pw_cc_test(
name = "assert_backend_compile_test",
srcs = [
- "assert_backend_compile_test_c.c",
"assert_backend_compile_test.cc",
+ "assert_backend_compile_test_c.c",
],
deps = [
":backend",