Convert aos over to flatbuffers
Everything builds, and all the tests pass. I suspect that some entries
are missing from the config files, but those will be found pretty
quickly on startup.
There is no logging or live introspection of queue messages.
Change-Id: I496ee01ed68f202c7851bed7e8786cee30df29f5
diff --git a/frc971/downloader.bzl b/frc971/downloader.bzl
index 2967127..842398f58 100644
--- a/frc971/downloader.bzl
+++ b/frc971/downloader.bzl
@@ -1,37 +1,37 @@
-load('//aos/downloader:downloader.bzl', 'aos_downloader')
-load('//tools/build_rules:label.bzl', 'expand_label')
+load("//frc971/downloader:downloader.bzl", "aos_downloader")
+load("//tools/build_rules:label.bzl", "expand_label")
-def robot_downloader(start_binaries, binaries=[], dirs=None, default_target=None):
- '''Sets up the standard robot download targets.
+def robot_downloader(start_binaries, binaries = [], dirs = None, default_target = None):
+ """Sets up the standard robot download targets.
- Attrs:
- start_binaries: A list of cc_binary targets to start on the robot.
- dirs: Passed through to aos_downloader.
- default_target: Passed through to aos_downloader.
- '''
+ Attrs:
+ start_binaries: A list of cc_binary targets to start on the robot.
+ dirs: Passed through to aos_downloader.
+ default_target: Passed through to aos_downloader.
+ """
- aos_downloader(
- name = 'download',
- start_srcs = [
- '//aos:prime_start_binaries',
- ] + start_binaries,
- srcs = [
- '//aos:prime_binaries',
- ] + binaries,
- dirs = dirs,
- default_target = default_target,
- restricted_to = ['//tools:roborio'],
- )
+ aos_downloader(
+ name = "download",
+ start_srcs = [
+ "//aos:prime_start_binaries",
+ ] + start_binaries,
+ srcs = [
+ "//aos:prime_binaries",
+ ] + binaries,
+ dirs = dirs,
+ default_target = default_target,
+ restricted_to = ["//tools:roborio"],
+ )
- aos_downloader(
- name = 'download_stripped',
- start_srcs = [
- '//aos:prime_start_binaries_stripped',
- ] + [expand_label(binary) + ".stripped" for binary in start_binaries],
- srcs = [
- '//aos:prime_binaries_stripped',
- ] + [expand_label(binary) + ".stripped" for binary in binaries],
- dirs = dirs,
- default_target = default_target,
- restricted_to = ['//tools:roborio'],
- )
+ aos_downloader(
+ name = "download_stripped",
+ start_srcs = [
+ "//aos:prime_start_binaries_stripped",
+ ] + [expand_label(binary) + ".stripped" for binary in start_binaries],
+ srcs = [
+ "//aos:prime_binaries_stripped",
+ ] + [expand_label(binary) + ".stripped" for binary in binaries],
+ dirs = dirs,
+ default_target = default_target,
+ restricted_to = ["//tools:roborio"],
+ )