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 = [
|
|
|
|
"activation.go",
|
|
|
|
"attribute_patterns.go",
|
|
|
|
"attributes.go",
|
|
|
|
"decorators.go",
|
|
|
|
"dispatcher.go",
|
|
|
|
"evalstate.go",
|
2023-08-17 05:15:28 +00:00
|
|
|
"formatting.go",
|
2023-05-29 21:03:29 +00:00
|
|
|
"interpretable.go",
|
|
|
|
"interpreter.go",
|
|
|
|
"optimizations.go",
|
|
|
|
"planner.go",
|
|
|
|
"prune.go",
|
|
|
|
"runtimecost.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/google/cel-go/interpreter",
|
|
|
|
deps = [
|
|
|
|
"//common:go_default_library",
|
2023-12-18 20:31:00 +00:00
|
|
|
"//common/ast:go_default_library",
|
2023-05-29 21:03:29 +00:00
|
|
|
"//common/containers:go_default_library",
|
2023-12-18 20:31:00 +00:00
|
|
|
"//common/functions:go_default_library",
|
2023-05-29 21:03:29 +00:00
|
|
|
"//common/operators:go_default_library",
|
|
|
|
"//common/overloads:go_default_library",
|
|
|
|
"//common/types:go_default_library",
|
|
|
|
"//common/types/ref:go_default_library",
|
|
|
|
"//common/types/traits: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_google_protobuf//proto:go_default_library",
|
|
|
|
"@org_golang_google_protobuf//types/known/durationpb:go_default_library",
|
|
|
|
"@org_golang_google_protobuf//types/known/structpb:go_default_library",
|
|
|
|
"@org_golang_google_protobuf//types/known/timestamppb:go_default_library",
|
|
|
|
"@org_golang_google_protobuf//types/known/wrapperspb:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
|
|
|
"activation_test.go",
|
|
|
|
"attribute_patterns_test.go",
|
|
|
|
"attributes_test.go",
|
|
|
|
"interpreter_test.go",
|
|
|
|
"prune_test.go",
|
2023-08-17 05:15:28 +00:00
|
|
|
"runtimecost_test.go",
|
2023-05-29 21:03:29 +00:00
|
|
|
],
|
|
|
|
embed = [
|
|
|
|
":go_default_library",
|
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
"//checker:go_default_library",
|
|
|
|
"//common/containers:go_default_library",
|
|
|
|
"//common/debug:go_default_library",
|
2023-12-18 20:31:00 +00:00
|
|
|
"//common/decls:go_default_library",
|
|
|
|
"//common/functions:go_default_library",
|
2023-05-29 21:03:29 +00:00
|
|
|
"//common/operators:go_default_library",
|
2023-12-18 20:31:00 +00:00
|
|
|
"//common/stdlib:go_default_library",
|
2023-05-29 21:03:29 +00:00
|
|
|
"//common/types:go_default_library",
|
|
|
|
"//parser:go_default_library",
|
|
|
|
"//test:go_default_library",
|
|
|
|
"//test/proto2pb:go_default_library",
|
|
|
|
"//test/proto3pb: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_google_protobuf//proto:go_default_library",
|
|
|
|
"@org_golang_google_protobuf//types/known/anypb:go_default_library",
|
|
|
|
],
|
|
|
|
)
|