/third_party/gn/src/gn/ |
D | ninja_action_target_writer_unittest.cc | 23 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 …]
|
D | ninja_action_target_writer.cc | 69 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 …]
|
D | action_target_generator.cc | 86 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 …]
|
D | json_project_writer_unittest.cc | 25 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() =
|
D | ninja_build_writer_unittest.cc | 75 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 …]
|
D | ninja_create_bundle_target_writer_unittest.cc | 33 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 …]
|
D | builder.cc | 257 !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()
|
D | ninja_copy_target_writer_unittest.cc | 24 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()
|
D | ninja_generated_file_target_writer.cc | 58 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()
|
D | function_get_target_outputs_unittest.cc | 65 action->action_values().outputs() = in TEST_F() 80 action->action_values().outputs() = in TEST_F() 96 action->action_values().outputs() = in TEST_F()
|
D | bundle_data_target_generator.cc | 37 if (target_->action_values().outputs().list().size() != 1) { in DoRun() 53 SubstitutionList& outputs = target_->action_values().outputs(); in FillOutputs()
|
D | runtime_deps_unittest.cc | 191 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()
|
D | ninja_copy_target_writer.cc | 62 CHECK(target_->action_values().outputs().list().size() == 1); in WriteCopyRules() 64 target_->action_values().outputs(); in WriteCopyRules()
|
D | builder.h | 105 const ActionValues& action_values, 132 bool ResolveActionValues(ActionValues* action_values, Err* err);
|
D | desc_builder.cc | 452 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()
|
D | ninja_target_writer_unittest.cc | 44 base_target.action_values().set_script(SourceFile("//foo/script.py")); in TEST() 62 action.action_values().set_script(SourceFile("//foo/script.py")); in TEST()
|
D | bundle_data.cc | 96 DCHECK_EQ(target->action_values().outputs().list().size(), 1u); in OnTargetResolved() 99 target->action_values().outputs().list()[0])); in OnTargetResolved()
|
D | copy_target_generator.cc | 47 if (target_->action_values().outputs().list().size() != 1) { in DoRun()
|
D | ninja_bundle_data_target_writer_unittest.cc | 34 bundle_data.action_values().outputs() = SubstitutionList::MakeForTest( in TEST()
|
D | ninja_generated_file_target_writer_unittest.cc | 22 target.action_values().outputs() = in TEST_F()
|
D | analyzer.cc | 260 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()
|
D | target.h | 314 ActionValues& action_values(); 315 const ActionValues& action_values() const;
|
D | generated_file_target_generator.cc | 29 if (target_->action_values().outputs().list().size() != 1) { in DoRun()
|
D | target.cc | 345 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()
|
D | target_unittest.cc | 941 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()
|