Lines Matching refs:Blueprint
37 # Default targets to translate to the blueprint file.
54 # blueprint target.
98 # Compiler flags which are passed through to the blueprint.
101 # Compiler defines which are passed through to the blueprint.
198 """A single module (e.g., cc_binary, cc_test) in a blueprint."""
282 class Blueprint(object):
289 """Adds a new module to the blueprint, replacing any existing module
343 def apply_module_dependency(blueprint, desc, module, dep_name):
352 blueprint: Blueprint instance which is being generated.
376 dep_mod = create_merged_sql_metrics_target(blueprint, desc, dep_name)
379 create_modules_from_target(blueprint, desc, dep_name)
387 create_modules_from_target(blueprint, desc, dep_name)
403 def make_genrules_for_action(blueprint, desc, target_name):
412 blueprint: Blueprint instance which is being generated.
495 create_modules_from_target(blueprint, desc, dep)
520 def create_merged_sql_metrics_target(blueprint, desc, gn_target_name):
542 blueprint.add_module(module)
553 def create_modules_from_target(blueprint, desc, target_name):
557 blueprint.
560 blueprint: Blueprint instance which is being generated.
574 modules = make_genrules_for_action(blueprint, desc, target_name)
597 apply_module_dependency(blueprint, desc, module, target_name)
599 apply_module_dependency(blueprint, desc, module, dep)
613 blueprint.add_module(module)
620 blueprint: Blueprint instance which is being generated.
646 """Generate a blueprint for a list of GN targets."""
647 blueprint = Blueprint()
662 blueprint.add_module(defaults)
664 create_modules_from_target(blueprint, desc, target)
665 return blueprint
705 help='Extra targets to include at the end of the Blueprint file',
710 help='Blueprint file to create',
716 help='Targets to include in the blueprint (e.g., "//:perfetto_tests")')
725 blueprint = create_blueprint_for_targets(desc, args.targets or
745 blueprint.to_string(output)