diff options
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java index 0afccb6eb5..12e660fe47 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java +++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java @@ -283,19 +283,19 @@ public abstract class CcBinary implements RuleConfiguredTargetFactory { // Store immutable context for use in other *_binary rules that are implemented by // linking the interpreter (Java, Python, etc.) together with native deps. CppLinkAction.Context linkContext = new CppLinkAction.Context(linkActionBuilder); - Iterable<LTOBackendArtifacts> ltoBackendArtifacts = ImmutableList.of(); + Iterable<LtoBackendArtifacts> ltoBackendArtifacts = ImmutableList.of(); boolean usePic = CppHelper.usePic(ruleContext, !isLinkShared(ruleContext)); if (featureConfiguration.isEnabled(CppRuleClasses.THIN_LTO)) { - linkActionBuilder.setLTOIndexing(true); - linkActionBuilder.setUsePicForLTOBackendActions(usePic); - linkActionBuilder.setUseFissionForLTOBackendActions(cppConfiguration.useFission()); + linkActionBuilder.setLtoIndexing(true); + linkActionBuilder.setUsePicForLtoBackendActions(usePic); + linkActionBuilder.setUseFissionForLtoBackendActions(cppConfiguration.useFission()); CppLinkAction indexAction = linkActionBuilder.build(); ruleContext.registerAction(indexAction); - ltoBackendArtifacts = indexAction.getAllLTOBackendArtifacts(); + ltoBackendArtifacts = indexAction.getAllLtoBackendArtifacts(); - linkActionBuilder.setLTOIndexing(false); + linkActionBuilder.setLtoIndexing(false); } // On Windows, if GENERATE_PDB_FILE feature is enabled @@ -485,7 +485,7 @@ public abstract class CcBinary implements RuleConfiguredTargetFactory { } } - builder.addLTOBitcodeFiles(info.getCcCompilationOutputs().getLtoBitcodeFiles()); + builder.addLtoBitcodeFiles(info.getCcCompilationOutputs().getLtoBitcodeFiles()); builder.addNonCodeInputs(common.getLinkerScripts()); // Determine the libraries to link in. @@ -556,7 +556,7 @@ public abstract class CcBinary implements RuleConfiguredTargetFactory { LinkStaticness linkStaticness, boolean generateDwo, boolean ltoBackendArtifactsUsePic, - Iterable<LTOBackendArtifacts> ltoBackendArtifacts) { + Iterable<LtoBackendArtifacts> ltoBackendArtifacts) { if (linkStaticness == LinkStaticness.DYNAMIC) { return DwoArtifactsCollector.directCollector( context, compilationOutputs, generateDwo, ltoBackendArtifactsUsePic, ltoBackendArtifacts); |