File: BUILD.bazel

package info (click to toggle)
golang-github-google-cel-spec 0.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 876 kB
  • sloc: sh: 11; makefile: 8
file content (65 lines) | stat: -rw-r--r-- 1,479 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Description:
#   BUILD file for the CEL conformance libraries and data.
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")

package(default_visibility = ["//visibility:public"])

licenses(["notice"])  # Apache 2.0

# TODO: Check if the generated path is correct.
# Generated via:
#    bazel build cel-spec/testutil:test_data_gen &&
#        bazel-bin/cel-cpp/testutil/test_data_gen
filegroup(
    name = "testdata",
    srcs = glob([
        "*.textpb",
        "*.binarypb",
    ]),
)

proto_library(
    name = "test_value_proto",
    srcs = [
        "test_value.proto",
    ],
    deps = [
        "@com_google_googleapis//google/api/expr/v1beta1:eval_proto",
        '@com_google_protobuf//:any_proto',
        '@com_google_protobuf//:duration_proto',
        '@com_google_protobuf//:struct_proto',
        '@com_google_protobuf//:timestamp_proto',
        '@com_google_protobuf//:wrappers_proto',
    ],
)

proto_library(
    name = "test_data_proto",
    srcs = [
        "test_data.proto",
    ],
    deps = [
#        "@com_google_googleapis//:expr_v1beta1",
        ":test_value_proto",
    ],
)

cc_proto_library(
    name = "test_data_cc_proto",
    deps = [":test_data_proto"],
)

cc_proto_library(
    name = "test_value_cc_proto",
    deps = [":test_value_proto"],
)

java_proto_library(
    name = "test_data_java_proto",
    deps = [":test_data_proto"],
)

java_proto_library(
    name = "test_value_java_proto",
    deps = [":test_value_proto"],
)