blob: 210d76cc3d403c73cdf09b9d090eed13714696f6 [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 Condon1dbcd712017-10-19 12:09:21 +01007 '//models/common:onos-models-common',
Sean Condon06613e92017-06-09 15:14:01 +01008 '//models/microsemi:onos-models-microsemi',
Sean Condonfae8e662016-12-15 10:25:13 +00009 '//lib:org.apache.karaf.shell.console',
Sean Condonfae8e662016-12-15 10:25:13 +000010 '//incubator/api:onos-incubator-api',
Sean Condon06613e92017-06-09 15:14:01 +010011] + YANG_TOOLS
Sean Condonfae8e662016-12-15 10:25:13 +000012
13TEST_DEPS = [
14 '//lib:TEST_ADAPTERS',
15 '//core/api:onos-api-tests',
16 '//drivers/netconf:onos-drivers-netconf-tests',
Sean Condon0e89bda2017-03-21 14:23:19 +000017 '//utils/osgi:onlab-osgi-tests',
Sean Condon96b896d2017-12-11 12:44:29 -080018 '//incubator/net:onos-incubator-net',
19 '//incubator/net:onos-incubator-net-tests'
Sean Condonfae8e662016-12-15 10:25:13 +000020]
21
Sean Condon06613e92017-06-09 15:14:01 +010022APPS = [
23 'org.onosproject.yang',
24# 'org.onosproject.yang-gui',
25 'org.onosproject.config',
26 'org.onosproject.netconf',
27 'org.onosproject.netconfsb',
28 'org.onosproject.drivers.netconf',
Sean Condon1dbcd712017-10-19 12:09:21 +010029 'org.onosproject.models.common',
Sean Condon06613e92017-06-09 15:14:01 +010030 'org.onosproject.models.microsemi'
Sean Condonfae8e662016-12-15 10:25:13 +000031]
32
33osgi_jar_with_tests (
34 deps = COMPILE_DEPS,
35 test_deps = TEST_DEPS,
Sean Condonfae8e662016-12-15 10:25:13 +000036 resources_root = 'src/main/resources',
37 resources = glob(['src/main/resources/**']),
38)
39
40onos_app (
41 app_name = 'org.onosproject.drivers.microsemi',
Thomas Vachuskab0029682017-08-23 17:55:53 -070042 title = 'Microsemi Drivers',
Sean Condonfae8e662016-12-15 10:25:13 +000043 category = 'Drivers',
44 url = 'http://onosproject.org',
Thomas Vachuskab0029682017-08-23 17:55:53 -070045 description = 'Adds support for Microsemi devices.',
Sean Condon06613e92017-06-09 15:14:01 +010046 required_apps = APPS,
Sean Condonfae8e662016-12-15 10:25:13 +000047)