This patch backs out the currently broken commit d15d513, which assumed that a extern() rule would see changes made on master of closure-compiler. However, only the alias() rules currently point to master of that repo - the extern() rules all point to the externs.zip in the closure-compiler that rules_closure provides, tagged in git as v20200112 (see https://github.com/bazelbuild/rules_closure/blob/master/closure/repositories.bzl#L657).
However, the tagged artifact is the "unshaded" jar, and while it contains externs.zip, that zip does not contain the contrib/externs/ directory, so both svg and webassembly, which were still in that directory as of 2020-01-12, must be referenced from the git repo directly, This is why I left the http_archive for closure, but just changed it to point at the specified tag.
If you decide to merge this, it might make sense to do it in two pieces so that the "revert" commit can be re-reverted. When J2cl's "io_bazel_rules_closure" rule is updated, the tagged closure-compiler here will have to be updated too.
This patch backs out the currently broken commit d15d513, which assumed that a
extern()
rule would see changes made on master of closure-compiler. However, only thealias()
rules currently point to master of that repo - theextern()
rules all point to the externs.zip in the closure-compiler that rules_closure provides, tagged in git as v20200112 (see https://github.com/bazelbuild/rules_closure/blob/master/closure/repositories.bzl#L657).However, the tagged artifact is the "unshaded" jar, and while it contains externs.zip, that zip does not contain the
contrib/externs/
directory, so both svg and webassembly, which were still in that directory as of 2020-01-12, must be referenced from the git repo directly, This is why I left the http_archive for closure, but just changed it to point at the specified tag.If you decide to merge this, it might make sense to do it in two pieces so that the "revert" commit can be re-reverted. When J2cl's "io_bazel_rules_closure" rule is updated, the tagged closure-compiler here will have to be updated too.