Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 1 | COMPILE_DEPS = [ |
| 2 | '//lib:CORE_DEPS', |
Andrea Campanella | 378e21a | 2017-06-07 12:09:59 +0200 | [diff] [blame] | 3 | '//protocols/grpc/api:onos-protocols-grpc-api', |
| 4 | '//lib:grpc-core-1.3.0', |
| 5 | '//lib:grpc-stub-1.3.0' |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 6 | ] |
| 7 | |
| 8 | TEST_DEPS = [ |
| 9 | '//lib:TEST_ADAPTERS', |
| 10 | '//core/api:onos-api-tests', |
| 11 | ] |
| 12 | |
| 13 | BUNDLES = [ |
| 14 | ':onos-drivers-bmv2', |
Andrea Campanella | 378e21a | 2017-06-07 12:09:59 +0200 | [diff] [blame] | 15 | '//lib:grpc-core-1.3.0', |
| 16 | '//lib:grpc-stub-1.3.0', |
| 17 | '//protocols/grpc/api:onos-protocols-grpc-api', |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 18 | ] |
| 19 | |
Andrea Campanella | 378e21a | 2017-06-07 12:09:59 +0200 | [diff] [blame] | 20 | osgi_jar_with_tests( |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 21 | deps = COMPILE_DEPS, |
| 22 | test_deps = TEST_DEPS, |
| 23 | resources_root = 'src/main/resources', |
| 24 | resources = glob(['src/main/resources/**']), |
| 25 | ) |
| 26 | |
| 27 | onos_app ( |
| 28 | app_name = 'org.onosproject.drivers.bmv2', |
Andrea Campanella | 378e21a | 2017-06-07 12:09:59 +0200 | [diff] [blame] | 29 | title = 'BMv2 Device Drivers', |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 30 | category = 'Drivers', |
| 31 | url = 'http://onosproject.org', |
| 32 | description = 'ONOS BMv2 Device Drivers application.', |
| 33 | included_bundles = BUNDLES, |
Andrea Campanella | 378e21a | 2017-06-07 12:09:59 +0200 | [diff] [blame] | 34 | required_apps = [ |
| 35 | 'org.onosproject.generaldeviceprovider' |
| 36 | ], |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 37 | ) |