David Ostrovsky 6dc8c42960 Bazel: Replace native {http,git}_archive with Skylark rules
Future Bazel versions will discontinue support for native http rules and
replace them with Skylark equivalents: [1]. Prepare the Gerit build tool
chain for that move.

The replacements depend on this PR in rules_closure project: [2], that
wasn't merged yet. For now we can apply "patch on import", thanks
Skylark's http rules patch support. When [2] is merged, and new version
of rules_clsoure is released, we can remove the patching procedure.

One side effect of this change is that Skylark version of http_file lost
the ability to save the downloaded artifact under its real name and is
using a generic download file name. The rule closure tool chain stumbles
on this, and rejects to accept polymer_closure artifact without ".js"
suffix. To rectify add intermediate rule and renamed "download" file to
one with js suffix "polymer_closure_renamed.js": [3].

[1] https://groups.google.com/d/topic/bazel-discuss/dO2MHQLwJF0/discussion
[2] https://github.com/bazelbuild/rules_closure/pull/270
[3] http://paste.openstack.org/show/722557

Inspired-By: "Klaus Aehlig" <aehlig@google.com>
Feature: Issue 9151
Change-Id: I44ca2ecfea67d2f4434a4743e7a6f8a3645e96a8
2018-06-05 05:13:58 +00:00
..
2017-01-23 12:44:58 +00:00
2017-01-23 12:44:58 +00:00
2017-03-22 21:44:40 +00:00
2017-01-23 12:44:58 +00:00
2017-01-23 12:44:58 +00:00
2017-01-23 12:44:58 +00:00
2017-01-23 12:44:58 +00:00
2017-01-23 12:44:58 +00:00
2017-01-23 12:44:58 +00:00
2017-01-23 12:44:58 +00:00
2017-01-23 12:44:58 +00:00
2017-06-08 20:58:02 +09:00
2017-01-23 12:44:58 +00:00
2017-02-01 13:33:56 +01:00
2017-01-23 12:44:58 +00:00
2017-01-23 12:44:58 +00:00
2017-01-23 12:44:58 +00:00
2017-01-23 12:44:58 +00:00
2017-11-02 19:10:14 +00:00
2013-05-09 13:40:36 +00:00
2013-05-09 13:40:36 +00:00
2013-05-09 13:40:36 +00:00
2013-05-09 13:40:36 +00:00
2013-05-09 13:40:36 +00:00
2013-05-09 13:40:36 +00:00
2016-07-25 13:47:30 -07:00
2013-05-09 13:40:36 +00:00
2013-05-09 13:40:36 +00:00
2016-11-16 01:24:59 +00:00
2013-05-09 13:40:36 +00:00
2013-05-09 13:40:36 +00:00
2013-05-09 13:40:36 +00:00
2013-05-09 13:40:36 +00:00
2013-05-09 13:40:36 +00:00
2014-03-03 23:34:46 +00:00