blob: 9b02eb693496c345542decfb54af804396c2a343 [file] [log] [blame]
Ray Milkeyf80bbb22016-03-11 10:16:22 -08001java_library(
Brian O'Connore4da59d2016-04-08 00:32:18 -07002 name = 'core',
3 visibility = ['PUBLIC'],
4 deps = CORE,
5)
6
7java_library(
8 name = 'apps',
9 visibility = ['PUBLIC'],
10 deps = APPS + APP_JARS,
11)
12
13java_library(
14 name = 'onos',
15 visibility = ['PUBLIC'],
16 deps = [ ':core', ':apps' ]
Ray Milkeyf80bbb22016-03-11 10:16:22 -080017)
Brian O'Connorb86c9202016-04-05 20:15:04 -070018
19INSTALL = [
20 '//utils/misc:onlab-misc-install',
21 '//utils/osgi:onlab-osgi-install',
22 '//utils/rest:onlab-rest-install',
23
24 '//core/api:onos-api-install',
25 '//incubator/api:onos-incubator-api-install',
26
27 '//core/net:onos-core-net-install',
28 '//core/common:onos-core-common-install',
29 '//core/store/dist:onos-core-dist-install',
30 '//core/store/primitives:onos-core-primitives-install',
31 '//core/store/persistence:onos-core-persistence-install',
32 '//core/store/serializers:onos-core-serializers-install',
33
34 '//incubator/net:onos-incubator-net-install',
Brian O'Connorb86c9202016-04-05 20:15:04 -070035 '//incubator/store:onos-incubator-store-install',
36 '//incubator/rpc:onos-incubator-rpc-install',
37
38 '//core/security:onos-security-install',
39
40 '//web/api:onos-rest-install',
41 '//web/gui:onos-gui-install',
42 '//cli:onos-cli-install',
43]
44java_library(
45 name = 'install',
46 visibility = ['PUBLIC'],
47 deps = INSTALL
Ray Milkey7c251822016-04-06 17:38:25 -070048)
Thomas Vachuskabe1a1962016-10-25 16:59:29 -070049
50tar_file(
51 name = 'onos-test',
52 root = 'onos-test-%s' % ONOS_VERSION,
53 srcs = glob(['tools/test/**/*']) + [
54 'tools/dev/bash_profile',
Ray Milkey08321dc2016-12-12 13:47:53 -080055 'tools/dev/bin/onos-create-app',
Thomas Vachuskabe1a1962016-10-25 16:59:29 -070056 'tools/build/envDefaults'
57 ],
Brian O'Connor30322dd2017-08-14 19:11:29 -070058 other_tars = [ '//tools/package:onos-package-runtime' ],
Ray Milkey08321dc2016-12-12 13:47:53 -080059)
Ray Milkey5c5454b2017-01-25 13:26:30 -080060
Thomas Vachuska7f2a3562018-02-28 10:02:16 -080061tar_file(
62 name = 'onos-admin',
63 root = 'onos-admin-%s' % ONOS_VERSION,
64 srcs = [
65 'tools/dev/bin/onos-create-app',
66 'tools/test/bin/onos',
67 ],
68 other_tars = [ '//tools/package:onos-package-runtime' ],
69 flat = True,
70)
71
Ray Milkey5c5454b2017-01-25 13:26:30 -080072
73
74
75