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 = "public_replication_proto", 11 srcs = ["public_replication.proto"], 12 visibility = ["//visibility:public"], 13 deps = ["@com_google_protobuf//:field_mask_proto"], 14) 15 16go_proto_library( 17 name = "public_replication_go_proto", 18 importpath = "go.chromium.org/chromiumos/config/go/public_replication", 19 proto = ":public_replication_proto", 20 visibility = ["//visibility:public"], 21) 22 23go_library( 24 name = "public_replication", 25 embed = [":public_replication_go_proto"], 26 importpath = "go.chromium.org/chromiumos/config/go/public_replication", 27 visibility = ["//visibility:public"], 28) 29