Add min_sdk_version property to apexes

Add a min_sdk_version property apexes.  Currently a noop, but will
be used to enforce that dependencies are compatible with the
specified version.

Test: m checkbuild
Bug: 149591522
Merged-In: I923773c90fe15becbffae3986791aa9edde8f8f6
Change-Id: I923773c90fe15becbffae3986791aa9edde8f8f6
(cherry picked from commit 50317874ff)
This commit is contained in:
Colin Cross 2020-02-19 20:41:10 -08:00 committed by Jooyung Han
parent 307dd9f4a5
commit 7365eaafd5
1 changed files with 3 additions and 0 deletions

View File

@ -1285,6 +1285,9 @@ type apexBundleProperties struct {
// rules for making sure that the APEX is truely updatable. This will also disable the size optimizations
// like symlinking to the system libs. Default is false.
Updatable *bool
// The minimum SDK version that this apex must be compatible with.
Min_sdk_version *string
}
type apexTargetBundleProperties struct {