Skip to content

Commit

Permalink
Fix typo: COMPIILER_PARAM_FILE -> COMPILER_PARAM_FILE
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 344254498
  • Loading branch information
Googler authored and copybara-github committed Nov 25, 2020
1 parent 5785e5b commit f5887da
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -1361,7 +1361,7 @@ static byte[] computeCommandLineKey(List<String> 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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit f5887da

Please sign in to comment.