Sean Condon | fae8e66 | 2016-12-15 10:25:13 +0000 | [diff] [blame] | 1 | COMPILE_DEPS = [ |
| 2 | '//lib:CORE_DEPS', |
| 3 | '//drivers/utilities:onos-drivers-utilities', |
| 4 | '//protocols/netconf/api:onos-protocols-netconf-api', |
| 5 | '//protocols/netconf/ctl:onos-protocols-netconf-ctl', |
| 6 | '//drivers/microsemi/ea1000yang:onos-drivers-microsemi-ea1000yang', |
| 7 | '//drivers/microsemi/ea1000yang:onos-drivers-microsemi-ea1000yang-gen', |
| 8 | '//lib:org.apache.karaf.shell.console', |
| 9 | '//cli:onos-cli', |
| 10 | '//incubator/api:onos-incubator-api', |
| 11 | ] |
| 12 | |
| 13 | TEST_DEPS = [ |
| 14 | '//lib:TEST_ADAPTERS', |
| 15 | '//core/api:onos-api-tests', |
| 16 | '//drivers/netconf:onos-drivers-netconf-tests', |
| 17 | '//drivers/microsemi/ea1000yang:onos-drivers-microsemi-ea1000yang-tests', |
| 18 | ] |
| 19 | |
| 20 | BUNDLES = [ |
| 21 | '//drivers/utilities:onos-drivers-utilities', |
| 22 | '//drivers/microsemi/ea1000yang:onos-drivers-microsemi-ea1000yang', |
| 23 | ] |
| 24 | |
| 25 | osgi_jar_with_tests ( |
| 26 | deps = COMPILE_DEPS, |
| 27 | test_deps = TEST_DEPS, |
| 28 | srcs = glob(['src/main/java/**/*.java']), |
| 29 | resources_root = 'src/main/resources', |
| 30 | resources = glob(['src/main/resources/**']), |
| 31 | ) |
| 32 | |
| 33 | onos_app ( |
| 34 | app_name = 'org.onosproject.drivers.microsemi', |
| 35 | title = 'Microsemi device drivers', |
| 36 | category = 'Drivers', |
| 37 | url = 'http://onosproject.org', |
| 38 | description = 'ONOS Microsemi device drivers application.', |
| 39 | included_bundles = BUNDLES, |
| 40 | required_apps = [ 'org.onosproject.netconf', 'org.onosproject.yms' ], |
| 41 | ) |