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