Merge "Add kotlin stdlib to javac classpath"

This commit is contained in:
Colin Cross 2018-06-06 04:42:26 +00:00 committed by Gerrit Code Review
commit dd0b4e06f5

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