blob: ad83ec140662d867f35c4f338664c783dda66c41 [file] [log] [blame]
Andrea Campanella241896c2017-05-10 13:11:04 -07001COMPILE_DEPS = [
2 '//lib:CORE_DEPS',
Andrea Campanella378e21a2017-06-07 12:09:59 +02003 '//protocols/grpc/api:onos-protocols-grpc-api',
4 '//lib:grpc-core-1.3.0',
5 '//lib:grpc-stub-1.3.0'
Andrea Campanella241896c2017-05-10 13:11:04 -07006]
7
8TEST_DEPS = [
9 '//lib:TEST_ADAPTERS',
10 '//core/api:onos-api-tests',
11]
12
13BUNDLES = [
14 ':onos-drivers-bmv2',
Andrea Campanella378e21a2017-06-07 12:09:59 +020015 '//lib:grpc-core-1.3.0',
16 '//lib:grpc-stub-1.3.0',
17 '//protocols/grpc/api:onos-protocols-grpc-api',
Andrea Campanellac57d08c2017-07-02 16:24:17 +020018 '//protocols/grpc/ctl:onos-protocols-grpc-ctl',
Andrea Campanella241896c2017-05-10 13:11:04 -070019]
20
Andrea Campanella378e21a2017-06-07 12:09:59 +020021osgi_jar_with_tests(
Andrea Campanella241896c2017-05-10 13:11:04 -070022 deps = COMPILE_DEPS,
23 test_deps = TEST_DEPS,
24 resources_root = 'src/main/resources',
25 resources = glob(['src/main/resources/**']),
26)
27
28onos_app (
29 app_name = 'org.onosproject.drivers.bmv2',
Andrea Campanella378e21a2017-06-07 12:09:59 +020030 title = 'BMv2 Device Drivers',
Andrea Campanella241896c2017-05-10 13:11:04 -070031 category = 'Drivers',
32 url = 'http://onosproject.org',
33 description = 'ONOS BMv2 Device Drivers application.',
34 included_bundles = BUNDLES,
Andrea Campanella378e21a2017-06-07 12:09:59 +020035 required_apps = [
36 'org.onosproject.generaldeviceprovider'
37 ],
Andrea Campanella241896c2017-05-10 13:11:04 -070038)