blob: 05f3ee311582b817bb3666a7869eb66d1a23f97b [file] [log] [blame]
Ray Milkeyf80bbb22016-03-11 10:16:22 -08001SRC = 'src/main/java/org/onosproject/**/'
Brian O'Connor85f28d02016-04-05 20:31:18 -07002TEST = 'src/test/java/org/onosproject/**/'
Ray Milkeyf80bbb22016-03-11 10:16:22 -08003
4COMPILE_DEPS = [
5 '//lib:CORE_DEPS',
6 '//lib:jersey-client',
7 '//lib:javax.ws.rs-api',
8]
9
Ray Milkeyf9a76972016-04-12 09:47:12 -070010BUNDLES = [
11 '//apps/openstackinterface:onos-apps-openstackinterface-api',
12 # TODO - this doesn't actually work now, have to refactor the BUCK files into each sub directory
Ray Milkeyf80bbb22016-03-11 10:16:22 -080013]
14
Ray Milkeyf9a76972016-04-12 09:47:12 -070015osgi_jar_with_tests (
16 name = 'onos-apps-openstackinterface-api',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080017 srcs = glob(['api/' + SRC + '*.java']),
18 deps = COMPILE_DEPS,
19 visibility = ['PUBLIC'],
20)
21
Ray Milkeyf9a76972016-04-12 09:47:12 -070022osgi_jar_with_tests (
23 deps = COMPILE_DEPS,
Ray Milkeyf80bbb22016-03-11 10:16:22 -080024)
25
Ray Milkeyf9a76972016-04-12 09:47:12 -070026onos_app (
27 title = 'Authentication App',
28 category = 'Security',
29 url = 'http://onosproject.org',
30 description = 'ONOS authentication application.',
31 included_bundles = BUNDLES,
Ray Milkeyf80bbb22016-03-11 10:16:22 -080032)