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

Commit 511e1d0b authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Skip cloning modules in bp2build"

parents 4397c9fa 3a5c1705
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -817,6 +817,9 @@ func runBp2Build(ctx *android.Context, extraNinjaDeps []string, metricsDir strin
		ctx.SetNameInterface(newNameResolver(ctx.Config()))
		ctx.RegisterForBazelConversion()
		ctx.SetModuleListFile(cmdlineArgs.ModuleListFile)
		// Skip cloning modules during bp2build's blueprint run. Some mutators set
		// bp2build-related module values which should be preserved during codegen.
		ctx.SkipCloneModulesAfterMutators = true

		var ninjaDeps []string
		ninjaDeps = append(ninjaDeps, extraNinjaDeps...)