| 1 |
# Copyright 2025 Google LLC |
| 2 |
# |
| 3 |
# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
# you may not use this file except in compliance with the License. |
| 5 |
# You may obtain a copy of the License at |
| 6 |
# |
| 7 |
# https://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
# |
| 9 |
# Unless required by applicable law or agreed to in writing, software |
| 10 |
# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
# See the License for the specific language governing permissions and |
| 13 |
# limitations under the License. |
| 14 |
|
| 15 |
load("@io_bazel_rules_go//go:def.bzl", "go_library") |
| 16 |
|
| 17 |
package( |
| 18 |
default_visibility = [ |
| 19 |
"//policy:__subpackages__" |
| 20 |
], |
| 21 |
licenses = ["notice"], |
| 22 |
) |
| 23 |
|
| 24 |
exports_files([ |
| 25 |
"cel_test_runner.go", |
| 26 |
]) |
| 27 |
|
| 28 |
go_library( |
| 29 |
name = "test", |
| 30 |
testonly = True, |
| 31 |
srcs = [ |
| 32 |
"cel_test_runner.go", |
| 33 |
"k8s_cel_test_runner.go", |
| 34 |
], |
| 35 |
deps = [ |
| 36 |
"//cel:go_default_library", |
| 37 |
"//common/types:go_default_library", |
| 38 |
"//common/types/ref:go_default_library", |
| 39 |
"//policy:go_default_library", |
| 40 |
"//tools/celtest:go_default_library", |
| 41 |
], |
| 42 |
) |