summaryrefslogtreecommitdiff
path: root/third_party/googleapis/google/devtools/containeranalysis/v1beta1/attestation/BUILD.bazel
blob: 347abf1a58c64f5815192b6fa88bff6acff5eb7c (plain)
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
load("@rules_proto//proto:defs.bzl", "proto_library")

# This is an API workspace, having public visibility by default makes perfect sense.
package(default_visibility = ["//visibility:public"])

##############################################################################
# Common
##############################################################################
load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info")

proto_library(
    name = "attestation_proto",
    srcs = [
        "attestation.proto",
    ],
    deps = [
        "//google/devtools/containeranalysis/v1beta1/common:common_proto",
    ],
)

proto_library_with_info(
    name = "attestation_proto_with_info",
    deps = [":attestation_proto"],
)

##############################################################################
# Java
##############################################################################
load(
    "@com_google_googleapis_imports//:imports.bzl",
    "java_grpc_library",
    "java_proto_library",
)

java_proto_library(
    name = "attestation_java_proto",
    deps = [":attestation_proto"],
)

java_grpc_library(
    name = "attestation_java_grpc",
    srcs = [":attestation_proto"],
    deps = [":attestation_java_proto"],
)

##############################################################################
# Go
##############################################################################
load("@com_google_googleapis_imports//:imports.bzl", "go_proto_library")

go_proto_library(
    name = "attestation_go_proto",
    compilers = ["@io_bazel_rules_go//proto:go_grpc"],
    importpath = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/attestation",
    protos = [":attestation_proto"],
    deps = [
        "//google/devtools/containeranalysis/v1beta1/common:common_go_proto",
    ],
)