blob: 6f819d17ea366c57371929c23e8216bddb07fde5 [file] [log] [blame]
Ray Milkeyf80bbb22016-03-11 10:16:22 -08001SRC = 'src/main/java/org/onosproject/**/'
Brian O'Connor85f28d02016-04-05 20:31:18 -07002TEST = 'src/test/java/org/onosproject/**/'
Ray Milkeyf80bbb22016-03-11 10:16:22 -08003
4CURRENT_NAME = 'onos-pcep-provider-topology'
5CURRENT_TARGET = ':' + CURRENT_NAME
6
7COMPILE_DEPS = [
8 '//lib:CORE_DEPS',
9 '//protocols/ovsdb/api:onos-ovsdb-api',
10 '//protocols/ovsdb/rfc:onos-ovsdb-rfc',
11 '//apps/pcep-api:onos-app-pcep-api',
12]
13
14TEST_DEPS = [
15 '//lib:TEST',
16]
17
Brian O'Connorb86c9202016-04-05 20:15:04 -070018osgi_jar(
Ray Milkeyf80bbb22016-03-11 10:16:22 -080019 name = CURRENT_NAME,
20 srcs = glob([SRC + '/*.java']),
21 deps = COMPILE_DEPS,
22 visibility = ['PUBLIC'],
23)
24
25java_test(
26 name = 'tests',
27 srcs = glob([TEST + '/*.java']),
28 deps = COMPILE_DEPS +
29 TEST_DEPS +
30 [CURRENT_TARGET],
31 source_under_test = [CURRENT_TARGET],
32)