Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39fe574a authored by Nicolas Geoffray's avatar Nicolas Geoffray
Browse files

Set a dedicated variable for the runtime apex libs.

Bug: 124789867
Test: build with coverage, the boot classpath has jacoco.jar in /system/framework, not the apex
Change-Id: Iaa0762b5a674282be95710d0e1fb166a58ec893b
parent e0233a5b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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

+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ var testGlobalConfig = GlobalConfig{
	PatternsOnSystemOther:              nil,
	DisableGenerateProfile:             false,
	BootJars:                           nil,
	TargetCoreJars:                     nil,
	RuntimeApexJars:                    nil,
	ProductUpdatableBootModules:        nil,
	ProductUpdatableBootLocations:      nil,
	SystemServerJars:                   nil,
+1 −1
Original line number Diff line number Diff line
@@ -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)