Sean Condon | 37f8091 | 2018-02-27 22:03:58 +0000 | [diff] [blame] | 1 | COMPILE_DEPS = [ |
| 2 | '//lib:CORE_DEPS', |
| 3 | '//lib:ONOS_YANG', |
| 4 | '//drivers/utilities:onos-drivers-utilities', |
| 5 | '//protocols/netconf/api:onos-protocols-netconf-api', |
| 6 | '//protocols/netconf/ctl:onos-protocols-netconf-ctl', |
| 7 | '//models/common:onos-models-common', |
| 8 | '//models/microsemi:onos-models-microsemi', |
| 9 | '//lib:org.apache.karaf.shell.console', |
| 10 | '//apps/cfm/api:onos-apps-cfm-api', |
| 11 | ] + YANG_TOOLS |
| 12 | |
| 13 | TEST_DEPS = [ |
| 14 | '//lib:TEST_ADAPTERS', |
| 15 | '//core/api:onos-api-tests', |
| 16 | '//drivers/netconf:onos-drivers-netconf-tests', |
| 17 | '//utils/osgi:onlab-osgi-tests', |
| 18 | '//apps/cfm/app:onos-apps-cfm-app', |
| 19 | '//apps/cfm/app:onos-apps-cfm-app-tests', |
| 20 | ] |
| 21 | |
| 22 | APPS = [ |
| 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', |
| 29 | 'org.onosproject.models.common', |
| 30 | 'org.onosproject.models.microsemi', |
| 31 | 'org.onosproject.cfm', |
| 32 | ] |
| 33 | |
| 34 | osgi_jar_with_tests ( |
| 35 | deps = COMPILE_DEPS, |
| 36 | test_deps = TEST_DEPS, |
| 37 | resources_root = 'src/main/resources', |
| 38 | resources = glob(['src/main/resources/**']), |
| 39 | ) |
| 40 | |
| 41 | onos_app ( |
| 42 | app_name = 'org.onosproject.drivers.microsemi.ea1000', |
| 43 | title = 'Microsemi Drivers EA1000', |
| 44 | category = 'Drivers', |
| 45 | url = 'http://onosproject.org', |
| 46 | description = 'Adds support for Microsemi EA1000 devices.', |
| 47 | required_apps = APPS, |
| 48 | ) |