2023-05-29 21:03:29 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
package(
|
|
|
|
licenses = ["notice"], # Apache 2.0
|
|
|
|
)
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"encoders.go",
|
|
|
|
"guards.go",
|
2023-12-18 20:31:00 +00:00
|
|
|
"lists.go",
|
2023-08-17 05:15:28 +00:00
|
|
|
"math.go",
|
|
|
|
"native.go",
|
|
|
|
"protos.go",
|
|
|
|
"sets.go",
|
2023-05-29 21:03:29 +00:00
|
|
|
"strings.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/google/cel-go/ext",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"//cel:go_default_library",
|
2023-12-18 20:31:00 +00:00
|
|
|
"//checker:go_default_library",
|
2023-08-17 05:15:28 +00:00
|
|
|
"//checker/decls:go_default_library",
|
|
|
|
"//common/overloads:go_default_library",
|
2023-05-29 21:03:29 +00:00
|
|
|
"//common/types:go_default_library",
|
2023-08-17 05:15:28 +00:00
|
|
|
"//common/types/pb:go_default_library",
|
2023-05-29 21:03:29 +00:00
|
|
|
"//common/types/ref:go_default_library",
|
2023-08-17 05:15:28 +00:00
|
|
|
"//common/types/traits:go_default_library",
|
|
|
|
"//interpreter:go_default_library",
|
|
|
|
"@org_golang_google_genproto_googleapis_api//expr/v1alpha1:go_default_library",
|
|
|
|
"@org_golang_google_protobuf//proto:go_default_library",
|
|
|
|
"@org_golang_google_protobuf//reflect/protoreflect:go_default_library",
|
|
|
|
"@org_golang_google_protobuf//types/known/structpb",
|
|
|
|
"@org_golang_x_text//language:go_default_library",
|
|
|
|
"@org_golang_x_text//message:go_default_library",
|
2023-05-29 21:03:29 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
size = "small",
|
|
|
|
srcs = [
|
|
|
|
"encoders_test.go",
|
2023-12-18 20:31:00 +00:00
|
|
|
"lists_test.go",
|
2023-08-17 05:15:28 +00:00
|
|
|
"math_test.go",
|
|
|
|
"native_test.go",
|
|
|
|
"protos_test.go",
|
|
|
|
"sets_test.go",
|
2023-05-29 21:03:29 +00:00
|
|
|
"strings_test.go",
|
|
|
|
],
|
|
|
|
embed = [
|
|
|
|
":go_default_library",
|
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
"//cel:go_default_library",
|
2023-08-17 05:15:28 +00:00
|
|
|
"//checker:go_default_library",
|
|
|
|
"//common/types:go_default_library",
|
|
|
|
"//common/types/ref:go_default_library",
|
|
|
|
"//common/types/traits:go_default_library",
|
|
|
|
"//test:go_default_library",
|
|
|
|
"//test/proto2pb:go_default_library",
|
|
|
|
"//test/proto3pb:go_default_library",
|
|
|
|
"@org_golang_google_genproto_googleapis_api//expr/v1alpha1:go_default_library",
|
|
|
|
"@org_golang_google_protobuf//proto:go_default_library",
|
|
|
|
"@org_golang_google_protobuf//types/known/wrapperspb:go_default_library",
|
|
|
|
"@org_golang_google_protobuf//encoding/protojson:go_default_library",
|
2023-05-29 21:03:29 +00:00
|
|
|
],
|
|
|
|
)
|