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