Brian O'Connor

Updating BUCK files for 3rd party dependencies.

Change-Id: I24a8f0ada29548058c058df0ceacc29f8ad576b6
Note: lib/BUCK is not autogenerated
......@@ -17,7 +17,6 @@ TEST_DEPS = [
'//lib:jersey-test-framework-grizzly2',
'//utils/osgi:onlab-osgi-tests',
'//web/api:onos-rest-tests',
'//utils/osgi:onlab-osgi',
'//incubator/api:onos-incubator-api-tests',
]
......
SRC = 'src/main/java/org/onosproject/incubator/net/**/'
TEST = 'src/test/java/org/onosproject/incubator/net/**/'
CURRENT_NAME = 'onos-incubator-net'
CURRENT_TARGET = ':' + CURRENT_NAME
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//incubator/api:onos-incubator-api',
......@@ -14,20 +9,10 @@ TEST_DEPS = [
'//core/common:onos-core-common-tests',
'//incubator/store:onos-incubator-store',
'//core/store/serializers:onos-core-serializers',
'//lib:concurrent-trees',
]
osgi_jar(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
osgi_jar_with_tests (
deps = COMPILE_DEPS,
visibility = ['PUBLIC'],
)
java_test(
name = 'tests',
srcs = glob([TEST + '/*.java']),
deps = COMPILE_DEPS +
TEST_DEPS +
[CURRENT_TARGET],
source_under_test = [CURRENT_TARGET],
test_deps = TEST_DEPS,
)
......
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.