diff --git a/src/main/java/com/google/devtools/build/lib/pkgcache/PackageOptions.java b/src/main/java/com/google/devtools/build/lib/pkgcache/PackageOptions.java index 44574dd4b2efc5..deddba03bb2d9c 100644 --- a/src/main/java/com/google/devtools/build/lib/pkgcache/PackageOptions.java +++ b/src/main/java/com/google/devtools/build/lib/pkgcache/PackageOptions.java @@ -136,7 +136,9 @@ public ParallelismConverter() throws OptionsParsingException { @Option( name = "incompatible_config_setting_private_default_visibility", - defaultValue = "false", + // TODO(b/179944632): remove this flag when all repos work with this=true + + // --incompatible_enforce_config_setting_visibility=true. + defaultValue = "true", documentationCategory = OptionDocumentationCategory.STARLARK_SEMANTICS, effectTags = {OptionEffectTag.LOADING_AND_ANALYSIS}, metadataTags = {OptionMetadataTag.INCOMPATIBLE_CHANGE},