Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 1 | COMPILE_DEPS = [ |
| 2 | '//lib:CORE_DEPS', |
| 3 | '//lib:javax.ws.rs-api', |
| 4 | '//lib:servlet-api', |
| 5 | '//lib:jetty-websocket', |
| 6 | '//lib:jetty-util', |
| 7 | '//lib:jersey-media-multipart', |
Simon Hunt | 10973dd | 2016-08-01 15:50:35 -0700 | [diff] [blame] | 8 | '//lib:org.apache.karaf.shell.console', |
| 9 | '//cli:onos-cli', |
Ray Milkey | 2a74983 | 2016-08-02 15:22:20 -0700 | [diff] [blame] | 10 | '//lib:jersey-server', |
Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 11 | '//incubator/api:onos-incubator-api', |
| 12 | '//incubator/net:onos-incubator-net', |
| 13 | '//utils/rest:onlab-rest', |
| 14 | '//core/store/serializers:onos-core-serializers', |
| 15 | ] |
| 16 | |
| 17 | TEST_DEPS = [ |
| 18 | '//lib:TEST', |
Ray Milkey | 0c2a28f | 2016-04-28 10:17:19 -0700 | [diff] [blame] | 19 | '//core/api:onos-api-tests', |
Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 20 | ] |
| 21 | |
Brian O'Connor | 79b7067 | 2016-10-20 13:44:52 -0700 | [diff] [blame] | 22 | RESOURCES = { |
| 23 | 'WEB-INF/classes/index.html': 'src/main/webapp/index.html', |
| 24 | 'WEB-INF/classes/login.html': 'src/main/webapp/login.html', |
| 25 | 'WEB-INF/classes/error.html': 'src/main/webapp/error.html', |
| 26 | 'WEB-INF/classes/not-ready.html': 'src/main/webapp/not-ready.html', |
| 27 | 'WEB-INF/classes/onos.js': 'src/main/webapp/onos.js', |
| 28 | 'WEB-INF/classes/nav.html': 'src/main/webapp/nav.html', |
| 29 | 'WEB-INF/classes/app/view': 'src/main/webapp/app/view', |
| 30 | 'WEB-INF/classes/raw': 'src/main/webapp/raw', |
| 31 | } |
Brian O'Connor | e5817c9 | 2016-04-06 15:41:48 -0700 | [diff] [blame] | 32 | |
Brian O'Connor | e4da59d | 2016-04-08 00:32:18 -0700 | [diff] [blame] | 33 | osgi_jar_with_tests ( |
| 34 | name = 'onos-gui', |
Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 35 | deps = COMPILE_DEPS, |
Brian O'Connor | e4da59d | 2016-04-08 00:32:18 -0700 | [diff] [blame] | 36 | test_deps = TEST_DEPS, |
Brian O'Connor | 79b7067 | 2016-10-20 13:44:52 -0700 | [diff] [blame] | 37 | include_resources = RESOURCES, |
Brian O'Connor | e5817c9 | 2016-04-06 15:41:48 -0700 | [diff] [blame] | 38 | web_context = '/onos/ui', |
Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 39 | ) |