bazel: Replace pw_cc_library with cc_library Bug: 267498492 Change-Id: Ia18485ad5038e8085529bf1493353e4ae49508ca Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/186814 Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Pigweed-Auto-Submit: Ted Pudlik <tpudlik@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Armando Montanez <amontanez@google.com>
diff --git a/pw_graphics/pw_color/BUILD.bazel b/pw_graphics/pw_color/BUILD.bazel index 23cf63e..93bb5b7 100644 --- a/pw_graphics/pw_color/BUILD.bazel +++ b/pw_graphics/pw_color/BUILD.bazel
@@ -11,9 +11,9 @@ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations under # the License. -load("@pigweed//pw_build:pigweed.bzl", "pw_cc_library", "pw_cc_test") +load("@pigweed//pw_build:pigweed.bzl", "pw_cc_test") -pw_cc_library( +cc_library( name = "pw_color", hdrs = [ "public/pw_color/color.h",
diff --git a/pw_sys_io_baremetal_stm32f769/BUILD.bazel b/pw_sys_io_baremetal_stm32f769/BUILD.bazel index b9d179a..5a09979 100644 --- a/pw_sys_io_baremetal_stm32f769/BUILD.bazel +++ b/pw_sys_io_baremetal_stm32f769/BUILD.bazel
@@ -12,16 +12,11 @@ # License for the specific language governing permissions and limitations under # the License. -load( - "@pigweed//pw_build:pigweed.bzl", - "pw_cc_library", -) - package(default_visibility = ["//visibility:public"]) licenses(["notice"]) -pw_cc_library( +cc_library( name = "pw_sys_io_baremetal_stm32f769", srcs = ["sys_io_baremetal.cc"], hdrs = ["public/pw_sys_io_baremetal_stm32f769/init.h"],
diff --git a/targets/mimxrt595_evk/BUILD.bazel b/targets/mimxrt595_evk/BUILD.bazel index 4b41cbe..e2e58df 100644 --- a/targets/mimxrt595_evk/BUILD.bazel +++ b/targets/mimxrt595_evk/BUILD.bazel
@@ -12,18 +12,13 @@ # License for the specific language governing permissions and limitations under # the License. -load( - "@pigweed//pw_build:pigweed.bzl", - "pw_cc_library", -) - package(default_visibility = ["//visibility:public"]) licenses(["notice"]) # TODO(pwbug/545): These just list sources files to pass presubmit and aren't # expected to actually work. -pw_cc_library( +cc_library( name = "boot", srcs = [ "boot.cc",