Merge "Add JSON module graph to dist" am: 5e0278ea96

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2006213

Change-Id: I4e1de159d478102f9dc13ee8167f2244aa54b8c8
This commit is contained in:
Rob Seymour 2022-03-03 19:11:10 +00:00 committed by Automerger Merge Worker
commit 912a9b7478

View file

@ -507,6 +507,9 @@ func runSoong(ctx Context, config Config) {
if shouldCollectBuildSoongMetrics(config) && ctx.Metrics != nil {
ctx.Metrics.SetSoongBuildMetrics(soongBuildMetrics)
}
if config.JsonModuleGraph() {
distGzipFile(ctx, config, config.ModuleGraphFile(), "soong")
}
}
func runMicrofactory(ctx Context, config Config, name string, pkg string, mapping map[string]string) {