blob: 33d4d66675d519e4edafe2d790550891590516b2 [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 Campanella241896c2017-05-10 13:11:04 -070018]
19
Andrea Campanella378e21a2017-06-07 12:09:59 +020020osgi_jar_with_tests(
Andrea Campanella241896c2017-05-10 13:11:04 -070021 deps = COMPILE_DEPS,
22 test_deps = TEST_DEPS,
23 resources_root = 'src/main/resources',
24 resources = glob(['src/main/resources/**']),
25)
26
27onos_app (
28 app_name = 'org.onosproject.drivers.bmv2',
Andrea Campanella378e21a2017-06-07 12:09:59 +020029 title = 'BMv2 Device Drivers',
Andrea Campanella241896c2017-05-10 13:11:04 -070030 category = 'Drivers',
31 url = 'http://onosproject.org',
32 description = 'ONOS BMv2 Device Drivers application.',
33 included_bundles = BUNDLES,
Andrea Campanella378e21a2017-06-07 12:09:59 +020034 required_apps = [
35 'org.onosproject.generaldeviceprovider'
36 ],
Andrea Campanella241896c2017-05-10 13:11:04 -070037)