blob: eff20ce287adf5e5dbaef60dc12c0511cf34f348 [file] [log] [blame]
Andrea Campanellac2d754b2016-03-29 17:51:07 -07001SRC = 'src/main/java/org/onosproject/**/'
2TEST = 'src/test/java/org/onosproject/**/'
3CURRENT_NAME = 'onos-snmp-ctl'
4CURRENT_TARGET = ':' + CURRENT_NAME
5
6COMPILE_DEPS = [
7 '//lib:CORE_DEPS',
8 '//incubator/api:onos-incubator-api',
9 '//protocols/snmp/api:onos-snmp-api',
10 '//lib:org.apache.servicemix.bundles.snmp4j',
11 '//lib:snmp-core',
12 '//lib:bti7000',
13 '//lib:mibs-net-snmp',
14 '//lib:mibs-rfc',
15]
16
17TEST_DEPS = [
18 '//lib:TEST',
19]
20
Brian O'Connorb86c9202016-04-05 20:15:04 -070021osgi_jar(
Andrea Campanellac2d754b2016-03-29 17:51:07 -070022 name = CURRENT_NAME,
23 srcs = glob([SRC + '/*.java']),
24 deps = COMPILE_DEPS,
25 visibility = ['PUBLIC'],
26)
27
28java_test(
29 name = 'tests',
30 srcs = glob([TEST + '/*.java']),
31 deps = COMPILE_DEPS +
32 TEST_DEPS +
33 [CURRENT_TARGET],
34 source_under_test = [CURRENT_TARGET],
35)