blob: 4045d77510162a7fd480a22b813e69ec6e3b3d24 [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',
35 '//incubator/core:onos-incubator-core-install',
36 '//incubator/store:onos-incubator-store-install',
37 '//incubator/rpc:onos-incubator-rpc-install',
38
39 '//core/security:onos-security-install',
40
41 '//web/api:onos-rest-install',
42 '//web/gui:onos-gui-install',
43 '//cli:onos-cli-install',
44]
45java_library(
46 name = 'install',
47 visibility = ['PUBLIC'],
48 deps = INSTALL
Ray Milkey7c251822016-04-06 17:38:25 -070049)
Thomas Vachuskabe1a1962016-10-25 16:59:29 -070050
51tar_file(
52 name = 'onos-test',
53 root = 'onos-test-%s' % ONOS_VERSION,
54 srcs = glob(['tools/test/**/*']) + [
55 'tools/dev/bash_profile',
Ray Milkey08321dc2016-12-12 13:47:53 -080056 'tools/dev/bin/onos-create-app',
Thomas Vachuskabe1a1962016-10-25 16:59:29 -070057 'tools/build/envDefaults'
58 ],
Ray Milkey08321dc2016-12-12 13:47:53 -080059)
Ray Milkey5c5454b2017-01-25 13:26:30 -080060
61only_lib_dep_pom(
62 name = 'top-level-pom',
63 src = 'pom.xml',
64 out = 'onos.pom',
65)
66
67
68
69