Ray Milkey | 0bcdfd1 | 2018-05-23 14:07:19 -0700 | [diff] [blame] | 1 | SRC = "src/main/java/org/onlab/**/" |
| 2 | |
| 3 | TEST_SRC = "src/test/java/org/onlab/**/" |
Ray Milkey | 7dac7da | 2017-08-01 16:56:05 -0700 | [diff] [blame] | 4 | |
| 5 | COMPILE_DEPS = [ |
Ray Milkey | 0bcdfd1 | 2018-05-23 14:07:19 -0700 | [diff] [blame] | 6 | "@guava//jar", |
| 7 | "@slf4j_api//jar", |
| 8 | "@hamcrest_all//jar", |
| 9 | "@junit//jar", |
Ray Milkey | 7dac7da | 2017-08-01 16:56:05 -0700 | [diff] [blame] | 10 | ] |
| 11 | |
| 12 | TEST_DEPS = [ |
| 13 | "@guava_testlib//jar", |
| 14 | ] |
| 15 | |
| 16 | osgi_jar_with_tests( |
Ray Milkey | 0bcdfd1 | 2018-05-23 14:07:19 -0700 | [diff] [blame] | 17 | name = "onlab-junit", |
| 18 | srcs = glob([SRC + "*.java"]), |
Ray Milkey | 275af2c | 2018-06-15 13:05:08 -0700 | [diff] [blame^] | 19 | group = "org.onlab", |
Ray Milkey | 7dac7da | 2017-08-01 16:56:05 -0700 | [diff] [blame] | 20 | test_deps = TEST_DEPS, |
Ray Milkey | 0bcdfd1 | 2018-05-23 14:07:19 -0700 | [diff] [blame] | 21 | test_srcs = glob([TEST_SRC + "*.java"]), |
Ray Milkey | 7dac7da | 2017-08-01 16:56:05 -0700 | [diff] [blame] | 22 | visibility = ["//visibility:public"], |
Ray Milkey | 0bcdfd1 | 2018-05-23 14:07:19 -0700 | [diff] [blame] | 23 | deps = COMPILE_DEPS, |
Ray Milkey | 7dac7da | 2017-08-01 16:56:05 -0700 | [diff] [blame] | 24 | ) |