Ray Milkey | b6d64d5 | 2018-06-13 09:49:01 -0700 | [diff] [blame] | 1 | COMPILE_DEPS = CORE_DEPS + JACKSON + [ |
| 2 | '@javax_ws_rs_api//jar', |
| 3 | '//incubator/api:onos-incubator-api', |
| 4 | '//utils/rest:onlab-rest', |
| 5 | '//drivers/utilities:onos-drivers-utilities', |
| 6 | '//protocols/rest/api:onos-protocols-rest-api', |
| 7 | ] |
| 8 | |
| 9 | TEST_DEPS = TEST_ADAPTERS + [ |
| 10 | '//core/api:onos-api-tests', |
| 11 | ] |
| 12 | |
| 13 | BUNDLES = [ |
| 14 | ':onos-drivers-arista', |
| 15 | '//drivers/utilities:onos-drivers-utilities', |
| 16 | ] |
| 17 | |
| 18 | osgi_jar_with_tests ( |
| 19 | deps = COMPILE_DEPS, |
| 20 | test_deps = TEST_DEPS, |
| 21 | resources_root = 'src/main/resources', |
| 22 | resources = glob(['src/main/resources/**']), |
| 23 | ) |
| 24 | |
| 25 | onos_app ( |
| 26 | app_name = 'org.onosproject.drivers.arista', |
| 27 | title = 'Arista Drivers', |
| 28 | category = 'Drivers', |
| 29 | url = 'http://onosproject.org', |
| 30 | description = 'Adds support for Arista devices.', |
| 31 | included_bundles = BUNDLES, |
| 32 | required_apps = [ 'org.onosproject.restsb' ], |
| 33 | ) |