2023-12-18 20:31:00 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
package(
|
2024-08-19 08:01:33 +00:00
|
|
|
default_visibility = ["//visibility:public"],
|
2023-12-18 20:31:00 +00:00
|
|
|
licenses = ["notice"], # Apache 2.0
|
|
|
|
)
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"ast.go",
|
2024-08-19 08:01:33 +00:00
|
|
|
"conversion.go",
|
2023-12-18 20:31:00 +00:00
|
|
|
"expr.go",
|
2024-08-19 08:01:33 +00:00
|
|
|
"factory.go",
|
|
|
|
"navigable.go",
|
2023-12-18 20:31:00 +00:00
|
|
|
],
|
|
|
|
importpath = "github.com/google/cel-go/common/ast",
|
|
|
|
deps = [
|
2024-08-19 08:01:33 +00:00
|
|
|
"//common:go_default_library",
|
2023-12-18 20:31:00 +00:00
|
|
|
"//common/types:go_default_library",
|
|
|
|
"//common/types/ref:go_default_library",
|
|
|
|
"@org_golang_google_genproto_googleapis_api//expr/v1alpha1:go_default_library",
|
|
|
|
"@org_golang_google_protobuf//types/known/structpb:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
|
|
|
"ast_test.go",
|
2024-08-19 08:01:33 +00:00
|
|
|
"conversion_test.go",
|
2023-12-18 20:31:00 +00:00
|
|
|
"expr_test.go",
|
2024-08-19 08:01:33 +00:00
|
|
|
"navigable_test.go",
|
2023-12-18 20:31:00 +00:00
|
|
|
],
|
|
|
|
embed = [
|
|
|
|
":go_default_library",
|
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
"//checker:go_default_library",
|
|
|
|
"//checker/decls:go_default_library",
|
|
|
|
"//common:go_default_library",
|
|
|
|
"//common/containers:go_default_library",
|
|
|
|
"//common/decls:go_default_library",
|
|
|
|
"//common/overloads:go_default_library",
|
|
|
|
"//common/stdlib:go_default_library",
|
|
|
|
"//common/types:go_default_library",
|
|
|
|
"//common/types/ref:go_default_library",
|
|
|
|
"//parser: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",
|
2024-08-19 08:01:33 +00:00
|
|
|
"@org_golang_google_protobuf//encoding/prototext:go_default_library",
|
2023-12-18 20:31:00 +00:00
|
|
|
],
|
2024-08-19 08:01:33 +00:00
|
|
|
)
|