Lines Matching refs:blueprint
37 # Default targets to translate to the blueprint file.
50 # blueprint target.
85 # Compiler flags which are passed through to the blueprint.
88 # Compiler defines which are passed through to the blueprint.
159 """A single module (e.g., cc_binary, cc_test) in a blueprint."""
234 class Blueprint(object):
241 """Adds a new module to the blueprint, replacing any existing module
295 def apply_module_dependency(blueprint, desc, module, dep_name):
304 blueprint: Blueprint instance which is being generated.
325 create_modules_from_target(blueprint, desc, dep_name)
333 create_modules_from_target(blueprint, desc, dep_name)
349 def make_genrules_for_action(blueprint, desc, target_name):
358 blueprint: Blueprint instance which is being generated.
439 create_modules_from_target(blueprint, desc, dep)
473 def create_modules_from_target(blueprint, desc, target_name):
477 blueprint.
480 blueprint: Blueprint instance which is being generated.
494 modules = make_genrules_for_action(blueprint, desc, target_name)
517 apply_module_dependency(blueprint, desc, module, target_name)
519 apply_module_dependency(blueprint, desc, module, dep)
525 blueprint.add_module(module)
532 blueprint: Blueprint instance which is being generated.
558 """Generate a blueprint for a list of GN targets."""
559 blueprint = Blueprint()
574 blueprint.add_module(defaults)
576 create_modules_from_target(blueprint, desc, target)
577 return blueprint
617 help='Extra targets to include at the end of the Blueprint file',
622 help='Blueprint file to create',
628 help='Targets to include in the blueprint (e.g., "//:perfetto_tests")')
637 blueprint = create_blueprint_for_targets(desc, args.targets
657 blueprint.to_string(output)