blob: 31038b567f434fa8715a07a71b5b43e1bb886cce [file] [log] [blame]
John Park398c74a2018-10-20 21:17:39 -07001load('//aos/seasocks:gen_embedded.bzl', 'gen_embedded')
Austin Schuh4f857292018-02-15 23:42:04 -08002load('//aos/downloader:downloader.bzl', 'aos_downloader_dir')
Comran Morsheddaf69232016-04-20 22:25:37 -07003
4gen_embedded(
5 name = 'gen_embedded',
Brian Silvermanb200c172017-01-02 17:35:35 -08006 srcs = glob(['www_defaults/**/*'], exclude=['www/**/*']),
Comran Morsheddaf69232016-04-20 22:25:37 -07007)
8
Comran Morshed38967332016-04-23 19:26:48 -07009aos_downloader_dir(
10 name = 'www_files',
11 visibility = ['//visibility:public'],
12 srcs = glob([
13 'www/**/*',
14 ]),
15 dir = "www",
16)
17
Comran Morsheddaf69232016-04-20 22:25:37 -070018cc_binary(
19 name = 'dashboard',
20 visibility = ['//visibility:public'],
21 srcs = [
22 'dashboard.cc',
23 'dashboard.h',
24 ],
25 deps = [
26 ':gen_embedded',
John Park398c74a2018-10-20 21:17:39 -070027 '//aos:init',
John Park33858a32018-09-28 23:05:48 -070028 '//aos/logging',
29 '//aos/util:phased_loop',
30 '//aos/time:time',
Philipp Schrader4bd29b12017-02-22 04:42:27 +000031 '//frc971/autonomous:auto_queue',
Comran Morsheddaf69232016-04-20 22:25:37 -070032 '//third_party/seasocks',
Comran Morsheddaf69232016-04-20 22:25:37 -070033 '//y2016/vision:vision_queue',
34 '//y2016/control_loops/superstructure:superstructure_queue',
35 '//y2016/queues:ball_detector',
36 ],
37)