blob: f38ad9fe4443e379c422757e293e96ac5bb406d1 [file] [log] [blame]
Carmelo Casconed61fdb32017-10-30 10:09:57 -07001GRPC_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/p4runtime:onos-drivers-p4runtime',
9 '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER,
10 '//lib:grpc-netty-' + GRPC_VER,
11]
12
13BUNDLES = [
14 ':onos-drivers-barefoot',
15 '//incubator/bmv2/model:onos-incubator-bmv2-model',
16]
17
18osgi_jar(
19 deps = COMPILE_DEPS,
20)
21
22onos_app (
23 app_name = 'org.onosproject.drivers.barefoot',
24 title = 'Barefoot Drivers',
25 category = 'Drivers',
26 url = 'http://onosproject.org',
27 description = 'Adds support for Barefoot-based devices',
28 included_bundles = BUNDLES,
29 required_apps = [
30 'org.onosproject.drivers.p4runtime',
31 ],
32)