Andrea Campanella | bf1301d | 2017-08-07 18:33:52 +0200 | [diff] [blame] | 1 | GRPC_VER = '1.3.0' |
| 2 | |
| 3 | COMPILE_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 Cascone | ba74023 | 2017-09-06 21:52:08 +0200 | [diff] [blame] | 9 | '//drivers/p4runtime:onos-drivers-p4runtime', |
Andrea Campanella | bf1301d | 2017-08-07 18:33:52 +0200 | [diff] [blame] | 10 | '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER, |
| 11 | '//lib:grpc-netty-' + GRPC_VER, |
| 12 | ] |
| 13 | |
| 14 | BUNDLES = [ |
| 15 | ':onos-drivers-barefoot', |
| 16 | '//incubator/bmv2/model:onos-incubator-bmv2-model', |
Andrea Campanella | bf1301d | 2017-08-07 18:33:52 +0200 | [diff] [blame] | 17 | ] |
| 18 | |
| 19 | osgi_jar( |
| 20 | deps = COMPILE_DEPS, |
| 21 | ) |
| 22 | |
| 23 | onos_app ( |
| 24 | app_name = 'org.onosproject.drivers.barefoot', |
Carmelo Cascone | ba74023 | 2017-09-06 21:52:08 +0200 | [diff] [blame] | 25 | title = 'Barefoot Drivers', |
Andrea Campanella | bf1301d | 2017-08-07 18:33:52 +0200 | [diff] [blame] | 26 | category = 'Drivers', |
| 27 | url = 'http://onosproject.org', |
Carmelo Cascone | ba74023 | 2017-09-06 21:52:08 +0200 | [diff] [blame] | 28 | description = 'Adds support for Barefoot-based devices', |
Andrea Campanella | bf1301d | 2017-08-07 18:33:52 +0200 | [diff] [blame] | 29 | included_bundles = BUNDLES, |
| 30 | required_apps = [ |
Andrea Campanella | bf1301d | 2017-08-07 18:33:52 +0200 | [diff] [blame] | 31 | 'org.onosproject.drivers.p4runtime' |
| 32 | ], |
| 33 | ) |