Carmelo Cascone | b1936bd | 2017-12-12 14:42:27 -0800 | [diff] [blame] | 1 | GRPC_VER = '1.3.1' |
Carmelo Cascone | d61fdb3 | 2017-10-30 10:09:57 -0700 | [diff] [blame] | 2 | |
| 3 | COMPILE_DEPS = [ |
| 4 | '//lib:CORE_DEPS', |
| 5 | '//lib:minimal-json', |
Carmelo Cascone | d61fdb3 | 2017-10-30 10:09:57 -0700 | [diff] [blame] | 6 | '//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 | |
| 12 | BUNDLES = [ |
| 13 | ':onos-drivers-barefoot', |
Carmelo Cascone | d61fdb3 | 2017-10-30 10:09:57 -0700 | [diff] [blame] | 14 | ] |
| 15 | |
| 16 | osgi_jar( |
| 17 | deps = COMPILE_DEPS, |
| 18 | ) |
| 19 | |
| 20 | onos_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 | ) |