blob: baf16458742961be80fdc1b6b0480209b0cacadd [file] [log] [blame]
Carmelo Casconef7aa3f92017-07-06 23:56:50 -04001GRPC_DEPS = [
2 '//incubator/grpc-dependencies:grpc-core-repkg-1.3.0',
3 '//lib:grpc-protobuf-1.3.0',
4 '//lib:grpc-protobuf-lite-1.3.0',
5 '//lib:grpc-stub-1.3.0',
6 '//lib:grpc-netty-1.3.0',
7 '//lib:grpc-auth-1.3.0',
8 '//lib:google-instrumentation-0.3.0',
9 '//lib:protobuf-java-3.0.2',
10 # Lazily adding all netty-related packages.
11 # Some of them might not be necessary.
12 '//lib:netty',
13 '//lib:netty-buffer',
14 '//lib:netty-codec',
15 '//lib:netty-codec-http',
16 '//lib:netty-codec-http2',
17 '//lib:netty-common',
18 '//lib:netty-handler',
19 '//lib:netty-transport',
20 '//lib:netty-transport-native-epoll',
21 '//lib:netty-resolver',
22]
23
24COMPILE_DEPS = [
25 '//lib:CORE_DEPS',
26 '//protocols/grpc/api:onos-protocols-grpc-api',
27 '//protocols/p4runtime/api:onos-protocols-p4runtime-api',
28 '//protocols/p4runtime/proto:onos-protocols-p4runtime-proto'
29] + GRPC_DEPS
30
31TEST_DEPS = [
32 '//lib:TEST',
33 '//core/api:onos-api-tests',
34]
35
36BUNDLES = [
37 '//protocols/grpc/api:onos-protocols-grpc-api',
38 '//protocols/p4runtime/api:onos-protocols-p4runtime-api',
39 '//protocols/p4runtime/proto:onos-protocols-p4runtime-proto'
40] + GRPC_DEPS
41
42
43osgi_jar_with_tests(
44 deps = COMPILE_DEPS,
45 test_deps = TEST_DEPS,
46)