|
|
|
@ -37,6 +37,7 @@ |
|
|
|
|
|
|
|
|
|
${json.dumps([{"name": tgt.name, |
|
|
|
|
"type": typ, |
|
|
|
|
"is_filegroup": False, |
|
|
|
|
"language": tgt.language, |
|
|
|
|
"third_party": tgt.boringssl or tgt.zlib, |
|
|
|
|
"src": sorted( |
|
|
|
@ -50,5 +51,22 @@ |
|
|
|
|
"deps": sorted(tgt.get('deps', []) + |
|
|
|
|
tgt.get('uses', []) + |
|
|
|
|
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)} |
|
|
|
|