Ray Milkey | 5c9e283 | 2018-06-26 18:37:12 -0700 | [diff] [blame] | 1 | COMPILE_DEPS = CORE_DEPS + [ |
| 2 | "//drivers/default:onos-drivers-default", |
| 3 | "//drivers/utilities:onos-drivers-utilities", |
| 4 | "//protocols/netconf/api:onos-protocols-netconf-api", |
| 5 | "//apps/optical-model:onos-apps-optical-model", |
| 6 | ] |
| 7 | |
| 8 | BUNDLES = [ |
| 9 | ":onos-drivers-oplink", |
| 10 | "//drivers/utilities:onos-drivers-utilities", |
| 11 | ] |
| 12 | |
| 13 | osgi_jar_with_tests( |
| 14 | resources = glob(["src/main/resources/**"]), |
| 15 | resources_root = "src/main/resources", |
| 16 | test_deps = TEST_ADAPTERS, |
| 17 | deps = COMPILE_DEPS, |
| 18 | ) |
| 19 | |
| 20 | onos_app( |
| 21 | app_name = "org.onosproject.drivers.oplink", |
| 22 | category = "Drivers", |
| 23 | description = "Adds support for Oplink devices.", |
| 24 | included_bundles = BUNDLES, |
| 25 | required_apps = [ |
| 26 | "org.onosproject.netconf", |
| 27 | "org.onosproject.optical-model", |
| 28 | ], |
| 29 | title = "Oplink Drivers", |
| 30 | url = "http://onosproject.org", |
| 31 | ) |