summaryrefslogtreecommitdiffstats
path: root/tools/bzl/gwt.bzl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bzl/gwt.bzl')
-rw-r--r--tools/bzl/gwt.bzl9
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/bzl/gwt.bzl b/tools/bzl/gwt.bzl
index 234d320261..d3e5033495 100644
--- a/tools/bzl/gwt.bzl
+++ b/tools/bzl/gwt.bzl
@@ -12,8 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# Port of Buck native gwt_binary() rule. See discussion in context of
-# https://github.com/facebook/buck/issues/109
load("//tools/bzl:genrule2.bzl", "genrule2")
load("//tools/bzl:java.bzl", "java_library2")
@@ -79,7 +77,7 @@ GWT_TRANSITIVE_DEPS = [
]
DEPS = GWT_TRANSITIVE_DEPS + [
- "//gerrit-gwtexpui:CSS",
+ "//java/com/google/gwtexpui/css",
"//lib:gwtjsonrpc",
"//lib/gwt:dev",
"//lib/jgit/org.eclipse.jgit:jgit-source",
@@ -188,8 +186,9 @@ def _gwt_binary_impl(ctx):
])
ctx.actions.run_shell(
- inputs = list(deps) + ctx.files._jdk + ctx.files._zip + gwt_user_agent_modules,
+ inputs = list(deps) + gwt_user_agent_modules,
outputs = [output_zip],
+ tools = ctx.files._jdk + ctx.files._zip,
mnemonic = "GwtBinary",
progress_message = "GWT compiling " + output_zip.short_path,
command = "set -e\n" + cmd,
@@ -291,7 +290,7 @@ def gen_ui_module(name, suffix = ""):
deps = [
"//gerrit-gwtui-common:diffy_logo",
"//gerrit-gwtui-common:client",
- "//gerrit-gwtexpui:CSS",
+ "//java/com/google/gwtexpui/css",
"//lib/codemirror:codemirror" + suffix,
"//lib/gwt:user",
],