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

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

Merge "Consider only preferred modules for jdeps"

parents 8555ed86 48aa2238
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -52,6 +52,11 @@ func (j *jdepsGeneratorSingleton) GenerateBuildActions(ctx android.SingletonCont
			return
		}

		// Prevent including both prebuilts and matching source modules when one replaces the other.
		if !android.IsModulePreferred(module) {
			return
		}

		ideInfoProvider, ok := module.(android.IDEInfo)
		if !ok {
			return