Skip to content

Commit

Permalink
Enable --incompatible_no_output_attr_default by default
Browse files Browse the repository at this point in the history
Fixes #7950

RELNOTES[INC]: `--incompatible_no_output_attr_default` is enabled by default.

PiperOrigin-RevId: 243362752
  • Loading branch information
laurentlb authored and copybara-github committed Apr 13, 2019
1 parent 691608f commit 774cf20
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ public class StarlarkSemanticsOptions extends OptionsBase implements Serializabl

@Option(
name = "incompatible_no_output_attr_default",
defaultValue = "false",
defaultValue = "true",
documentationCategory = OptionDocumentationCategory.STARLARK_SEMANTICS,
effectTags = {OptionEffectTag.BUILD_FILE_SEMANTICS},
metadataTags = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ public boolean flagValue(FlagIdentifier flagIdentifier) {

public abstract boolean internalSkylarkFlagTestCanary();


public abstract boolean incompatibleDoNotSplitLinkingCmdline();

/** Returns a {@link Builder} initialized with the values of this instance. */
Expand Down Expand Up @@ -223,7 +222,7 @@ public static Builder builderWithDefaults() {
.incompatibleNewActionsApi(false)
.incompatibleNoAttrLicense(true)
.incompatibleNoKwargsInBuildFiles(false)
.incompatibleNoOutputAttrDefault(false)
.incompatibleNoOutputAttrDefault(true)
.incompatibleNoSupportToolsInActionInputs(false)
.incompatibleNoTargetOutputGroup(false)
.incompatibleNoTransitiveLoads(true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ private void build() throws Exception {
" 'dep' : attr.label_list(),",
" 'dep_runtime' : attr.label_list(),",
" 'dep_exports' : attr.label_list(),",
" 'output_jar' : attr.output(default=None, mandatory=True),",
" 'output_jar' : attr.output(mandatory=True),",
" 'source_jars' : attr.label_list(allow_files=['.jar']),",
" 'sources' : attr.label_list(allow_files=['.java']),",
" 'jdeps' : attr.label(allow_single_file=True),",
Expand Down

0 comments on commit 774cf20

Please sign in to comment.