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', |
| 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 | ] |
| 45 | java_library( |
| 46 | name = 'install', |
| 47 | visibility = ['PUBLIC'], |
| 48 | deps = INSTALL |
Ray Milkey | 7c25182 | 2016-04-06 17:38:25 -0700 | [diff] [blame] | 49 | ) |
Thomas Vachuska | be1a196 | 2016-10-25 16:59:29 -0700 | [diff] [blame] | 50 | |
| 51 | tar_file( |
| 52 | name = 'onos-test', |
| 53 | root = 'onos-test-%s' % ONOS_VERSION, |
| 54 | srcs = glob(['tools/test/**/*']) + [ |
| 55 | 'tools/dev/bash_profile', |
Ray Milkey | 08321dc | 2016-12-12 13:47:53 -0800 | [diff] [blame] | 56 | 'tools/dev/bin/onos-create-app', |
Thomas Vachuska | be1a196 | 2016-10-25 16:59:29 -0700 | [diff] [blame] | 57 | 'tools/build/envDefaults' |
| 58 | ], |
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 | |