github.com/bazelbuild/bazel-gazelle@v0.36.1-0.20240520142334-61b277ba6fed/language/go/testdata/service_gogo_subdir_reset/sub/BUILD.want (about)

     1  load("@io_bazel_rules_go//go:def.bzl", "go_library")
     2  load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
     3  load("@rules_proto//proto:defs.bzl", "proto_library")
     4  
     5  proto_library(
     6      name = "protos_gogo_proto",
     7      srcs = ["bar.proto"],
     8      _gazelle_imports = [],
     9      visibility = ["//visibility:public"],
    10  )
    11  
    12  go_proto_library(
    13      name = "protos_gogo_go_proto",
    14      _gazelle_imports = [],
    15      compilers = ["@io_bazel_rules_go//proto:go_grpc"],
    16      importpath = "example.com/repo/protos_gogo",
    17      proto = ":protos_gogo_proto",
    18      visibility = ["//visibility:public"],
    19  )
    20  
    21  go_library(
    22      name = "protos_gogo",
    23      _gazelle_imports = [],
    24      embed = [":protos_gogo_go_proto"],
    25      importpath = "example.com/repo/protos_gogo",
    26      visibility = ["//visibility:public"],
    27  )