Lines Matching refs:targets
8 Finds unreachable gn targets by analysing --ide=json output
12 # Generate json file with targets info, will be located at out/project.json:
14 # Lists all targets that are not reachable from //:all or //ci:test_all:
16 # Lists targets unreachable from //:all that aren't referenced by any other target:
37 def find_source_targets_from(targets, graph):
38 source_targets = set(targets)
39 for target in targets:
46 Tool to find unreachable targets.
47 This can be useful to inspect forgotten targets,
48 for example tests or intermediate targets in templates
56 help='Known "root" targets. Can be multiple. Those targets \
61 help='Show only targets that aren\'t referenced by any other target')
65 targets_graph = json.load(json_file)['targets']