blob: 8bcefde6be2cf5b23fc065ae08d98f11f1253d9d [file] [log] [blame]
Carmelo Casconeb1936bd2017-12-12 14:42:27 -08001GRPC_VER = '1.3.1'
Carmelo Casconed61fdb32017-10-30 10:09:57 -07002
3COMPILE_DEPS = [
4 '//lib:CORE_DEPS',
5 '//lib:minimal-json',
Carmelo Casconed61fdb32017-10-30 10:09:57 -07006 '//protocols/p4runtime/api:onos-protocols-p4runtime-api',
7 '//drivers/p4runtime:onos-drivers-p4runtime',
8 '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER,
9 '//lib:grpc-netty-' + GRPC_VER,
10]
11
12BUNDLES = [
13 ':onos-drivers-barefoot',
Carmelo Casconed61fdb32017-10-30 10:09:57 -070014]
15
16osgi_jar(
17 deps = COMPILE_DEPS,
18)
19
20onos_app (
21 app_name = 'org.onosproject.drivers.barefoot',
22 title = 'Barefoot Drivers',
23 category = 'Drivers',
24 url = 'http://onosproject.org',
25 description = 'Adds support for Barefoot-based devices',
26 included_bundles = BUNDLES,
27 required_apps = [
28 'org.onosproject.drivers.p4runtime',
29 ],
30)