Austin Schuh | 86cd572 | 2019-04-14 13:34:20 -0700 | [diff] [blame^] | 1 | load("//aos/seasocks:gen_embedded.bzl", "gen_embedded") |
| 2 | load("//aos/downloader:downloader.bzl", "aos_downloader_dir") |
Comran Morshed | daf6923 | 2016-04-20 22:25:37 -0700 | [diff] [blame] | 3 | |
| 4 | gen_embedded( |
Austin Schuh | 86cd572 | 2019-04-14 13:34:20 -0700 | [diff] [blame^] | 5 | name = "gen_embedded", |
| 6 | srcs = glob( |
| 7 | ["www_defaults/**/*"], |
| 8 | exclude = ["www/**/*"], |
| 9 | ), |
Comran Morshed | daf6923 | 2016-04-20 22:25:37 -0700 | [diff] [blame] | 10 | ) |
| 11 | |
Comran Morshed | 3896733 | 2016-04-23 19:26:48 -0700 | [diff] [blame] | 12 | aos_downloader_dir( |
Austin Schuh | 86cd572 | 2019-04-14 13:34:20 -0700 | [diff] [blame^] | 13 | name = "www_files", |
| 14 | srcs = glob([ |
| 15 | "www/**/*", |
| 16 | ]), |
| 17 | dir = "www", |
| 18 | visibility = ["//visibility:public"], |
Comran Morshed | 3896733 | 2016-04-23 19:26:48 -0700 | [diff] [blame] | 19 | ) |
| 20 | |
Comran Morshed | daf6923 | 2016-04-20 22:25:37 -0700 | [diff] [blame] | 21 | cc_binary( |
Austin Schuh | 86cd572 | 2019-04-14 13:34:20 -0700 | [diff] [blame^] | 22 | name = "dashboard", |
| 23 | srcs = [ |
| 24 | "dashboard.cc", |
| 25 | "dashboard.h", |
| 26 | ], |
| 27 | visibility = ["//visibility:public"], |
| 28 | deps = [ |
| 29 | ":gen_embedded", |
| 30 | "//aos:init", |
| 31 | "//aos/logging", |
| 32 | "//aos/seasocks:seasocks_logger", |
| 33 | "//aos/time", |
| 34 | "//aos/util:phased_loop", |
| 35 | "//frc971/autonomous:auto_queue", |
| 36 | "//third_party/seasocks", |
| 37 | "//y2016/control_loops/superstructure:superstructure_queue", |
| 38 | "//y2016/queues:ball_detector", |
| 39 | "//y2016/vision:vision_queue", |
| 40 | ], |
Comran Morshed | daf6923 | 2016-04-20 22:25:37 -0700 | [diff] [blame] | 41 | ) |