Skip to content

Commit

Permalink
Delete no_enable_modules feature
Browse files Browse the repository at this point in the history
This was used to support --experimental_objc_enable_module_maps which
has been deleted.

PiperOrigin-RevId: 369322002
  • Loading branch information
googlewalt authored and copybara-github committed Apr 19, 2021
1 parent ad90293 commit d743e57
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ public class CompilationSupport {
private static final Predicate<Artifact> ALWAYS_LINKED_CC_LIBRARY =
input -> LINK_LIBRARY_FILETYPES.matches(input.getFilename());

private static final String NO_ENABLE_MODULES_FEATURE_NAME = "no_enable_modules";
private static final String DEAD_STRIP_FEATURE_NAME = "dead_strip";

private static final String GENERATE_LINKMAP_FEATURE_NAME = "generate_linkmap";
Expand Down Expand Up @@ -529,9 +528,6 @@ private FeatureConfiguration getFeatureConfiguration(
.addAll(OBJC_ACTIONS)
.add(CppRuleClasses.LANG_OBJC);

if (!attributes.enableModules()) {
activatedCrosstoolSelectables.add(NO_ENABLE_MODULES_FEATURE_NAME);
}
if (configuration.getFragment(ObjcConfiguration.class).shouldStripBinary()) {
activatedCrosstoolSelectables.add(DEAD_STRIP_FEATURE_NAME);
}
Expand Down

0 comments on commit d743e57

Please sign in to comment.