Merge "Add kotlin stdlib to javac classpath"

am: dd0b4e06f5

Change-Id: Idac77630835658f7b2bcfa6175073b213e8693a4
This commit is contained in:
Colin Cross
2018-06-05 22:53:16 -07:00
committed by android-build-merger

View File

@@ -928,6 +928,7 @@ func (j *Module) compile(ctx android.ModuleContext, extraSrcJars ...android.Path
} }
// Make javac rule depend on the kotlinc rule // Make javac rule depend on the kotlinc rule
flags.classpath = append(flags.classpath, deps.kotlinStdlib...)
flags.classpath = append(flags.classpath, kotlinJar) flags.classpath = append(flags.classpath, kotlinJar)
// Jar kotlin classes into the final jar after javac // Jar kotlin classes into the final jar after javac