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

Commit 87f543d8 authored by Justin Yun's avatar Justin Yun
Browse files

Force rebuild linker.config.pb even after a build error

After a build failure of linker.config.pb, we must manually remove
the temp.pb file to resume the build again after fixing the error.
By adding '--force' flag, the script will overwrite the existing
temp.pb file.

Bug: na
Test: build after an error for linker.config.pb
Change-Id: If51ba8291de49a7c0bed8771d702f61c904d3455
parent 17a362a5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -98,6 +98,7 @@ func BuildLinkerConfig(ctx android.ModuleContext, builder *android.RuleBuilder,
	builder.Command().
		BuiltTool("conv_linker_config").
		Flag("proto").
		Flag("--force").
		FlagWithInput("-s ", input).
		FlagWithOutput("-o ", interimOutput)