Generate file to map codenames to API levels.

The NDK stub library generator needs to know what unreleased API
levels exist and what the ordering is between them. This singleton
will later be expanded to generate api-level.h to cut down on
duplication.

Test: make out/soong/api_levels.json && cat out/soong/api_levels.json
Bug: None
Change-Id: I53126dd2cacb67c331c44f7d7c77c98b176b93cd
This commit is contained in:
Dan Albert
2017-03-28 14:54:55 -07:00
parent 94e1747051
commit 30c9d6e771
5 changed files with 77 additions and 1 deletions

View File

@@ -47,6 +47,7 @@ bootstrap_go_package {
],
srcs: [
"android/androidmk.go",
"android/api_levels.go",
"android/arch.go",
"android/config.go",
"android/defaults.go",