Merge "Correct the order of the SdkKinds" into main am: b92fc67f50
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3074864 Change-Id: I28c96738139b0da7cb598ed14b9f5370e97ad150 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -40,9 +40,15 @@ type SdkContext interface {
|
||||
// SdkKind represents a particular category of an SDK spec like public, system, test, etc.
|
||||
type SdkKind int
|
||||
|
||||
// These are generally ordered from the narrower sdk version to the wider sdk version,
|
||||
// but not all entries have a strict subset/superset relationship.
|
||||
// For example, SdkTest and SdkModule do not have a strict subset/superset relationship but both
|
||||
// are supersets of SdkSystem.
|
||||
// The general trend should be kept when an additional sdk kind is added.
|
||||
const (
|
||||
SdkInvalid SdkKind = iota
|
||||
SdkNone
|
||||
SdkToolchain // API surface provided by ART to compile other API domains
|
||||
SdkCore
|
||||
SdkCorePlatform
|
||||
SdkIntraCore // API surface provided by one core module to another
|
||||
@@ -53,7 +59,6 @@ const (
|
||||
SdkModule
|
||||
SdkSystemServer
|
||||
SdkPrivate
|
||||
SdkToolchain // API surface provided by ART to compile other API domains
|
||||
)
|
||||
|
||||
// String returns the string representation of this SdkKind
|
||||
|
Reference in New Issue
Block a user