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', |
| 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 | '//drivers/default:onos-drivers-default', |
| 17 | ] |
| 18 | |
| 19 | osgi_jar( |
| 20 | deps = COMPILE_DEPS, |
| 21 | ) |
| 22 | |
| 23 | onos_app ( |
| 24 | app_name = 'org.onosproject.drivers.barefoot', |
| 25 | title = 'Barefoot Device Drivers', |
| 26 | category = 'Drivers', |
| 27 | url = 'http://onosproject.org', |
| 28 | description = 'ONOS Barefoot device drivers application.', |
| 29 | included_bundles = BUNDLES, |
| 30 | required_apps = [ |
| 31 | 'org.onosproject.generaldeviceprovider', |
| 32 | 'org.onosproject.protocols.p4runtime', |
| 33 | 'org.onosproject.drivers.p4runtime' |
| 34 | ], |
| 35 | ) |