Skip to content

Commit

Permalink
Flip --incompatible_blacklisted_protos_requires_proto_info
Browse files Browse the repository at this point in the history
Fixes #11694

Closes #12037.

PiperOrigin-RevId: 340230616
  • Loading branch information
Yannic authored and copybara-github committed Nov 2, 2020
1 parent e79e7e8 commit 53705f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public static class Options extends FragmentOptions {

@Option(
name = "incompatible_blacklisted_protos_requires_proto_info",
defaultValue = "false",
defaultValue = "true",
documentationCategory = OptionDocumentationCategory.UNDOCUMENTED,
effectTags = {OptionEffectTag.LOADING_AND_ANALYSIS},
metadataTags = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ public void protoToolchainBlacklistTransitiveProtos() throws Exception {

@Test
public void protoToolchainMixedBlacklist() throws Exception {
// Tests legacy behaviour.
useConfiguration("--incompatible_blacklisted_protos_requires_proto_info=false");

scratch.file(
"third_party/x/BUILD",
TestConstants.LOAD_PROTO_LIBRARY,
Expand Down

0 comments on commit 53705f6

Please sign in to comment.