github.com/bazelbuild/bazel-gazelle@v0.36.1-0.20240520142334-61b277ba6fed/language/go/testdata/protos_gogo_subdir_reset/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 = ["foo.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 = [
    16          "@io_bazel_rules_go//proto:gogoslick_proto",
    17          "//:go_yarpc",
    18      ],
    19      importpath = "example.com/repo/protos_gogo",
    20      proto = ":protos_gogo_proto",
    21      visibility = ["//visibility:public"],
    22  )
    23  
    24  go_library(
    25      name = "protos_gogo",
    26      _gazelle_imports = [],
    27      embed = [":protos_gogo_go_proto"],
    28      importpath = "example.com/repo/protos_gogo",
    29      visibility = ["//visibility:public"],
    30  )