Skip to content

Commit

Permalink
Add protobuf as a well known module
Browse files Browse the repository at this point in the history
So that we can safely rename the module name of protobuf from com_google_protobuf to just protobuf.

RELNOTES: None
PiperOrigin-RevId: 405830339
  • Loading branch information
meteorcloudy authored and copybara-github committed Oct 27, 2021
1 parent becd149 commit 3c09f34
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ public abstract class ModuleKey {
* situation.
*/
private static final ImmutableMap<String, String> WELL_KNOWN_MODULES =
ImmutableMap.of("com_google_protobuf", "com_google_protobuf");
ImmutableMap.of(
"com_google_protobuf", "com_google_protobuf", "protobuf", "com_google_protobuf");

public static final ModuleKey ROOT = create("", Version.EMPTY);

Expand Down

0 comments on commit 3c09f34

Please sign in to comment.