blob: bee66fbe4c302fb53b5fcc9671e241fdec27e5be [file] [log] [blame]
Sean Condonfae8e662016-12-15 10:25:13 +00001COMPILE_DEPS = [
2 '//lib:CORE_DEPS',
3 '//drivers/utilities:onos-drivers-utilities',
4 '//protocols/netconf/api:onos-protocols-netconf-api',
5 '//protocols/netconf/ctl:onos-protocols-netconf-ctl',
6 '//drivers/microsemi/ea1000yang:onos-drivers-microsemi-ea1000yang',
7 '//drivers/microsemi/ea1000yang:onos-drivers-microsemi-ea1000yang-gen',
8 '//lib:org.apache.karaf.shell.console',
9 '//cli:onos-cli',
10 '//incubator/api:onos-incubator-api',
11]
12
13TEST_DEPS = [
14 '//lib:TEST_ADAPTERS',
15 '//core/api:onos-api-tests',
16 '//drivers/netconf:onos-drivers-netconf-tests',
17 '//drivers/microsemi/ea1000yang:onos-drivers-microsemi-ea1000yang-tests',
18]
19
20BUNDLES = [
21 '//drivers/utilities:onos-drivers-utilities',
22 '//drivers/microsemi/ea1000yang:onos-drivers-microsemi-ea1000yang',
23]
24
25osgi_jar_with_tests (
26 deps = COMPILE_DEPS,
27 test_deps = TEST_DEPS,
28 srcs = glob(['src/main/java/**/*.java']),
29 resources_root = 'src/main/resources',
30 resources = glob(['src/main/resources/**']),
31)
32
33onos_app (
34 app_name = 'org.onosproject.drivers.microsemi',
35 title = 'Microsemi device drivers',
36 category = 'Drivers',
37 url = 'http://onosproject.org',
38 description = 'ONOS Microsemi device drivers application.',
39 included_bundles = BUNDLES,
40 required_apps = [ 'org.onosproject.netconf', 'org.onosproject.yms' ],
41)