blob: 9b614120d842933b2ac5938e947d6f5c072417f5 [file] [log] [blame]
GRPC_VER = '1.3.0'
remote_jar (
name = 'thrift',
out = 'thrift-0.10.0.jar',
url = 'mvn:org.apache.thrift:libthrift:jar:0.10.0',
sha1 = '3201c5a6d85d3f030bae5a520abaaf81ef7df037',
maven_coords = 'org.apache.thrift:libthrift:jar:NON-OSGI:0.10.0',
visibility = [ 'PUBLIC' ],
)
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//lib:minimal-json',
'//incubator/bmv2/model:onos-incubator-bmv2-model',
'//protocols/p4runtime/api:onos-protocols-p4runtime-api',
'//drivers/default:onos-drivers-default',
'//drivers/p4runtime:onos-drivers-p4runtime',
'//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER,
'//lib:grpc-netty-' + GRPC_VER,
':thrift',
'//providers/general/device:onos-providers-general-device',
'//incubator/api:onos-incubator-api',
]
BUNDLES = [
':onos-drivers-barefoot',
'//incubator/bmv2/model:onos-incubator-bmv2-model',
':thrift',
]
osgi_jar(
deps = COMPILE_DEPS,
)
onos_app (
app_name = 'org.onosproject.drivers.barefoot',
title = 'Barefoot Drivers',
category = 'Drivers',
url = 'http://onosproject.org',
description = 'Adds support for Barefoot-based devices',
included_bundles = BUNDLES,
required_apps = [
'org.onosproject.drivers.p4runtime'
],
)