Carmelo Cascone | d61fdb3 | 2017-10-30 10:09:57 -0700 | [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/p4runtime:onos-drivers-p4runtime', |
| 9 | '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER, |
| 10 | '//lib:grpc-netty-' + GRPC_VER, |
| 11 | ] |
| 12 | |
| 13 | BUNDLES = [ |
| 14 | ':onos-drivers-barefoot', |
| 15 | '//incubator/bmv2/model:onos-incubator-bmv2-model', |
| 16 | ] |
| 17 | |
| 18 | osgi_jar( |
| 19 | deps = COMPILE_DEPS, |
| 20 | ) |
| 21 | |
| 22 | onos_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 | ) |