blob: 24a3a44589dfc81459f41df91bd534f55c328c9c [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "calc",
srcs = [
"doc.go",
"funcs.go",
"lex.go",
"parser.go",
],
importpath = "go.skia.org/infra/go/calc",
visibility = ["//visibility:public"],
deps = [
"//go/vec32",
"//perf/go/types",
],
)
go_test(
name = "calc_test",
srcs = [
"funcs_test.go",
"lex_test.go",
"parser_test.go",
],
embed = [":calc"],
deps = [
"//go/query",
"//go/testutils/unittest",
"//go/vec32",
"//perf/go/types",
"@com_github_stretchr_testify//assert",
],
)