Merge "Rename soong_ui's upload-metrics-only mode."
This commit is contained in:
@@ -92,13 +92,12 @@ var commands = []command{
|
|||||||
stdio: stdio,
|
stdio: stdio,
|
||||||
run: runMake,
|
run: runMake,
|
||||||
}, {
|
}, {
|
||||||
flag: "--upload-metrics-only",
|
flag: "--finalize-bazel-metrics",
|
||||||
description: "upload metrics without building anything",
|
description: "finalize b metrics and upload",
|
||||||
config: build.UploadOnlyConfig,
|
config: build.UploadOnlyConfig,
|
||||||
stdio: stdio,
|
stdio: stdio,
|
||||||
// Upload-only mode mostly skips to the metrics-uploading phase of soong_ui.
|
// Finalize-bazel-metrics mode updates metrics files and calls the metrics
|
||||||
// However, this invocation marks the true "end of the build", and thus we
|
// uploader. This marks the end of a b invocation.
|
||||||
// need to update the total runtime of the build to include this upload step.
|
|
||||||
run: finalizeBazelMetrics,
|
run: finalizeBazelMetrics,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user