Edwin Kempin | 74a40d9 | 2020-06-12 14:36:02 +0200 | [diff] [blame] | 1 | load("@rules_proto//proto:defs.bzl", "proto_library") |
| 2 | load("@rules_java//java:defs.bzl", "java_proto_library") |
| 3 | |
Edwin Kempin | 74a40d9 | 2020-06-12 14:36:02 +0200 | [diff] [blame] | 4 | proto_library( |
| 5 | name = "owners_metadata_proto", |
| 6 | srcs = ["owners_metadata.proto"], |
| 7 | ) |
| 8 | |
| 9 | java_proto_library( |
| 10 | name = "owners_metadata_java_proto", |
Edwin Kempin | b7cae41 | 2021-01-07 17:14:18 +0100 | [diff] [blame] | 11 | visibility = [ |
| 12 | "//plugins/code-owners/java/com/google/gerrit/plugins/codeowners/api:__pkg__", |
| 13 | "//plugins/code-owners/java/com/google/gerrit/plugins/codeowners/backend:__pkg__", |
| 14 | "//plugins/code-owners/java/com/google/gerrit/plugins/codeowners/restapi:__pkg__", |
| 15 | ], |
Edwin Kempin | 74a40d9 | 2020-06-12 14:36:02 +0200 | [diff] [blame] | 16 | deps = [":owners_metadata_proto"], |
| 17 | ) |