blob: ce3df07d1c4c9a99984d0f07f88d68d0721bb625 [file] [log] [blame]
Comran Morsheddaf69232016-04-20 22:25:37 -07001load('/aos/externals/seasocks/gen_embedded', 'gen_embedded')
Comran Morshed38967332016-04-23 19:26:48 -07002load('/aos/downloader/downloader', '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',
27 '//aos/linux_code:init',
28 '//aos/common/logging',
29 '//aos/common/util:phased_loop',
30 '//aos/common: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)