mesonintrospect: Print all deps, not just those with the same name

This breaks the API, but the original API was just broken.
pull/1751/head
Nirbheek Chauhan 8 years ago
parent c650ba8928
commit ac1c929f66
  1. 6
      mesonbuild/mintro.py

@ -161,12 +161,12 @@ def list_buildsystem_files(coredata, builddata):
print(json.dumps(filelist))
def list_deps(coredata):
result = {}
for d in coredata.deps.values():
result = []
for d in coredata.deps:
if d.found():
args = {'compile_args': d.get_compile_args(),
'link_args': d.get_link_args()}
result[d.name] = args
result += [d.name, args]
print(json.dumps(result))
def list_tests(testdata):

Loading…
Cancel
Save