Ray Milkey | 257eb6d | 2018-07-17 09:41:00 -0700 | [diff] [blame] | 1 | COMPILE_DEPS = CORE_DEPS + ONOS_YANG + [ |
| 2 | "@onos_yang_runtime//jar", |
| 3 | "//models/l3vpn:onos-models-l3vpn", |
| 4 | "//models/huawei:onos-models-huawei", |
| 5 | "//drivers/utilities:onos-drivers-utilities", |
| 6 | "//protocols/netconf/api:onos-protocols-netconf-api", |
| 7 | "//apps/l3vpn:onos-apps-l3vpn", |
| 8 | "//apps/config:onos-apps-config", |
| 9 | "//apps/yang:onos-apps-yang", |
| 10 | "//models/common:onos-models-common", |
| 11 | ] |
| 12 | |
| 13 | APPS = [ |
| 14 | "org.onosproject.yang", |
| 15 | "org.onosproject.yang-gui", |
| 16 | "org.onosproject.config", |
| 17 | "org.onosproject.restconf", |
| 18 | "org.onosproject.protocols.restconfserver", |
| 19 | "org.onosproject.netconf", |
| 20 | "org.onosproject.netconfsb", |
| 21 | "org.onosproject.models.common", |
| 22 | "org.onosproject.models.l3vpn", |
| 23 | "org.onosproject.l3vpn", |
| 24 | "org.onosproject.models.huawei", |
| 25 | ] |
| 26 | |
| 27 | TEST_DEPS = TEST_ADAPTERS + [ |
| 28 | "//utils/osgi:onlab-osgi-tests", |
| 29 | ] |
| 30 | |
| 31 | osgi_jar_with_tests( |
| 32 | resources = glob(["src/main/resources/**"]), |
| 33 | resources_root = "src/main/resources", |
| 34 | test_deps = TEST_DEPS, |
| 35 | deps = COMPILE_DEPS, |
| 36 | ) |
| 37 | |
| 38 | onos_app( |
| 39 | app_name = "org.onosproject.drivers.huawei", |
| 40 | category = "Drivers", |
| 41 | description = "Adds support for Huawei devices.", |
| 42 | required_apps = APPS, |
| 43 | title = "Huawei Drivers", |
| 44 | url = "http://onosproject.org", |
| 45 | ) |