onos/utils/junit/BUILD
Carmelo Cascone 72893b7755 [WIP] Attempt at building grpc and p4runtime protocols with Bazel
STILL NOT WORKING AT RUNTIME

Change-Id: I1f9e60b12a12e09edad2a714ec2921a4f71c6d35
2018-08-09 20:33:39 +00:00

24 lines
487 B
Python

SRC = "src/main/java/org/onlab/**/"
TEST_SRC = "src/test/java/org/onlab/**/"
COMPILE_DEPS = [
"@com_google_guava_guava//jar",
"@slf4j_api//jar",
"@hamcrest_all//jar",
"@junit//jar",
]
TEST_DEPS = [
"@com_google_guava_guava_testlib//jar",
]
osgi_jar_with_tests(
name = "onlab-junit",
srcs = glob([SRC + "*.java"]),
test_deps = TEST_DEPS,
test_srcs = glob([TEST_SRC + "*.java"]),
visibility = ["//visibility:public"],
deps = COMPILE_DEPS,
)