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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user