diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRulesModule.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRulesModule.java index 86bfe9179511b5..8b78611bfa5bca 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRulesModule.java +++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRulesModule.java @@ -487,6 +487,17 @@ public static final class AllCommandGraveyardOptions extends OptionsBase { documentationCategory = OptionDocumentationCategory.UNDOCUMENTED, help = "No-op") public boolean enableCpuUsageProfiling; + + @Option( + name = "bes_best_effort", + defaultValue = "false", + deprecationWarning = + "BES best effort upload has been removed. The flag has no more " + + "functionality attached to it and will be removed in a future release.", + documentationCategory = OptionDocumentationCategory.UNDOCUMENTED, + effectTags = {OptionEffectTag.AFFECTS_OUTPUTS}, + help = "No-op") + public boolean besBestEffort; } @Override diff --git a/src/main/java/com/google/devtools/build/lib/buildeventservice/BuildEventServiceOptions.java b/src/main/java/com/google/devtools/build/lib/buildeventservice/BuildEventServiceOptions.java index b8bbeb9969919c..fb91b018cb69fd 100644 --- a/src/main/java/com/google/devtools/build/lib/buildeventservice/BuildEventServiceOptions.java +++ b/src/main/java/com/google/devtools/build/lib/buildeventservice/BuildEventServiceOptions.java @@ -65,19 +65,6 @@ public class BuildEventServiceOptions extends OptionsBase { allowMultiple = true) public List> besHeaders; - @Option( - name = "bes_best_effort", - defaultValue = "false", - deprecationWarning = - "BES best effort upload has been removed. The flag has no more " - + "functionality attached to it and will be removed in a future release.", - documentationCategory = OptionDocumentationCategory.LOGGING, - effectTags = {OptionEffectTag.AFFECTS_OUTPUTS}, - help = - "BES best effort upload has been removed. The flag has no more " - + "functionality attached to it and will be removed in a future release.") - public boolean besBestEffort; - @Option( name = "bes_lifecycle_events", defaultValue = "true",