Merge "Create a "Toolchain" API surface"

This commit is contained in:
Spandan Das
2023-01-11 01:08:25 +00:00
committed by Gerrit Code Review
2 changed files with 4 additions and 0 deletions

View File

@@ -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"
}

View File

@@ -877,6 +877,7 @@ var (
"module_lib": android.SdkModule,
"module-lib": android.SdkModule,
"test": android.SdkTest,
"toolchain": android.SdkToolchain,
}
)