Ray Milkey | 472d839 | 2018-05-23 17:06:51 -0700 | [diff] [blame] | 1 | package(default_visibility = ["//visibility:public"]) |
| 2 | |
| 3 | proto_library( |
| 4 | name = "p4types_proto", |
| 5 | srcs = [ "//:p4/p4types.proto" ], |
| 6 | deps = [ |
| 7 | "@com_google_protobuf//:any_proto", |
| 8 | ], |
| 9 | ) |
| 10 | |
| 11 | proto_library( |
| 12 | name = "p4config_proto", |
| 13 | srcs = [ "//:p4/config/p4info.proto" ], |
| 14 | deps = [ |
| 15 | "@com_google_protobuf//:any_proto", |
| 16 | ":p4types_proto", |
| 17 | ], |
| 18 | ) |
| 19 | |
| 20 | proto_library( |
| 21 | name = "p4_tmp_config_proto", |
| 22 | srcs = [ "//:p4/tmp/p4config.proto" ], |
| 23 | deps = [ |
| 24 | "@com_google_protobuf//:any_proto", |
| 25 | ":p4types_proto", |
| 26 | ], |
| 27 | ) |
| 28 | |
| 29 | proto_library( |
| 30 | name = "p4_runtime_proto", |
| 31 | srcs = [ "//:p4/p4runtime.proto" ], |
| 32 | deps = [ |
| 33 | "@com_google_protobuf//:any_proto", |
| 34 | "@google_rpc//:status_proto", |
| 35 | "@google_rpc//:code_proto", |
| 36 | ":p4types_proto", |
| 37 | ":p4config_proto", |
| 38 | ":p4_tmp_config_proto", |
| 39 | ], |
| 40 | ) |