From 1f41dbff6434deac5c41047f34ed7d5d288e5497 Mon Sep 17 00:00:00 2001 From: Pete Gillin Date: Tue, 2 Jun 2020 15:59:45 +0100 Subject: 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 --- java/java.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'java/java.go') 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 -- cgit v1.2.3-59-g8ed1b