build: Remove cc_binary dependency on brotli (#29912)

Just use the JavaScript port instead. We don't care about speed since we compress once as a build step.

PR Close #29912
This commit is contained in:
Alex Eagle
2019-04-15 11:57:36 -07:00
committed by Ben Lesh
parent c0ec1d63ff
commit b9251fd707
7 changed files with 42 additions and 11 deletions

View File

@ -24,13 +24,6 @@ def rules_angular_dev_dependencies():
shorter.
"""
http_archive(
name = "org_brotli",
sha256 = "774b893a0700b0692a76e2e5b7e7610dbbe330ffbe3fe864b4b52ca718061d5a",
strip_prefix = "brotli-1.0.5",
url = "https://github.com/google/brotli/archive/v1.0.5.zip",
)
# Needed for Remote Execution
_maybe(
http_archive,

View File

@ -194,7 +194,7 @@ ng_rollup_bundle = rule(
"_brotli": attr.label(
executable = True,
cfg = "host",
default = Label("@org_brotli//:brotli"),
default = Label("//tools/brotli-cli"),
),
"_rollup": attr.label(
executable = True,