Philipp Schrader | cdb5cfc | 2022-02-20 14:57:07 -0800 | [diff] [blame^] | 1 | load("@com_github_google_flatbuffers//:build_defs.bzl", "flatbuffer_go_library", "flatbuffer_ts_library") |
| 2 | |
| 3 | [( |
| 4 | flatbuffer_go_library( |
| 5 | name = name + "_go_fbs", |
| 6 | srcs = [name + ".fbs"], |
| 7 | importpath = "github.com/frc971/971-Robot-Code/scouting/webserver/requests/messages/" + name, |
| 8 | target_compatible_with = ["@platforms//cpu:x86_64"], |
| 9 | visibility = ["//visibility:public"], |
| 10 | ), |
| 11 | flatbuffer_ts_library( |
| 12 | name = name + "_ts_fbs", |
| 13 | srcs = [name + ".fbs"], |
| 14 | target_compatible_with = ["@platforms//cpu:x86_64"], |
| 15 | visibility = ["//visibility:public"], |
| 16 | ), |
| 17 | ) for name in ( |
| 18 | "error_response", |
| 19 | "submit_data_scouting", |
| 20 | "submit_data_scouting_response", |
| 21 | )] |