summaryrefslogtreecommitdiff
path: root/apex/prebuilt.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2024-08-08 21:57:22 +0000
committer Spandan Das <spandandas@google.com> 2024-08-09 22:37:33 +0000
commitb4cd5df5736b0561471d0861a2d8a6b0d1cdf118 (patch)
tree945e567498ab4f9080bb0c9eedc563b98093e41d /apex/prebuilt.go
parentdee1a7419f6d28451500a3e2a9b49440fce4c8f9 (diff)
Make IdeInfo aware of jarjar-ing
jarjar can be used to repackage a java_library. e.g. Foo.java in package com.android might get repackaged to prefix.com.android.Foo in the resultant jar. To allow code completion of rdeps, we should use the repackaged jar instead of the src files. This CL sets dpInfo.Jars to the header jar _only_ when jarjar_rules is not empty. We could probably set `Jars` to the header jar even for non jarjar-d libraries and get rid of `Srcs`, `SrcJars` altogether, but that would likely slow down any tools that index out/soong/module_bp_java_deps.json for code completion. Test: go test ./java Bug: 356572093 Change-Id: Ib45810799a479cb315aed011a34351d386a21357
Diffstat (limited to 'apex/prebuilt.go')
0 files changed, 0 insertions, 0 deletions