MaoLu | 819fde2 | 2017-04-20 17:17:49 -0700 | [diff] [blame^] | 1 | COMPILE_DEPS = [ |
| 2 | '//lib:CORE_DEPS', |
| 3 | '//drivers/default:onos-drivers-default', |
| 4 | '//drivers/utilities:onos-drivers-utilities', |
| 5 | '//protocols/netconf/api:onos-protocols-netconf-api', |
| 6 | '//apps/optical-model:onos-apps-optical-model', |
| 7 | ] |
| 8 | |
| 9 | TEST_DEPS = [ |
| 10 | '//lib:TEST_ADAPTERS', |
| 11 | '//core/api:onos-api-tests', |
| 12 | ] |
| 13 | |
| 14 | BUNDLES = [ |
| 15 | ':onos-drivers-oplink', |
| 16 | '//drivers/utilities:onos-drivers-utilities', |
| 17 | ] |
| 18 | |
| 19 | osgi_jar_with_tests ( |
| 20 | deps = COMPILE_DEPS, |
| 21 | test_deps = TEST_DEPS, |
| 22 | resources_root = 'src/main/resources', |
| 23 | resources = glob(['src/main/resources/**']), |
| 24 | ) |
| 25 | |
| 26 | onos_app( |
| 27 | app_name = 'org.onosproject.drivers.oplink', |
| 28 | title = 'Oplink Device Drivers', |
| 29 | category = 'Drivers', |
| 30 | url = 'http://onosproject.org', |
| 31 | description = 'ONOS Oplink Device Drivers application.', |
| 32 | included_bundles = BUNDLES, |
| 33 | required_apps = [ |
| 34 | 'org.onosproject.netconf', 'org.onosproject.optical-model' |
| 35 | ], |
| 36 | ) |