Committed by
Gerrit Code Review
Fixes for buck regressions
Change-Id: I40e6a68392d229bf2827e115a54c0d66fd39b2d4
Showing
3 changed files
with
66 additions
and
0 deletions
... | @@ -32,6 +32,8 @@ DEPS = [ | ... | @@ -32,6 +32,8 @@ DEPS = [ |
32 | '//protocols/pcep/pcepio:onos-pcep-pcepio', | 32 | '//protocols/pcep/pcepio:onos-pcep-pcepio', |
33 | '//protocols/pcep/api:onos-pcep-controller-api', | 33 | '//protocols/pcep/api:onos-pcep-controller-api', |
34 | '//protocols/pcep/ctl:onos-pcep-ctl', | 34 | '//protocols/pcep/ctl:onos-pcep-ctl', |
35 | + '//protocols/isis:onos-isis-api', | ||
36 | + '//protocols/isis:onos-isis-isisio', | ||
35 | 37 | ||
36 | '//drivers/utilities:onos-drivers-utilities', | 38 | '//drivers/utilities:onos-drivers-utilities', |
37 | '//drivers/ciena:onos-drivers-ciena', | 39 | '//drivers/ciena:onos-drivers-ciena', | ... | ... |
protocols/isis/BUCK
0 → 100644
1 | +SRC = 'src/main/java/org/onosproject/**/' | ||
2 | +TEST = 'src/main/java/org/onosproject/**/' | ||
3 | + | ||
4 | +COMPILE_DEPS = [ | ||
5 | + '//lib:CORE_DEPS', | ||
6 | + '//lib:netty-buffer', | ||
7 | + #'//lib:netty-' | ||
8 | + #'//lib:org.apache.karaf.shell.console', | ||
9 | + #'//cli:onos-cli', | ||
10 | + #'//utils/rest:onlab-rest', | ||
11 | + #'//lib:javax.ws.rs-api', | ||
12 | + #'//core/store/serializers:onos-core-serializers', | ||
13 | + #'//incubator/api:onos-incubator-api', | ||
14 | +] | ||
15 | + | ||
16 | +TEST_DEPS = [ | ||
17 | + '//lib:TEST', | ||
18 | +] | ||
19 | + | ||
20 | +java_library( | ||
21 | + name = 'onos-isis', | ||
22 | + visibility = ['PUBLIC'], | ||
23 | + deps = [':onos-isis-api', | ||
24 | + ':onos-isis-isisio', | ||
25 | + ], | ||
26 | +) | ||
27 | + | ||
28 | +# onos-isis-api | ||
29 | + | ||
30 | +java_library( | ||
31 | + name = 'onos-isis-api', | ||
32 | + srcs = glob(['api/' + SRC + '*.java']), | ||
33 | + deps = COMPILE_DEPS, | ||
34 | + visibility = ['PUBLIC'], | ||
35 | +) | ||
36 | + | ||
37 | +java_test( | ||
38 | + name = 'onos-isis-api-tests', | ||
39 | + srcs = glob(['api/' + TEST + '*.java']), | ||
40 | + deps = COMPILE_DEPS + | ||
41 | + TEST_DEPS + | ||
42 | + [':onos-isis-api'], | ||
43 | + source_under_test = [':onos-isis-api'], | ||
44 | +) | ||
45 | + | ||
46 | +# onos-isis-isisio | ||
47 | + | ||
48 | +java_library( | ||
49 | + name = 'onos-isis-isisio', | ||
50 | + srcs = glob(['isisio/' + SRC + '*.java']), | ||
51 | + deps = COMPILE_DEPS + [':onos-isis-api'], | ||
52 | + visibility = ['PUBLIC'], | ||
53 | +) | ||
54 | + | ||
55 | +java_test( | ||
56 | + name = 'onos-isis-isisio-tests', | ||
57 | + srcs = glob(['isisio/' + TEST + '*.java']), | ||
58 | + deps = COMPILE_DEPS + | ||
59 | + TEST_DEPS + | ||
60 | + [':onos-isis-isisio'], | ||
61 | + source_under_test = [':onos-isis-isisio'], | ||
62 | +) | ||
63 | + |
... | @@ -8,6 +8,7 @@ COMPILE_DEPS = [ | ... | @@ -8,6 +8,7 @@ COMPILE_DEPS = [ |
8 | '//lib:CORE_DEPS', | 8 | '//lib:CORE_DEPS', |
9 | '//lib:javax.ws.rs-api', | 9 | '//lib:javax.ws.rs-api', |
10 | '//utils/rest:onlab-rest', | 10 | '//utils/rest:onlab-rest', |
11 | + '//incubator/api:onos-incubator-api', | ||
11 | ] | 12 | ] |
12 | 13 | ||
13 | TEST_DEPS = [ | 14 | TEST_DEPS = [ | ... | ... |
-
Please register or login to post a comment