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/y2016/queues/BUILD b/y2016/queues/BUILD
index 0c5d97b..79ec2d9 100644
--- a/y2016/queues/BUILD
+++ b/y2016/queues/BUILD
@@ -1,17 +1,11 @@
package(default_visibility = ['//visibility:public'])
-load('//aos/build:queues.bzl', 'queue_library')
+load("@com_github_google_flatbuffers//:build_defs.bzl", "flatbuffer_cc_library")
-queue_library(
- name = 'ball_detector',
- srcs = [
- 'ball_detector.q',
- ],
-)
-
-queue_library(
- name = 'profile_params',
- srcs = [
- 'profile_params.q',
- ],
+flatbuffer_cc_library(
+ name = "ball_detector_fbs",
+ srcs = [
+ "ball_detector.fbs",
+ ],
+ gen_reflections = 1,
)