summaryrefslogtreecommitdiff
path: root/android/sdk_version.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2022-12-28 01:54:29 +0000
committer Spandan Das <spandandas@google.com> 2022-12-28 23:58:55 +0000
commit4ac2aed1361198611541b6785676a83ea9607a44 (patch)
tree20be93f5fffe366b9eacb2cd68d55804efc6d594 /android/sdk_version.go
parent0b555e323bc18ab64d119fc20c77f2e456cca612 (diff)
Create a "Toolchain" API surface
This creates a new API surface for the APIs provided by ART to compile other API domains (e.g. this contains LambdaMetaFactory). The scope of this API surface is restricted to compile-time. Unlike the other API surfaces (e.g. public) whose APIs will exist on device in the form of implementation libraries, these classes are not guaranteed to exist on device. This also updates the naming convention map used in Multi-tree API export Bug: 261244752 Test: TH Change-Id: I164714d68618a3c289bac1a695958e36fdbbda5d
Diffstat (limited to 'android/sdk_version.go')
-rw-r--r--android/sdk_version.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/android/sdk_version.go b/android/sdk_version.go
index d73c9125d..8953eaecd 100644
--- a/android/sdk_version.go
+++ b/android/sdk_version.go
@@ -51,6 +51,7 @@ const (
SdkModule
SdkSystemServer
SdkPrivate
+ SdkToolchain // API surface provided by ART to compile other API domains
)
// String returns the string representation of this SdkKind
@@ -76,6 +77,8 @@ func (k SdkKind) String() string {
return "module-lib"
case SdkSystemServer:
return "system-server"
+ case SdkToolchain:
+ return "toolchain"
default:
return "invalid"
}