Add a name to API level map for O.

O is released, so we don't get this knowledge from the development
codenames list any more.

Test: make ndk # with an API using introduced=O
Bug: None
Change-Id: I21104c5d97c89f2f85157ac7d73de8cd5a478571
This commit is contained in:
Dan Albert
2017-08-29 11:50:34 -07:00
parent ef88ae2369
commit e3e4fc8693

View File

@@ -67,6 +67,7 @@ func (a *apiLevelsSingleton) GenerateBuildActions(ctx blueprint.SingletonContext
"M": 23,
"N": 24,
"N-MR1": 25,
"O": 26,
}
for i, codename := range ctx.Config().(Config).PlatformVersionCombinedCodenames() {
apiLevelsMap[codename] = baseApiLevel + i