third_party: Minor build file formatting fixes
Applies buildifier findings on a few third_party Bazel build files.
Change-Id: I5a300f4c35d17401a99fda4e31d3bb69cad5b709
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/197369
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
Reviewed-by: Ted Pudlik <tpudlik@google.com>
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Armando Montanez <amontanez@google.com>
diff --git a/third_party/freertos/freertos.BUILD.bazel b/third_party/freertos/freertos.BUILD.bazel
index f95e02c..1dcd786 100644
--- a/third_party/freertos/freertos.BUILD.bazel
+++ b/third_party/freertos/freertos.BUILD.bazel
@@ -114,10 +114,10 @@
"include/timers.h",
],
deps = [
+ ":freertos_config",
":freertos_malloc",
":freertos_port_headers",
":tasks_c",
- ":freertos_config",
],
# Required because breaking out tasks_c results in the dependencies between
# the libraries not being quite correct: to link tasks_c you actually need
@@ -174,8 +174,8 @@
],
visibility = ["//visibility:private"],
deps = [
- ":freertos_port_headers",
":freertos_config",
+ ":freertos_port_headers",
],
)
diff --git a/third_party/stm32cube/stm32_hal_driver.BUILD.bazel b/third_party/stm32cube/stm32_hal_driver.BUILD.bazel
index b1baaef..d20a6f9 100644
--- a/third_party/stm32cube/stm32_hal_driver.BUILD.bazel
+++ b/third_party/stm32cube/stm32_hal_driver.BUILD.bazel
@@ -60,8 +60,8 @@
cc_library(
name = "default_timebase",
- copts = _DISABLED_WARNINGS,
srcs = glob(["Src/*_hal_timebase_tim_template.c"]),
+ copts = _DISABLED_WARNINGS,
deps = [":hal_driver_without_timebase"],
)