blob: 00d725aa8bd280bfb82e0fcc70f5670f78d4039f [file] [log] [blame]
proto_library(
name = "cache_proto",
srcs = ["cache.proto"],
)
java_proto_library(
name = "cache_java_proto",
visibility = ["//visibility:public"],
deps = [":cache_proto"],
)
genrule(
name = "gen_reviewdb_proto",
outs = ["reviewdb.proto"],
cmd = "$(location //java/com/google/gerrit/proto:ProtoGen) -o $@",
tools = ["//java/com/google/gerrit/proto:ProtoGen"],
)
proto_library(
name = "reviewdb_proto",
srcs = [":reviewdb.proto"],
)
java_proto_library(
name = "reviewdb_java_proto",
visibility = [
"//javatests/com/google/gerrit/proto:__pkg__",
"//tools/eclipse:__pkg__",
],
deps = [":reviewdb_proto"],
)