forked from K-OpenNet/ONOS-HAC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUCK
80 lines (65 loc) · 1.82 KB
/
BUCK
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
java_library(
name = 'core',
visibility = ['PUBLIC'],
deps = CORE,
)
java_library(
name = 'apps',
visibility = ['PUBLIC'],
deps = APPS + APP_JARS,
)
java_library(
name = 'onos',
visibility = ['PUBLIC'],
deps = [ ':core', ':apps' ]
)
INSTALL = [
'//utils/misc:onlab-misc-install',
'//utils/osgi:onlab-osgi-install',
'//utils/rest:onlab-rest-install',
'//core/api:onos-api-install',
'//incubator/api:onos-incubator-api-install',
'//core/net:onos-core-net-install',
'//core/common:onos-core-common-install',
'//core/store/dist:onos-core-dist-install',
'//core/store/primitives:onos-core-primitives-install',
'//core/store/persistence:onos-core-persistence-install',
'//core/store/serializers:onos-core-serializers-install',
'//incubator/net:onos-incubator-net-install',
'//incubator/store:onos-incubator-store-install',
'//incubator/rpc:onos-incubator-rpc-install',
'//core/security:onos-security-install',
'//web/api:onos-rest-install',
'//web/gui:onos-gui-install',
'//cli:onos-cli-install',
]
java_library(
name = 'install',
visibility = ['PUBLIC'],
deps = INSTALL
)
tar_file(
name = 'onos-test',
root = 'onos-test-%s' % ONOS_VERSION,
srcs = glob(['tools/test/**/*']) + [
'tools/dev/bash_profile',
'tools/dev/bin/onos-create-app',
'tools/build/envDefaults'
],
other_tars = [ '//tools/package:onos-package-runtime' ],
)
tar_file(
name = 'onos-admin',
root = 'onos-admin-%s' % ONOS_VERSION,
srcs = [
'tools/dev/bin/onos-create-app',
'tools/test/bin/onos',
],
other_tars = [ '//tools/package:onos-package-runtime' ],
flat = True,
)
only_lib_dep_pom(
name = 'top-level-pom',
src = 'pom.xml',
out = 'onos.pom',
)