Merge changes from topic "kotlin_kythe" into main
* changes: Add kotlin kzips to build_kzip.bash Create .kzip files for kotlin translation units
This commit is contained in:
@@ -535,7 +535,8 @@ type Module struct {
|
||||
linter
|
||||
|
||||
// list of the xref extraction files
|
||||
kytheFiles android.Paths
|
||||
kytheFiles android.Paths
|
||||
kytheKotlinFiles android.Paths
|
||||
|
||||
hideApexVariantFromMake bool
|
||||
|
||||
@@ -1370,7 +1371,7 @@ func (j *Module) compile(ctx android.ModuleContext, extraSrcJars, extraClasspath
|
||||
|
||||
kotlinJar := android.PathForModuleOut(ctx, "kotlin", jarName)
|
||||
kotlinHeaderJar := android.PathForModuleOut(ctx, "kotlin_headers", jarName)
|
||||
kotlinCompile(ctx, kotlinJar, kotlinHeaderJar, uniqueSrcFiles, kotlinCommonSrcFiles, srcJars, flags)
|
||||
j.kotlinCompile(ctx, kotlinJar, kotlinHeaderJar, uniqueSrcFiles, kotlinCommonSrcFiles, srcJars, flags)
|
||||
if ctx.Failed() {
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user