Rename the Default* constants in java/config.
These values are used in two out of the many possible sdk_version configurations, and therefore weren't really defaults in any meaningful sense. Giving them more descriptive names makes the code easier to follow. Bug: 157640067 Test: m nothing Change-Id: Icf38a9c0be2606ad0478929e1b40dfcee36cddef
This commit is contained in:
@@ -49,27 +49,27 @@ func TestClasspath(t *testing.T) {
|
||||
}{
|
||||
{
|
||||
name: "default",
|
||||
bootclasspath: config.DefaultBootclasspathLibraries,
|
||||
system: config.DefaultSystemModules,
|
||||
java8classpath: config.DefaultLibraries,
|
||||
java9classpath: config.DefaultLibraries,
|
||||
bootclasspath: config.LegacyCorePlatformBootclasspathLibraries,
|
||||
system: config.LegacyCorePlatformSystemModules,
|
||||
java8classpath: config.FrameworkLibraries,
|
||||
java9classpath: config.FrameworkLibraries,
|
||||
aidl: "-Iframework/aidl",
|
||||
},
|
||||
{
|
||||
name: `sdk_version:"core_platform"`,
|
||||
properties: `sdk_version:"core_platform"`,
|
||||
bootclasspath: config.DefaultBootclasspathLibraries,
|
||||
system: config.DefaultSystemModules,
|
||||
bootclasspath: config.LegacyCorePlatformBootclasspathLibraries,
|
||||
system: config.LegacyCorePlatformSystemModules,
|
||||
java8classpath: []string{},
|
||||
aidl: "",
|
||||
},
|
||||
{
|
||||
name: "blank sdk version",
|
||||
properties: `sdk_version: "",`,
|
||||
bootclasspath: config.DefaultBootclasspathLibraries,
|
||||
system: config.DefaultSystemModules,
|
||||
java8classpath: config.DefaultLibraries,
|
||||
java9classpath: config.DefaultLibraries,
|
||||
bootclasspath: config.LegacyCorePlatformBootclasspathLibraries,
|
||||
system: config.LegacyCorePlatformSystemModules,
|
||||
java8classpath: config.FrameworkLibraries,
|
||||
java9classpath: config.FrameworkLibraries,
|
||||
aidl: "-Iframework/aidl",
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user