blob: 398fff75fa75bae2ddb648f4512cbd1b723eb329 [file] [log] [blame]
Sean Condonfae8e662016-12-15 10:25:13 +00001COMPILE_DEPS = [
2 '//lib:CORE_DEPS',
Ray Milkey446f4462017-08-17 15:36:01 -07003 '//lib:ONOS_YANG',
Sean Condonfae8e662016-12-15 10:25:13 +00004 '//drivers/utilities:onos-drivers-utilities',
5 '//protocols/netconf/api:onos-protocols-netconf-api',
6 '//protocols/netconf/ctl:onos-protocols-netconf-ctl',
Sean Condon06613e92017-06-09 15:14:01 +01007 '//models/microsemi:onos-models-microsemi',
Sean Condonfae8e662016-12-15 10:25:13 +00008 '//lib:org.apache.karaf.shell.console',
Sean Condonfae8e662016-12-15 10:25:13 +00009 '//incubator/api:onos-incubator-api',
Sean Condon06613e92017-06-09 15:14:01 +010010] + YANG_TOOLS
Sean Condonfae8e662016-12-15 10:25:13 +000011
12TEST_DEPS = [
13 '//lib:TEST_ADAPTERS',
14 '//core/api:onos-api-tests',
15 '//drivers/netconf:onos-drivers-netconf-tests',
Sean Condon0e89bda2017-03-21 14:23:19 +000016 '//utils/osgi:onlab-osgi-tests',
17 '//incubator/net:onos-incubator-net'
Sean Condonfae8e662016-12-15 10:25:13 +000018]
19
Sean Condon06613e92017-06-09 15:14:01 +010020APPS = [
21 'org.onosproject.yang',
22# 'org.onosproject.yang-gui',
23 'org.onosproject.config',
24 'org.onosproject.netconf',
25 'org.onosproject.netconfsb',
26 'org.onosproject.drivers.netconf',
27 'org.onosproject.models.microsemi'
Sean Condonfae8e662016-12-15 10:25:13 +000028]
29
30osgi_jar_with_tests (
31 deps = COMPILE_DEPS,
32 test_deps = TEST_DEPS,
Sean Condonfae8e662016-12-15 10:25:13 +000033 resources_root = 'src/main/resources',
34 resources = glob(['src/main/resources/**']),
35)
36
37onos_app (
38 app_name = 'org.onosproject.drivers.microsemi',
Thomas Vachuskab0029682017-08-23 17:55:53 -070039 title = 'Microsemi Drivers',
Sean Condonfae8e662016-12-15 10:25:13 +000040 category = 'Drivers',
41 url = 'http://onosproject.org',
Thomas Vachuskab0029682017-08-23 17:55:53 -070042 description = 'Adds support for Microsemi devices.',
Sean Condon06613e92017-06-09 15:14:01 +010043 required_apps = APPS,
Sean Condonfae8e662016-12-15 10:25:13 +000044)