gerrit/lib/polymer_externs
David Ostrovsky 9e7e9a1295 Bazel: Specify name for downloaded file to http_file starlark rule
In I44ca2ecfea6 native http_file was replaced with Starlark rule. During
this migration the original file name was lost and hard coded to file
named "downloaded". The closure_js_library expects files with .js suffix
as source files, so that we had to add an intermediate rename step to
make it work gain.

In context of this feature request: [1] downloaded_file_path was added
to the http_file rule: [2] so that we can use it now and can remove the
intermediate renaming step.

The aformentioned fix was included in 0.17.1 and we already have that
version as the minimum required Bazel version, so that we can clean that
up now.

[1] https://github.com/bazelbuild/bazel/issues/5633
[2] https://github.com/bazelbuild/bazel/pull/5647

Change-Id: Ia00e5d7b4eb9c18be808b290ac299e658ab33b9a
2018-09-25 08:37:23 +02:00
..
BUILD Bazel: Specify name for downloaded file to http_file starlark rule 2018-09-25 08:37:23 +02:00