blob: a43ca8428b685bc28c38a51a5602c1c153870414 [file] [log] [blame]
Ray Milkeyf80bbb22016-03-11 10:16:22 -08001SRC = 'src/main/java/org/onosproject/**/'
2TEST = 'src/main/java/org/onosproject/**/'
3
4COMPILE_DEPS = [
5 '//lib:CORE_DEPS',
6 '//lib:jersey-client',
7 '//lib:javax.ws.rs-api',
8]
9
10TEST_DEPS = [
11 '//lib:TEST',
12]
13
14java_library(
15 name = 'onos-app-openstackinterface-api',
16 srcs = glob(['api/' + SRC + '*.java']),
17 deps = COMPILE_DEPS,
18 visibility = ['PUBLIC'],
19)
20
21java_test(
22 name = 'onos-app-openstackinterface-api-tests',
23 srcs = glob([TEST + '/*.java']),
24 deps = COMPILE_DEPS +
25 TEST_DEPS +
26 [':onos-app-openstackinterface-api'],
27 source_under_test = [':onos-app-openstackinterface-api'],
28)
29
30java_library(
31 name = 'onos-app-openstackinterface-app',
32 srcs = glob(['app/' + SRC + '*.java']),
33 deps = COMPILE_DEPS + [':onos-app-openstackinterface-api'],
34 visibility = ['PUBLIC'],
35)
36
37java_test(
38 name = 'onos-app-openstackinterface-app-tests',
39 srcs = glob([TEST + '/*.java']),
40 deps = COMPILE_DEPS +
41 TEST_DEPS +
42 [':onos-app-openstackinterface-api', ':onos-app-openstackinterface-app'],
43 source_under_test = [':onos-app-openstackinterface-app'],
44)