diff --git a/tools/worker/output_file_map.cc b/tools/worker/output_file_map.cc index af3d0a803..5a4e9faef 100644 --- a/tools/worker/output_file_map.cc +++ b/tools/worker/output_file_map.cc @@ -99,8 +99,8 @@ void OutputFileMap::UpdateForIncremental( auto kind = output.key(); auto path = output.value().get(); - if (kind == "object") { - // If the file kind is "object", we want to update the path to point to + if (kind == "object" || kind == "const-values") { + // If the file kind is "object" or "const-values", we want to update the path to point to // the incremental storage area and then add a "swift-dependencies" // in the same location. auto new_path = MakeIncrementalOutputPath(path, derived);