• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2023 The ChromiumOS Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5load("@rules_proto//proto:defs.bzl", "proto_library")
6load("@io_bazel_rules_go//go:def.bzl", "go_library")
7load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
8
9proto_library(
10    name = "longrunning_proto",
11    srcs = ["operations.proto"],
12    visibility = ["//visibility:public"],
13    deps = [
14        "@com_google_protobuf//:any_proto",
15        "@com_google_protobuf//:descriptor_proto",
16        "@com_google_protobuf//:duration_proto",
17        "@com_google_protobuf//:empty_proto",
18    ],
19)
20
21go_proto_library(
22    name = "longrunning_go_proto",
23    compilers = ["@io_bazel_rules_go//proto:go_grpc"],
24    importpath = "go.chromium.org/chromiumos/config/go/longrunning",
25    proto = ":longrunning_proto",
26    visibility = ["//visibility:public"],
27)
28
29go_library(
30    name = "longrunning",
31    embed = [":longrunning_go_proto"],
32    importpath = "go.chromium.org/chromiumos/config/go/longrunning",
33    visibility = ["//visibility:public"],
34)
35