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

Commit 4b69c497 authored by Colin Cross's avatar Colin Cross
Browse files

Add implicit outputs to ErrorRule rules

When building with ALLOW_MISSING_DEPENDENCIES=true, Soong replaces
rules in modules that have missing dependencies with ErrorRule
rules that print an error.  The ErrorRules were not listing
implicit outputs, which could lead to dangling dependencies.

Test: manual
Change-Id: Ife1604c0a9a1159087b12568fd4c2b69517d81a7
parent dc35e211
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -970,6 +970,8 @@ func (m *moduleContext) ninjaError(params BuildParams, err error) (PackageContex
		Description:     params.Description,
		Output:          params.Output,
		Outputs:         params.Outputs,
		ImplicitOutput:  params.ImplicitOutput,
		ImplicitOutputs: params.ImplicitOutputs,
		Args: map[string]string{
			"error": err.Error(),
		},