blob: 2c74051a5030ea6f1d6494ab84cb89884554d11c [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"]),
19 package_name_root = "org.onlab",
Ray Milkey7dac7da2017-08-01 16:56:05 -070020 test_deps = TEST_DEPS,
Ray Milkey0bcdfd12018-05-23 14:07:19 -070021 test_srcs = glob([TEST_SRC + "*.java"]),
Ray Milkey7dac7da2017-08-01 16:56:05 -070022 visibility = ["//visibility:public"],
Ray Milkey0bcdfd12018-05-23 14:07:19 -070023 deps = COMPILE_DEPS,
Ray Milkey7dac7da2017-08-01 16:56:05 -070024)