blob: 49acb1359a01ee9f123048659af752fc973b4c6d [file] [log] [blame]
Brian O'Connor42c38cf2016-04-05 17:05:57 -07001SRC = 'src/main/java/org/onlab/**/'
2TEST = 'src/test/java/org/onlab/**/'
3CURRENT_NAME = 'onlab-osgiwrap'
4CURRENT_TARGET = ':' + CURRENT_NAME
5
6COMPILE_DEPS = [
7 '//lib:guava',
8 '//lib:bndlib',
9 '//lib:org.apache.felix.scr.bnd'
10]
11
12
13java_library(
14 name = CURRENT_NAME,
15 #maven_coords = 'org.onosproject:' + CURRENT_NAME + ':' + '1.2.3',
16 srcs = glob([SRC + '/*.java']),
17 deps = COMPILE_DEPS,
18 visibility = ['PUBLIC'],
19)
20
21java_binary(
22 name = 'osgi-jar',
23 deps = COMPILE_DEPS + [ ':' + CURRENT_NAME ],
Brian O'Connore19ca082016-04-05 20:12:44 -070024 main_class = 'org.onlab.osgiwrap.OSGiWrapper',
Brian O'Connor42c38cf2016-04-05 17:05:57 -070025 visibility = [ 'PUBLIC' ]
26)