Lines Matching full:variables
24 #include "gn/variables.h"
49 // "rustenv" : [ list of Rust environment variables ],
216 if (what(variables::kPrecompiledHeader) && in FillInPrecompiledHeader()
219 variables::kPrecompiledHeader, in FillInPrecompiledHeader()
222 if (what(variables::kPrecompiledSource) && in FillInPrecompiledHeader()
224 out->SetWithoutPathExpansion(variables::kPrecompiledSource, in FillInPrecompiledHeader()
250 if (what(variables::kConfigs) && !config_->configs().empty()) { in BuildDescription()
253 res->SetWithoutPathExpansion(variables::kConfigs, std::move(configs)); in BuildDescription()
256 if (what(variables::kVisibility)) { in BuildDescription()
257 res->SetWithoutPathExpansion(variables::kVisibility, in BuildDescription()
338 if (what(variables::kRustCrateRoot)) { in BuildDescription()
340 variables::kRustCrateRoot, in BuildDescription()
343 if (what(variables::kRustCrateName)) { in BuildDescription()
344 res->SetKey(variables::kRustCrateName, in BuildDescription()
350 if (what(variables::kSwiftBridgeHeader)) { in BuildDescription()
352 variables::kSwiftBridgeHeader, in BuildDescription()
355 if (what(variables::kSwiftModuleName)) { in BuildDescription()
356 res->SetKey(variables::kSwiftModuleName, in BuildDescription()
361 // General target meta variables. in BuildDescription()
363 if (what(variables::kMetadata)) { in BuildDescription()
367 res->SetKey(variables::kMetadata, std::move(metadata)); in BuildDescription()
370 if (what(variables::kVisibility)) in BuildDescription()
371 res->SetWithoutPathExpansion(variables::kVisibility, in BuildDescription()
374 if (what(variables::kTestonly)) in BuildDescription()
375 res->SetKey(variables::kTestonly, base::Value(target_->testonly())); in BuildDescription()
378 if (what(variables::kCheckIncludes)) in BuildDescription()
379 res->SetKey(variables::kCheckIncludes, in BuildDescription()
382 if (what(variables::kAllowCircularIncludesFrom)) { in BuildDescription()
387 res->SetWithoutPathExpansion(variables::kAllowCircularIncludesFrom, in BuildDescription()
392 if (what(variables::kSources) && !target_->sources().empty()) in BuildDescription()
393 res->SetWithoutPathExpansion(variables::kSources, in BuildDescription()
396 if (what(variables::kOutputName) && !target_->output_name().empty()) in BuildDescription()
397 res->SetKey(variables::kOutputName, base::Value(target_->output_name())); in BuildDescription()
399 if (what(variables::kOutputDir) && !target_->output_dir().is_null()) in BuildDescription()
400 res->SetWithoutPathExpansion(variables::kOutputDir, in BuildDescription()
403 if (what(variables::kOutputExtension) && target_->output_extension_set()) in BuildDescription()
404 res->SetKey(variables::kOutputExtension, in BuildDescription()
407 if (what(variables::kPublic)) { in BuildDescription()
409 res->SetKey(variables::kPublic, base::Value("*")); in BuildDescription()
411 res->SetWithoutPathExpansion(variables::kPublic, in BuildDescription()
415 if (what(variables::kInputs)) { in BuildDescription()
422 res->SetWithoutPathExpansion(variables::kInputs, RenderValue(inputs)); in BuildDescription()
425 if (is_binary_output && what(variables::kConfigs) && in BuildDescription()
429 res->SetWithoutPathExpansion(variables::kConfigs, std::move(configs)); in BuildDescription()
432 if (what(variables::kPublicConfigs) && !target_->public_configs().empty()) { in BuildDescription()
435 res->SetWithoutPathExpansion(variables::kPublicConfigs, in BuildDescription()
439 if (what(variables::kAllDependentConfigs) && in BuildDescription()
443 res->SetWithoutPathExpansion(variables::kAllDependentConfigs, in BuildDescription()
450 if (what(variables::kScript)) in BuildDescription()
451 res->SetKey(variables::kScript, in BuildDescription()
454 if (what(variables::kArgs)) { in BuildDescription()
459 res->SetWithoutPathExpansion(variables::kArgs, std::move(args)); in BuildDescription()
461 if (what(variables::kResponseFileContents) && in BuildDescription()
468 res->SetWithoutPathExpansion(variables::kResponseFileContents, in BuildDescription()
471 if (what(variables::kDepfile) && in BuildDescription()
473 res->SetKey(variables::kDepfile, in BuildDescription()
481 if (what(variables::kOutputs)) in BuildDescription()
532 if (what(variables::kExterns)) { in BuildDescription()
540 res->SetKey(variables::kExterns, std::move(externs)); in BuildDescription()
548 if (what(variables::kWriteOutputConversion)) { in BuildDescription()
549 res->SetKey(variables::kWriteOutputConversion, in BuildDescription()
552 if (what(variables::kDataKeys)) { in BuildDescription()
556 res->SetKey(variables::kDataKeys, std::move(keys)); in BuildDescription()
558 if (what(variables::kRebase)) { in BuildDescription()
559 res->SetWithoutPathExpansion(variables::kRebase, in BuildDescription()
562 if (what(variables::kWalkKeys)) { in BuildDescription()
566 res->SetKey(variables::kWalkKeys, std::move(keys)); in BuildDescription()
570 if (what(variables::kDeps)) in BuildDescription()
571 res->SetWithoutPathExpansion(variables::kDeps, RenderDeps()); in BuildDescription()
573 if (what(variables::kGenDeps) && !target_->gen_deps().empty()) in BuildDescription()
574 res->SetWithoutPathExpansion(variables::kGenDeps, RenderGenDeps()); in BuildDescription()
587 if (what(variables::kLibs)) { in BuildDescription()
593 res->SetWithoutPathExpansion(variables::kLibs, std::move(libs)); in BuildDescription()
597 if (what(variables::kLibDirs)) { in BuildDescription()
603 res->SetWithoutPathExpansion(variables::kLibDirs, std::move(lib_dirs)); in BuildDescription()
607 if (what(variables::kFrameworks)) { in BuildDescription()
613 res->SetWithoutPathExpansion(variables::kFrameworks, in BuildDescription()
617 if (what(variables::kWeakFrameworks)) { in BuildDescription()
623 res->SetWithoutPathExpansion(variables::kWeakFrameworks, in BuildDescription()
628 if (what(variables::kFrameworkDirs)) { in BuildDescription()
634 res->SetWithoutPathExpansion(variables::kFrameworkDirs, in BuildDescription()
821 res->SetWithoutPathExpansion(variables::kOutputs, in FillInOutputs()