diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppCompileAction.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppCompileAction.java index 770722acafc4af..9fec2e5bc38438 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppCompileAction.java +++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppCompileAction.java @@ -298,7 +298,7 @@ public class CppCompileAction extends AbstractAction implements IncludeScannable this.usedModules = null; this.topLevelModules = null; this.grepIncludes = grepIncludes; - if (featureConfiguration.isEnabled(CppRuleClasses.COMPIILER_PARAM_FILE)) { + if (featureConfiguration.isEnabled(CppRuleClasses.COMPILER_PARAM_FILE)) { paramFilePath = outputFile .getExecPath() @@ -1361,7 +1361,7 @@ static byte[] computeCommandLineKey(List compilerOptions) { @Override public ActionContinuationOrResult beginExecution(ActionExecutionContext actionExecutionContext) throws ActionExecutionException, InterruptedException { - if (featureConfiguration.isEnabled(CppRuleClasses.COMPIILER_PARAM_FILE)) { + if (featureConfiguration.isEnabled(CppRuleClasses.COMPILER_PARAM_FILE)) { try { paramFileActionInput = new ParamFileActionInput( diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppRuleClasses.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppRuleClasses.java index 4dadd68f519280..7e4f0a91d4d9ef 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppRuleClasses.java +++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppRuleClasses.java @@ -418,7 +418,7 @@ public static Label ccToolchainTypeAttribute(RuleDefinitionEnvironment env) { */ public static final String DO_NOT_SPLIT_LINKING_CMDLINE = "do_not_split_linking_cmdline"; - public static final String COMPIILER_PARAM_FILE = "compiler_param_file"; + public static final String COMPILER_PARAM_FILE = "compiler_param_file"; /** * A feature to indicate that this target generates debug symbols for a dSYM file. For Apple diff --git a/src/test/java/com/google/devtools/build/lib/rules/cpp/CcCommonTest.java b/src/test/java/com/google/devtools/build/lib/rules/cpp/CcCommonTest.java index 0eeefc15980185..59a3d65703027b 100644 --- a/src/test/java/com/google/devtools/build/lib/rules/cpp/CcCommonTest.java +++ b/src/test/java/com/google/devtools/build/lib/rules/cpp/CcCommonTest.java @@ -1048,7 +1048,7 @@ public void testCompilationParameterFile() throws Exception { .ccSupport() .setupCcToolchainConfig( mockToolsConfig, - CcToolchainConfig.builder().withFeatures(CppRuleClasses.COMPIILER_PARAM_FILE)); + CcToolchainConfig.builder().withFeatures(CppRuleClasses.COMPILER_PARAM_FILE)); scratch.file("a/BUILD", "cc_library(name='foo', srcs=['foo.cc'])"); CppCompileAction cppCompileAction = getCppCompileAction("//a:foo"); assertThat(