blob: 2c34c1c8e9a36c0ce99a116e1a8f71511bf135f1 [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 Condon06613e92017-06-09 15:14:01 +010016 '//utils/osgi:onlab-osgi-tests'
Sean Condonfae8e662016-12-15 10:25:13 +000017]
18
Sean Condon06613e92017-06-09 15:14:01 +010019APPS = [
20 'org.onosproject.yang',
21# 'org.onosproject.yang-gui',
22 'org.onosproject.config',
23 'org.onosproject.netconf',
24 'org.onosproject.netconfsb',
25 'org.onosproject.drivers.netconf',
26 'org.onosproject.models.microsemi'
Sean Condonfae8e662016-12-15 10:25:13 +000027]
28
29osgi_jar_with_tests (
30 deps = COMPILE_DEPS,
31 test_deps = TEST_DEPS,
Sean Condonfae8e662016-12-15 10:25:13 +000032 resources_root = 'src/main/resources',
33 resources = glob(['src/main/resources/**']),
34)
35
36onos_app (
37 app_name = 'org.onosproject.drivers.microsemi',
38 title = 'Microsemi device drivers',
39 category = 'Drivers',
40 url = 'http://onosproject.org',
41 description = 'ONOS Microsemi device drivers application.',
Sean Condon06613e92017-06-09 15:14:01 +010042 required_apps = APPS,
Sean Condonfae8e662016-12-15 10:25:13 +000043)