/third_party/gn/src/gn/ |
H A D | resolved_target_deps.h | 23 // 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 D | resolved_target_deps_unittest.cc | 14 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 D | runtime_deps_unittest.cc | 151 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 D | runtime_deps.cc | 101 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 D | command_path.cc | 172 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 D | resolved_target_data_unittest.cc | 25 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 D | ninja_group_target_writer.cc | 21 // the deps and data_deps in the group. in Run() 34 for (const Target* data_dep : target_deps.data_deps()) in Run()
|
H A D | resolved_target_data.h | 52 // Convenience shortcut for GetTargetDeps(target).data_deps(). 54 return GetTargetDeps(target).data_deps(); in GetDataDeps() 140 target->data_deps()) {} in TargetInfo()
|
H A D | ninja_group_target_writer_unittest.cc | 47 target.data_deps().push_back(LabelTargetPair(&datadep)); in TEST()
|
H A D | function_forward_variables_from.cc | 130 forward_variables_from(invoker, [ "data_deps", "deps",
|
H A D | ninja_generated_file_target_writer.cc | 30 // 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 D | ninja_generated_file_target_writer_unittest.cc | 56 target.data_deps().push_back(LabelTargetPair(&datadep)); in TEST_F()
|
H A D | ninja_copy_target_writer_unittest.cc | 112 target.data_deps().push_back(LabelTargetPair(&data_dep)); in TEST()
|
H A D | target_unittest.cc | 319 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 D | target.h | 278 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 D | target_generator.cc | 278 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 D | variables.cc | 1073 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 D | builder.cc | 255 !AddDeps(record, target->data_deps(), err) || in TargetDefined() 502 !ResolveDeps(&target->data_deps(), err) || in ResolveItem()
|
H A D | ninja_action_target_writer_unittest.cc | 193 target.data_deps().push_back(LabelTargetPair(&datadep)); in TEST() 252 target.data_deps().push_back(LabelTargetPair(&datadep)); in TEST()
|
H A D | ninja_action_target_writer.cc | 49 // 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 D | target.cc | 108 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 D | ninja_binary_target_writer.cc | 128 for (const Target* data_dep : target_deps.data_deps()) in GetClassifiedDeps()
|
H A D | function_toolchain.cc | 166 dependency using data_deps (data deps are like deps that are only needed at 174 data_deps = [ ":helper(//toolchains:32)" ]
|
H A D | command_desc.cc | 594 The "deps", "public_deps", and "data_deps" will all be included in the
|
/third_party/gn/misc/vim/syntax/ |
H A D | gn.vim | 49 syn keyword gnVariable data data_deps data_keys defines depfile deps
|