Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd245f70 authored by usta's avatar usta Committed by Usta (Tsering) Shrestha
Browse files

cosmetic: remove unused arg

Test: m nothing
Bug: N/A
Change-Id: I93db309d7b086b65046c53ea3c8b2296209fb2a9
parent ff298460
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -240,7 +240,7 @@ func writeDepFile(outputFile string, eventHandler metrics.EventHandler, ninjaDep
// doChosenActivity runs Soong for a specific activity, like bp2build, queryview
// or the actual Soong build for the build.ninja file. Returns the top level
// output file of the specific activity.
func doChosenActivity(ctx *android.Context, configuration android.Config, extraNinjaDeps []string, logDir string) string {
func doChosenActivity(ctx *android.Context, configuration android.Config, extraNinjaDeps []string) string {
	if configuration.BuildMode == android.Bp2build {
		// Run the alternate pipeline of bp2build mutators and singleton to convert
		// Blueprint to BUILD files before everything else.
@@ -353,7 +353,7 @@ func main() {
	ctx := newContext(configuration)
	ctx.EventHandler.Begin("soong_build")

	finalOutputFile := doChosenActivity(ctx, configuration, extraNinjaDeps, logDir)
	finalOutputFile := doChosenActivity(ctx, configuration, extraNinjaDeps)

	ctx.EventHandler.End("soong_build")
	writeMetrics(configuration, *ctx.EventHandler, logDir)