diff --git a/java/sdk.go b/java/sdk.go index e93f8fb69..506edfb51 100644 --- a/java/sdk.go +++ b/java/sdk.go @@ -151,7 +151,7 @@ func decodeSdkDep(ctx android.BaseContext, sdkContext sdkContext) sdkDep { } if m == "core.current.stubs" { - ret.systemModules = "core-system-modules" + ret.systemModules = "core-current-stubs-system-modules" } else if m == "core.platform.api.stubs" { ret.systemModules = "core-platform-api-stubs-system-modules" } diff --git a/java/testing.go b/java/testing.go index fc7842dd2..e1b06a075 100644 --- a/java/testing.go +++ b/java/testing.go @@ -108,6 +108,7 @@ func GatherRequiredDepsForTest() string { systemModules := []string{ "core-system-modules", + "core-current-stubs-system-modules", "core-platform-api-stubs-system-modules", "android_stubs_current_system_modules", "android_system_stubs_current_system_modules",