Pass the common sources rsp file as --common_srcs
to extractor
This additional metadata allows the indexer to differentiate between platform specific and platform agnostic kotlin code. Bug: 3266381 Test: ran the indexer on `kotlinx_serialization_core` java_library Change-Id: I860552808198cafa95fe0d5b6faa725b985e24d0
This commit is contained in:
@@ -163,7 +163,7 @@ func (j *Module) kotlinCompile(ctx android.ModuleContext, outputFile, headerOutp
|
||||
"srcJarDir": android.PathForModuleOut(ctx, "kotlinc", "srcJars.xref").String(),
|
||||
}
|
||||
if commonSrcsList.Valid() {
|
||||
args["commonSrcFilesList"] = "--srcs @" + commonSrcsList.String()
|
||||
args["commonSrcFilesList"] = "--common_srcs @" + commonSrcsList.String()
|
||||
}
|
||||
ctx.Build(pctx, android.BuildParams{
|
||||
Rule: kotlinKytheExtract,
|
||||
|
Reference in New Issue
Block a user