go/Android.bp: Clarify sdk_version documentation.
The documentation was unclear because there are at least three different ways (codename, version, API level) to refer to each version, see https://source.android.com/setup/start/build-numbers It is further complicated by the fact that this value is taken as a String even though the API level it refers to is normally an integer. To disambiguate, this CL adds an example. Test: Treehugger only. Change-Id: I40c13104a87d16c84c2098f36f7f63447d3dda4d
This commit is contained in:
parent
b0d0710f67
commit
1b3e949d14
1 changed files with 5 additions and 1 deletions
|
@ -55,7 +55,11 @@ type RuntimeResourceOverlayProperties struct {
|
|||
// only when the ro.boot.vendor.overlay.theme system property is set to the same value.
|
||||
Theme *string
|
||||
|
||||
// if not blank, set to the version of the sdk to compile against.
|
||||
// If not blank, set to the version of the sdk to compile against. This
|
||||
// can be either an API version (e.g. "29" for API level 29 AKA Android 10)
|
||||
// or special subsets of the current platform, for example "none", "current",
|
||||
// "core", "system", "test". See build/soong/java/sdk.go for the full and
|
||||
// up-to-date list of possible values.
|
||||
// Defaults to compiling against the current platform.
|
||||
Sdk_version *string
|
||||
|
||||
|
|
Loading…
Reference in a new issue