summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--java/sdk.go2
-rw-r--r--java/testing.go1
2 files changed, 2 insertions, 1 deletions
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",