HomePhabricator

Bazel: Update rules_closure to make it forward compatible

Authored by David Ostrovsky <david@ostrovsky.org> on Dec 3 2018, 8:38 PM.

Description

Bazel: Update rules_closure to make it forward compatible

Gerrit cannot be built any more with upcoming Bazel 0.21 release.
That's because rules_closure depends on outdated protobuf version,
that uses some Bazel features that were discontinued in upcoming
Bazel 0.21 release.

Update rules_closure, to update protobuf to v3.6.1.3 so that we
can upgrade Bazel and build gerrit without passing incompatible
option:

--incompatible_package_name_is_a_function=false

Another reason to upgrade urgently is because Bazel team is
maintaining Gerrit job on the CI infrastructure and this job is
broken on Bazel master.

Bug: Issue 10112
Change-Id: Icf94c3ecaeff8fd1466620cd04673a781804d21b

Event Timeline

David Ostrovsky <david@ostrovsky.org> committed rGERRITDEPLOYd003dbfbe32e: Bazel: Update rules_closure to make it forward compatible (authored by David Ostrovsky <david@ostrovsky.org>).Dec 15 2018, 8:11 AM