Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 1 | SRC_DEPS = [ |
| 2 | '//lib:junit', |
| 3 | '//lib:hamcrest-all', |
Carmelo Cascone | 72893b7 | 2018-08-09 00:59:06 -0700 | [diff] [blame] | 4 | '//lib:com_google_guava_guava', |
Ray Milkey | 8320088 | 2017-11-13 19:18:21 -0800 | [diff] [blame] | 5 | '//lib:slf4j-api', |
Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 6 | ] |
| 7 | |
| 8 | TEST_DEPS = [ |
Carmelo Cascone | 72893b7 | 2018-08-09 00:59:06 -0700 | [diff] [blame] | 9 | '//lib:com_google_guava_guava_testlib', |
Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 10 | ] |
| 11 | |
Brian O'Connor | 7c11a98 | 2016-10-18 15:02:27 -0700 | [diff] [blame] | 12 | osgi_jar_with_tests( |
| 13 | name = 'onlab-junit', |
Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 14 | srcs = glob([SRC + '/*.java']), |
| 15 | deps = SRC_DEPS, |
Brian O'Connor | 7c11a98 | 2016-10-18 15:02:27 -0700 | [diff] [blame] | 16 | test_deps = TEST_DEPS, |
Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 17 | visibility = ['PUBLIC'], |
| 18 | resources_root = 'src/main/resources', |
| 19 | resources = glob(['src/main/resources/**']), |
Ray Milkey | 2a74983 | 2016-08-02 15:22:20 -0700 | [diff] [blame] | 20 | package_name_root = 'org.onlab', |
Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 21 | ) |