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 | c57d08c | 2017-07-02 16:24:17 +0200 | [diff] [blame^] | 18 | '//protocols/grpc/ctl:onos-protocols-grpc-ctl', |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 19 | ] |
| 20 | |
Andrea Campanella | 378e21a | 2017-06-07 12:09:59 +0200 | [diff] [blame] | 21 | osgi_jar_with_tests( |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 22 | deps = COMPILE_DEPS, |
| 23 | test_deps = TEST_DEPS, |
| 24 | resources_root = 'src/main/resources', |
| 25 | resources = glob(['src/main/resources/**']), |
| 26 | ) |
| 27 | |
| 28 | onos_app ( |
| 29 | app_name = 'org.onosproject.drivers.bmv2', |
Andrea Campanella | 378e21a | 2017-06-07 12:09:59 +0200 | [diff] [blame] | 30 | title = 'BMv2 Device Drivers', |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 31 | category = 'Drivers', |
| 32 | url = 'http://onosproject.org', |
| 33 | description = 'ONOS BMv2 Device Drivers application.', |
| 34 | included_bundles = BUNDLES, |
Andrea Campanella | 378e21a | 2017-06-07 12:09:59 +0200 | [diff] [blame] | 35 | required_apps = [ |
| 36 | 'org.onosproject.generaldeviceprovider' |
| 37 | ], |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 38 | ) |