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