blob: b1be82173fc348c46a91d1876e6a3b9f89ee91fa [file] [log] [blame]
Carmelo Cascone59f57de2017-07-11 19:55:09 -04001include_defs(
2 '//bucklets/grpc.bucklet'
3)
4
5PROTOC_VER = '3.0.2'
6GRPC_VER = '1.3.0'
7
Carmelo Cascone59f57de2017-07-11 19:55:09 -04008COMPILE_DEPS = [
9 '//lib:CORE_DEPS',
10 '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER,
11 '//lib:grpc-stub-' + GRPC_VER,
12 '//lib:grpc-protobuf-' + GRPC_VER,
13 '//lib:protobuf-java-' + PROTOC_VER,
14]
15
Carmelo Cascone59f57de2017-07-11 19:55:09 -040016grpc_jar(
17 proto_match_patterns = ["*.proto"],
18 proto_paths = ["$ONOS_ROOT/protocols/grpc/proto/"],
19 protoc_version = PROTOC_VER,
20 plugin_version = GRPC_VER,
21 deps = COMPILE_DEPS,
22)
23
24project_config(
25 src_target = ':onos-protocols-grpc-proto'
26)