Merge "Get default sdk_test.go values from config"
am: 9820aa6cc8
Change-Id: I95da16462ea8c1d3d4eeeb6c0c8fb3b57d2dd059
This commit is contained in:
commit
44619bfa34
1 changed files with 9 additions and 7 deletions
|
@ -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,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue