diff options
author | 2023-11-03 00:46:29 +0000 | |
---|---|---|
committer | 2023-11-03 00:46:29 +0000 | |
commit | 3e75cfa795af895ca8418826b4d6c36cc699443e (patch) | |
tree | ee59d75b16b1151d6aa3b24b862c45e290afe8aa /java/bootclasspath_fragment.go | |
parent | f96b001064c2dcdd8038f0aa03c372aaa2f2a132 (diff) |
Remove retrieveLegacyEncodedBootDexFiles
Seems to be an unused function
Test: TH
Change-Id: Ic0b352afc16ccaf450dadb5b13d9fb6c694e72e6
Diffstat (limited to 'java/bootclasspath_fragment.go')
-rw-r--r-- | java/bootclasspath_fragment.go | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/java/bootclasspath_fragment.go b/java/bootclasspath_fragment.go index d15dbc991..7d8a9f7bb 100644 --- a/java/bootclasspath_fragment.go +++ b/java/bootclasspath_fragment.go @@ -632,21 +632,6 @@ func (b *BootclasspathFragmentModule) generateHiddenAPIBuildActions(ctx android. return output } -// retrieveLegacyEncodedBootDexFiles attempts to retrieve the legacy encoded boot dex jar files. -func retrieveLegacyEncodedBootDexFiles(ctx android.ModuleContext, contents []android.Module) bootDexJarByModule { - // If the current bootclasspath_fragment is the active module or a source module then retrieve the - // encoded dex files, otherwise return an empty map. - // - // An inactive (i.e. not preferred) bootclasspath_fragment needs to retrieve the encoded dex jars - // as they are still needed by an apex. An inactive prebuilt_bootclasspath_fragment does not need - // to do so and may not yet have access to dex boot jars from a prebuilt_apex/apex_set. - if isActiveModule(ctx.Module()) || !android.IsModulePrebuilt(ctx.Module()) { - return extractEncodedDexJarsFromModules(ctx, contents) - } else { - return nil - } -} - // createHiddenAPIFlagInput creates a HiddenAPIFlagInput struct and initializes it with information derived // from the properties on this module and its dependencies. func (b *BootclasspathFragmentModule) createHiddenAPIFlagInput(ctx android.ModuleContext, contents []android.Module, fragments []android.Module) HiddenAPIFlagInput { |