summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Pete Gillin <peteg@google.com> 2020-06-02 15:59:45 +0100
committer Pete Gillin <peteg@google.com> 2020-06-08 10:53:51 +0100
commit1f41dbff6434deac5c41047f34ed7d5d288e5497 (patch)
treefeb35830f2e80e4c5113eb42c4300bb290f44f16 /java/java.go
parent8a624337b308f70151a9f50f8ef29fd636f7e98c (diff)
Split the core/platform API into stable and legacy versions.
For now, everything outside libcore still uses the legacy version. Test: treehugger Bug: 157640067 Change-Id: If5234e9ee533ff537926801a0af045d36b1caf01
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/java/java.go b/java/java.go
index 0ba1f5a7a..af68e56b7 100644
--- a/java/java.go
+++ b/java/java.go
@@ -837,8 +837,9 @@ type linkTypeContext interface {
func (m *Module) getLinkType(name string) (ret linkType, stubs bool) {
switch name {
- case "core.current.stubs", "core.platform.api.stubs", "stub-annotations",
- "private-stub-annotations-jar", "core-lambda-stubs", "core-generated-annotation-stubs":
+ case "core.current.stubs", "legacy.core.platform.api.stubs", "stable.core.platform.api.stubs",
+ "stub-annotations", "private-stub-annotations-jar",
+ "core-lambda-stubs", "core-generated-annotation-stubs":
return javaCore, true
case "android_stubs_current":
return javaSdk, true