mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-16 18:02:05 +02:00
The advantage is that we don't have to carry over the driver all required gRPC and P4Runtime bundles. Each module is now responsible for bringing in its own runtime dependencies. Change-Id: Icb1365e68d486f12fb1e25dc5d3937f42e3e1c62
27 lines
652 B
Python
27 lines
652 B
Python
include_defs(
|
|
'//bucklets/grpc.bucklet'
|
|
)
|
|
|
|
PROTOBUF_VER = '3.0.2'
|
|
GRPC_VER = '1.3.0'
|
|
|
|
COMPILE_DEPS = [
|
|
'//lib:CORE_DEPS',
|
|
'//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER,
|
|
'//lib:grpc-stub-' + GRPC_VER,
|
|
'//lib:grpc-protobuf-' + GRPC_VER,
|
|
'//lib:protobuf-java-' + PROTOBUF_VER,
|
|
]
|
|
|
|
grpc_jar(
|
|
proto_match_patterns = ["*.proto"],
|
|
proto_paths = ["$ONOS_ROOT/protocols/grpc/proto/", "$ONOS_ROOT"], #FIXME should not have to include ONOS_ROOT top level here
|
|
protoc_version = PROTOBUF_VER,
|
|
plugin_version = GRPC_VER,
|
|
deps = COMPILE_DEPS,
|
|
)
|
|
|
|
project_config(
|
|
src_target = ':onos-protocols-grpc-proto'
|
|
)
|