Update doc for DeviceProperties's Sdk_version field

Test: N/A
Change-Id: I7848ce27a5dcecaf24b0129908f6673dd1fdb63f
This commit is contained in:
Vinh Tran
2022-04-14 20:18:47 +00:00
parent 7cd255fa8d
commit a9c8f7db27

View File

@@ -185,12 +185,12 @@ type CommonProperties struct {
// constructing a new module.
type DeviceProperties struct {
// If not blank, set to the version of the sdk to compile against.
// Defaults to compiling against the current platform.
// Defaults to private.
// Values are of one of the following forms:
// 1) numerical API level or "current"
// 2) An SDK kind with an API level: "<sdk kind>_<API level>". See
// build/soong/android/sdk_version.go for the complete and up to date list of
// SDK kinds. If the SDK kind value is empty, it will be set to public.
// 1) numerical API level, "current", "none", or "core_platform"
// 2) An SDK kind with an API level: "<sdk kind>_<API level>"
// See build/soong/android/sdk_version.go for the complete and up to date list of SDK kinds.
// If the SDK kind is empty, it will be set to public.
Sdk_version *string
// if not blank, set the minimum version of the sdk that the compiled artifacts will run against.