Merge changes from topic 'ndk-weak-stubs'

am: bbe3ff4c50

Change-Id: I00a2f6b59ee9e1dfa1f5dbf27e0dea332e686637
This commit is contained in:
Dan Albert 2017-08-01 23:19:34 +00:00 committed by android-build-merger
commit 35f9c2290d
1 changed files with 13 additions and 1 deletions

View File

@ -55,7 +55,19 @@ func GetApiLevelsJson(ctx PathContext) Path {
func (a *apiLevelsSingleton) GenerateBuildActions(ctx blueprint.SingletonContext) {
baseApiLevel := 9000
apiLevelsMap := map[string]int{}
apiLevelsMap := map[string]int{
"G": 9,
"I": 14,
"J": 16,
"J-MR1": 17,
"J-MR2": 18,
"K": 19,
"L": 21,
"L-MR1": 22,
"M": 23,
"N": 24,
"N-MR1": 25,
}
for i, codename := range ctx.Config().(Config).PlatformVersionAllCodenames() {
apiLevelsMap[codename] = baseApiLevel + i
}