Merge "Create scripts to update and freeze a module SDK"

This commit is contained in:
Treehugger Robot
2019-10-17 01:02:16 +00:00
committed by Gerrit Code Review
6 changed files with 329 additions and 37 deletions

View File

@@ -145,7 +145,7 @@ func (j *TestHelperLibrary) AndroidMkEntries() android.AndroidMkEntries {
}
func (prebuilt *Import) AndroidMkEntries() android.AndroidMkEntries {
if !prebuilt.IsForPlatform() || !prebuilt.ContainingSdk().IsCurrentVersion() {
if !prebuilt.IsForPlatform() || !prebuilt.ContainingSdk().Unversioned() {
return android.AndroidMkEntries{
Disabled: true,
}