Lint some build files
This got caught during a gazelle upgrade.
Change-Id: Ied3c37f533479b7a8df7aadf7c95f65b90046616
Signed-off-by: James Kuszmaul <james.kuszmaul@bluerivertech.com>
diff --git a/aos/events/logging/BUILD b/aos/events/logging/BUILD
index c33606c..a9c8497 100644
--- a/aos/events/logging/BUILD
+++ b/aos/events/logging/BUILD
@@ -183,18 +183,18 @@
target_compatible_with = ["@platforms//os:linux"],
visibility = ["//visibility:public"],
deps = [
- ":file_operations",
":boot_timestamp",
- ":snappy_encoder",
":buffer_encoder",
- ":logger_fbs",
+ ":file_operations",
":log_backend",
- "//aos:sha256",
- "//aos:uuid",
+ ":logger_fbs",
+ ":snappy_encoder",
"//aos:configuration",
- "//aos/containers:error_list",
"//aos:flatbuffer_merge",
"//aos:flatbuffers",
+ "//aos:sha256",
+ "//aos:uuid",
+ "//aos/containers:error_list",
"//aos/containers:resizeable_buffer",
"//aos/events:event_loop",
"//aos/network:remote_message_fbs",
diff --git a/debian/curl.BUILD b/debian/curl.BUILD
index 95edb78..c6c2d2c 100644
--- a/debian/curl.BUILD
+++ b/debian/curl.BUILD
@@ -175,6 +175,8 @@
name = "curl",
srcs = [
"include/curl_config.h",
+ "lib/altsvc.c",
+ "lib/altsvc.h",
"lib/amigaos.h",
"lib/arpa_telnet.h",
"lib/asyn.h",
@@ -198,6 +200,8 @@
"lib/curl_endian.h",
"lib/curl_fnmatch.c",
"lib/curl_fnmatch.h",
+ "lib/curl_get_line.c",
+ "lib/curl_get_line.h",
"lib/curl_gethostname.c",
"lib/curl_gethostname.h",
"lib/curl_gssapi.h",
@@ -227,6 +231,8 @@
"lib/curl_threads.h",
"lib/curlx.h",
"lib/dict.h",
+ "lib/doh.c",
+ "lib/doh.h",
"lib/dotdot.c",
"lib/dotdot.h",
"lib/easy.c",
@@ -295,16 +301,18 @@
"lib/nwos.c",
"lib/parsedate.c",
"lib/parsedate.h",
- "lib/pingpong.h",
"lib/pingpong.c",
+ "lib/pingpong.h",
"lib/pop3.h",
"lib/progress.c",
"lib/progress.h",
+ "lib/psl.c",
+ "lib/psl.h",
"lib/quic.h",
"lib/rand.c",
"lib/rand.h",
- "lib/rename.h",
"lib/rename.c",
+ "lib/rename.h",
"lib/rtsp.c",
"lib/rtsp.h",
"lib/security.c",
@@ -325,8 +333,8 @@
"lib/smb.h",
"lib/smtp.h",
"lib/sockaddr.h",
- "lib/socketpair.h",
"lib/socketpair.c",
+ "lib/socketpair.h",
"lib/socks.c",
"lib/socks.h",
"lib/speedcheck.c",
@@ -352,6 +360,8 @@
"lib/transfer.h",
"lib/url.c",
"lib/url.h",
+ "lib/urlapi.c",
+ "lib/urlapi-int.h",
"lib/urldata.h",
"lib/vauth/cleartext.c",
"lib/vauth/cram.c",
@@ -367,9 +377,12 @@
"lib/vtls/gskit.h",
"lib/vtls/gtls.h",
"lib/vtls/mbedtls.h",
+ "lib/vtls/mesalink.c",
+ "lib/vtls/mesalink.h",
"lib/vtls/nssg.h",
"lib/vtls/openssl.h",
"lib/vtls/schannel.h",
+ "lib/vtls/sectransp.h",
"lib/vtls/vtls.c",
"lib/vtls/vtls.h",
"lib/vtls/wolfssl.h",
@@ -378,19 +391,6 @@
"lib/wildcard.c",
"lib/wildcard.h",
"lib/x509asn1.h",
- "lib/psl.h",
- "lib/psl.c",
- "lib/vtls/sectransp.h",
- "lib/vtls/mesalink.h",
- "lib/vtls/mesalink.c",
- "lib/curl_get_line.h",
- "lib/curl_get_line.c",
- "lib/urlapi-int.h",
- "lib/urlapi.c",
- "lib/altsvc.h",
- "lib/altsvc.c",
- "lib/doh.h",
- "lib/doh.c",
] + select({
":macos": [
"lib/vtls/sectransp.c",
@@ -463,7 +463,7 @@
visibility = ["//visibility:public"],
deps = [
# Use the same version of zlib that gRPC does.
- "@zlib//:zlib",
+ "@zlib",
":define-ca-bundle-location",
] + select({
":windows": [],
diff --git a/debian/gstreamer.BUILD b/debian/gstreamer.BUILD
index f81f206..a9a28ef 100644
--- a/debian/gstreamer.BUILD
+++ b/debian/gstreamer.BUILD
@@ -262,8 +262,8 @@
"usr/include",
"usr/include/glib-2.0",
"usr/include/gstreamer-1.0",
- "usr/include/libsoup-2.4",
"usr/include/json-glib-1.0",
+ "usr/include/libsoup-2.4",
"usr/include/opencv4",
],
linkopts = [
diff --git a/debian/opencv.BUILD b/debian/opencv.BUILD
index 141a286..d6b4378 100644
--- a/debian/opencv.BUILD
+++ b/debian/opencv.BUILD
@@ -263,10 +263,10 @@
name = "opencv",
srcs = select({
"@platforms//cpu:x86_64": [s % "x86_64-linux-gnu" if "%" in s else s for s in _common_srcs_list] + [
- "usr/lib/x86_64-linux-gnu/libmfx.so.1",
- "usr/lib/x86_64-linux-gnu/libquadmath.so.0",
- "usr/lib/x86_64-linux-gnu/libnuma.so.1",
"usr/lib/x86_64-linux-gnu/libcrypto.so.1.1",
+ "usr/lib/x86_64-linux-gnu/libmfx.so.1",
+ "usr/lib/x86_64-linux-gnu/libnuma.so.1",
+ "usr/lib/x86_64-linux-gnu/libquadmath.so.0",
"usr/lib/x86_64-linux-gnu/libssl.so.1.1",
],
"@platforms//cpu:armv7": [s % "arm-linux-gnueabihf" if "%" in s else s for s in _common_srcs_list],
diff --git a/y2019/control_loops/drivetrain/BUILD b/y2019/control_loops/drivetrain/BUILD
index 80e9fe6..2ac689b 100644
--- a/y2019/control_loops/drivetrain/BUILD
+++ b/y2019/control_loops/drivetrain/BUILD
@@ -188,14 +188,14 @@
shard_count = 8,
target_compatible_with = ["@platforms//os:linux"],
deps = [
- ":localizer",
":drivetrain_base",
+ ":localizer",
"//aos/testing:googletest",
"//aos/testing:random_seed",
"//aos/testing:test_shm",
+ "//frc971/control_loops/drivetrain:splinedrivetrain",
"//frc971/control_loops/drivetrain:trajectory",
"//y2019:constants",
- "//frc971/control_loops/drivetrain:splinedrivetrain",
"@com_github_gflags_gflags//:gflags",
] + cpu_select({
"amd64": [