aboutsummaryrefslogtreecommitdiff
path: root/pw_unit_test
diff options
context:
space:
mode:
authorTed Pudlik <tpudlik@google.com>2024-01-03 23:59:35 +0000
committerCQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>2024-01-03 23:59:35 +0000
commit77dbd41823c7ae30e457257fbd7753ede5eb824b (patch)
treeba10d4748a6928d530090d2d3971aaec3ac6badf /pw_unit_test
parent9fb521d2c89fad9faae317468938828d27c0f816 (diff)
downloadpigweed-77dbd41823c7ae30e457257fbd7753ede5eb824b.tar.gz
bazel: Replace pw_cc_library with cc_library
This change was automatically generated by running, buildozer 'set kind cc_library' ...:%pw_cc_library buildozer 'fix unusedLoads' ...:__pkg__ The first command converted all `pw_cc_library` targets to `cc_library`. The second removed the (now unused) loads of `pw_cc_library` from the affected BUILD.bazel files. This change is just a no-op cleanup, since `pw_cc_library` became an alias for `cc_library` in http://pwrev.dev/178924. Bug: 267498492 Change-Id: Iefcc21fc5819a21612bbaffaafd1ffbec42faa26 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/186763 Reviewed-by: Armando Montanez <amontanez@google.com> Pigweed-Auto-Submit: Ted Pudlik <tpudlik@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'pw_unit_test')
-rw-r--r--pw_unit_test/BUILD.bazel37
1 files changed, 18 insertions, 19 deletions
diff --git a/pw_unit_test/BUILD.bazel b/pw_unit_test/BUILD.bazel
index 86a8c617c..2a1ba85ab 100644
--- a/pw_unit_test/BUILD.bazel
+++ b/pw_unit_test/BUILD.bazel
@@ -16,7 +16,6 @@ load("@rules_python//python:proto.bzl", "py_proto_library")
load(
"//pw_build:pigweed.bzl",
"pw_cc_binary",
- "pw_cc_library",
"pw_cc_test",
)
load("//pw_protobuf_compiler:pw_proto_library.bzl", "pw_proto_library")
@@ -25,7 +24,7 @@ package(default_visibility = ["//visibility:public"])
licenses(["notice"])
-pw_cc_library(
+cc_library(
name = "config",
hdrs = ["public/pw_unit_test/config.h"],
includes = ["public"],
@@ -39,13 +38,13 @@ alias(
actual = "@pigweed//targets:pw_unit_test_backend",
)
-pw_cc_library(
+cc_library(
name = "framework",
hdrs = ["public/pw_unit_test/framework.h"],
includes = ["public"],
)
-pw_cc_library(
+cc_library(
name = "light",
srcs = ["framework_light.cc"],
hdrs = [
@@ -73,7 +72,7 @@ pw_cc_library(
],
)
-pw_cc_library(
+cc_library(
name = "googletest",
hdrs = [
"googletest_public_overrides/pw_unit_test/framework_backend.h",
@@ -100,13 +99,13 @@ config_setting(
},
)
-pw_cc_library(
+cc_library(
name = "event_handler",
hdrs = ["public/pw_unit_test/event_handler.h"],
includes = ["public"],
)
-pw_cc_library(
+cc_library(
name = "googletest_style_event_handler",
srcs = ["googletest_style_event_handler.cc"],
hdrs = ["public/pw_unit_test/googletest_style_event_handler.h"],
@@ -116,7 +115,7 @@ pw_cc_library(
],
)
-pw_cc_library(
+cc_library(
name = "googletest_handler_adapter",
testonly = True,
srcs = ["googletest_handler_adapter.cc"],
@@ -133,7 +132,7 @@ pw_cc_library(
],
)
-pw_cc_library(
+cc_library(
name = "googletest_test_matchers",
testonly = True,
hdrs = ["public/pw_unit_test/googletest_test_matchers.h"],
@@ -161,7 +160,7 @@ pw_cc_test(
],
)
-pw_cc_library(
+cc_library(
name = "simple_printing_event_handler",
srcs = ["simple_printing_event_handler.cc"],
hdrs = [
@@ -176,7 +175,7 @@ pw_cc_library(
],
)
-pw_cc_library(
+cc_library(
name = "simple_printing_main",
srcs = [
"simple_printing_main.cc",
@@ -189,7 +188,7 @@ pw_cc_library(
],
)
-pw_cc_library(
+cc_library(
name = "printf_event_handler",
hdrs = ["public/pw_unit_test/printf_event_handler.h"],
deps = [
@@ -198,7 +197,7 @@ pw_cc_library(
],
)
-pw_cc_library(
+cc_library(
name = "printf_main",
srcs = ["printf_main.cc"],
deps = [
@@ -207,7 +206,7 @@ pw_cc_library(
],
)
-pw_cc_library(
+cc_library(
name = "logging_event_handler",
srcs = [
"logging_event_handler.cc",
@@ -225,7 +224,7 @@ pw_cc_library(
)
# Provides logging to either the light framework or an external GoogleTest.
-pw_cc_library(
+cc_library(
name = "logging",
deps = [":logging_event_handler"] + select({
":gtest_setting": [":googletest_handler_adapter"],
@@ -260,7 +259,7 @@ pw_proto_library(
deps = [":unit_test_proto"],
)
-pw_cc_library(
+cc_library(
name = "rpc_service",
srcs = ["unit_test_service.cc"] + select({
":light_setting": ["rpc_light_event_handler.cc"],
@@ -290,7 +289,7 @@ pw_cc_library(
],
)
-pw_cc_library(
+cc_library(
name = "rpc_main",
srcs = [
"rpc_main.cc",
@@ -305,7 +304,7 @@ pw_cc_library(
],
)
-pw_cc_library(
+cc_library(
name = "static_library_support",
srcs = ["static_library_support.cc"],
hdrs = ["public/pw_unit_test/static_library_support.h"],
@@ -313,7 +312,7 @@ pw_cc_library(
deps = [":light"], # This library only works with the light backend
)
-pw_cc_library(
+cc_library(
name = "tests_in_archive",
srcs = [
"static_library_archived_tests.cc",