blob: f715e919c545fd5886a43ff9c64b5149d3be3cf6 [file] [log] [blame]
Ray Milkeyf80bbb22016-03-11 10:16:22 -08001SRC = 'src/main/java/org/onosproject/**/'
2TEST = 'src/test/java/org/onosproject/**/'
3CURRENT_NAME = 'onos-ovsdb-api'
4CURRENT_TARGET = ':' + CURRENT_NAME
5
6COMPILE_DEPS = [
7 '//lib:CORE_DEPS',
8 '//lib:netty-transport',
9 '//protocols/ovsdb/rfc:onos-ovsdb-rfc',
10]
11
12TEST_DEPS = [
13 '//lib:TEST',
14]
15
Brian O'Connorb86c9202016-04-05 20:15:04 -070016osgi_jar(
Ray Milkeyf80bbb22016-03-11 10:16:22 -080017 name = CURRENT_NAME,
18 srcs = glob([SRC + '/*.java']),
19 deps = COMPILE_DEPS,
20 visibility = ['PUBLIC'],
21)
22
23java_test(
Ray Milkey61403ed2016-04-28 12:27:51 -070024 name = 'onos-protocols-ovsdb-tests',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080025 srcs = glob([TEST + '/*.java']),
26 deps = COMPILE_DEPS +
27 TEST_DEPS +
28 [CURRENT_TARGET],
29 source_under_test = [CURRENT_TARGET],
Ray Milkey61403ed2016-04-28 12:27:51 -070030 visibility = ['PUBLIC'],
Ray Milkeyf80bbb22016-03-11 10:16:22 -080031)