Searched refs:rust_values (Results 1 – 15 of 15) sorted by relevance
/third_party/gn/src/gn/ |
D | ninja_rust_binary_target_writer_unittest.cc | 43 target.rust_values().set_crate_root(main); in TEST_F() 44 target.rust_values().crate_name() = "foo_bar"; in TEST_F() 97 private_rlib.rust_values().set_crate_root(bazlib); in TEST_F() 98 private_rlib.rust_values().crate_name() = "privatecrate"; in TEST_F() 138 far_public_rlib.rust_values().set_crate_root(farlib); in TEST_F() 139 far_public_rlib.rust_values().crate_name() = "farcrate"; in TEST_F() 178 public_rlib.rust_values().set_crate_root(barlib); in TEST_F() 179 public_rlib.rust_values().crate_name() = "publiccrate"; in TEST_F() 219 rlib.rust_values().set_crate_root(lib); in TEST_F() 220 rlib.rust_values().crate_name() = "direct"; in TEST_F() [all …]
|
D | rust_values_generator.cc | 72 target_->rust_values().crate_name() = target_->label().name(); in FillCrateName() 78 target_->rust_values().crate_name() = std::move(value->string_value()); in FillCrateName() 102 target_->rust_values().set_crate_type(RustValues::CRATE_BIN); in FillCrateType() 106 target_->rust_values().set_crate_type(RustValues::CRATE_CDYLIB); in FillCrateType() 110 target_->rust_values().set_crate_type(RustValues::CRATE_DYLIB); in FillCrateType() 114 target_->rust_values().set_crate_type(RustValues::CRATE_PROC_MACRO); in FillCrateType() 118 target_->rust_values().set_crate_type(RustValues::CRATE_RLIB); in FillCrateType() 122 target_->rust_values().set_crate_type(RustValues::CRATE_STATICLIB); in FillCrateType() 137 target_->rust_values().set_crate_root(target_->sources()[0]); in FillCrateRoot() 145 target_->rust_values().set_crate_root(source); in FillCrateRoot() [all …]
|
D | rust_project_writer_unittest.cc | 38 target.rust_values().set_crate_root(lib); in TEST_F() 39 target.rust_values().crate_name() = "foo"; in TEST_F() 92 dep.rust_values().set_crate_root(tlib); in TEST_F() 93 dep.rust_values().crate_name() = "tortoise"; in TEST_F() 103 target.rust_values().set_crate_root(harelib); in TEST_F() 104 target.rust_values().crate_name() = "hare"; in TEST_F() 178 dep.rust_values().set_crate_root(tlib); in TEST_F() 179 dep.rust_values().crate_name() = "tortoise"; in TEST_F() 189 dep2.rust_values().set_crate_root(alib); in TEST_F() 190 dep2.rust_values().crate_name() = "achilles"; in TEST_F() [all …]
|
D | rust_project_writer_helpers_unittest.cc | 312 target.rust_values().set_crate_root(lib); in TEST_F() 313 target.rust_values().crate_name() = "foo"; in TEST_F() 334 target.rust_values().set_crate_root(lib); in TEST_F() 335 target.rust_values().crate_name() = "foo"; in TEST_F() 356 target.rust_values().set_crate_root(lib); in TEST_F() 357 target.rust_values().crate_name() = "foo"; in TEST_F() 377 target.rust_values().set_crate_root(lib); in TEST_F() 378 target.rust_values().crate_name() = "foo"; in TEST_F() 399 target.rust_values().set_crate_root(lib); in TEST_F() 400 target.rust_values().crate_name() = "foo"; in TEST_F() [all …]
|
D | functions_target_rust_unittest.cc | 32 ASSERT_EQ(item_collector.back()->AsTarget()->rust_values().crate_name(), in TEST_F() 43 ASSERT_EQ(item_collector.back()->AsTarget()->rust_values().crate_name(), in TEST_F() 45 << item_collector.back()->AsTarget()->rust_values().crate_name(); in TEST_F() 67 item_collector.back()->AsTarget()->rust_values().crate_root().value(), in TEST_F() 81 item_collector.back()->AsTarget()->rust_values().crate_root().value(), in TEST_F() 93 item_collector.back()->AsTarget()->rust_values().crate_root().value(), in TEST_F() 105 item_collector.back()->AsTarget()->rust_values().crate_root().value(), in TEST_F() 117 item_collector.back()->AsTarget()->rust_values().crate_root().value(), in TEST_F() 140 item_collector.back()->AsTarget()->rust_values().crate_root().value(), in TEST_F() 162 ASSERT_EQ(item_collector.back()->AsTarget()->rust_values().crate_type(), in TEST_F() [all …]
|
D | ninja_c_binary_target_writer_unittest.cc | 1353 library_target.rust_values().set_crate_root(lib); in TEST_F() 1354 library_target.rust_values().crate_name() = "foo"; in TEST_F() 1461 priv_in_staticlib.rust_values().set_crate_root(priv_in_staticlib_root); in TEST_F() 1462 priv_in_staticlib.rust_values().crate_name() = "priv_in_staticlib"; in TEST_F() 1476 pub_in_staticlib.rust_values().set_crate_root(pub_in_staticlib_root); in TEST_F() 1477 pub_in_staticlib.rust_values().crate_name() = "pub_in_staticlib"; in TEST_F() 1490 priv_in_dylib.rust_values().set_crate_root(priv_in_dylib_root); in TEST_F() 1491 priv_in_dylib.rust_values().crate_name() = "priv_in_dylib"; in TEST_F() 1503 pub_in_dylib.rust_values().set_crate_root(pub_in_dylib_root); in TEST_F() 1504 pub_in_dylib.rust_values().crate_name() = "pub_in_dylib"; in TEST_F() [all …]
|
D | ninja_rust_binary_target_writer.cc | 43 target->rust_values().crate_name(), opts, out); in WriteCrateVars() 46 switch (target->rust_values().crate_type()) { in WriteCrateVars() 160 linkable_dep->rust_values().crate_type() != RustValues::CRATE_CDYLIB) { in Run() 202 WriteCompilerBuildLine({target_->rust_values().crate_root()}, in Run() 279 const auto& aliased_deps = target_->rust_values().aliased_deps(); in WriteExternsAndDeps() 283 crate_name = dep.rust_values().crate_name(); in WriteExternsAndDeps()
|
D | json_project_writer_unittest.cc | 269 target.rust_values().set_crate_root(lib); 270 target.rust_values().crate_name() = "foo";
|
D | rust_values.cc | 28 CrateType crate_type = target->rust_values().crate_type(); in InferredCrateType()
|
D | target.h | 328 RustValues& rust_values(); 329 const RustValues& rust_values() const;
|
D | rust_project_writer.cc | 288 SourceFile crate_root = target->rust_values().crate_root(); in AddTarget() 353 crate.AddDependency(idx, dep->rust_values().crate_name()); in AddTarget()
|
D | target.cc | 357 const RustValues& Target::rust_values() const { in rust_values() function in Target 361 RustValues& Target::rust_values() { in rust_values() function in Target
|
D | tool.cc | 357 switch (target->rust_values().InferredCrateType(target)) { in GetToolTypeForTargetFinalOutput()
|
D | desc_builder.cc | 341 RenderValue(target_->rust_values().crate_root())); in BuildDescription() 345 base::Value(target_->rust_values().crate_name())); in BuildDescription()
|
D | substitution_writer.cc | 580 return target->rust_values().crate_name(); in GetLinkerSubstitution()
|