blob: adf99ef3d439a6d4dd35ff6ff0332f2d3360756e [file] [log] [blame]
Ray Milkeyf80bbb22016-03-11 10:16:22 -08001COMPILE_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 Hunt10973dd2016-08-01 15:50:35 -07008 '//lib:org.apache.karaf.shell.console',
9 '//cli:onos-cli',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080010 '//incubator/api:onos-incubator-api',
11 '//incubator/net:onos-incubator-net',
12 '//utils/rest:onlab-rest',
13 '//core/store/serializers:onos-core-serializers',
14]
15
16TEST_DEPS = [
17 '//lib:TEST',
Ray Milkey0c2a28f2016-04-28 10:17:19 -070018 '//core/api:onos-api-tests',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080019]
20
Brian O'Connore5817c92016-04-06 15:41:48 -070021RESOURCES = [
22 'WEB-INF/classes/index.html=src/main/webapp/index.html',
23 'WEB-INF/classes/login.html=src/main/webapp/login.html',
24 'WEB-INF/classes/error.html=src/main/webapp/error.html',
25 'WEB-INF/classes/not-ready.html=src/main/webapp/not-ready.html',
26 'WEB-INF/classes/onos.js=src/main/webapp/onos.js',
27 'WEB-INF/classes/nav.html=src/main/webapp/nav.html',
28 'WEB-INF/classes/app/view=src/main/webapp/app/view',
29 'WEB-INF/classes/raw=src/main/webapp/raw',
30]
31
Brian O'Connore4da59d2016-04-08 00:32:18 -070032osgi_jar_with_tests (
33 name = 'onos-gui',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080034 deps = COMPILE_DEPS,
Brian O'Connore4da59d2016-04-08 00:32:18 -070035 test_deps = TEST_DEPS,
Brian O'Connore5817c92016-04-06 15:41:48 -070036 include_resources = ','.join(RESOURCES),
37 web_context = '/onos/ui',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080038)