Yuta HIGUCHI | 8c6e194 | 2018-04-05 13:40:51 -0700 | [diff] [blame^] | 1 | COMPILE_DEPS = [ |
| 2 | '//lib:CORE_DEPS', |
| 3 | '//protocols/netconf/api:onos-protocols-netconf-api', |
| 4 | '//lib:commons-jxpath', |
| 5 | '//apps/odtn:onos-apps-odtn', # FIXME direction of dependency not ideal |
| 6 | ] |
| 7 | |
| 8 | TEST_DEPS = [ |
| 9 | '//lib:TEST_ADAPTERS', |
| 10 | '//core/api:onos-api-tests', |
| 11 | '//lib:slf4j-jdk14', |
| 12 | ] |
| 13 | |
| 14 | BUNDLES = [ |
| 15 | ':onos-drivers-odtn-driver', |
| 16 | '//lib:commons-jxpath', |
| 17 | '//lib:commons-beanutils', # jxpath dependency |
| 18 | '//lib:jdom', # jxpath dependency |
| 19 | ] |
| 20 | |
| 21 | osgi_jar_with_tests ( |
| 22 | deps = COMPILE_DEPS, |
| 23 | test_deps = TEST_DEPS, |
| 24 | resources_root = 'src/main/resources', |
| 25 | resources = glob(['src/main/resources/**']), |
| 26 | ) |
| 27 | |
| 28 | onos_app ( |
| 29 | app_name = 'org.onosproject.drivers.odtn-driver', |
| 30 | title = 'ODTN Driver', |
| 31 | category = 'Drivers', |
| 32 | url = 'https://wiki.onosproject.org/display/ODTN/ODTN', |
| 33 | description = 'Drivers related to ODTN', |
| 34 | included_bundles = BUNDLES, |
| 35 | required_apps = [ |
| 36 | 'org.onosproject.netconf', |
| 37 | 'org.onosproject.odtn', |
| 38 | ], |
| 39 | ) |