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