blob: 2e8e69089276768df9ee3d40eec71305d19a9483 [file] [log] [blame]
Ray Milkey0bcdfd12018-05-23 14:07:19 -07001SRC = "src/main/java/org/onlab/**/"
2
3TEST_SRC = "src/test/java/org/onlab/**/"
Ray Milkey7dac7da2017-08-01 16:56:05 -07004
5COMPILE_DEPS = [
Ray Milkey0bcdfd12018-05-23 14:07:19 -07006 "@guava//jar",
7 "@slf4j_api//jar",
8 "@hamcrest_all//jar",
9 "@junit//jar",
Ray Milkey7dac7da2017-08-01 16:56:05 -070010]
11
12TEST_DEPS = [
13 "@guava_testlib//jar",
14]
15
16osgi_jar_with_tests(
Ray Milkey0bcdfd12018-05-23 14:07:19 -070017 name = "onlab-junit",
18 srcs = glob([SRC + "*.java"]),
Ray Milkey7dac7da2017-08-01 16:56:05 -070019 test_deps = TEST_DEPS,
Ray Milkey0bcdfd12018-05-23 14:07:19 -070020 test_srcs = glob([TEST_SRC + "*.java"]),
Ray Milkey7dac7da2017-08-01 16:56:05 -070021 visibility = ["//visibility:public"],
Ray Milkey0bcdfd12018-05-23 14:07:19 -070022 deps = COMPILE_DEPS,
Ray Milkey7dac7da2017-08-01 16:56:05 -070023)