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

Commit 4c698f3f authored by Ivan Lozano's avatar Ivan Lozano Committed by Gerrit Code Review
Browse files

Merge "Only return the source files of a Rust module with a SourceProvider if...

Merge "Only return the source files of a Rust module with a SourceProvider if the internal compiler has been disabled"
parents 65c74d9f 5db69cc8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@ type Module struct {
func (mod *Module) OutputFiles(tag string) (android.Paths, error) {
	switch tag {
	case "":
		if mod.sourceProvider != nil {
		if mod.sourceProvider != nil && (mod.compiler == nil || mod.compiler.Disabled()) {
			return mod.sourceProvider.Srcs(), nil
		} else {
			if mod.outputFile.Valid() {