Home
last modified time | relevance | path

Searched refs:action_values (Results 1 – 25 of 35) sorted by relevance

12

/third_party/gn/src/gn/
Dninja_action_target_writer_unittest.cc23 target.action_values().outputs() = in TEST()
48 target.action_values().set_script(SourceFile("//foo/script.py")); in TEST()
51 target.action_values().outputs() = in TEST()
84 target.action_values().set_script(SourceFile("//foo/script.py")); in TEST()
87 target.action_values().outputs() = in TEST()
94 target.action_values().set_pool(LabelPtrPair<Pool>(&pool)); in TEST()
130 target.action_values().set_script(SourceFile("//foo/script.py")); in TEST()
135 target.action_values().outputs() = in TEST()
198 target.action_values().set_script(SourceFile("//foo/script.py")); in TEST()
200 target.action_values().args() = SubstitutionList::MakeForTest( in TEST()
[all …]
Dninja_action_target_writer.cc69 settings_, target_->action_values().outputs(), &output_files); in Run()
80 if (target_->action_values().has_depfile()) { in Run()
86 if (target_->action_values().pool().ptr) { in Run()
88 out_ << target_->action_values().pool().ptr->GetNinjaName( in Run()
116 const SubstitutionList& args = target_->action_values().args(); in WriteRuleDefinition()
122 if (target_->action_values().uses_rsp_file()) { in WriteRuleDefinition()
136 target_->action_values().rsp_file_contents().list()) { in WriteRuleDefinition()
147 path_output_.WriteFile(out_, target_->action_values().script()); in WriteRuleDefinition()
195 if (target_->action_values().uses_rsp_file()) in WriteSourceRules()
205 target_->action_values().args().required_types(), args_escape_options, in WriteSourceRules()
[all …]
Daction_target_generator.cc86 target_->action_values().args().required_types(); in DoRun()
89 if (target_->action_values().uses_rsp_file() && !has_rsp_file_name) { in DoRun()
97 if (!target_->action_values().uses_rsp_file() && has_rsp_file_name) { in DoRun()
122 target_->action_values().set_script(script_file); in FillScript()
131 if (!target_->action_values().args().Parse(*value, err_)) in FillScriptArgs()
134 target_->action_values().args().required_types(), in FillScriptArgs()
146 if (!target_->action_values().rsp_file_contents().Parse(*value, err_)) in FillResponseFileContents()
149 target_->action_values().rsp_file_contents().required_types(), in FillResponseFileContents()
167 target_->action_values().set_depfile(depfile); in FillDepfile()
186 target_->action_values().set_pool(std::move(pair)); in FillPool()
[all …]
Djson_project_writer_unittest.cc25 target.action_values().set_script(SourceFile("//foo/script.py")); in TEST_F()
32 target.action_values().args() = in TEST_F()
34 target.action_values().rsp_file_contents() = in TEST_F()
36 target.action_values().outputs() = in TEST_F()
486 target.action_values().set_script(SourceFile("//foo/script.py"));
493 target.action_values().args() = SubstitutionList::MakeForTest(
495 target.action_values().rsp_file_contents() =
497 target.action_values().outputs() =
Dninja_build_writer_unittest.cc75 target_foo.action_values().set_script(SourceFile("//foo/script.py")); in TEST_F()
76 target_foo.action_values().outputs() = SubstitutionList::MakeForTest( in TEST_F()
83 target_bar.action_values().set_script(SourceFile("//bar/script.py")); in TEST_F()
84 target_bar.action_values().outputs() = SubstitutionList::MakeForTest( in TEST_F()
112 target_baz.action_values().set_script(SourceFile("//baz/script.py")); in TEST_F()
113 target_baz.action_values().outputs() = SubstitutionList::MakeForTest( in TEST_F()
116 target_baz.action_values().set_pool( in TEST_F()
220 target_foo.action_values().set_script(SourceFile("//foo/script.py")); in TEST_F()
221 target_foo.action_values().outputs() = SubstitutionList::MakeForTest( in TEST_F()
228 target_bar.action_values().set_script(SourceFile("//bar/script.py")); in TEST_F()
[all …]
Dninja_create_bundle_target_writer_unittest.cc33 action->action_values().set_script(SourceFile("//foo/script.py")); in NewAction()
35 action->action_values().outputs() = in NewAction()
56 bundle_data.action_values().outputs() = SubstitutionList::MakeForTest( in TEST()
105 bundle_data.action_values().outputs() = SubstitutionList::MakeForTest( in TEST()
202 bundle_data.action_values().outputs() = SubstitutionList::MakeForTest( in TEST()
282 bundle_data0.action_values().outputs() = in TEST()
292 bundle_data1.action_values().outputs() = SubstitutionList::MakeForTest( in TEST()
316 bundle_data2.action_values().outputs() = SubstitutionList::MakeForTest( in TEST()
338 bundle_data3.action_values().outputs() = SubstitutionList::MakeForTest( in TEST()
350 bundle_data4.action_values().outputs() = SubstitutionList::MakeForTest( in TEST()
[all …]
Dbuilder.cc257 !AddActionValuesDep(record, target->action_values(), err) || in TargetDefined()
436 const ActionValues& action_values, in AddActionValuesDep() argument
438 if (action_values.pool().label.is_null()) in AddActionValuesDep()
442 action_values.pool().label, action_values.pool().origin, in AddActionValuesDep()
503 !ResolveActionValues(&target->action_values(), err) || in ResolveItem()
582 bool Builder::ResolveActionValues(ActionValues* action_values, Err* err) { in ResolveActionValues() argument
583 if (action_values->pool().label.is_null()) in ResolveActionValues()
587 action_values->pool().label, action_values->pool().origin, in ResolveActionValues()
591 action_values->set_pool(LabelPtrPair<Pool>(record->item()->AsPool())); in ResolveActionValues()
Dninja_copy_target_writer_unittest.cc24 target.action_values().outputs() = in TEST()
53 target.action_values().outputs() = in TEST()
78 target.action_values().outputs() = in TEST()
103 target.action_values().outputs() = in TEST()
Dninja_generated_file_target_writer.cc58 CHECK(target_->action_values().outputs().list().size() == 1U); in GenerateFile()
59 contents = Value(target_->action_values().outputs().list()[0].origin(), in GenerateFile()
73 target_->action_values().GetOutputsAsSourceFiles(target_, in GenerateFile()
Dfunction_get_target_outputs_unittest.cc65 action->action_values().outputs() = in TEST_F()
80 action->action_values().outputs() = in TEST_F()
96 action->action_values().outputs() = in TEST_F()
Dbundle_data_target_generator.cc37 if (target_->action_values().outputs().list().size() != 1) { in DoRun()
53 SubstitutionList& outputs = target_->action_values().outputs(); in FillOutputs()
Druntime_deps_unittest.cc191 action.action_values().outputs() = in TEST_F()
226 datadep.action_values().outputs() = in TEST_F()
234 datadep_copy.action_values().outputs() = in TEST_F()
241 dep.action_values().outputs() = SubstitutionList::MakeForTest("//dep.output"); in TEST_F()
248 dep_copy.action_values().outputs() = in TEST_F()
404 action.action_values().outputs() = in TEST_F()
Dninja_copy_target_writer.cc62 CHECK(target_->action_values().outputs().list().size() == 1); in WriteCopyRules()
64 target_->action_values().outputs(); in WriteCopyRules()
Dbuilder.h105 const ActionValues& action_values,
132 bool ResolveActionValues(ActionValues* action_values, Err* err);
Ddesc_builder.cc452 base::Value(target_->action_values().script().value())); in BuildDescription()
456 for (const auto& elem : target_->action_values().args().list()) in BuildDescription()
462 !target_->action_values().rsp_file_contents().list().empty()) { in BuildDescription()
465 target_->action_values().rsp_file_contents().list()) in BuildDescription()
472 !target_->action_values().depfile().empty()) { in BuildDescription()
474 base::Value(target_->action_values().depfile().AsString())); in BuildDescription()
767 target_->action_values().outputs().required_types().empty()) in FillInSourceOutputs()
827 const SubstitutionList& outputs = target_->action_values().outputs(); in FillInOutputs()
Dninja_target_writer_unittest.cc44 base_target.action_values().set_script(SourceFile("//foo/script.py")); in TEST()
62 action.action_values().set_script(SourceFile("//foo/script.py")); in TEST()
Dbundle_data.cc96 DCHECK_EQ(target->action_values().outputs().list().size(), 1u); in OnTargetResolved()
99 target->action_values().outputs().list()[0])); in OnTargetResolved()
Dcopy_target_generator.cc47 if (target_->action_values().outputs().list().size() != 1) { in DoRun()
Dninja_bundle_data_target_writer_unittest.cc34 bundle_data.action_values().outputs() = SubstitutionList::MakeForTest( in TEST()
Dninja_generated_file_target_writer_unittest.cc22 target.action_values().outputs() = in TEST_F()
Danalyzer.cc260 item->AsTarget()->action_values().pool(); in Analyzer()
452 if (target->action_values().script().value() == file->value()) in ItemRefersToFile()
456 target->action_values().GetOutputsAsSourceFiles(target, &outputs); in ItemRefersToFile()
Dtarget.h314 ActionValues& action_values();
315 const ActionValues& action_values() const;
Dgenerated_file_target_generator.cc29 if (target_->action_values().outputs().list().size() != 1) { in DoRun()
Dtarget.cc345 const ActionValues& Target::action_values() const { in action_values() function in Target
349 ActionValues& Target::action_values() { in action_values() function in Target
641 action_values().GetOutputsAsSourceFiles(this, outputs); in GetOutputsAsSourceFiles()
693 this, settings(), action_values().outputs(), source, outputs); in GetOutputFilesForSource()
Dtarget_unittest.cc941 target.action_values().outputs() = in TEST_F()
978 target.action_values().outputs() = in TEST_F()
1004 target.action_values().outputs() = in TEST_F()
1081 generator.action_values().outputs() = in TEST_F()
1357 b.action_values().outputs() = SubstitutionList::MakeForTest( in TEST_F()
1365 d.action_values().outputs() = SubstitutionList::MakeForTest( in TEST_F()
1380 f.action_values().outputs() = SubstitutionList::MakeForTest( in TEST_F()
1621 generator.action_values().outputs() = in TEST_F()

12