Comran Morshed | daf6923 | 2016-04-20 22:25:37 -0700 | [diff] [blame] | 1 | load('/aos/externals/seasocks/gen_embedded', 'gen_embedded') |
Comran Morshed | 3896733 | 2016-04-23 19:26:48 -0700 | [diff] [blame^] | 2 | load('/aos/downloader/downloader', 'aos_downloader_dir') |
Comran Morshed | daf6923 | 2016-04-20 22:25:37 -0700 | [diff] [blame] | 3 | |
| 4 | gen_embedded( |
| 5 | name = 'gen_embedded', |
| 6 | srcs = glob(['www_defaults/**/*'], ['www/**/*']), |
| 7 | ) |
| 8 | |
Comran Morshed | 3896733 | 2016-04-23 19:26:48 -0700 | [diff] [blame^] | 9 | aos_downloader_dir( |
| 10 | name = 'www_files', |
| 11 | visibility = ['//visibility:public'], |
| 12 | srcs = glob([ |
| 13 | 'www/**/*', |
| 14 | ]), |
| 15 | dir = "www", |
| 16 | ) |
| 17 | |
Comran Morshed | daf6923 | 2016-04-20 22:25:37 -0700 | [diff] [blame] | 18 | cc_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', |
| 31 | '//third_party/seasocks', |
| 32 | '//y2016/actors:autonomous_action_queue', |
| 33 | '//y2016/vision:vision_queue', |
| 34 | '//y2016/control_loops/superstructure:superstructure_queue', |
| 35 | '//y2016/queues:ball_detector', |
| 36 | ], |
| 37 | ) |