blob: 80ef2c81eb2db0ee06cf339cc3a9e444e32fd685 [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',
18 '//incubator/net:onos-incubator-net'
Sean Condonfae8e662016-12-15 10:25:13 +000019]
20
Sean Condon06613e92017-06-09 15:14:01 +010021APPS = [
22 'org.onosproject.yang',
23# 'org.onosproject.yang-gui',
24 'org.onosproject.config',
25 'org.onosproject.netconf',
26 'org.onosproject.netconfsb',
27 'org.onosproject.drivers.netconf',
Sean Condon1dbcd712017-10-19 12:09:21 +010028 'org.onosproject.models.common',
Sean Condon06613e92017-06-09 15:14:01 +010029 'org.onosproject.models.microsemi'
Sean Condonfae8e662016-12-15 10:25:13 +000030]
31
32osgi_jar_with_tests (
33 deps = COMPILE_DEPS,
34 test_deps = TEST_DEPS,
Sean Condonfae8e662016-12-15 10:25:13 +000035 resources_root = 'src/main/resources',
36 resources = glob(['src/main/resources/**']),
37)
38
39onos_app (
40 app_name = 'org.onosproject.drivers.microsemi',
Thomas Vachuskab0029682017-08-23 17:55:53 -070041 title = 'Microsemi Drivers',
Sean Condonfae8e662016-12-15 10:25:13 +000042 category = 'Drivers',
43 url = 'http://onosproject.org',
Thomas Vachuskab0029682017-08-23 17:55:53 -070044 description = 'Adds support for Microsemi devices.',
Sean Condon06613e92017-06-09 15:14:01 +010045 required_apps = APPS,
Sean Condonfae8e662016-12-15 10:25:13 +000046)