Minor fixes for the Bazel build of GUI2
Change-Id: I9f9f59390f929696e264abeffe897bdc59658eaf
diff --git a/web/gui/BUILD b/web/gui/BUILD
index 82c7e20..be8e3f3 100644
--- a/web/gui/BUILD
+++ b/web/gui/BUILD
@@ -205,6 +205,17 @@
deps = COMPILE_DEPS,
)
+genrule(
+ 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",
+ ]),
+ outs = ["onos-gui-java-for-gui2.srcjar"],
+ cmd = "jar cf $@ $(SRCS)",
+ visibility = ["//visibility:public"],
+)
+
"""
Builds the tar ball for the ONOS GUI
"""