I want to build Android JB for Galaxy Nexus from source. When I execute lunch and select maguro, I see following:
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.0.9.99.999.9999.99999
TARGET_PRODUCT=full_maguro
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-30-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
OUT_DIR=out
So, I think PLATFORM_VERSION is ICS.
AFAIK I checked out master. https://android.googlesource.com/platform/manifest if I open master here, I can’t understand what platform version it is. How do I find what platform version is in master branch?
In the file
build/core/version_defaults.mkof your source if thePLATFORM_SDK_VERSIONis 16 then it is Jellybean.A further check would be by comparing current.txt that gets created in the out directory after you build to the
frameworks/base/api/16.txt. So that the built public apis are same as 16Edit: Also does the file version_defaults.mk have PLATFORM_VERSION := 4.1.1?