Merge "Set a dedicated variable for the runtime apex libs."
am: 3d186813f2
Change-Id: Id994cd0772f02fd6e5c1819966daeea2663cd162
This commit is contained in:
commit
8d3269faca
|
@ -36,7 +36,7 @@ type GlobalConfig struct {
|
|||
|
||||
BootJars []string // modules for jars that form the boot class path
|
||||
|
||||
TargetCoreJars []string // modules for jars that are in the runtime apex
|
||||
RuntimeApexJars []string // modules for jars that are in the runtime apex
|
||||
ProductUpdatableBootModules []string
|
||||
ProductUpdatableBootLocations []string
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ var testGlobalConfig = GlobalConfig{
|
|||
PatternsOnSystemOther: nil,
|
||||
DisableGenerateProfile: false,
|
||||
BootJars: nil,
|
||||
TargetCoreJars: nil,
|
||||
RuntimeApexJars: nil,
|
||||
ProductUpdatableBootModules: nil,
|
||||
ProductUpdatableBootLocations: nil,
|
||||
SystemServerJars: nil,
|
||||
|
|
|
@ -113,7 +113,7 @@ func concat(lists ...[]string) []string {
|
|||
}
|
||||
|
||||
func computeBootClasspath(ctx android.PathContext, info *bootJarsInfo) {
|
||||
runtimeModules := android.RemoveListFromList(info.global.TargetCoreJars, info.global.ProductUpdatableBootModules)
|
||||
runtimeModules := info.global.RuntimeApexJars
|
||||
nonFrameworkModules := concat(runtimeModules, info.global.ProductUpdatableBootModules)
|
||||
frameworkModules := android.RemoveListFromList(info.global.BootJars, nonFrameworkModules)
|
||||
|
||||
|
|
Loading…
Reference in New Issue