|
|
@ -37,6 +37,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
${json.dumps([{"name": tgt.name, |
|
|
|
${json.dumps([{"name": tgt.name, |
|
|
|
"type": typ, |
|
|
|
"type": typ, |
|
|
|
|
|
|
|
"is_filegroup": False, |
|
|
|
"language": tgt.language, |
|
|
|
"language": tgt.language, |
|
|
|
"third_party": tgt.boringssl or tgt.zlib, |
|
|
|
"third_party": tgt.boringssl or tgt.zlib, |
|
|
|
"src": sorted( |
|
|
|
"src": sorted( |
|
|
@ -50,5 +51,22 @@ |
|
|
|
"deps": sorted(tgt.get('deps', []) + |
|
|
|
"deps": sorted(tgt.get('deps', []) + |
|
|
|
tgt.get('uses', []) + |
|
|
|
tgt.get('uses', []) + |
|
|
|
tgt.get('filegroups', []))} |
|
|
|
tgt.get('filegroups', []))} |
|
|
|
for typ, tgt in all_targets(targets, libs, filegroups)], |
|
|
|
for typ, tgt in all_targets(targets, libs, [])] + |
|
|
|
|
|
|
|
[{"name": tgt.name, |
|
|
|
|
|
|
|
"type": typ, |
|
|
|
|
|
|
|
"is_filegroup": True, |
|
|
|
|
|
|
|
"language": tgt.language, |
|
|
|
|
|
|
|
"third_party": tgt.boringssl or tgt.zlib, |
|
|
|
|
|
|
|
"src": sorted( |
|
|
|
|
|
|
|
filter_srcs(tgt.own_src, (no_protos_filter, no_third_party_filter)) + |
|
|
|
|
|
|
|
filter_srcs(tgt.own_public_headers, (no_protos_filter, no_third_party_filter)) + |
|
|
|
|
|
|
|
filter_srcs(tgt.own_headers, (no_third_party_filter,))), |
|
|
|
|
|
|
|
"headers": sorted( |
|
|
|
|
|
|
|
tgt.own_public_headers + |
|
|
|
|
|
|
|
tgt.own_headers + |
|
|
|
|
|
|
|
proto_headers(tgt.own_src)), |
|
|
|
|
|
|
|
"deps": sorted(tgt.get('deps', []) + |
|
|
|
|
|
|
|
tgt.get('uses', []) + |
|
|
|
|
|
|
|
tgt.get('filegroups', []))} |
|
|
|
|
|
|
|
for typ, tgt in all_targets([], [], filegroups)], |
|
|
|
sort_keys=True, indent=2)} |
|
|
|
sort_keys=True, indent=2)} |
|
|
|