Sean Condon | fae8e66 | 2016-12-15 10:25:13 +0000 | [diff] [blame] | 1 | YANG_DEPS = [ |
| 2 | '//lib:CORE_DEPS', |
| 3 | '//lib:onos-yang-datamodel', |
| 4 | '//lib:onos-yang-utils-generator', |
| 5 | ] |
| 6 | |
| 7 | COMPILE_DEPS = [ |
| 8 | '//lib:CORE_DEPS', |
| 9 | '//apps/yms/api:onos-apps-yms-api', |
| 10 | '//protocols/netconf/api:onos-protocols-netconf-api', |
| 11 | '//lib:onos-yang-datamodel', |
| 12 | '//lib:onos-yang-utils-generator', |
| 13 | '//lib:org.apache.servicemix.bundles.dom4j', |
| 14 | '//drivers/microsemi/ea1000yang:onos-drivers-microsemi-ea1000yang-gen', |
| 15 | ] |
| 16 | |
| 17 | TEST_DEPS = [ |
| 18 | '//lib:TEST_ADAPTERS', |
| 19 | '//apps/yms/app:onos-apps-yms-app', |
| 20 | '//drivers/netconf:onos-drivers-netconf-tests', |
| 21 | '//protocols/netconf/ctl:onos-protocols-netconf-ctl', |
| 22 | ] |
| 23 | |
| 24 | yang_osgi_jar( |
| 25 | deps = YANG_DEPS, |
| 26 | name = 'onos-drivers-microsemi-ea1000yang-gen', |
| 27 | srcs = glob(['src/main/yang/**/*.yang']), |
| 28 | visibility = [ 'PUBLIC' ], |
| 29 | ) |
| 30 | |
| 31 | osgi_jar_with_tests( |
| 32 | deps = COMPILE_DEPS, |
| 33 | test_deps = TEST_DEPS, |
| 34 | visibility = [ 'PUBLIC' ], |
| 35 | srcs = glob(['src/main/**/*.java']) |
| 36 | ) |