Index: tools/gn/ninja_target_writer_unittest.cc |
diff --git a/tools/gn/ninja_target_writer_unittest.cc b/tools/gn/ninja_target_writer_unittest.cc |
index 69f75395c4cfe9629fcea1b0100484f505537e83..741c410f0fb5dab6f163b8bd9c6cd35a4afd1442 100644 |
--- a/tools/gn/ninja_target_writer_unittest.cc |
+++ b/tools/gn/ninja_target_writer_unittest.cc |
@@ -41,12 +41,12 @@ TEST(NinjaTargetWriter, WriteInputDepsStampAndGetDep) { |
// included) and a source (should not be included). |
Target target(setup.settings(), Label(SourceDir("//foo/"), "target")); |
target.set_output_type(Target::EXECUTABLE); |
- target.source_prereqs().push_back(SourceFile("//foo/input.txt")); |
+ target.inputs().push_back(SourceFile("//foo/input.txt")); |
target.sources().push_back(SourceFile("//foo/source.txt")); |
target.deps().push_back(LabelTargetPair(&base_target)); |
// Dependent action to test that action sources will be treated the same as |
- // source_prereqs. |
+ // inputs. |
Target action(setup.settings(), Label(SourceDir("//foo/"), "action")); |
action.set_output_type(Target::ACTION); |
action.action_values().set_script(SourceFile("//foo/script.py")); |