Buildify all the build files
We are slowly upgrading them all. Bite bullet and do the rest of them.
Change-Id: I15744cf1b0dc1954954e131b35228c98247c92fe
diff --git a/aos/network/BUILD b/aos/network/BUILD
index d5c27b3..08621d0 100644
--- a/aos/network/BUILD
+++ b/aos/network/BUILD
@@ -9,10 +9,10 @@
"team_number.h",
],
deps = [
- "@com_google_absl//absl/base",
+ "//aos:configuration",
"//aos/logging",
"//aos/util:string_to_num",
- "//aos:configuration",
+ "@com_google_absl//absl/base",
],
)
diff --git a/aos/starter/BUILD b/aos/starter/BUILD
index f890bf6..4d9f17d 100644
--- a/aos/starter/BUILD
+++ b/aos/starter/BUILD
@@ -1,27 +1,27 @@
# This target is everything which should get deployed to the robot.
filegroup(
- name = 'starter',
- visibility = ['//visibility:public'],
- srcs = [
- 'starter_exe',
- 'starter.sh',
- ],
+ name = "starter",
+ srcs = [
+ "starter.sh",
+ "starter_exe",
+ ],
+ visibility = ["//visibility:public"],
)
cc_binary(
- name = 'starter_exe',
- srcs = [
- 'starter.cc',
- ],
- deps = [
- '//aos:init',
- '//third_party/libevent',
- '//aos/logging',
- '//aos/logging:implementations',
- '//aos:once',
- '//aos/time:time',
- '//aos/libc:aos_strsignal',
- '//aos/util:run_command',
- '//aos:unique_malloc_ptr',
- ],
+ name = "starter_exe",
+ srcs = [
+ "starter.cc",
+ ],
+ deps = [
+ "//aos:init",
+ "//aos:once",
+ "//aos:unique_malloc_ptr",
+ "//aos/libc:aos_strsignal",
+ "//aos/logging",
+ "//aos/logging:implementations",
+ "//aos/time",
+ "//aos/util:run_command",
+ "//third_party/libevent",
+ ],
)
diff --git a/aos/stl_mutex/BUILD b/aos/stl_mutex/BUILD
index 51ba920..f187542 100644
--- a/aos/stl_mutex/BUILD
+++ b/aos/stl_mutex/BUILD
@@ -6,8 +6,8 @@
"stl_mutex.h",
],
deps = [
- "//aos/logging",
"//aos/ipc_lib:aos_sync",
+ "//aos/logging",
],
)
@@ -17,10 +17,10 @@
"stl_mutex_test.cc",
],
deps = [
- "//aos:die",
":stl_mutex",
- "//aos/util:thread",
+ "//aos:die",
"//aos/testing:googletest",
"//aos/testing:test_logging",
+ "//aos/util:thread",
],
)
diff --git a/aos/transaction/BUILD b/aos/transaction/BUILD
index 3d5a29f..81dc8a0 100644
--- a/aos/transaction/BUILD
+++ b/aos/transaction/BUILD
@@ -19,8 +19,7 @@
deps = [
":transaction",
"//aos/logging",
- "//aos/util:death_test_log_implementation",
"//aos/testing:googletest",
+ "//aos/util:death_test_log_implementation",
],
)
-
diff --git a/aos/vision/download/BUILD b/aos/vision/download/BUILD
index 536a7ad..f22c18b 100644
--- a/aos/vision/download/BUILD
+++ b/aos/vision/download/BUILD
@@ -1,7 +1,7 @@
py_binary(
- name = 'downloader',
- visibility = ['//visibility:public'],
- srcs = [
- 'downloader.py',
- ],
+ name = "downloader",
+ srcs = [
+ "downloader.py",
+ ],
+ visibility = ["//visibility:public"],
)
diff --git a/aos/vision/tools/BUILD b/aos/vision/tools/BUILD
index c4119e8..2ef3244 100644
--- a/aos/vision/tools/BUILD
+++ b/aos/vision/tools/BUILD
@@ -1,30 +1,31 @@
-load('//tools/build_rules:gtk_dependent.bzl', 'gtk_dependent_cc_binary', 'gtk_dependent_cc_library')
+load("//tools/build_rules:gtk_dependent.bzl", "gtk_dependent_cc_binary", "gtk_dependent_cc_library")
-gtk_dependent_cc_binary(name = "jpeg_vision_test",
- srcs = ["jpeg_vision_test.cc"],
- deps = [
- "//aos/logging:logging",
- "//aos/logging:implementations",
- "//aos/vision/math:vector",
- "//aos/vision/image:reader",
- "//aos/vision/image:jpeg_routines",
- "//aos/vision/blob:threshold",
- "//aos/vision/blob:range_image",
- "//aos/vision/events:epoll_events",
- "//aos/vision/blob:stream_view",
- "//aos/vision/image:image_stream",
- "//aos/vision/events:tcp_server",
- "//aos/vision/events:gtk_event",
- ],
+gtk_dependent_cc_binary(
+ name = "jpeg_vision_test",
+ srcs = ["jpeg_vision_test.cc"],
+ deps = [
+ "//aos/logging",
+ "//aos/logging:implementations",
+ "//aos/vision/blob:range_image",
+ "//aos/vision/blob:stream_view",
+ "//aos/vision/blob:threshold",
+ "//aos/vision/events:epoll_events",
+ "//aos/vision/events:gtk_event",
+ "//aos/vision/events:tcp_server",
+ "//aos/vision/image:image_stream",
+ "//aos/vision/image:jpeg_routines",
+ "//aos/vision/image:reader",
+ "//aos/vision/math:vector",
+ ],
)
cc_binary(
- name = 'camera_primer',
- srcs = ['camera_primer.cc'],
- deps = [
- '//aos/logging:logging',
- '//aos/logging:implementations',
- '//aos/vision/image:image_stream',
- '//aos/vision/events:epoll_events',
- ],
+ name = "camera_primer",
+ srcs = ["camera_primer.cc"],
+ deps = [
+ "//aos/logging",
+ "//aos/logging:implementations",
+ "//aos/vision/events:epoll_events",
+ "//aos/vision/image:image_stream",
+ ],
)
diff --git a/debian/cgal.BUILD b/debian/cgal.BUILD
index 0063d73..d41bccf 100644
--- a/debian/cgal.BUILD
+++ b/debian/cgal.BUILD
@@ -1,18 +1,16 @@
-
-
cc_library(
- name = 'cgal',
- hdrs = glob([
- 'usr/include/**/*.h',
- 'usr/include/**/*.hpp',
- ]),
- includes = [
- 'usr/include',
- 'usr/include/x86_64-linux-gnu',
- ],
- srcs = [
- 'usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0',
- 'usr/lib/libCGAL.so.10',
- ],
- visibility = ['//visibility:public'],
+ name = "cgal",
+ srcs = [
+ "usr/lib/libCGAL.so.10",
+ "usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0",
+ ],
+ hdrs = glob([
+ "usr/include/**/*.h",
+ "usr/include/**/*.hpp",
+ ]),
+ includes = [
+ "usr/include",
+ "usr/include/x86_64-linux-gnu",
+ ],
+ visibility = ["//visibility:public"],
)
diff --git a/debian/f2c.BUILD b/debian/f2c.BUILD
index 00adb76..6c51026 100644
--- a/debian/f2c.BUILD
+++ b/debian/f2c.BUILD
@@ -1,5 +1,5 @@
filegroup(
- name = 'f2c',
- visibility = ['//visibility:public'],
- srcs = ['usr/bin/f2c'],
+ name = "f2c",
+ srcs = ["usr/bin/f2c"],
+ visibility = ["//visibility:public"],
)
diff --git a/debian/gflags.BUILD b/debian/gflags.BUILD
index 73037db..f1e3b2c 100644
--- a/debian/gflags.BUILD
+++ b/debian/gflags.BUILD
@@ -1,67 +1,67 @@
py_library(
- name = 'gflags',
- visibility = ['//visibility:public'],
- srcs = [
- 'gflags_validators.py',
- 'gflags2man.py',
- 'gflags.py',
- ],
+ name = "gflags",
+ srcs = [
+ "gflags.py",
+ "gflags2man.py",
+ "gflags_validators.py",
+ ],
+ visibility = ["//visibility:public"],
)
py_library(
- name = 'gflags_googletest',
- srcs = [
- 'tests/gflags_googletest.py',
- ],
+ name = "gflags_googletest",
+ srcs = [
+ "tests/gflags_googletest.py",
+ ],
)
py_test(
- name = 'gflags_validators_test',
- srcs = [
- 'tests/gflags_validators_test.py',
- ],
- deps = [
- ':gflags',
- ':gflags_googletest',
- ],
- size = 'small',
+ name = "gflags_validators_test",
+ size = "small",
+ srcs = [
+ "tests/gflags_validators_test.py",
+ ],
+ deps = [
+ ":gflags",
+ ":gflags_googletest",
+ ],
)
py_library(
- name = 'flags_modules_for_testing',
- srcs = [
- 'tests/flags_modules_for_testing/__init__.py',
- 'tests/flags_modules_for_testing/module_bar.py',
- 'tests/flags_modules_for_testing/module_baz.py',
- 'tests/flags_modules_for_testing/module_foo.py',
- ],
- deps = [
- ':gflags',
- ],
+ name = "flags_modules_for_testing",
+ srcs = [
+ "tests/flags_modules_for_testing/__init__.py",
+ "tests/flags_modules_for_testing/module_bar.py",
+ "tests/flags_modules_for_testing/module_baz.py",
+ "tests/flags_modules_for_testing/module_foo.py",
+ ],
+ deps = [
+ ":gflags",
+ ],
)
py_test(
- name = 'gflags_unittest',
- srcs = [
- 'tests/gflags_unittest.py',
- ],
- deps = [
- ':flags_modules_for_testing',
- ':gflags',
- ':gflags_googletest',
- ],
- size = 'small',
+ name = "gflags_unittest",
+ size = "small",
+ srcs = [
+ "tests/gflags_unittest.py",
+ ],
+ deps = [
+ ":flags_modules_for_testing",
+ ":gflags",
+ ":gflags_googletest",
+ ],
)
py_test(
- name = 'gflags_helpxml_test',
- srcs = [
- 'tests/gflags_helpxml_test.py',
- ],
- deps = [
- ':flags_modules_for_testing',
- ':gflags',
- ':gflags_googletest',
- ],
- size = 'small',
+ name = "gflags_helpxml_test",
+ size = "small",
+ srcs = [
+ "tests/gflags_helpxml_test.py",
+ ],
+ deps = [
+ ":flags_modules_for_testing",
+ ":gflags",
+ ":gflags_googletest",
+ ],
)
diff --git a/debian/glog.BUILD b/debian/glog.BUILD
index c2dc094..8de9b80 100644
--- a/debian/glog.BUILD
+++ b/debian/glog.BUILD
@@ -1,10 +1,10 @@
py_library(
- name = 'glog',
- srcs = [
- 'glog.py',
- ],
- deps = [
- '//external:python-gflags',
- ],
- visibility = ['//visibility:public'],
+ name = "glog",
+ srcs = [
+ "glog.py",
+ ],
+ visibility = ["//visibility:public"],
+ deps = [
+ "//external:python-gflags",
+ ],
)
diff --git a/debian/ni-libraries-2016.BUILD b/debian/ni-libraries-2016.BUILD
index 4e809cc..4d663ff 100644
--- a/debian/ni-libraries-2016.BUILD
+++ b/debian/ni-libraries-2016.BUILD
@@ -1,14 +1,14 @@
cc_library(
- name = 'ni-libraries',
- visibility = ['//visibility:public'],
- srcs = [
- 'libFRC_NetworkCommunication.so.16.0.0',
- 'libRoboRIO_FRC_ChipObject.so.16.0.0',
- 'libNiFpgaLv.so.15.0.0',
- 'libNiFpga.so.15.0.0',
- 'libNiRioSrv.so.15.0.0',
- 'libspi.so.1.0.0',
- 'libi2c.so.1.0.0',
- ],
- linkstatic = True,
+ name = "ni-libraries",
+ srcs = [
+ "libFRC_NetworkCommunication.so.16.0.0",
+ "libNiFpga.so.15.0.0",
+ "libNiFpgaLv.so.15.0.0",
+ "libNiRioSrv.so.15.0.0",
+ "libRoboRIO_FRC_ChipObject.so.16.0.0",
+ "libi2c.so.1.0.0",
+ "libspi.so.1.0.0",
+ ],
+ linkstatic = True,
+ visibility = ["//visibility:public"],
)
diff --git a/debian/ni-libraries-2019.BUILD b/debian/ni-libraries-2019.BUILD
index 4b363b5..de2d7e0 100644
--- a/debian/ni-libraries-2019.BUILD
+++ b/debian/ni-libraries-2019.BUILD
@@ -2,13 +2,13 @@
name = "ni-libraries",
srcs = [
"src/lib/chipobject/libNiFpga.so.19.0.0",
+ "src/lib/chipobject/libRoboRIO_FRC_ChipObject.so.20.0.0",
+ "src/lib/netcomm/libFRC_NetworkCommunication.so.20.0.0",
"src/lib/runtime/libNiFpgaLv.so.19.0.0",
"src/lib/runtime/libNiRioSrv.so.19.0.0",
- "src/lib/chipobject/libRoboRIO_FRC_ChipObject.so.20.0.0",
+ "src/lib/runtime/libnirio_emb_can.so.16.0.0",
"src/lib/runtime/libniriodevenum.so.19.0.0",
"src/lib/runtime/libniriosession.so.18.0.0",
- "src/lib/runtime/libnirio_emb_can.so.16.0.0",
- "src/lib/netcomm/libFRC_NetworkCommunication.so.20.0.0",
],
hdrs = glob(["src/include/**"]),
includes = [
diff --git a/debian/six.BUILD b/debian/six.BUILD
index 87cd318..3d8ffd4 100644
--- a/debian/six.BUILD
+++ b/debian/six.BUILD
@@ -1,7 +1,7 @@
py_library(
- name = 'six',
- visibility = ['//visibility:public'],
- srcs = [
- 'six.py',
- ],
+ name = "six",
+ srcs = [
+ "six.py",
+ ],
+ visibility = ["//visibility:public"],
)
diff --git a/debian/usr.BUILD b/debian/usr.BUILD
index 97a3e9f..be7cafc 100644
--- a/debian/usr.BUILD
+++ b/debian/usr.BUILD
@@ -1,148 +1,146 @@
-load('@//tools/build_rules:gtk_dependent.bzl', 'gtk_dependent_cc_binary', 'gtk_dependent_cc_library')
+load("@//tools/build_rules:gtk_dependent.bzl", "gtk_dependent_cc_binary", "gtk_dependent_cc_library")
-package(default_visibility = ['@//debian:__pkg__'])
+package(default_visibility = ["@//debian:__pkg__"])
cc_library(
- name = 'librt',
- srcs = [
- 'lib/x86_64-linux-gnu/librt.so'
- ],
+ name = "librt",
+ srcs = [
+ "lib/x86_64-linux-gnu/librt.so",
+ ],
)
cc_library(
- name = 'libdl',
- srcs = [
- 'lib/x86_64-linux-gnu/libdl.so'
- ],
+ name = "libdl",
+ srcs = [
+ "lib/x86_64-linux-gnu/libdl.so",
+ ],
)
cc_library(
- name = 'libm',
- srcs = [
- 'lib/x86_64-linux-gnu/libm.so'
- ],
+ name = "libm",
+ srcs = [
+ "lib/x86_64-linux-gnu/libm.so",
+ ],
)
cc_library(
- name = 'libpthread',
+ name = "libpthread",
)
cc_library(
- name = 'python3.4_lib',
- hdrs = glob(['include/python3.4m/**/*.h']),
- includes = [
- 'include/python3.4m/',
- ],
- visibility = ['//visibility:public'],
+ name = "python3.4_lib",
+ hdrs = glob(["include/python3.4m/**/*.h"]),
+ includes = [
+ "include/python3.4m/",
+ ],
+ visibility = ["//visibility:public"],
)
cc_library(
- name = 'python3.4_f2py',
- srcs = [
- 'lib/python3/dist-packages/numpy/f2py/src/fortranobject.c',
- ],
- hdrs = [
- 'lib/python3/dist-packages/numpy/f2py/src/fortranobject.h',
- ],
- copts = [
- '-Wno-error',
- '-Wno-parentheses-equality',
- ],
- includes = [
- 'lib/python3/dist-packages/numpy/f2py/src/',
- ],
- deps = [
- ':python3.4_lib',
- ],
- visibility = ['//visibility:public'],
+ name = "python3.4_f2py",
+ srcs = [
+ "lib/python3/dist-packages/numpy/f2py/src/fortranobject.c",
+ ],
+ hdrs = [
+ "lib/python3/dist-packages/numpy/f2py/src/fortranobject.h",
+ ],
+ copts = [
+ "-Wno-error",
+ "-Wno-parentheses-equality",
+ ],
+ includes = [
+ "lib/python3/dist-packages/numpy/f2py/src/",
+ ],
+ visibility = ["//visibility:public"],
+ deps = [
+ ":python3.4_lib",
+ ],
)
cc_library(
- name = 'python2.7_lib',
- hdrs = glob(['include/python2.7/**/*.h']),
- srcs = [
- 'lib/x86_64-linux-gnu/libpython2.7.so',
- ],
- includes = [
- 'include/python2.7/',
- ],
- visibility = ['//visibility:public'],
+ name = "python2.7_lib",
+ srcs = [
+ "lib/x86_64-linux-gnu/libpython2.7.so",
+ ],
+ hdrs = glob(["include/python2.7/**/*.h"]),
+ includes = [
+ "include/python2.7/",
+ ],
+ visibility = ["//visibility:public"],
)
cc_library(
- name = 'python2.7_f2py',
- srcs = [
- 'lib/python2.7/dist-packages/numpy/f2py/src/fortranobject.c',
- ],
- hdrs = [
- 'lib/python2.7/dist-packages/numpy/f2py/src/fortranobject.h',
- ],
- copts = [
- '-Wno-error',
- ],
- includes = [
- 'lib/python2.7/dist-packages/numpy/f2py/src/',
- ],
- deps = [
- ':python2.7_lib',
- ],
- visibility = ['//visibility:public'],
+ name = "python2.7_f2py",
+ srcs = [
+ "lib/python2.7/dist-packages/numpy/f2py/src/fortranobject.c",
+ ],
+ hdrs = [
+ "lib/python2.7/dist-packages/numpy/f2py/src/fortranobject.h",
+ ],
+ copts = [
+ "-Wno-error",
+ ],
+ includes = [
+ "lib/python2.7/dist-packages/numpy/f2py/src/",
+ ],
+ visibility = ["//visibility:public"],
+ deps = [
+ ":python2.7_lib",
+ ],
)
gtk_dependent_cc_library(
- name = 'gtk+-3.0',
- hdrs = glob([
- 'include/gtk-3.0/**/*.h',
- 'include/at-spi2-atk/2.0/**/*.h',
- 'include/at-spi-2.0/**/*.h',
- 'include/dbus-1.0/**/*.h',
- 'lib/x86_64-linux-gnu/dbus-1.0/include/**/*.h',
- 'include/gtk-3.0/**/*.h',
- 'include/gio-unix-2.0/**/*.h',
- 'include/cairo/**/*.h',
- 'include/pango-1.0/**/*.h',
- 'include/harfbuzz/**/*.h',
- 'include/pango-1.0/**/*.h',
- 'include/atk-1.0/**/*.h',
- 'include/pixman-1/**/*.h',
- 'include/freetype2/**/*.h',
- 'include/libpng12/**/*.h',
- 'include/gdk-pixbuf-2.0/**/*.h',
- 'include/glib-2.0/**/*.h',
- 'lib/x86_64-linux-gnu/glib-2.0/include/**/*.h',
- ]),
- includes = [
- 'include/gtk-3.0',
- 'include/at-spi2-atk/2.0',
- 'include/at-spi-2.0',
- 'include/dbus-1.0',
- 'lib/x86_64-linux-gnu/dbus-1.0/include',
- 'include/gtk-3.0',
- 'include/gio-unix-2.0/',
- 'include/cairo',
- 'include/pango-1.0',
- 'include/harfbuzz',
- 'include/pango-1.0',
- 'include/atk-1.0',
- 'include/pixman-1',
- 'include/freetype2',
- 'include/libpng12',
- 'include/gdk-pixbuf-2.0',
- 'include/glib-2.0',
- 'lib/x86_64-linux-gnu/glib-2.0/include',
- ],
- srcs = [
- 'lib/x86_64-linux-gnu/libgtk-3.so',
- 'lib/x86_64-linux-gnu/libgdk-3.so',
- 'lib/x86_64-linux-gnu/libpangocairo-1.0.so',
- 'lib/x86_64-linux-gnu/libpango-1.0.so',
- 'lib/x86_64-linux-gnu/libatk-1.0.so',
- 'lib/x86_64-linux-gnu/libcairo-gobject.so',
- 'lib/x86_64-linux-gnu/libcairo.so',
- 'lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so',
- 'lib/x86_64-linux-gnu/libgio-2.0.so',
- 'lib/x86_64-linux-gnu/libgobject-2.0.so',
- 'lib/x86_64-linux-gnu/libglib-2.0.so',
- ],
- visibility = ['//visibility:public'],
+ name = "gtk+-3.0",
+ srcs = [
+ "lib/x86_64-linux-gnu/libatk-1.0.so",
+ "lib/x86_64-linux-gnu/libcairo.so",
+ "lib/x86_64-linux-gnu/libcairo-gobject.so",
+ "lib/x86_64-linux-gnu/libgdk-3.so",
+ "lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so",
+ "lib/x86_64-linux-gnu/libgio-2.0.so",
+ "lib/x86_64-linux-gnu/libglib-2.0.so",
+ "lib/x86_64-linux-gnu/libgobject-2.0.so",
+ "lib/x86_64-linux-gnu/libgtk-3.so",
+ "lib/x86_64-linux-gnu/libpango-1.0.so",
+ "lib/x86_64-linux-gnu/libpangocairo-1.0.so",
+ ],
+ hdrs = glob([
+ "include/gtk-3.0/**/*.h",
+ "include/at-spi2-atk/2.0/**/*.h",
+ "include/at-spi-2.0/**/*.h",
+ "include/dbus-1.0/**/*.h",
+ "lib/x86_64-linux-gnu/dbus-1.0/include/**/*.h",
+ "include/gtk-3.0/**/*.h",
+ "include/gio-unix-2.0/**/*.h",
+ "include/cairo/**/*.h",
+ "include/pango-1.0/**/*.h",
+ "include/harfbuzz/**/*.h",
+ "include/pango-1.0/**/*.h",
+ "include/atk-1.0/**/*.h",
+ "include/pixman-1/**/*.h",
+ "include/freetype2/**/*.h",
+ "include/libpng12/**/*.h",
+ "include/gdk-pixbuf-2.0/**/*.h",
+ "include/glib-2.0/**/*.h",
+ "lib/x86_64-linux-gnu/glib-2.0/include/**/*.h",
+ ]),
+ includes = [
+ "include/at-spi-2.0",
+ "include/at-spi2-atk/2.0",
+ "include/atk-1.0",
+ "include/cairo",
+ "include/dbus-1.0",
+ "include/freetype2",
+ "include/gdk-pixbuf-2.0",
+ "include/gio-unix-2.0/",
+ "include/glib-2.0",
+ "include/gtk-3.0",
+ "include/harfbuzz",
+ "include/libpng12",
+ "include/pango-1.0",
+ "include/pixman-1",
+ "lib/x86_64-linux-gnu/dbus-1.0/include",
+ "lib/x86_64-linux-gnu/glib-2.0/include",
+ ],
+ visibility = ["//visibility:public"],
)
diff --git a/frc971/analysis/BUILD b/frc971/analysis/BUILD
index ad5552b..b45031f 100644
--- a/frc971/analysis/BUILD
+++ b/frc971/analysis/BUILD
@@ -3,10 +3,10 @@
py_binary(
name = "plot_action",
srcs = [
- "plotter.py",
- "plot_action.py",
- "logreader.py",
"logentry.py",
+ "logreader.py",
+ "plot_action.py",
+ "plotter.py",
],
legacy_create_init = False,
restricted_to = ["//tools:k8"],
diff --git a/frc971/config/BUILD b/frc971/config/BUILD
index 07394d4..0f4f7ba 100644
--- a/frc971/config/BUILD
+++ b/frc971/config/BUILD
@@ -1,14 +1,14 @@
filegroup(
- name = 'rio_robotCommand',
- srcs = [ 'robotCommand' ],
+ name = "rio_robotCommand",
+ srcs = ["robotCommand"],
)
sh_binary(
- name = 'setup_roborio',
- srcs = [ 'setup_roborio.sh' ],
- visibility = [ '//visibility:public' ],
- data = [
- ':rio_robotCommand',
- '@arm_frc_linux_gnueabi_repo//:compiler_pieces',
- ],
+ name = "setup_roborio",
+ srcs = ["setup_roborio.sh"],
+ data = [
+ ":rio_robotCommand",
+ "@arm_frc_linux_gnueabi_repo//:compiler_pieces",
+ ],
+ visibility = ["//visibility:public"],
)
diff --git a/frc971/control_loops/voltage_cap/BUILD b/frc971/control_loops/voltage_cap/BUILD
index 8c2df46..2aa1dea 100644
--- a/frc971/control_loops/voltage_cap/BUILD
+++ b/frc971/control_loops/voltage_cap/BUILD
@@ -1,23 +1,23 @@
-package(default_visibility = ['//visibility:public'])
+package(default_visibility = ["//visibility:public"])
cc_library(
- name = 'voltage_cap',
- srcs = [
- 'voltage_cap.cc',
- ],
- hdrs = [
- 'voltage_cap.h',
- ],
+ name = "voltage_cap",
+ srcs = [
+ "voltage_cap.cc",
+ ],
+ hdrs = [
+ "voltage_cap.h",
+ ],
)
cc_test(
- name = 'voltage_cap_test',
- srcs = [
- 'voltage_cap_test.cc',
- ],
- deps = [
- ':voltage_cap',
- '//aos/testing:googletest',
- '//aos/testing:test_shm',
- ],
+ name = "voltage_cap_test",
+ srcs = [
+ "voltage_cap_test.cc",
+ ],
+ deps = [
+ ":voltage_cap",
+ "//aos/testing:googletest",
+ "//aos/testing:test_shm",
+ ],
)
diff --git a/frc971/shooter_interpolation/BUILD b/frc971/shooter_interpolation/BUILD
index 3509040..cce93e1 100644
--- a/frc971/shooter_interpolation/BUILD
+++ b/frc971/shooter_interpolation/BUILD
@@ -1,21 +1,21 @@
cc_library(
- name = 'interpolation',
- hdrs = [
- 'interpolation.h',
- ],
- srcs = [
- 'interpolation.cc',
- ],
- visibility = ['//visibility:public'],
+ name = "interpolation",
+ srcs = [
+ "interpolation.cc",
+ ],
+ hdrs = [
+ "interpolation.h",
+ ],
+ visibility = ["//visibility:public"],
)
cc_test(
- name = 'interpolation_test',
- srcs = [
- 'interpolation_test.cc',
- ],
- deps = [
- ':interpolation',
- '//aos/testing:googletest',
- ]
+ name = "interpolation_test",
+ srcs = [
+ "interpolation_test.cc",
+ ],
+ deps = [
+ ":interpolation",
+ "//aos/testing:googletest",
+ ],
)
diff --git a/motors/teensy_loader_cli/BUILD b/motors/teensy_loader_cli/BUILD
index ad92b11..eb68399 100644
--- a/motors/teensy_loader_cli/BUILD
+++ b/motors/teensy_loader_cli/BUILD
@@ -1,14 +1,14 @@
cc_binary(
- name = 'teensy_loader_cli',
- srcs = [
- 'teensy_loader_cli.c',
- ],
- copts = [
- '-DUSE_LIBUSB',
- '-Wno-format-nonliteral',
- ],
- deps = [
- '@libusb//:libusb',
- ],
- restricted_to = ['@//tools:k8'],
+ name = "teensy_loader_cli",
+ srcs = [
+ "teensy_loader_cli.c",
+ ],
+ copts = [
+ "-DUSE_LIBUSB",
+ "-Wno-format-nonliteral",
+ ],
+ restricted_to = ["@//tools:k8"],
+ deps = [
+ "@libusb",
+ ],
)
diff --git a/motors/usb/BUILD b/motors/usb/BUILD
index a91dfcb..3e92a16 100644
--- a/motors/usb/BUILD
+++ b/motors/usb/BUILD
@@ -1,137 +1,136 @@
load("//tools:environments.bzl", "mcu_cpus")
cc_library(
- name = 'legacy',
- visibility = ['//visibility:public'],
- hdrs = [
- 'usb_desc.h',
- 'usb_serial.h',
- 'usb_dev.h',
- ],
- srcs = [
- 'usb_mem.h',
- 'usb_names.h',
-
- 'usb_desc.c',
- 'usb_serial.c',
- 'usb_dev.c',
- 'usb_mem.c',
- ],
- defines = [
- 'USB_SERIAL=1',
- ],
- deps = [
- '//motors/core',
- ],
- restricted_to = mcu_cpus,
+ name = "legacy",
+ srcs = [
+ "usb_desc.c",
+ "usb_dev.c",
+ "usb_mem.c",
+ "usb_mem.h",
+ "usb_names.h",
+ "usb_serial.c",
+ ],
+ hdrs = [
+ "usb_desc.h",
+ "usb_dev.h",
+ "usb_serial.h",
+ ],
+ defines = [
+ "USB_SERIAL=1",
+ ],
+ restricted_to = mcu_cpus,
+ visibility = ["//visibility:public"],
+ deps = [
+ "//motors/core",
+ ],
)
cc_library(
- name = 'usb',
- visibility = ['//visibility:public'],
- hdrs = [
- 'usb.h',
- ],
- srcs = [
- 'usb.cc',
- ],
- deps = [
- ':constants',
- '//aos:macros',
- '//motors/core',
- '//motors:util',
- ],
- restricted_to = mcu_cpus,
+ name = "usb",
+ srcs = [
+ "usb.cc",
+ ],
+ hdrs = [
+ "usb.h",
+ ],
+ restricted_to = mcu_cpus,
+ visibility = ["//visibility:public"],
+ deps = [
+ ":constants",
+ "//aos:macros",
+ "//motors:util",
+ "//motors/core",
+ ],
)
cc_library(
- name = 'cdc',
- visibility = ['//visibility:public'],
- hdrs = [
- 'cdc.h',
- ],
- srcs = [
- 'cdc.cc',
- ],
- deps = [
- ':usb',
- ':queue',
- '//motors/core',
- '//motors:util',
- ],
- restricted_to = mcu_cpus,
+ name = "cdc",
+ srcs = [
+ "cdc.cc",
+ ],
+ hdrs = [
+ "cdc.h",
+ ],
+ restricted_to = mcu_cpus,
+ visibility = ["//visibility:public"],
+ deps = [
+ ":queue",
+ ":usb",
+ "//motors:util",
+ "//motors/core",
+ ],
)
cc_library(
- name = 'interrupt_out',
- visibility = ['//visibility:public'],
- hdrs = [
- 'interrupt_out.h',
- ],
- srcs = [
- 'interrupt_out.cc',
- ],
- deps = [
- ':usb',
- '//motors/core',
- '//motors:util',
- ],
- restricted_to = mcu_cpus,
+ name = "interrupt_out",
+ srcs = [
+ "interrupt_out.cc",
+ ],
+ hdrs = [
+ "interrupt_out.h",
+ ],
+ restricted_to = mcu_cpus,
+ visibility = ["//visibility:public"],
+ deps = [
+ ":usb",
+ "//motors:util",
+ "//motors/core",
+ ],
)
cc_library(
- name = 'queue',
- hdrs = [
- 'queue.h',
- ],
- srcs = [
- 'queue.cc',
- ],
- compatible_with = mcu_cpus,
+ name = "queue",
+ srcs = [
+ "queue.cc",
+ ],
+ hdrs = [
+ "queue.h",
+ ],
+ compatible_with = mcu_cpus,
)
cc_test(
- name = 'queue_test',
- srcs = [
- 'queue_test.cc',
- ],
- deps = [
- ':queue',
- '//aos/testing:googletest',
- ],
+ name = "queue_test",
+ srcs = [
+ "queue_test.cc",
+ ],
+ deps = [
+ ":queue",
+ "//aos/testing:googletest",
+ ],
)
cc_library(
- name = 'constants',
- hdrs = [
- 'constants.h',
- ],
- compatible_with = mcu_cpus,
+ name = "constants",
+ hdrs = [
+ "constants.h",
+ ],
+ compatible_with = mcu_cpus,
)
cc_test(
- name = 'constants_test',
- srcs = [
- 'constants_test.cc',
- ],
- deps = [
- ':constants',
- '//aos/testing:googletest',
- ],
+ name = "constants_test",
+ srcs = [
+ "constants_test.cc",
+ ],
+ deps = [
+ ":constants",
+ "//aos/testing:googletest",
+ ],
)
cc_library(
- name = 'hid',
- visibility = ['//visibility:public'],
- hdrs = [
- 'hid.h',
- ],
- srcs = [
- 'hid.cc',
- ],
- deps = [
- ':usb',
- '//motors:util',
- ],
- restricted_to = mcu_cpus,
+ name = "hid",
+ srcs = [
+ "hid.cc",
+ ],
+ hdrs = [
+ "hid.h",
+ ],
+ restricted_to = mcu_cpus,
+ visibility = ["//visibility:public"],
+ deps = [
+ ":usb",
+ "//motors:util",
+ ],
)
diff --git a/third_party/blasfeo/BUILD b/third_party/blasfeo/BUILD
index ba61061..f6efd3c 100644
--- a/third_party/blasfeo/BUILD
+++ b/third_party/blasfeo/BUILD
@@ -2,24 +2,6 @@
cc_library(
name = "blasfeo",
- hdrs = [
- "include/blasfeo_block_size.h",
- "include/blasfeo_common.h",
- "include/blasfeo_d_aux.h",
- "include/blasfeo_d_kernel.h",
- "include/blasfeo_s_aux.h",
- "include/blasfeo_s_kernel.h",
- "include/blasfeo_target.h",
- "include/blasfeo_d_blas.h",
- "include/blasfeo_m_aux.h",
- "include/blasfeo_s_blas.h",
- "include/blasfeo_v_aux_ext_dep.h",
- "include/blasfeo_d_aux_ext_dep.h",
- "include/blasfeo_i_aux_ext_dep.h",
- ],
- includes = [
- "include",
- ],
srcs = [
# ext
"auxiliary/d_aux_lib4.c",
@@ -67,6 +49,21 @@
"auxiliary/v_aux_ext_dep_lib.c",
"auxiliary/i_aux_ext_dep_lib.c",
],
+ hdrs = [
+ "include/blasfeo_block_size.h",
+ "include/blasfeo_common.h",
+ "include/blasfeo_d_aux.h",
+ "include/blasfeo_d_aux_ext_dep.h",
+ "include/blasfeo_d_blas.h",
+ "include/blasfeo_d_kernel.h",
+ "include/blasfeo_i_aux_ext_dep.h",
+ "include/blasfeo_m_aux.h",
+ "include/blasfeo_s_aux.h",
+ "include/blasfeo_s_blas.h",
+ "include/blasfeo_s_kernel.h",
+ "include/blasfeo_target.h",
+ "include/blasfeo_v_aux_ext_dep.h",
+ ],
copts = [
"-mavx",
"-DTARGET_X64_INTEL_SANDY_BRIDGE",
@@ -79,9 +76,12 @@
"-Wno-unused-label",
"-Wno-cast-align",
],
+ includes = [
+ "include",
+ ],
+ restricted_to = ["//tools:k8"],
textual_hdrs = [
"blas/x_blas2_diag_lib.c",
],
visibility = ["//visibility:public"],
- restricted_to = ["//tools:k8"],
)
diff --git a/third_party/ceres/bazel/eigen.BUILD b/third_party/ceres/bazel/eigen.BUILD
index cf6391a..2733d48 100644
--- a/third_party/ceres/bazel/eigen.BUILD
+++ b/third_party/ceres/bazel/eigen.BUILD
@@ -31,9 +31,9 @@
# TODO(keir): Replace this with a better version, like from TensorFlow.
# See https://github.com/ceres-solver/ceres-solver/issues/337.
cc_library(
- name = 'eigen',
+ name = "eigen",
srcs = [],
- includes = ['.'],
- hdrs = glob(['Eigen/**']),
- visibility = ['//visibility:public'],
+ hdrs = glob(["Eigen/**"]),
+ includes = ["."],
+ visibility = ["//visibility:public"],
)
diff --git a/third_party/empty_config_h/BUILD b/third_party/empty_config_h/BUILD
index 96ee043..d1a8093 100644
--- a/third_party/empty_config_h/BUILD
+++ b/third_party/empty_config_h/BUILD
@@ -1,9 +1,9 @@
-licenses(['unencumbered'])
+licenses(["unencumbered"])
cc_library(
- name = 'empty_config_h',
- visibility = ['//third_party:__subpackages__'],
- hdrs = [
- 'config.h',
- ],
+ name = "empty_config_h",
+ hdrs = [
+ "config.h",
+ ],
+ visibility = ["//third_party:__subpackages__"],
)
diff --git a/third_party/gflags/BUILD b/third_party/gflags/BUILD
index 0e7ccdd..1bccf5a 100644
--- a/third_party/gflags/BUILD
+++ b/third_party/gflags/BUILD
@@ -4,15 +4,31 @@
licenses(["notice"])
-exports_files(["src/gflags_completions.sh", "COPYING.txt"])
+exports_files([
+ "src/gflags_completions.sh",
+ "COPYING.txt",
+])
config_setting(
name = "x64_windows",
values = {"cpu": "x64_windows"},
)
-load(":bazel/gflags.bzl", "gflags_sources", "gflags_library")
+load(":bazel/gflags.bzl", "gflags_library", "gflags_sources")
-(hdrs, srcs) = gflags_sources(namespace=["gflags", "google"])
-gflags_library(hdrs=hdrs, srcs=srcs, threads=0)
-gflags_library(hdrs=hdrs, srcs=srcs, threads=1)
+(hdrs, srcs) = gflags_sources(namespace = [
+ "gflags",
+ "google",
+])
+
+gflags_library(
+ srcs = srcs,
+ hdrs = hdrs,
+ threads = 0,
+)
+
+gflags_library(
+ srcs = srcs,
+ hdrs = hdrs,
+ threads = 1,
+)
diff --git a/third_party/google-benchmark/test/BUILD b/third_party/google-benchmark/test/BUILD
index 3f174c4..8d1ef8d 100644
--- a/third_party/google-benchmark/test/BUILD
+++ b/third_party/google-benchmark/test/BUILD
@@ -5,7 +5,7 @@
"-Wall",
"-Wextra",
"-Wshadow",
-# "-Wshorten-64-to-32",
+ # "-Wshorten-64-to-32",
"-Wfloat-equal",
"-fstrict-aliasing",
]
@@ -16,7 +16,6 @@
"donotoptimize_test.cc": ["-O3"],
})
-
TEST_ARGS = ["--benchmark_min_time=0.01"]
PER_SRC_TEST_ARGS = ({
@@ -36,24 +35,31 @@
)
[
- cc_test(
- name = test_src[:-len(".cc")],
- size = "small",
- srcs = [test_src],
- args = TEST_ARGS + PER_SRC_TEST_ARGS.get(test_src, []),
- copts = TEST_COPTS + PER_SRC_COPTS.get(test_src, []),
- deps = [
- ":output_test_helper",
- "//:benchmark",
- "//:benchmark_internal_headers",
- "@com_google_googletest//:gtest",
- ] + (
- ["@com_google_googletest//:gtest_main"] if (test_src[-len("gtest.cc"):] == "gtest.cc") else []
- ),
- # FIXME: Add support for assembly tests to bazel.
- # See Issue #556
- # https://github.com/google/benchmark/issues/556
- ) for test_src in glob(["*test.cc"], exclude = ["*_assembly_test.cc", "link_main_test.cc"])
+ cc_test(
+ name = test_src[:-len(".cc")],
+ size = "small",
+ srcs = [test_src],
+ args = TEST_ARGS + PER_SRC_TEST_ARGS.get(test_src, []),
+ copts = TEST_COPTS + PER_SRC_COPTS.get(test_src, []),
+ deps = [
+ ":output_test_helper",
+ "//:benchmark",
+ "//:benchmark_internal_headers",
+ "@com_google_googletest//:gtest",
+ ] + (
+ ["@com_google_googletest//:gtest_main"] if (test_src[-len("gtest.cc"):] == "gtest.cc") else []
+ ),
+ # FIXME: Add support for assembly tests to bazel.
+ # See Issue #556
+ # https://github.com/google/benchmark/issues/556
+ )
+ for test_src in glob(
+ ["*test.cc"],
+ exclude = [
+ "*_assembly_test.cc",
+ "link_main_test.cc",
+ ],
+ )
]
cc_test(
diff --git a/third_party/googletest/googletest/test/BUILD.bazel b/third_party/googletest/googletest/test/BUILD.bazel
index 7d03cac..68f6aef 100644
--- a/third_party/googletest/googletest/test/BUILD.bazel
+++ b/third_party/googletest/googletest/test/BUILD.bazel
@@ -157,7 +157,7 @@
"googletest-param-test2-test.cc",
],
copts = [
- "-Wno-unused-private-field",
+ "-Wno-unused-private-field",
],
deps = ["//third_party/googletest:gtest"],
)
diff --git a/third_party/gperftools/BUILD b/third_party/gperftools/BUILD
index f9cf185..25a8740 100644
--- a/third_party/gperftools/BUILD
+++ b/third_party/gperftools/BUILD
@@ -1,10 +1,10 @@
licenses(["notice"])
-load("//tools/build_rules:select.bzl", "cpu_select", "compiler_select")
+load("//tools/build_rules:select.bzl", "compiler_select", "cpu_select")
load("//tools/build_rules:empty_main.bzl", "empty_main_if_asan")
common_copts = [
-#Stuff from their Makefile.
+ #Stuff from their Makefile.
"-Wno-cast-align",
"-Wno-sign-compare",
"-fno-builtin-malloc",
@@ -20,7 +20,7 @@
"-fno-omit-frame-pointer",
"-DNDEBUG",
-#Stuff to make it work for us.
+ #Stuff to make it work for us.
"-Ithird_party/gperftools/src/",
"-Ithird_party/empty_config_h",
"-Wno-unused-parameter",
@@ -32,7 +32,7 @@
"-Wno-error=cast-align",
"-Wno-error=cast-qual",
-#Stuff pulled out of config.h.
+ #Stuff pulled out of config.h.
"-DHAVE_BUILTIN_EXPECT=1",
"-DHAVE_DECL_CFREE=1",
"-DHAVE_DECL_MEMALIGN=1",
@@ -136,6 +136,7 @@
"src/third_party/valgrind.h",
],
copts = common_copts,
+ includes = ["src"],
linkopts = [
"-lrt",
"-lpthread",
@@ -145,7 +146,6 @@
deps = [
"//third_party/empty_config_h",
],
- includes = ["src"],
alwayslink = True,
)
@@ -210,8 +210,8 @@
]),
copts = common_copts + [
"-fno-builtin",
-#Add this back in when we upgrade clang.
-#'-Wno-mismatched-new-delete',
+ #Add this back in when we upgrade clang.
+ #'-Wno-mismatched-new-delete',
],
deps = [
":tcmalloc",
diff --git a/third_party/hpipm/BUILD b/third_party/hpipm/BUILD
index 32729e1..f152d5a 100644
--- a/third_party/hpipm/BUILD
+++ b/third_party/hpipm/BUILD
@@ -2,33 +2,6 @@
cc_library(
name = "hpipm",
- includes = [ "include" ],
- hdrs = [
- "include/hpipm_s_core_qp_ipm_hard.h",
- "include/hpipm_d_dense_qp.h",
- "include/hpipm_s_ocp_qp.h",
- "include/hpipm_s_ocp_qp_sol.h",
- "include/hpipm_d_ocp_qp.h",
- "include/hpipm_d_ocp_qp_sol.h",
- "include/hpipm_s_dense_qp.h",
- "include/hpipm_d_ocp_qp_ipm_hard.h",
- "include/hpipm_s_dense_qp_sol.h",
- "include/hpipm_s_dense_qp_ipm_hard.h",
- "include/hpipm_s_core_qp_ipm_hard_aux.h",
- "include/hpipm_s_dense_qp_kkt.h",
- "include/hpipm_m_ocp_qp_ipm_hard.h",
- "include/hpipm_d_core_qp_ipm_hard.h",
- "include/hpipm_d_core_qp_ipm_hard_aux.h",
- "include/hpipm_d_dense_qp_sol.h",
- "include/hpipm_d_ocp_qp_kkt.h",
- "include/hpipm_d_cond.h",
- "include/hpipm_m_ocp_qp_kkt.h",
- "include/hpipm_d_cond_aux.h",
- "include/hpipm_s_ocp_qp_ipm_hard.h",
- "include/hpipm_s_ocp_qp_kkt.h",
- "include/hpipm_d_dense_qp_ipm_hard.h",
- "include/hpipm_d_dense_qp_kkt.h",
- ],
srcs = [
# dense qp
"dense_qp/d_dense_qp.c",
@@ -61,6 +34,39 @@
"cond/d_cond.c",
"cond/d_part_cond.c",
],
+ hdrs = [
+ "include/hpipm_d_cond.h",
+ "include/hpipm_d_cond_aux.h",
+ "include/hpipm_d_core_qp_ipm_hard.h",
+ "include/hpipm_d_core_qp_ipm_hard_aux.h",
+ "include/hpipm_d_dense_qp.h",
+ "include/hpipm_d_dense_qp_ipm_hard.h",
+ "include/hpipm_d_dense_qp_kkt.h",
+ "include/hpipm_d_dense_qp_sol.h",
+ "include/hpipm_d_ocp_qp.h",
+ "include/hpipm_d_ocp_qp_ipm_hard.h",
+ "include/hpipm_d_ocp_qp_kkt.h",
+ "include/hpipm_d_ocp_qp_sol.h",
+ "include/hpipm_m_ocp_qp_ipm_hard.h",
+ "include/hpipm_m_ocp_qp_kkt.h",
+ "include/hpipm_s_core_qp_ipm_hard.h",
+ "include/hpipm_s_core_qp_ipm_hard_aux.h",
+ "include/hpipm_s_dense_qp.h",
+ "include/hpipm_s_dense_qp_ipm_hard.h",
+ "include/hpipm_s_dense_qp_kkt.h",
+ "include/hpipm_s_dense_qp_sol.h",
+ "include/hpipm_s_ocp_qp.h",
+ "include/hpipm_s_ocp_qp_ipm_hard.h",
+ "include/hpipm_s_ocp_qp_kkt.h",
+ "include/hpipm_s_ocp_qp_sol.h",
+ ],
+ copts = [
+ "-Wno-pointer-arith",
+ "-Wno-unused-variable",
+ "-Wno-unused-parameter",
+ ],
+ includes = ["include"],
+ restricted_to = ["//tools:k8"],
textual_hdrs = [
"ocp_qp/x_ocp_qp_sol.c",
"dense_qp/x_dense_qp.c",
@@ -73,14 +79,8 @@
"ocp_qp/x_ocp_qp_kkt.c",
"dense_qp/x_dense_qp_kkt.c",
],
+ visibility = ["//visibility:public"],
deps = [
"//third_party/blasfeo",
],
- copts = [
- "-Wno-pointer-arith",
- "-Wno-unused-variable",
- "-Wno-unused-parameter",
- ],
- visibility = ["//visibility:public"],
- restricted_to = ["//tools:k8"],
)
diff --git a/third_party/libevent/BUILD b/third_party/libevent/BUILD
index 463b758..da05f3c 100644
--- a/third_party/libevent/BUILD
+++ b/third_party/libevent/BUILD
@@ -1,179 +1,176 @@
-licenses(['notice'])
+licenses(["notice"])
-load('//tools/build_rules:select.bzl', 'compiler_select', 'address_size_select')
+load("//tools/build_rules:select.bzl", "address_size_select", "compiler_select")
cc_library(
- name = 'libevent',
- visibility = ['//visibility:public'],
- srcs = [
- 'select.c',
- 'poll.c',
- 'epoll.c',
- 'signal.c',
+ name = "libevent",
+ srcs = [
+ "select.c",
+ "poll.c",
+ "epoll.c",
+ "signal.c",
+ "event.c",
+ "evthread.c",
+ "buffer.c",
+ "bufferevent.c",
+ "bufferevent_sock.c",
+ "bufferevent_filter.c",
+ "bufferevent_pair.c",
+ "listener.c",
+ "bufferevent_ratelim.c",
+ "evmap.c",
+ "log.c",
+ "evutil.c",
+ "evutil_rand.c",
+ "strlcpy.c",
+ "event_tagging.c",
+ "http.c",
+ "evdns.c",
+ "evrpc.c",
+ "evthread_pthread.c",
- 'event.c',
- 'evthread.c',
- 'buffer.c',
- 'bufferevent.c',
- 'bufferevent_sock.c',
- 'bufferevent_filter.c',
- 'bufferevent_pair.c',
- 'listener.c',
- 'bufferevent_ratelim.c',
- 'evmap.c',
- 'log.c',
- 'evutil.c',
- 'evutil_rand.c',
- 'strlcpy.c',
-
- 'event_tagging.c',
- 'http.c',
- 'evdns.c',
- 'evrpc.c',
-
- 'evthread_pthread.c',
-
- #'compat/sys/queue.h',
- ] + glob([
- '*-internal.h',
- 'include/event2/*.h',
- ]),
- textual_hdrs = [
- 'arc4random.c',
- ],
- hdrs = [
- 'event.h',
- 'evhttp.h',
- 'evdns.h',
- 'evrpc.h',
- 'evutil.h',
- ],
- includes = ['.', 'include'],
- defines = [
- '_EVENT_HAVE_ARPA_INET_H=1',
- '_EVENT_HAVE_CLOCK_GETTIME=1',
- '_EVENT_HAVE_DECL_CTL_KERN=1',
- '_EVENT_HAVE_DECL_KERN_ARND=0',
- '_EVENT_HAVE_DECL_KERN_RANDOM=1',
- '_EVENT_HAVE_DECL_RANDOM_UUID=1',
- '_EVENT_HAVE_DLFCN_H=1',
- '_EVENT_HAVE_EPOLL=1',
- '_EVENT_HAVE_EPOLL_CTL=1',
- '_EVENT_HAVE_EVENTFD=1',
- '_EVENT_HAVE_FCNTL=1',
- '_EVENT_HAVE_FCNTL_H=1',
- '_EVENT_HAVE_FD_MASK=1',
- '_EVENT_HAVE_GETADDRINFO=1',
- '_EVENT_HAVE_GETEGID=1',
- '_EVENT_HAVE_GETEUID=1',
- '_EVENT_HAVE_GETNAMEINFO=1',
- '_EVENT_HAVE_GETPROTOBYNUMBER=1',
- '_EVENT_HAVE_GETTIMEOFDAY=1',
- '_EVENT_HAVE_INET_ATON=1',
- '_EVENT_HAVE_INET_NTOP=1',
- '_EVENT_HAVE_INET_PTON=1',
- '_EVENT_HAVE_INTTYPES_H=1',
- '_EVENT_HAVE_MEMORY_H=1',
- '_EVENT_HAVE_MMAP=1',
- '_EVENT_HAVE_NETDB_H=1',
- '_EVENT_HAVE_NETINET_IN_H=1',
- '_EVENT_HAVE_PIPE=1',
- '_EVENT_HAVE_POLL=1',
- '_EVENT_HAVE_POLL_H=1',
- '_EVENT_HAVE_PTHREADS=1',
- '_EVENT_HAVE_PUTENV=1',
- '_EVENT_HAVE_SA_FAMILY_T=1',
- '_EVENT_HAVE_SELECT=1',
- '_EVENT_HAVE_SENDFILE=1',
- '_EVENT_HAVE_SETENV=1',
- '_EVENT_HAVE_SETFD=1',
- '_EVENT_HAVE_SIGACTION=1',
- '_EVENT_HAVE_SIGNAL=1',
- '_EVENT_HAVE_SPLICE=1',
- '_EVENT_HAVE_STDARG_H=1',
- '_EVENT_HAVE_STDDEF_H=1',
- '_EVENT_HAVE_STDINT_H=1',
- '_EVENT_HAVE_STDLIB_H=1',
- '_EVENT_HAVE_STRINGS_H=1',
- '_EVENT_HAVE_STRING_H=1',
- '_EVENT_HAVE_STRSEP=1',
- '_EVENT_HAVE_STRTOK_R=1',
- '_EVENT_HAVE_STRTOLL=1',
- '_EVENT_HAVE_STRUCT_ADDRINFO=1',
- '_EVENT_HAVE_STRUCT_IN6_ADDR=1',
- '_EVENT_HAVE_STRUCT_IN6_ADDR_S6_ADDR16=1',
- '_EVENT_HAVE_STRUCT_IN6_ADDR_S6_ADDR32=1',
- '_EVENT_HAVE_STRUCT_SOCKADDR_IN6=1',
- '_EVENT_HAVE_STRUCT_SOCKADDR_STORAGE=1',
- '_EVENT_HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=1',
- '_EVENT_HAVE_SYSCTL=1',
- '_EVENT_HAVE_SYS_EPOLL_H=1',
- '_EVENT_HAVE_SYS_EVENTFD_H=1',
- '_EVENT_HAVE_SYS_IOCTL_H=1',
- '_EVENT_HAVE_SYS_MMAN_H=1',
- '_EVENT_HAVE_SYS_PARAM_H=1',
- '_EVENT_HAVE_SYS_QUEUE_H=1',
- '_EVENT_HAVE_SYS_SELECT_H=1',
- '_EVENT_HAVE_SYS_SENDFILE_H=1',
- '_EVENT_HAVE_SYS_SOCKET_H=1',
- '_EVENT_HAVE_SYS_STAT_H=1',
- '_EVENT_HAVE_SYS_SYSCTL_H=1',
- '_EVENT_HAVE_SYS_TIME_H=1',
- '_EVENT_HAVE_SYS_TYPES_H=1',
- '_EVENT_HAVE_SYS_UIO_H=1',
- '_EVENT_HAVE_SYS_WAIT_H=1',
- '_EVENT_HAVE_TIMERADD=1',
- '_EVENT_HAVE_TIMERCLEAR=1',
- '_EVENT_HAVE_TIMERCMP=1',
- '_EVENT_HAVE_TIMERISSET=1',
- '_EVENT_HAVE_UINT16_T=1',
- '_EVENT_HAVE_UINT32_T=1',
- '_EVENT_HAVE_UINT64_T=1',
- '_EVENT_HAVE_UINT8_T=1',
- '_EVENT_HAVE_UINTPTR_T=1',
- '_EVENT_HAVE_UMASK=1',
- '_EVENT_HAVE_UNISTD_H=1',
- '_EVENT_HAVE_UNSETENV=1',
- '_EVENT_HAVE_VASPRINTF=1',
- '_EVENT_SIZEOF_INT=4',
- '_EVENT_SIZEOF_LONG=8',
- '_EVENT_SIZEOF_SHORT=2',
- '_EVENT_STDC_HEADERS=1',
- '_EVENT_TIME_WITH_SYS_TIME=1',
-
- '_EVENT_NUMERIC_VERSION=0x02001600',
- '_EVENT_VERSION=\\"2.0.22-stable\\"',
- ] + address_size_select({
- '32': [
- '_EVENT_SIZEOF_LONG_LONG=4',
- '_EVENT_SIZEOF_OFF_T=4',
- '_EVENT_SIZEOF_PTHREAD_T=4',
- '_EVENT_SIZEOF_SIZE_T=4',
- '_EVENT_SIZEOF_VOID_P=4',
+ #'compat/sys/queue.h',
+ ] + glob([
+ "*-internal.h",
+ "include/event2/*.h",
+ ]),
+ hdrs = [
+ "evdns.h",
+ "event.h",
+ "evhttp.h",
+ "evrpc.h",
+ "evutil.h",
],
- '64': [
- '_EVENT_SIZEOF_LONG_LONG=8',
- '_EVENT_SIZEOF_OFF_T=8',
- '_EVENT_SIZEOF_PTHREAD_T=8',
- '_EVENT_SIZEOF_SIZE_T=8',
- '_EVENT_SIZEOF_VOID_P=8',
+ copts = [
+ "-Ithird_party/libevent/compat",
+ "-Ithird_party/libevent/include",
+
+ # TODO(Brian): Fix the places in the code it uses char* as an intermediate
+ # type while doing offsetof stuff.
+ "-Wno-cast-align",
+ "-Wno-unused-parameter",
+ "-Wno-format-nonliteral",
+ "-Wno-cast-qual",
+ "-Wno-unused-function",
+ ] + compiler_select({
+ "gcc": [],
+ "clang": ["-Wno-incompatible-pointer-types-discards-qualifiers"],
+ }),
+ defines = [
+ "_EVENT_HAVE_ARPA_INET_H=1",
+ "_EVENT_HAVE_CLOCK_GETTIME=1",
+ "_EVENT_HAVE_DECL_CTL_KERN=1",
+ "_EVENT_HAVE_DECL_KERN_ARND=0",
+ "_EVENT_HAVE_DECL_KERN_RANDOM=1",
+ "_EVENT_HAVE_DECL_RANDOM_UUID=1",
+ "_EVENT_HAVE_DLFCN_H=1",
+ "_EVENT_HAVE_EPOLL=1",
+ "_EVENT_HAVE_EPOLL_CTL=1",
+ "_EVENT_HAVE_EVENTFD=1",
+ "_EVENT_HAVE_FCNTL=1",
+ "_EVENT_HAVE_FCNTL_H=1",
+ "_EVENT_HAVE_FD_MASK=1",
+ "_EVENT_HAVE_GETADDRINFO=1",
+ "_EVENT_HAVE_GETEGID=1",
+ "_EVENT_HAVE_GETEUID=1",
+ "_EVENT_HAVE_GETNAMEINFO=1",
+ "_EVENT_HAVE_GETPROTOBYNUMBER=1",
+ "_EVENT_HAVE_GETTIMEOFDAY=1",
+ "_EVENT_HAVE_INET_ATON=1",
+ "_EVENT_HAVE_INET_NTOP=1",
+ "_EVENT_HAVE_INET_PTON=1",
+ "_EVENT_HAVE_INTTYPES_H=1",
+ "_EVENT_HAVE_MEMORY_H=1",
+ "_EVENT_HAVE_MMAP=1",
+ "_EVENT_HAVE_NETDB_H=1",
+ "_EVENT_HAVE_NETINET_IN_H=1",
+ "_EVENT_HAVE_PIPE=1",
+ "_EVENT_HAVE_POLL=1",
+ "_EVENT_HAVE_POLL_H=1",
+ "_EVENT_HAVE_PTHREADS=1",
+ "_EVENT_HAVE_PUTENV=1",
+ "_EVENT_HAVE_SA_FAMILY_T=1",
+ "_EVENT_HAVE_SELECT=1",
+ "_EVENT_HAVE_SENDFILE=1",
+ "_EVENT_HAVE_SETENV=1",
+ "_EVENT_HAVE_SETFD=1",
+ "_EVENT_HAVE_SIGACTION=1",
+ "_EVENT_HAVE_SIGNAL=1",
+ "_EVENT_HAVE_SPLICE=1",
+ "_EVENT_HAVE_STDARG_H=1",
+ "_EVENT_HAVE_STDDEF_H=1",
+ "_EVENT_HAVE_STDINT_H=1",
+ "_EVENT_HAVE_STDLIB_H=1",
+ "_EVENT_HAVE_STRINGS_H=1",
+ "_EVENT_HAVE_STRING_H=1",
+ "_EVENT_HAVE_STRSEP=1",
+ "_EVENT_HAVE_STRTOK_R=1",
+ "_EVENT_HAVE_STRTOLL=1",
+ "_EVENT_HAVE_STRUCT_ADDRINFO=1",
+ "_EVENT_HAVE_STRUCT_IN6_ADDR=1",
+ "_EVENT_HAVE_STRUCT_IN6_ADDR_S6_ADDR16=1",
+ "_EVENT_HAVE_STRUCT_IN6_ADDR_S6_ADDR32=1",
+ "_EVENT_HAVE_STRUCT_SOCKADDR_IN6=1",
+ "_EVENT_HAVE_STRUCT_SOCKADDR_STORAGE=1",
+ "_EVENT_HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=1",
+ "_EVENT_HAVE_SYSCTL=1",
+ "_EVENT_HAVE_SYS_EPOLL_H=1",
+ "_EVENT_HAVE_SYS_EVENTFD_H=1",
+ "_EVENT_HAVE_SYS_IOCTL_H=1",
+ "_EVENT_HAVE_SYS_MMAN_H=1",
+ "_EVENT_HAVE_SYS_PARAM_H=1",
+ "_EVENT_HAVE_SYS_QUEUE_H=1",
+ "_EVENT_HAVE_SYS_SELECT_H=1",
+ "_EVENT_HAVE_SYS_SENDFILE_H=1",
+ "_EVENT_HAVE_SYS_SOCKET_H=1",
+ "_EVENT_HAVE_SYS_STAT_H=1",
+ "_EVENT_HAVE_SYS_SYSCTL_H=1",
+ "_EVENT_HAVE_SYS_TIME_H=1",
+ "_EVENT_HAVE_SYS_TYPES_H=1",
+ "_EVENT_HAVE_SYS_UIO_H=1",
+ "_EVENT_HAVE_SYS_WAIT_H=1",
+ "_EVENT_HAVE_TIMERADD=1",
+ "_EVENT_HAVE_TIMERCLEAR=1",
+ "_EVENT_HAVE_TIMERCMP=1",
+ "_EVENT_HAVE_TIMERISSET=1",
+ "_EVENT_HAVE_UINT16_T=1",
+ "_EVENT_HAVE_UINT32_T=1",
+ "_EVENT_HAVE_UINT64_T=1",
+ "_EVENT_HAVE_UINT8_T=1",
+ "_EVENT_HAVE_UINTPTR_T=1",
+ "_EVENT_HAVE_UMASK=1",
+ "_EVENT_HAVE_UNISTD_H=1",
+ "_EVENT_HAVE_UNSETENV=1",
+ "_EVENT_HAVE_VASPRINTF=1",
+ "_EVENT_SIZEOF_INT=4",
+ "_EVENT_SIZEOF_LONG=8",
+ "_EVENT_SIZEOF_SHORT=2",
+ "_EVENT_STDC_HEADERS=1",
+ "_EVENT_TIME_WITH_SYS_TIME=1",
+ "_EVENT_NUMERIC_VERSION=0x02001600",
+ '_EVENT_VERSION=\\"2.0.22-stable\\"',
+ ] + address_size_select({
+ "32": [
+ "_EVENT_SIZEOF_LONG_LONG=4",
+ "_EVENT_SIZEOF_OFF_T=4",
+ "_EVENT_SIZEOF_PTHREAD_T=4",
+ "_EVENT_SIZEOF_SIZE_T=4",
+ "_EVENT_SIZEOF_VOID_P=4",
+ ],
+ "64": [
+ "_EVENT_SIZEOF_LONG_LONG=8",
+ "_EVENT_SIZEOF_OFF_T=8",
+ "_EVENT_SIZEOF_PTHREAD_T=8",
+ "_EVENT_SIZEOF_SIZE_T=8",
+ "_EVENT_SIZEOF_VOID_P=8",
+ ],
+ }),
+ includes = [
+ ".",
+ "include",
],
- }),
-
- copts = [
- '-Ithird_party/libevent/compat',
- '-Ithird_party/libevent/include',
-
- # TODO(Brian): Fix the places in the code it uses char* as an intermediate
- # type while doing offsetof stuff.
- '-Wno-cast-align',
-
- '-Wno-unused-parameter',
- '-Wno-format-nonliteral',
- '-Wno-cast-qual',
- '-Wno-unused-function',
- ] + compiler_select({
- 'gcc': [],
- 'clang': ['-Wno-incompatible-pointer-types-discards-qualifiers']
- }),
- )
+ textual_hdrs = [
+ "arc4random.c",
+ ],
+ visibility = ["//visibility:public"],
+)
diff --git a/third_party/matplotlib-cpp/BUILD b/third_party/matplotlib-cpp/BUILD
index 3d3959c..85249c0 100644
--- a/third_party/matplotlib-cpp/BUILD
+++ b/third_party/matplotlib-cpp/BUILD
@@ -3,13 +3,13 @@
cc_library(
name = "matplotlib-cpp",
hdrs = [
- "matplotlibcpp.h"
+ "matplotlibcpp.h",
],
+ restricted_to = ["//tools:k8"],
+ visibility = ["//visibility:public"],
deps = [
"@python_repo//:python2.7_lib",
],
- visibility = ["//visibility:public"],
- restricted_to = ["//tools:k8"],
)
cc_binary(
@@ -17,10 +17,10 @@
srcs = [
"examples/basic.cpp",
],
+ restricted_to = ["//tools:k8"],
deps = [
"matplotlib-cpp",
],
- restricted_to = ["//tools:k8"],
)
cc_binary(
@@ -28,8 +28,8 @@
srcs = [
"examples/animation.cpp",
],
+ restricted_to = ["//tools:k8"],
deps = [
"matplotlib-cpp",
],
- restricted_to = ["//tools:k8"],
)
diff --git a/third_party/protobuf/BUILD b/third_party/protobuf/BUILD
index ea13eed..9b5c4ff 100644
--- a/third_party/protobuf/BUILD
+++ b/third_party/protobuf/BUILD
@@ -44,12 +44,12 @@
load(
":protobuf.bzl",
+ "COPTS",
"cc_proto_library",
- "py_proto_library",
"internal_copied_filegroup",
"internal_gen_well_known_protos_java",
"internal_protobuf_py_tests",
- "COPTS",
+ "py_proto_library",
)
cc_library(
diff --git a/third_party/protobuf/six.BUILD b/third_party/protobuf/six.BUILD
index fb0b360..b18cd78 100644
--- a/third_party/protobuf/six.BUILD
+++ b/third_party/protobuf/six.BUILD
@@ -1,13 +1,13 @@
genrule(
- name = "copy_six",
- srcs = ["six-1.10.0/six.py"],
- outs = ["six.py"],
- cmd = "cp $< $(@)",
+ name = "copy_six",
+ srcs = ["six-1.10.0/six.py"],
+ outs = ["six.py"],
+ cmd = "cp $< $(@)",
)
py_library(
- name = "six",
- srcs = ["six.py"],
- srcs_version = "PY2AND3",
- visibility = ["//visibility:public"],
+ name = "six",
+ srcs = ["six.py"],
+ srcs_version = "PY2AND3",
+ visibility = ["//visibility:public"],
)
diff --git a/tools/actions/BUILD b/tools/actions/BUILD
index 2362307..46c9541 100644
--- a/tools/actions/BUILD
+++ b/tools/actions/BUILD
@@ -1,30 +1,30 @@
py_binary(
- name = 'generate_compile_command',
- srcs = [
- 'generate_compile_command.py',
- ],
- deps = [
- '//third_party/bazel:extra_actions_proto_py',
- ],
+ name = "generate_compile_command",
+ srcs = [
+ "generate_compile_command.py",
+ ],
+ deps = [
+ "//third_party/bazel:extra_actions_proto_py",
+ ],
)
action_listener(
- name = 'generate_compile_commands_listener',
- visibility = ['//visibility:public'],
- mnemonics = [
- 'CppCompile',
- ],
- extra_actions = [':generate_compile_commands_action'],
+ name = "generate_compile_commands_listener",
+ extra_actions = [":generate_compile_commands_action"],
+ mnemonics = [
+ "CppCompile",
+ ],
+ visibility = ["//visibility:public"],
)
extra_action(
- name = 'generate_compile_commands_action',
- tools = [
- ':generate_compile_command',
- ],
- out_templates = [
- '$(ACTION_ID)_compile_command',
- ],
- cmd = '$(location :generate_compile_command) $(EXTRA_ACTION_FILE)' +
- ' $(output $(ACTION_ID)_compile_command)',
+ name = "generate_compile_commands_action",
+ cmd = "$(location :generate_compile_command) $(EXTRA_ACTION_FILE)" +
+ " $(output $(ACTION_ID)_compile_command)",
+ out_templates = [
+ "$(ACTION_ID)_compile_command",
+ ],
+ tools = [
+ ":generate_compile_command",
+ ],
)
diff --git a/tools/cpp/arm-frc-linux-gnueabi/BUILD b/tools/cpp/arm-frc-linux-gnueabi/BUILD
index 95000c3..669da48 100644
--- a/tools/cpp/arm-frc-linux-gnueabi/BUILD
+++ b/tools/cpp/arm-frc-linux-gnueabi/BUILD
@@ -1,86 +1,86 @@
-package(default_visibility = ['//tools/cpp:__pkg__'])
+package(default_visibility = ["//tools/cpp:__pkg__"])
filegroup(
- name = 'gcc',
- srcs = [
- '@arm_frc_linux_gnueabi_repo//:gcc',
- 'arm-frc-linux-gnueabi-gcc',
- ],
+ name = "gcc",
+ srcs = [
+ "arm-frc-linux-gnueabi-gcc",
+ "@arm_frc_linux_gnueabi_repo//:gcc",
+ ],
)
filegroup(
- name = 'ar',
- srcs = [
- '@arm_frc_linux_gnueabi_repo//:ar',
- 'arm-frc-linux-gnueabi-ar',
- ],
+ name = "ar",
+ srcs = [
+ "arm-frc-linux-gnueabi-ar",
+ "@arm_frc_linux_gnueabi_repo//:ar",
+ ],
)
filegroup(
- name = 'as',
- srcs = [
- '@arm_frc_linux_gnueabi_repo//:as',
- 'arm-frc-linux-gnueabi-as',
- ],
+ name = "as",
+ srcs = [
+ "arm-frc-linux-gnueabi-as",
+ "@arm_frc_linux_gnueabi_repo//:as",
+ ],
)
filegroup(
- name = 'ld',
- srcs = [
- '@arm_frc_linux_gnueabi_repo//:ld',
- 'arm-frc-linux-gnueabi-ld',
- ],
+ name = "ld",
+ srcs = [
+ "arm-frc-linux-gnueabi-ld",
+ "@arm_frc_linux_gnueabi_repo//:ld",
+ ],
)
filegroup(
- name = 'nm',
- srcs = [
- '@arm_frc_linux_gnueabi_repo//:nm',
- 'arm-frc-linux-gnueabi-nm',
- ],
+ name = "nm",
+ srcs = [
+ "arm-frc-linux-gnueabi-nm",
+ "@arm_frc_linux_gnueabi_repo//:nm",
+ ],
)
filegroup(
- name = 'objcopy',
- srcs = [
- '@arm_frc_linux_gnueabi_repo//:objcopy',
- 'arm-frc-linux-gnueabi-objcopy',
- ],
+ name = "objcopy",
+ srcs = [
+ "arm-frc-linux-gnueabi-objcopy",
+ "@arm_frc_linux_gnueabi_repo//:objcopy",
+ ],
)
filegroup(
- name = 'objdump',
- srcs = [
- '@arm_frc_linux_gnueabi_repo//:objdump',
- 'arm-frc-linux-gnueabi-objdump',
- ],
+ name = "objdump",
+ srcs = [
+ "arm-frc-linux-gnueabi-objdump",
+ "@arm_frc_linux_gnueabi_repo//:objdump",
+ ],
)
filegroup(
- name = 'strip',
- srcs = [
- '@arm_frc_linux_gnueabi_repo//:strip',
- 'arm-frc-linux-gnueabi-strip',
- ],
+ name = "strip",
+ srcs = [
+ "arm-frc-linux-gnueabi-strip",
+ "@arm_frc_linux_gnueabi_repo//:strip",
+ ],
)
filegroup(
- name = 'tool-wrappers',
- srcs = [
- ':gcc',
- ':ar',
- ':as',
- ':ld',
- ':nm',
- ':objcopy',
- ':objdump',
- ':strip',
- ],
+ name = "tool-wrappers",
+ srcs = [
+ ":ar",
+ ":as",
+ ":gcc",
+ ":ld",
+ ":nm",
+ ":objcopy",
+ ":objdump",
+ ":strip",
+ ],
)
filegroup(
- name = 'libs',
- srcs = glob([
- 'libs/**',
- ]),
+ name = "libs",
+ srcs = glob([
+ "libs/**",
+ ]),
)
diff --git a/y2014/BUILD b/y2014/BUILD
index 1e1384b..b2617da 100644
--- a/y2014/BUILD
+++ b/y2014/BUILD
@@ -11,13 +11,13 @@
],
visibility = ["//visibility:public"],
deps = [
- "@com_google_absl//absl/base",
"//aos/logging",
"//aos/mutex",
"//aos/network:team_number",
"//frc971:shifter_hall_effect",
"//frc971/control_loops:state_feedback_loop",
"//y2014/control_loops/drivetrain:polydrivetrain_plants",
+ "@com_google_absl//absl/base",
],
)
diff --git a/y2016/queues/BUILD b/y2016/queues/BUILD
index 79ec2d9..5c51a41 100644
--- a/y2016/queues/BUILD
+++ b/y2016/queues/BUILD
@@ -1,4 +1,4 @@
-package(default_visibility = ['//visibility:public'])
+package(default_visibility = ["//visibility:public"])
load("@com_github_google_flatbuffers//:build_defs.bzl", "flatbuffer_cc_library")
diff --git a/y2019/control_loops/python/BUILD b/y2019/control_loops/python/BUILD
index b038507..334bfd5 100644
--- a/y2019/control_loops/python/BUILD
+++ b/y2019/control_loops/python/BUILD
@@ -115,7 +115,7 @@
":python_init",
"//external:python-gflags",
"//external:python-glog",
- "//frc971/control_loops/python:linear_system",
"//frc971/control_loops/python:controls",
+ "//frc971/control_loops/python:linear_system",
],
)
diff --git a/y2019/control_loops/superstructure/stilts/BUILD b/y2019/control_loops/superstructure/stilts/BUILD
index 6beea39..a9c556e 100644
--- a/y2019/control_loops/superstructure/stilts/BUILD
+++ b/y2019/control_loops/superstructure/stilts/BUILD
@@ -17,12 +17,12 @@
cc_library(
name = "stilts_plants",
srcs = [
- "stilts_plant.cc",
"integral_stilts_plant.cc",
+ "stilts_plant.cc",
],
hdrs = [
- "stilts_plant.h",
"integral_stilts_plant.h",
+ "stilts_plant.h",
],
visibility = ["//visibility:public"],
deps = [
diff --git a/y2019/control_loops/superstructure/wrist/BUILD b/y2019/control_loops/superstructure/wrist/BUILD
index 3d007be..e960b1a 100644
--- a/y2019/control_loops/superstructure/wrist/BUILD
+++ b/y2019/control_loops/superstructure/wrist/BUILD
@@ -17,12 +17,12 @@
cc_library(
name = "wrist_plants",
srcs = [
- "wrist_plant.cc",
"integral_wrist_plant.cc",
+ "wrist_plant.cc",
],
hdrs = [
- "wrist_plant.h",
"integral_wrist_plant.h",
+ "wrist_plant.h",
],
visibility = ["//visibility:public"],
deps = [