Skip to content

Commit 65b5640

Browse files
lberkicopybara-github
authored andcommitted
Remove the --incompatible_load_cc_rules_from_bzl command line option.
RELNOTES[INC]: The --incompatible_load_cc_rules_from_bzl command line option is not available anymore. PiperOrigin-RevId: 569105995 Change-Id: Ib90b1c9162539f34a3bd23c3c40794381e2bfad8
1 parent e3e4d61 commit 65b5640

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

src/main/java/com/google/devtools/build/lib/rules/cpp/CppConfiguration.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -799,10 +799,6 @@ public boolean disableNocoptsStarlark(StarlarkThread thread) throws EvalExceptio
799799
return disableNoCopts();
800800
}
801801

802-
public boolean loadCcRulesFromBzl() {
803-
return cppOptions.loadCcRulesFromBzl;
804-
}
805-
806802
public boolean validateTopLevelHeaderInclusions() {
807803
return cppOptions.validateTopLevelHeaderInclusions;
808804
}

src/main/java/com/google/devtools/build/lib/rules/cpp/CppOptions.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -923,15 +923,6 @@ public Label getMemProfProfileLabel() {
923923
+ " the link-time build variable of the same name.")
924924
public boolean enableCcTestFeature;
925925

926-
@Option(
927-
name = "incompatible_load_cc_rules_from_bzl",
928-
defaultValue = "false",
929-
documentationCategory = OptionDocumentationCategory.UNDOCUMENTED,
930-
effectTags = {OptionEffectTag.LOADING_AND_ANALYSIS},
931-
metadataTags = {OptionMetadataTag.INCOMPATIBLE_CHANGE},
932-
help = "No-op flag. Will be removed in a future release.")
933-
public boolean loadCcRulesFromBzl;
934-
935926
@Option(
936927
name = "apple_generate_dsym",
937928
defaultValue = "false",
@@ -1206,7 +1197,6 @@ public FragmentOptions getExec() {
12061197
exec.useStandaloneLtoIndexingCommandLines = useStandaloneLtoIndexingCommandLines;
12071198
exec.useSpecificToolFiles = useSpecificToolFiles;
12081199
exec.disableNoCopts = disableNoCopts;
1209-
exec.loadCcRulesFromBzl = loadCcRulesFromBzl;
12101200
exec.validateTopLevelHeaderInclusions = validateTopLevelHeaderInclusions;
12111201
exec.strictSystemIncludes = strictSystemIncludes;
12121202
exec.useArgsParamsFile = useArgsParamsFile;

0 commit comments

Comments
 (0)