Home
last modified time | relevance | path

Searched refs:data_deps (Results 1 - 25 of 27) sorted by relevance

12

/third_party/gn/src/gn/
H A Dresolved_target_deps.h23 // 2) Use private_deps(), public_deps(), data_deps(), linked_deps()
37 const LabelTargetVector& data_deps) in ResolvedTargetDeps()
40 data_count_(static_cast<uint32_t>(data_deps.size())), in ResolvedTargetDeps()
41 deps_(Allocate(public_deps, private_deps, data_deps)) {} in ResolvedTargetDeps()
53 base::span<const Target*> data_deps() const { in data_deps() function in ResolvedTargetDeps
68 const LabelTargetVector& data_deps) { in Allocate()
70 private_deps.size() + public_deps.size() + data_deps.size(); in Allocate()
77 for (const auto& pair : data_deps) in Allocate()
35 ResolvedTargetDeps(const LabelTargetVector& public_deps, const LabelTargetVector& private_deps, const LabelTargetVector& data_deps) ResolvedTargetDeps() argument
65 Allocate( const LabelTargetVector& public_deps, const LabelTargetVector& private_deps, const LabelTargetVector& data_deps) Allocate() argument
H A Dresolved_target_deps_unittest.cc14 EXPECT_TRUE(deps.data_deps().empty()); in TEST()
48 EXPECT_EQ(1u, deps.data_deps().size()); in TEST()
49 EXPECT_EQ(&e, deps.data_deps()[0]); in TEST()
H A Druntime_deps_unittest.cc151 main.data_deps().push_back(LabelTargetPair(&datadep)); in TEST_F()
190 action.data_deps().push_back(LabelTargetPair(&datadep)); in TEST_F()
256 main.data_deps().push_back(LabelTargetPair(&datadep)); in TEST_F()
257 main.data_deps().push_back(LabelTargetPair(&datadep_copy)); in TEST_F()
363 bundle.data_deps().push_back(LabelTargetPair(&data_dep)); in TEST_F()
369 main.data_deps().push_back(LabelTargetPair(&bundle)); in TEST_F()
411 target.data_deps().push_back(LabelTargetPair(&action)); in TEST_F()
H A Druntime_deps.cc101 for (const auto& dep_pair : target->data_deps()) { in RecursiveCollectRuntimeDeps()
233 not considered unless that executable is listed in "data_deps". Otherwise, GN
239 Action and copy targets that are listed as "data_deps" will have all of their
246 The different rules for deps and data_deps are to express build-time (deps)
247 vs. run-time (data_deps) outputs. If GN counted all build-time copy steps as
254 A --[data_deps]--> B --[deps]--> ACTION
262 - Have B list the action in data_deps (if the outputs of the actions are
H A Dcommand_path.cc172 DataDeps data_deps, in BreadthFirstSearch()
240 if (data_deps == DataDeps::INCLUDE) { in BreadthFirstSearch()
242 for (const auto& pair : current_target->data_deps()) { in BreadthFirstSearch()
169 BreadthFirstSearch(const Target* from, const Target* to, PrivateDeps private_deps, DataDeps data_deps, PrintWhat print_what, Stats* stats) BreadthFirstSearch() argument
H A Dresolved_target_data_unittest.cc25 a.data_deps().push_back(LabelTargetPair(&e)); in TEST()
44 EXPECT_EQ(a_deps.data_deps().size(), 1u); in TEST()
45 EXPECT_EQ(a_deps.data_deps()[0], &e); in TEST()
52 EXPECT_EQ(b_deps.data_deps().size(), 0u); in TEST()
H A Dninja_group_target_writer.cc21 // the deps and data_deps in the group. in Run()
34 for (const Target* data_dep : target_deps.data_deps()) in Run()
H A Dresolved_target_data.h52 // Convenience shortcut for GetTargetDeps(target).data_deps().
54 return GetTargetDeps(target).data_deps(); in GetDataDeps()
140 target->data_deps()) {} in TargetInfo()
H A Dninja_group_target_writer_unittest.cc47 target.data_deps().push_back(LabelTargetPair(&datadep)); in TEST()
H A Dfunction_forward_variables_from.cc130 forward_variables_from(invoker, [ "data_deps", "deps",
H A Dninja_generated_file_target_writer.cc30 // on each of the deps and data_deps in the target. The actual collection is in Run()
43 for (const Target* data_dep : target_deps.data_deps()) in Run()
H A Dninja_generated_file_target_writer_unittest.cc56 target.data_deps().push_back(LabelTargetPair(&datadep)); in TEST_F()
H A Dninja_copy_target_writer_unittest.cc112 target.data_deps().push_back(LabelTargetPair(&data_dep)); in TEST()
H A Dtarget_unittest.cc319 a.data_deps().push_back(LabelTargetPair(&b)); in TEST_F()
321 a.data_deps()[0].origin = &origin; in TEST_F()
866 middle_data_dep.data_deps().push_back(LabelTargetPair(&generator)); in TEST_F()
883 // via data_deps. in TEST_F()
886 dep_indirect.data_deps().push_back(LabelTargetPair(&middle_data_dep)); in TEST_F()
892 // via data_deps. in TEST_F()
895 data_dep_present.data_deps().push_back(LabelTargetPair(&generator)); in TEST_F()
1323 "Make sure it's included in the deps or data_deps, and that you've " in TEST()
1341 middle_data_dep.data_deps().push_back(LabelTargetPair(&generator)); in TEST_F()
1359 // via data_deps in TEST_F()
[all...]
H A Dtarget.h278 const LabelTargetVector& data_deps() const { return data_deps_; } in data_deps() function in Target
279 LabelTargetVector& data_deps() { return data_deps_; } in data_deps() function in Target
H A Dtarget_generator.cc278 if (!FillGenericDeps(variables::kDataDeps, &target_->data_deps())) in FillDependencies()
283 // "data_deps" was previously named "datadeps". For backwards-compat, read in FillDependencies()
284 // the old one if no "data_deps" were specified. in FillDependencies()
286 if (!FillGenericDeps("datadeps", &target_->data_deps())) in FillDependencies()
H A Dvariables.cc1073 const char kDataDeps[] = "data_deps";
1075 "data_deps: [label list] Non-linked dependencies.";
1077 R"(data_deps: Non-linked dependencies.
1089 gathering data_deps. See "gn help create_bundle" for details.
1097 data_deps = [ "//plugins:my_runtime_plugin" ]
1205 Data dependencies are propagated differently. See "gn help data_deps" and
2289 walk will touch all deps and data_deps of the specified target recursively.
H A Dbuilder.cc255 !AddDeps(record, target->data_deps(), err) || in TargetDefined()
502 !ResolveDeps(&target->data_deps(), err) || in ResolveItem()
H A Dninja_action_target_writer_unittest.cc193 target.data_deps().push_back(LabelTargetPair(&datadep)); in TEST()
252 target.data_deps().push_back(LabelTargetPair(&datadep)); in TEST()
H A Dninja_action_target_writer.cc49 // Add all data-deps to the order-only-deps for the action. The data_deps in Run()
54 // not "dirty" the action's outputs if the data_deps alone are "dirty". in Run()
63 for (const Target* data_dep : target_deps.data_deps()) in Run()
H A Dtarget.cc108 check_data_deps = false; // Consider only direct data_deps. in EnsureFileIsGeneratedByDependency()
109 for (const auto& pair : target->data_deps()) { in EnsureFileIsGeneratedByDependency()
282 A target's "data_deps" are guaranteed to be built whenever the target is
1235 // Allow dependency to be through data_deps for files generated by gn. in CheckSourceGenerated()
1259 // collect its metadata, only that of its deps and data_deps. in GetMetadata()
1261 // Empty string will be converted below to mean all deps and data_deps. in GetMetadata()
1277 // the walk key set must be deps or data_deps of the declaring target. in GetMetadata()
1283 // If we hit an empty string in this list, add all deps and data_deps. The in GetMetadata()
1335 ". Make sure it's included in the deps or data_deps, and " in GetMetadata()
H A Dninja_binary_target_writer.cc128 for (const Target* data_dep : target_deps.data_deps()) in GetClassifiedDeps()
H A Dfunction_toolchain.cc166 dependency using data_deps (data deps are like deps that are only needed at
174 data_deps = [ ":helper(//toolchains:32)" ]
H A Dcommand_desc.cc594 The "deps", "public_deps", and "data_deps" will all be included in the
/third_party/gn/misc/vim/syntax/
H A Dgn.vim49 syn keyword gnVariable data data_deps data_keys defines depfile deps

Completed in 19 milliseconds

12