Ray Milkey | 257eb6d | 2018-07-17 09:41:00 -0700 | [diff] [blame] | 1 | COMPILE_DEPS = CORE_DEPS + ONOS_YANG + CLI + [ |
| 2 | "@onos_yang_runtime//jar", |
| 3 | "//drivers/utilities:onos-drivers-utilities", |
| 4 | "//protocols/netconf/api:onos-protocols-netconf-api", |
| 5 | "//protocols/netconf/ctl:onos-protocols-netconf-ctl", |
| 6 | "//models/common:onos-models-common", |
| 7 | "//models/microsemi:onos-models-microsemi", |
| 8 | "//apps/cfm/api:onos-apps-cfm-api", |
| 9 | ] |
| 10 | |
| 11 | TEST_DEPS = TEST_ADAPTERS + [ |
| 12 | "//core/api:onos-api-tests", |
| 13 | "//drivers/netconf:onos-drivers-netconf-tests", |
| 14 | "//utils/osgi:onlab-osgi-tests", |
| 15 | "//apps/cfm/app:onos-apps-cfm-app", |
| 16 | "//apps/cfm/app:onos-apps-cfm-app-tests", |
| 17 | ] |
| 18 | |
| 19 | APPS = [ |
| 20 | "org.onosproject.yang", |
| 21 | "org.onosproject.config", |
| 22 | "org.onosproject.netconf", |
| 23 | "org.onosproject.netconfsb", |
| 24 | "org.onosproject.drivers.netconf", |
| 25 | "org.onosproject.models.common", |
| 26 | "org.onosproject.models.microsemi", |
| 27 | "org.onosproject.cfm", |
| 28 | ] |
| 29 | |
| 30 | osgi_jar_with_tests( |
| 31 | exclude_tests = [ |
| 32 | "org.onosproject.drivers.microsemi.EA1000CfmMepProgrammableTest", |
| 33 | "org.onosproject.drivers.microsemi.EA1000FlowRuleProgrammableTest", |
| 34 | "org.onosproject.drivers.microsemi.EA1000MeterProviderTest", |
| 35 | "org.onosproject.drivers.microsemi.EA1000SoamDmProgrammableTest", |
| 36 | "org.onosproject.drivers.microsemi.yang.IetfSystemManagerTest", |
| 37 | "org.onosproject.drivers.microsemi.yang.MseaCfmManagerTest", |
| 38 | "org.onosproject.drivers.microsemi.yang.MseaSaFilteringManagerTest", |
| 39 | "org.onosproject.drivers.microsemi.yang.MseaSaFilteringManagerTest", |
| 40 | "org.onosproject.drivers.microsemi.yang.MseaUniEvcServiceManagerTest", |
| 41 | ], |
| 42 | resources = glob(["src/main/resources/**"]), |
| 43 | resources_root = "src/main/resources", |
| 44 | test_deps = TEST_DEPS, |
| 45 | deps = COMPILE_DEPS, |
| 46 | ) |
| 47 | |
| 48 | onos_app( |
| 49 | app_name = "org.onosproject.drivers.microsemi.ea1000", |
| 50 | category = "Drivers", |
| 51 | description = "Adds support for Microsemi EA1000 devices.", |
| 52 | required_apps = APPS, |
| 53 | title = "Microsemi Drivers EA1000", |
| 54 | url = "http://onosproject.org", |
| 55 | ) |