blob: f4e54449cdd72c16de20243bca59adb8705afb64 [file] [log] [blame]
Ray Milkeyf80bbb22016-03-11 10:16:22 -08001SRC_DEPS = [
2 '//lib:junit',
3 '//lib:hamcrest-all',
Carmelo Cascone72893b72018-08-09 00:59:06 -07004 '//lib:com_google_guava_guava',
Ray Milkey83200882017-11-13 19:18:21 -08005 '//lib:slf4j-api',
Ray Milkeyf80bbb22016-03-11 10:16:22 -08006]
7
8TEST_DEPS = [
Carmelo Cascone72893b72018-08-09 00:59:06 -07009 '//lib:com_google_guava_guava_testlib',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080010]
11
Brian O'Connor7c11a982016-10-18 15:02:27 -070012osgi_jar_with_tests(
13 name = 'onlab-junit',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080014 srcs = glob([SRC + '/*.java']),
15 deps = SRC_DEPS,
Brian O'Connor7c11a982016-10-18 15:02:27 -070016 test_deps = TEST_DEPS,
Ray Milkeyf80bbb22016-03-11 10:16:22 -080017 visibility = ['PUBLIC'],
18 resources_root = 'src/main/resources',
19 resources = glob(['src/main/resources/**']),
Ray Milkey2a749832016-08-02 15:22:20 -070020 package_name_root = 'org.onlab',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080021)