Philipp Schrader | e2e27ff | 2024-02-25 22:08:55 -0800 | [diff] [blame] | 1 | load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") |
| 2 | |
| 3 | go_library( |
| 4 | name = "camera_simulator_lib", |
| 5 | srcs = ["camera_simulator.go"], |
| 6 | importpath = "github.com/frc971/971-Robot-Code/scouting/testing/camera_simulator", |
| 7 | target_compatible_with = ["@platforms//cpu:x86_64"], |
| 8 | visibility = ["//visibility:private"], |
| 9 | ) |
| 10 | |
| 11 | go_binary( |
| 12 | name = "camera_simulator", |
| 13 | embed = [":camera_simulator_lib"], |
| 14 | target_compatible_with = ["@platforms//cpu:x86_64"], |
| 15 | visibility = ["//visibility:public"], |
| 16 | ) |