summaryrefslogtreecommitdiff
path: root/java/classpath_fragment.go
diff options
context:
space:
mode:
author Jooyung Han <jooyung@google.com> 2021-05-12 03:53:32 +0900
committer Jooyung Han <jooyung@google.com> 2021-05-11 19:03:25 +0000
commit77f7c442462cd968ea9f6bc7d86948767e92f202 (patch)
tree64a31b447da954b9b86233c1b48819c7623c2a80 /java/classpath_fragment.go
parentdf09d173cad6bf652dc949698e48824248d59373 (diff)
packaging: install/package deps if not marked IsHideFromMake
TransitivePackagingSpecs() gathers transitive "install/package" dependencies. Previously, IsInstallDepNeeded(depTag) was checked. But, in this way, some stub libraries which are marked as "HideFromMake()" to avoid install/package can be gathered. For example, libdexfile is not installed even if it is one of libdexfile_support's runtime_libs because it is a stub library and the impl is provided by "art" apex. So when gathering transitive deps "IsHideFromMake()" is checked and if the dep is hidden (so, not supposed to be installed) then the dep (and its deps) is ignored. Bug: 187686926 Test: m nothing Test: m microdroid (libdexfile shouldn't be included in system/lib) Test: m hosttar (no changes) Change-Id: I2729001d4c64985cf0f2b37440c2082fe912e6c5
Diffstat (limited to 'java/classpath_fragment.go')
0 files changed, 0 insertions, 0 deletions