diff options
author | 2025-01-22 03:28:28 -0800 | |
---|---|---|
committer | 2025-01-22 13:17:02 -0800 | |
commit | 8f99f6f49795504f046c685dba4548cf768e454a (patch) | |
tree | e37e22b80cae465b8da130528508c316e0109da6 /java/base.go | |
parent | da481ebb2866117f03278654e0aed4dd8362f6bc (diff) |
Always include the header jar file. The header jar file is used by JavacTool in Cider-G to resolve dependencies when producing diagnostics.
Bug: 383594831
Change-Id: I945469aa13dc40b85578fd21792908f39415d8fc
Diffstat (limited to 'java/base.go')
-rw-r--r-- | java/base.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/base.go b/java/base.go index b55c93852..bd4140fa1 100644 --- a/java/base.go +++ b/java/base.go @@ -2225,6 +2225,8 @@ func (j *Module) ClassLoaderContexts() dexpreopt.ClassLoaderContextMap { func (j *Module) IDEInfo(ctx android.BaseModuleContext, dpInfo *android.IdeInfo) { if j.expandJarjarRules != nil { dpInfo.Jarjar_rules = append(dpInfo.Jarjar_rules, j.expandJarjarRules.String()) + } + if j.headerJarFile != nil { // Add the header jar so that the rdeps can be resolved to the repackaged classes. dpInfo.Jars = append(dpInfo.Jars, j.headerJarFile.String()) } |