blob: 9b614120d842933b2ac5938e947d6f5c072417f5 [file] [log] [blame]
Andrea Campanellabf1301d2017-08-07 18:33:52 +02001GRPC_VER = '1.3.0'
2
Yi Tseng59ef1702017-10-05 23:33:22 -07003remote_jar (
4 name = 'thrift',
5 out = 'thrift-0.10.0.jar',
6 url = 'mvn:org.apache.thrift:libthrift:jar:0.10.0',
7 sha1 = '3201c5a6d85d3f030bae5a520abaaf81ef7df037',
8 maven_coords = 'org.apache.thrift:libthrift:jar:NON-OSGI:0.10.0',
9 visibility = [ 'PUBLIC' ],
10)
11
Andrea Campanellabf1301d2017-08-07 18:33:52 +020012COMPILE_DEPS = [
13 '//lib:CORE_DEPS',
14 '//lib:minimal-json',
15 '//incubator/bmv2/model:onos-incubator-bmv2-model',
16 '//protocols/p4runtime/api:onos-protocols-p4runtime-api',
17 '//drivers/default:onos-drivers-default',
Carmelo Casconeba740232017-09-06 21:52:08 +020018 '//drivers/p4runtime:onos-drivers-p4runtime',
Andrea Campanellabf1301d2017-08-07 18:33:52 +020019 '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER,
20 '//lib:grpc-netty-' + GRPC_VER,
Yi Tseng59ef1702017-10-05 23:33:22 -070021 ':thrift',
22 '//providers/general/device:onos-providers-general-device',
23 '//incubator/api:onos-incubator-api',
Andrea Campanellabf1301d2017-08-07 18:33:52 +020024]
25
26BUNDLES = [
27 ':onos-drivers-barefoot',
28 '//incubator/bmv2/model:onos-incubator-bmv2-model',
Yi Tseng59ef1702017-10-05 23:33:22 -070029 ':thrift',
Andrea Campanellabf1301d2017-08-07 18:33:52 +020030]
31
32osgi_jar(
33 deps = COMPILE_DEPS,
34)
35
36onos_app (
37 app_name = 'org.onosproject.drivers.barefoot',
Carmelo Casconeba740232017-09-06 21:52:08 +020038 title = 'Barefoot Drivers',
Andrea Campanellabf1301d2017-08-07 18:33:52 +020039 category = 'Drivers',
40 url = 'http://onosproject.org',
Carmelo Casconeba740232017-09-06 21:52:08 +020041 description = 'Adds support for Barefoot-based devices',
Andrea Campanellabf1301d2017-08-07 18:33:52 +020042 included_bundles = BUNDLES,
43 required_apps = [
Andrea Campanellabf1301d2017-08-07 18:33:52 +020044 'org.onosproject.drivers.p4runtime'
45 ],
46)