2023-05-29 21:03:29 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
package(
|
|
|
|
default_visibility = ["//visibility:public"],
|
|
|
|
licenses = ["notice"], # Apache 2.0
|
|
|
|
)
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"cost.go",
|
|
|
|
"error.go",
|
|
|
|
"errors.go",
|
|
|
|
"location.go",
|
|
|
|
"source.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/google/cel-go/common",
|
|
|
|
deps = [
|
|
|
|
"//common/runes:go_default_library",
|
2023-08-17 05:15:28 +00:00
|
|
|
"@org_golang_google_genproto_googleapis_api//expr/v1alpha1:go_default_library",
|
2023-05-29 21:03:29 +00:00
|
|
|
"@org_golang_x_text//width:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
size = "small",
|
|
|
|
srcs = [
|
|
|
|
"errors_test.go",
|
|
|
|
"source_test.go",
|
|
|
|
],
|
|
|
|
embed = [
|
|
|
|
":go_default_library",
|
|
|
|
],
|
|
|
|
)
|