Laszlo Papp | 8b3a5f6 | 2017-10-05 13:32:00 +0100 | [diff] [blame^] | 1 | COMPILE_DEPS = [ |
| 2 | '//lib:CORE_DEPS', |
| 3 | '//models/polatis:onos-models-polatis', |
| 4 | '//drivers/utilities:onos-drivers-utilities', |
| 5 | '//protocols/netconf/api:onos-protocols-netconf-api', |
| 6 | '//lib:onos-yang-model', |
| 7 | '//apps/optical-model:onos-apps-optical-model', |
| 8 | ] |
| 9 | |
| 10 | APPS = [ |
| 11 | 'org.onosproject.netconf', |
| 12 | 'org.onosproject.models.common', |
| 13 | 'org.onosproject.models.polatis', |
| 14 | 'org.onosproject.optical-model', |
| 15 | ] |
| 16 | |
| 17 | TEST_DEPS = [ |
| 18 | '//lib:TEST_ADAPTERS', |
| 19 | '//utils/osgi:onlab-osgi-tests', |
| 20 | ] |
| 21 | |
| 22 | BUNDLES = [ |
| 23 | ':onos-drivers-polatis-netconf', |
| 24 | '//drivers/utilities:onos-drivers-utilities', |
| 25 | ] |
| 26 | |
| 27 | osgi_jar_with_tests( |
| 28 | deps = COMPILE_DEPS, |
| 29 | test_deps = TEST_DEPS, |
| 30 | resources_root = 'src/main/resources', |
| 31 | resources = glob(['src/main/resources/**']), |
| 32 | ) |
| 33 | |
| 34 | onos_app( |
| 35 | app_name = 'org.onosproject.drivers.polatis.netconf', |
| 36 | title = 'Polatis Device Drivers', |
| 37 | category = 'Drivers', |
| 38 | url = 'http://www.polatis.com', |
| 39 | description = 'ONOS Polatis Device Drivers application.', |
| 40 | included_bundles = BUNDLES, |
| 41 | required_apps = APPS |
| 42 | ) |