blob: db7598e8f4bc6ba96e07b488d13a679284fb5eec [file] [log] [blame]
Carmelo Cascone72893b72018-08-09 00:59:06 -07001proto_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 Cascone6a1ae712018-08-10 12:19:47 -070010 visibility = ["//visibility:public"],
Carmelo Cascone72893b72018-08-09 00:59:06 -070011)
12
Carmelo Cascone6a1ae712018-08-10 12:19:47 -070013proto_library(
14 name = "p4data_proto",
15 srcs = ["p4/v1/p4data.proto"],
16 visibility = ["//visibility:public"],
Carmelo Cascone72893b72018-08-09 00:59:06 -070017)
18
Carmelo Cascone6a1ae712018-08-10 12:19:47 -070019proto_library(
20 name = "p4types_proto",
21 srcs = ["p4/config/v1/p4types.proto"],
22 visibility = ["//visibility:public"],
Carmelo Cascone41644362018-08-09 16:56:43 -070023)
24
Carmelo Cascone6a1ae712018-08-10 12:19:47 -070025proto_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 Cascone72893b72018-08-09 00:59:06 -070033)