de020cef59
Change-Id: I819954da56ad39845f2439ff6502dbb82f50f34c
29 lines
634 B
Python
29 lines
634 B
Python
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__"],
|
|
deps = [":reviewdb_proto"],
|
|
)
|