Eunjin Choi | 8fcdf28 | 2017-05-17 16:56:52 +0900 | [diff] [blame^] | 1 | COMPILE_DEPS = [ |
| 2 | '//lib:CORE_DEPS', |
| 3 | '//lib:javax.ws.rs-api', |
| 4 | '//incubator/api:onos-incubator-api', |
| 5 | '//utils/rest:onlab-rest', |
| 6 | '//drivers/utilities:onos-drivers-utilities', |
| 7 | '//protocols/rest/api:onos-protocols-rest-api', |
| 8 | ] |
| 9 | |
| 10 | TEST_DEPS = [ |
| 11 | '//lib:TEST_ADAPTERS', |
| 12 | '//core/api:onos-api-tests', |
| 13 | ] |
| 14 | |
| 15 | BUNDLES = [ |
| 16 | ':onos-drivers-cisco-rest', |
| 17 | '//drivers/utilities:onos-drivers-utilities', |
| 18 | ] |
| 19 | |
| 20 | osgi_jar_with_tests ( |
| 21 | deps = COMPILE_DEPS, |
| 22 | test_deps = TEST_DEPS, |
| 23 | resources_root = 'src/main/resources', |
| 24 | resources = glob(['src/main/resources/**']), |
| 25 | ) |
| 26 | |
| 27 | onos_app ( |
| 28 | app_name = 'org.onosproject.drivers.cisco.rest', |
| 29 | title = 'Cisco REST device drivers', |
| 30 | category = 'Drivers', |
| 31 | url = 'http://onosproject.org', |
| 32 | description = 'ONOS Cisco REST device drivers application.', |
| 33 | included_bundles = BUNDLES, |
| 34 | required_apps = [ 'org.onosproject.restsb' ], |
| 35 | ) |