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

Commit b0aa1275 authored by Colin Cross's avatar Colin Cross Committed by android-build-merger
Browse files

Add kotlin stdlib to javac classpath

am: 19b17426

Change-Id: Id2c378d208b7a2513934937ee6696220cf03a48d
parents 9ccbba02 19b17426
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -806,6 +806,7 @@ func (j *Module) compile(ctx android.ModuleContext, extraSrcJars ...android.Path
		}

		// Make javac rule depend on the kotlinc rule
		flags.classpath = append(flags.classpath, deps.kotlinStdlib...)
		flags.classpath = append(flags.classpath, kotlinJar)
		// Jar kotlin classes into the final jar after javac
		jars = append(jars, kotlinJar)