Merge "Rename UpdatableBootJars to ApexBootJars."
This commit is contained in:
@@ -537,15 +537,11 @@ func (b *BootclasspathFragmentModule) configuredJars(ctx android.ModuleContext)
|
||||
|
||||
global := dexpreopt.GetGlobalConfig(ctx)
|
||||
|
||||
possibleUpdatableModules := gatherPossibleUpdatableModuleNamesAndStems(ctx, b.properties.Contents, bootclasspathFragmentContentDepTag)
|
||||
|
||||
// Only create configs for updatable boot jars. Non-updatable boot jars must be part of the
|
||||
// platform_bootclasspath's classpath proto config to guarantee that they come before any
|
||||
// updatable jars at runtime.
|
||||
jars := global.UpdatableBootJars.Filter(possibleUpdatableModules)
|
||||
possibleUpdatableModules := gatherPossibleApexModuleNamesAndStems(ctx, b.properties.Contents, bootclasspathFragmentContentDepTag)
|
||||
jars := global.ApexBootJars.Filter(possibleUpdatableModules)
|
||||
|
||||
// TODO(satayev): for apex_test we want to include all contents unconditionally to classpaths
|
||||
// config. However, any test specific jars would not be present in UpdatableBootJars. Instead,
|
||||
// config. However, any test specific jars would not be present in ApexBootJars. Instead,
|
||||
// we should check if we are creating a config for apex_test via ApexInfo and amend the values.
|
||||
// This is an exception to support end-to-end test for SdkExtensions, until such support exists.
|
||||
if android.InList("test_framework-sdkextensions", possibleUpdatableModules) {
|
||||
|
Reference in New Issue
Block a user