Updating BUCK files for 3rd party dependencies.
Change-Id: I24a8f0ada29548058c058df0ceacc29f8ad576b6 Note: lib/BUCK is not autogenerated
Showing
4 changed files
with
3 additions
and
19 deletions
| ... | @@ -17,7 +17,6 @@ TEST_DEPS = [ | ... | @@ -17,7 +17,6 @@ TEST_DEPS = [ |
| 17 | '//lib:jersey-test-framework-grizzly2', | 17 | '//lib:jersey-test-framework-grizzly2', |
| 18 | '//utils/osgi:onlab-osgi-tests', | 18 | '//utils/osgi:onlab-osgi-tests', |
| 19 | '//web/api:onos-rest-tests', | 19 | '//web/api:onos-rest-tests', |
| 20 | - '//utils/osgi:onlab-osgi', | ||
| 21 | '//incubator/api:onos-incubator-api-tests', | 20 | '//incubator/api:onos-incubator-api-tests', |
| 22 | ] | 21 | ] |
| 23 | 22 | ... | ... |
| 1 | -SRC = 'src/main/java/org/onosproject/incubator/net/**/' | ||
| 2 | -TEST = 'src/test/java/org/onosproject/incubator/net/**/' | ||
| 3 | -CURRENT_NAME = 'onos-incubator-net' | ||
| 4 | -CURRENT_TARGET = ':' + CURRENT_NAME | ||
| 5 | - | ||
| 6 | COMPILE_DEPS = [ | 1 | COMPILE_DEPS = [ |
| 7 | '//lib:CORE_DEPS', | 2 | '//lib:CORE_DEPS', |
| 8 | '//incubator/api:onos-incubator-api', | 3 | '//incubator/api:onos-incubator-api', |
| ... | @@ -14,20 +9,10 @@ TEST_DEPS = [ | ... | @@ -14,20 +9,10 @@ TEST_DEPS = [ |
| 14 | '//core/common:onos-core-common-tests', | 9 | '//core/common:onos-core-common-tests', |
| 15 | '//incubator/store:onos-incubator-store', | 10 | '//incubator/store:onos-incubator-store', |
| 16 | '//core/store/serializers:onos-core-serializers', | 11 | '//core/store/serializers:onos-core-serializers', |
| 12 | + '//lib:concurrent-trees', | ||
| 17 | ] | 13 | ] |
| 18 | 14 | ||
| 19 | -osgi_jar( | 15 | +osgi_jar_with_tests ( |
| 20 | - name = CURRENT_NAME, | ||
| 21 | - srcs = glob([SRC + '/*.java']), | ||
| 22 | deps = COMPILE_DEPS, | 16 | deps = COMPILE_DEPS, |
| 23 | - visibility = ['PUBLIC'], | 17 | + test_deps = TEST_DEPS, |
| 24 | -) | ||
| 25 | - | ||
| 26 | -java_test( | ||
| 27 | - name = 'tests', | ||
| 28 | - srcs = glob([TEST + '/*.java']), | ||
| 29 | - deps = COMPILE_DEPS + | ||
| 30 | - TEST_DEPS + | ||
| 31 | - [CURRENT_TARGET], | ||
| 32 | - source_under_test = [CURRENT_TARGET], | ||
| 33 | ) | 18 | ) | ... | ... |
This diff is collapsed. Click to expand it.
lib/deps.json
0 → 100644
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment