blob: 2787032fde3da614ab22c3188f3c0593d1998c62 [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',
37 title = 'Microsemi device drivers',
38 category = 'Drivers',
39 url = 'http://onosproject.org',
40 description = 'ONOS Microsemi device drivers application.',
Sean Condon06613e92017-06-09 15:14:01 +010041 required_apps = APPS,
Sean Condonfae8e662016-12-15 10:25:13 +000042)