Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 1 | java_library( |
Brian O'Connor | e4da59d | 2016-04-08 00:32:18 -0700 | [diff] [blame] | 2 | name = 'core', |
| 3 | visibility = ['PUBLIC'], |
| 4 | deps = CORE, |
| 5 | ) |
| 6 | |
| 7 | java_library( |
| 8 | name = 'apps', |
| 9 | visibility = ['PUBLIC'], |
| 10 | deps = APPS + APP_JARS, |
| 11 | ) |
| 12 | |
| 13 | java_library( |
| 14 | name = 'onos', |
| 15 | visibility = ['PUBLIC'], |
| 16 | deps = [ ':core', ':apps' ] |
Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 17 | ) |
Brian O'Connor | b86c920 | 2016-04-05 20:15:04 -0700 | [diff] [blame] | 18 | |
| 19 | INSTALL = [ |
| 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'Connor | b86c920 | 2016-04-05 20:15:04 -0700 | [diff] [blame] | 35 | '//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 | ] |
| 44 | java_library( |
| 45 | name = 'install', |
| 46 | visibility = ['PUBLIC'], |
| 47 | deps = INSTALL |
Ray Milkey | 7c25182 | 2016-04-06 17:38:25 -0700 | [diff] [blame] | 48 | ) |
Thomas Vachuska | be1a196 | 2016-10-25 16:59:29 -0700 | [diff] [blame] | 49 | |
| 50 | tar_file( |
| 51 | name = 'onos-test', |
| 52 | root = 'onos-test-%s' % ONOS_VERSION, |
| 53 | srcs = glob(['tools/test/**/*']) + [ |
| 54 | 'tools/dev/bash_profile', |
Ray Milkey | 08321dc | 2016-12-12 13:47:53 -0800 | [diff] [blame] | 55 | 'tools/dev/bin/onos-create-app', |
Thomas Vachuska | be1a196 | 2016-10-25 16:59:29 -0700 | [diff] [blame] | 56 | 'tools/build/envDefaults' |
| 57 | ], |
Brian O'Connor | 30322dd | 2017-08-14 19:11:29 -0700 | [diff] [blame^] | 58 | other_tars = [ '//tools/package:onos-package-runtime' ], |
Ray Milkey | 08321dc | 2016-12-12 13:47:53 -0800 | [diff] [blame] | 59 | ) |
Ray Milkey | 5c5454b | 2017-01-25 13:26:30 -0800 | [diff] [blame] | 60 | |
| 61 | only_lib_dep_pom( |
| 62 | name = 'top-level-pom', |
| 63 | src = 'pom.xml', |
| 64 | out = 'onos.pom', |
| 65 | ) |
| 66 | |
| 67 | |
| 68 | |
| 69 | |