Rename core-current-stubs-system-modules to be more consistent
Renames to core-public-stubs-system-modules so that it is of the format core-<sdk-kind>-stubs-system-modules. Bug: 204189791 Test: m nothing Change-Id: Iac565c940c2ef92be9cc64c0c6b8102a26afe0dd
This commit is contained in:
parent
a3bd963988
commit
10fb76f467
4 changed files with 10 additions and 10 deletions
|
@ -86,7 +86,7 @@ java_library {
|
|||
|
||||
// Used when compiling higher-level code against core.current.stubs.
|
||||
java_system_modules {
|
||||
name: "core-current-stubs-system-modules",
|
||||
name: "core-public-stubs-system-modules",
|
||||
visibility: ["//visibility:public"],
|
||||
libs: [
|
||||
"core-current-stubs-for-system-modules",
|
||||
|
|
|
@ -186,16 +186,16 @@ func decodeSdkDep(ctx android.EarlyModuleContext, sdkContext android.SdkContext)
|
|||
noFrameworksLibs: true,
|
||||
}
|
||||
case android.SdkPublic:
|
||||
return toModule("core-current-stubs-system-modules", "android_stubs_current", sdkFrameworkAidlPath(ctx))
|
||||
return toModule("core-public-stubs-system-modules", "android_stubs_current", sdkFrameworkAidlPath(ctx))
|
||||
case android.SdkSystem:
|
||||
return toModule("core-current-stubs-system-modules", "android_system_stubs_current", sdkFrameworkAidlPath(ctx))
|
||||
return toModule("core-public-stubs-system-modules", "android_system_stubs_current", sdkFrameworkAidlPath(ctx))
|
||||
case android.SdkTest:
|
||||
return toModule("core-current-stubs-system-modules", "android_test_stubs_current", sdkFrameworkAidlPath(ctx))
|
||||
return toModule("core-public-stubs-system-modules", "android_test_stubs_current", sdkFrameworkAidlPath(ctx))
|
||||
case android.SdkCore:
|
||||
return sdkDep{
|
||||
useModule: true,
|
||||
bootclasspath: []string{"core.current.stubs", config.DefaultLambdaStubsLibrary},
|
||||
systemModules: "core-current-stubs-system-modules",
|
||||
systemModules: "core-public-stubs-system-modules",
|
||||
noFrameworksLibs: true,
|
||||
}
|
||||
case android.SdkModule:
|
||||
|
|
|
@ -106,7 +106,7 @@ func TestClasspath(t *testing.T) {
|
|||
name: "current",
|
||||
properties: `sdk_version: "current",`,
|
||||
bootclasspath: []string{"android_stubs_current", "core-lambda-stubs"},
|
||||
system: "core-current-stubs-system-modules",
|
||||
system: "core-public-stubs-system-modules",
|
||||
java9classpath: []string{"android_stubs_current"},
|
||||
aidl: "-pout/soong/framework.aidl",
|
||||
},
|
||||
|
@ -129,7 +129,7 @@ func TestClasspath(t *testing.T) {
|
|||
name: "system_current",
|
||||
properties: `sdk_version: "system_current",`,
|
||||
bootclasspath: []string{"android_system_stubs_current", "core-lambda-stubs"},
|
||||
system: "core-current-stubs-system-modules",
|
||||
system: "core-public-stubs-system-modules",
|
||||
java9classpath: []string{"android_system_stubs_current"},
|
||||
aidl: "-pout/soong/framework.aidl",
|
||||
},
|
||||
|
@ -169,7 +169,7 @@ func TestClasspath(t *testing.T) {
|
|||
name: "test_current",
|
||||
properties: `sdk_version: "test_current",`,
|
||||
bootclasspath: []string{"android_test_stubs_current", "core-lambda-stubs"},
|
||||
system: "core-current-stubs-system-modules",
|
||||
system: "core-public-stubs-system-modules",
|
||||
java9classpath: []string{"android_test_stubs_current"},
|
||||
aidl: "-pout/soong/framework.aidl",
|
||||
},
|
||||
|
@ -201,7 +201,7 @@ func TestClasspath(t *testing.T) {
|
|||
name: "core_current",
|
||||
properties: `sdk_version: "core_current",`,
|
||||
bootclasspath: []string{"core.current.stubs", "core-lambda-stubs"},
|
||||
system: "core-current-stubs-system-modules",
|
||||
system: "core-public-stubs-system-modules",
|
||||
},
|
||||
{
|
||||
// Test case only applies when Always_use_prebuilt_sdks=true.
|
||||
|
|
|
@ -344,7 +344,7 @@ func gatherRequiredDepsForTest() string {
|
|||
}`
|
||||
|
||||
systemModules := []string{
|
||||
"core-current-stubs-system-modules",
|
||||
"core-public-stubs-system-modules",
|
||||
"core-module-lib-stubs-system-modules",
|
||||
"legacy-core-platform-api-stubs-system-modules",
|
||||
"stable-core-platform-api-stubs-system-modules",
|
||||
|
|
Loading…
Reference in a new issue