Depend on config rule instead of file.
The aos_config rule used to require you to depend on {name}.json to get
the output. That was weird and hid private/testonly/etc. Instead,
depend on the rule directly.
Change-Id: I1596a6c1f44b246a0db1bbc562468530a0b69614
diff --git a/y2017/control_loops/superstructure/BUILD b/y2017/control_loops/superstructure/BUILD
index 535475d..7107e23 100644
--- a/y2017/control_loops/superstructure/BUILD
+++ b/y2017/control_loops/superstructure/BUILD
@@ -73,7 +73,7 @@
srcs = [
"superstructure_lib_test.cc",
],
- data = ["//y2017:config.json"],
+ data = ["//y2017:config"],
deps = [
":superstructure_goal_fbs",
":superstructure_lib",
@@ -128,7 +128,7 @@
srcs = [
"vision_time_adjuster_test.cc",
],
- data = ["//y2017:config.json"],
+ data = ["//y2017:config"],
deps = [
":vision_time_adjuster",
"//aos/events:simulated_event_loop",