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:
Spandan Das
2024-09-12 18:14:14 +00:00
committed by Gerrit Code Review
5 changed files with 64 additions and 3 deletions

View File

@@ -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
}