Merge "Get default sdk_test.go values from config"

am: 9820aa6cc8

Change-Id: I95da16462ea8c1d3d4eeeb6c0c8fb3b57d2dd059
This commit is contained in:
Colin Cross 2019-04-19 10:34:21 -07:00 committed by android-build-merger
commit 44619bfa34

View file

@ -15,13 +15,15 @@
package java package java
import ( import (
"android/soong/android"
"path/filepath" "path/filepath"
"reflect" "reflect"
"strings" "strings"
"testing" "testing"
"github.com/google/blueprint/proptools" "github.com/google/blueprint/proptools"
"android/soong/android"
"android/soong/java/config"
) )
var classpathTestcases = []struct { var classpathTestcases = []struct {
@ -37,16 +39,16 @@ var classpathTestcases = []struct {
}{ }{
{ {
name: "default", name: "default",
bootclasspath: []string{"core.platform.api.stubs", "core-lambda-stubs"}, bootclasspath: config.DefaultBootclasspathLibraries,
system: "core-platform-api-stubs-system-modules", system: config.DefaultSystemModules,
classpath: []string{"ext", "framework"}, classpath: config.DefaultLibraries,
}, },
{ {
name: "blank sdk version", name: "blank sdk version",
properties: `sdk_version: "",`, properties: `sdk_version: "",`,
bootclasspath: []string{"core.platform.api.stubs", "core-lambda-stubs"}, bootclasspath: config.DefaultBootclasspathLibraries,
system: "core-platform-api-stubs-system-modules", system: config.DefaultSystemModules,
classpath: []string{"ext", "framework"}, classpath: config.DefaultLibraries,
}, },
{ {