Minor fixes for the Bazel build of GUI2
Change-Id: I55431b30b2c1a87165b6235b8f88436adc775457
diff --git a/web/gui/BUILD b/web/gui/BUILD
index 82c7e20..34aa8fa 100644
--- a/web/gui/BUILD
+++ b/web/gui/BUILD
@@ -108,7 +108,7 @@
" export HOME=. &&" +
" export XDG_CONFIG_HOME=$(@D)/config &&" + # npm config cache to the sandbos
" export BABEL_DISABLE_CACHE=1 &&" + # turn off babel cache
- ' if [[ ! -z $${HTTP_PROXY-} ]]; then NPM_ARGS="--proxy $$HTTP_PROXY --without-ssl --insecure"; else NPM_ARGS=""; fi &&' +
+ " if [[ ! -z $${HTTP_PROXY-} ]]; then NPM_ARGS='--proxy $$HTTP_PROXY --without-ssl --insecure'; else NPM_ARGS=''; fi &&" +
" NPM=$$ROOT/$(location @nodejs//:bin/npm) &&" +
" mkdir -p tools/gui &&" +
" cd tools/gui &&" +
@@ -205,6 +205,15 @@
deps = COMPILE_DEPS,
)
+filegroup(
+ name = "onos-gui-java-for-gui2",
+ srcs = glob([
+ "src/main/java/org/onosproject/ui/impl/Main*Resource.java",
+ "src/main/java/org/onosproject/ui/impl/ApplicationResource.java",
+ ]),
+ visibility = ["//visibility:public"],
+)
+
"""
Builds the tar ball for the ONOS GUI
"""