blob: 078777d0e8045da6272f9d7a1e109ad058b7dac0 [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 ],
24 main_class = 'org.onlab.OSGiWrapper',
25 visibility = [ 'PUBLIC' ]
26)