blob: ce4f67d0b7f6d1c5d129c1faf538791b5658611a [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',
Sean Condon06613e92017-06-09 15:14:01 +01006 '//models/microsemi:onos-models-microsemi',
Sean Condonfae8e662016-12-15 10:25:13 +00007 '//lib:org.apache.karaf.shell.console',
Sean Condonfae8e662016-12-15 10:25:13 +00008 '//incubator/api:onos-incubator-api',
Sean Condon06613e92017-06-09 15:14:01 +01009] + YANG_TOOLS
Sean Condonfae8e662016-12-15 10:25:13 +000010
11TEST_DEPS = [
12 '//lib:TEST_ADAPTERS',
13 '//core/api:onos-api-tests',
14 '//drivers/netconf:onos-drivers-netconf-tests',
Sean Condon06613e92017-06-09 15:14:01 +010015 '//utils/osgi:onlab-osgi-tests'
Sean Condonfae8e662016-12-15 10:25:13 +000016]
17
Sean Condon06613e92017-06-09 15:14:01 +010018APPS = [
19 'org.onosproject.yang',
20# 'org.onosproject.yang-gui',
21 'org.onosproject.config',
22 'org.onosproject.netconf',
23 'org.onosproject.netconfsb',
24 'org.onosproject.drivers.netconf',
25 'org.onosproject.models.microsemi'
Sean Condonfae8e662016-12-15 10:25:13 +000026]
27
28osgi_jar_with_tests (
29 deps = COMPILE_DEPS,
30 test_deps = TEST_DEPS,
Sean Condonfae8e662016-12-15 10:25:13 +000031 resources_root = 'src/main/resources',
32 resources = glob(['src/main/resources/**']),
33)
34
35onos_app (
36 app_name = 'org.onosproject.drivers.microsemi',
Thomas Vachuska7c45e282017-08-23 17:55:53 -070037 title = 'Microsemi Drivers',
Sean Condonfae8e662016-12-15 10:25:13 +000038 category = 'Drivers',
39 url = 'http://onosproject.org',
Thomas Vachuska7c45e282017-08-23 17:55:53 -070040 description = 'Adds support for Microsemi devices.',
Sean Condon06613e92017-06-09 15:14:01 +010041 required_apps = APPS,
Sean Condonfae8e662016-12-15 10:25:13 +000042)