blob: 5aa0438896cdcbb46168136976e16fbf42a35996 [file] [log] [blame]
Andrea Campanellabf1301d2017-08-07 18:33:52 +02001GRPC_VER = '1.3.0'
2
3COMPILE_DEPS = [
4 '//lib:CORE_DEPS',
5 '//lib:minimal-json',
6 '//incubator/bmv2/model:onos-incubator-bmv2-model',
7 '//protocols/p4runtime/api:onos-protocols-p4runtime-api',
8 '//drivers/default:onos-drivers-default',
Carmelo Casconeba740232017-09-06 21:52:08 +02009 '//drivers/p4runtime:onos-drivers-p4runtime',
Andrea Campanellabf1301d2017-08-07 18:33:52 +020010 '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER,
11 '//lib:grpc-netty-' + GRPC_VER,
12]
13
14BUNDLES = [
15 ':onos-drivers-barefoot',
16 '//incubator/bmv2/model:onos-incubator-bmv2-model',
Andrea Campanellabf1301d2017-08-07 18:33:52 +020017]
18
19osgi_jar(
20 deps = COMPILE_DEPS,
21)
22
23onos_app (
24 app_name = 'org.onosproject.drivers.barefoot',
Carmelo Casconeba740232017-09-06 21:52:08 +020025 title = 'Barefoot Drivers',
Andrea Campanellabf1301d2017-08-07 18:33:52 +020026 category = 'Drivers',
27 url = 'http://onosproject.org',
Carmelo Casconeba740232017-09-06 21:52:08 +020028 description = 'Adds support for Barefoot-based devices',
Andrea Campanellabf1301d2017-08-07 18:33:52 +020029 included_bundles = BUNDLES,
30 required_apps = [
Andrea Campanellabf1301d2017-08-07 18:33:52 +020031 'org.onosproject.drivers.p4runtime'
32 ],
33)