blob: f3998a1c978ed438481c4defa370f1caaf6a4da7 [file] [log] [blame]
Austin Schuh86cd5722019-04-14 13:34:20 -07001load("//aos/seasocks:gen_embedded.bzl", "gen_embedded")
2load("//aos/downloader:downloader.bzl", "aos_downloader_dir")
Comran Morsheddaf69232016-04-20 22:25:37 -07003
4gen_embedded(
Austin Schuh86cd5722019-04-14 13:34:20 -07005 name = "gen_embedded",
6 srcs = glob(
7 ["www_defaults/**/*"],
8 exclude = ["www/**/*"],
9 ),
Comran Morsheddaf69232016-04-20 22:25:37 -070010)
11
Comran Morshed38967332016-04-23 19:26:48 -070012aos_downloader_dir(
Austin Schuh86cd5722019-04-14 13:34:20 -070013 name = "www_files",
14 srcs = glob([
15 "www/**/*",
16 ]),
17 dir = "www",
18 visibility = ["//visibility:public"],
Comran Morshed38967332016-04-23 19:26:48 -070019)
20
Comran Morsheddaf69232016-04-20 22:25:37 -070021cc_binary(
Austin Schuh86cd5722019-04-14 13:34:20 -070022 name = "dashboard",
23 srcs = [
24 "dashboard.cc",
25 "dashboard.h",
26 ],
27 visibility = ["//visibility:public"],
28 deps = [
29 ":gen_embedded",
30 "//aos:init",
Austin Schuh1bf8a212019-05-26 22:13:14 -070031 "//aos/events:event-loop",
32 "//aos/events:shm-event-loop",
Austin Schuh86cd5722019-04-14 13:34:20 -070033 "//aos/logging",
34 "//aos/seasocks:seasocks_logger",
35 "//aos/time",
36 "//aos/util:phased_loop",
37 "//frc971/autonomous:auto_queue",
38 "//third_party/seasocks",
39 "//y2016/control_loops/superstructure:superstructure_queue",
40 "//y2016/queues:ball_detector",
41 "//y2016/vision:vision_queue",
42 ],
Comran Morsheddaf69232016-04-20 22:25:37 -070043)