blob: 73d20c0a0676c1a7e4f204c0a3e9ad954a0bd770 [file] [log] [blame]
Sean Condonfae8e662016-12-15 10:25:13 +00001YANG_DEPS = [
2 '//lib:CORE_DEPS',
3 '//lib:onos-yang-datamodel',
4 '//lib:onos-yang-utils-generator',
5]
6
7COMPILE_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
17TEST_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
24yang_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
31osgi_jar_with_tests(
32 deps = COMPILE_DEPS,
33 test_deps = TEST_DEPS,
34 visibility = [ 'PUBLIC' ],
35 srcs = glob(['src/main/**/*.java'])
36)