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

Commit 7617fc2f authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Extend ALLOW_MISSING_DEPENDENCIES coverage"

parents d1818c8e 2c0a180b
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1933,7 +1933,11 @@ func (c *Module) depsToPaths(ctx android.ModuleContext) PathDeps {

		if ptr != nil {
			if !linkFile.Valid() {
				if !ctx.Config().AllowMissingDependencies() {
					ctx.ModuleErrorf("module %q missing output file", depName)
				} else {
					ctx.AddMissingDependencies([]string{depName})
				}
				return
			}
			*ptr = append(*ptr, linkFile.Path())