load("@io_bazel_rules_go//go:def.bzl", "go_library") | |
load("//bazel/go:go_test.bzl", "go_test") | |
go_library( | |
name = "vec32", | |
srcs = ["vec.go"], | |
importpath = "go.skia.org/infra/go/vec32", | |
visibility = ["//visibility:public"], | |
deps = ["@com_github_aclements_go_moremath//stats"], | |
) | |
go_test( | |
name = "vec32_test", | |
srcs = ["vec_test.go"], | |
embed = [":vec32"], | |
deps = ["@com_github_stretchr_testify//assert"], | |
) |