Carmelo Cascone | 72893b7 | 2018-08-09 00:59:06 -0700 | [diff] [blame] | 1 | proto_library( |
| 2 | name = "p4runtime_proto", |
| 3 | srcs = ["p4/v1/p4runtime.proto"], |
| 4 | deps = [ |
| 5 | ":p4info_proto", |
| 6 | ":p4data_proto", |
| 7 | "@com_github_googleapis//:status_proto", |
| 8 | "@com_google_protobuf//:any_proto", |
| 9 | ], |
Carmelo Cascone | 6a1ae71 | 2018-08-10 12:19:47 -0700 | [diff] [blame] | 10 | visibility = ["//visibility:public"], |
Carmelo Cascone | 72893b7 | 2018-08-09 00:59:06 -0700 | [diff] [blame] | 11 | ) |
| 12 | |
Carmelo Cascone | 6a1ae71 | 2018-08-10 12:19:47 -0700 | [diff] [blame] | 13 | proto_library( |
| 14 | name = "p4data_proto", |
| 15 | srcs = ["p4/v1/p4data.proto"], |
| 16 | visibility = ["//visibility:public"], |
Carmelo Cascone | 72893b7 | 2018-08-09 00:59:06 -0700 | [diff] [blame] | 17 | ) |
| 18 | |
Carmelo Cascone | 6a1ae71 | 2018-08-10 12:19:47 -0700 | [diff] [blame] | 19 | proto_library( |
| 20 | name = "p4types_proto", |
| 21 | srcs = ["p4/config/v1/p4types.proto"], |
| 22 | visibility = ["//visibility:public"], |
Carmelo Cascone | 4164436 | 2018-08-09 16:56:43 -0700 | [diff] [blame] | 23 | ) |
| 24 | |
Carmelo Cascone | 6a1ae71 | 2018-08-10 12:19:47 -0700 | [diff] [blame] | 25 | proto_library( |
| 26 | name = "p4info_proto", |
| 27 | srcs = ["p4/config/v1/p4info.proto"], |
| 28 | deps = [ |
| 29 | ":p4types_proto", |
| 30 | "@com_google_protobuf//:any_proto" |
| 31 | ], |
| 32 | visibility = ["//visibility:public"], |
Carmelo Cascone | 72893b7 | 2018-08-09 00:59:06 -0700 | [diff] [blame] | 33 | ) |