We have been using a system where each vendor makefile needed to be
updated for each release. This leads to both redundancy and
inconsistency across devices. This patch externalizes version code to
the common_versions.mk.
As we all know CyanogenMod versioning works as such:
MAJOR.MINOR.MAINTENACE.DEVICE_SPECIFIC (i.e. 7.1.0.1)
common_versions.mk now contains the first three in the form of the
following variables: PRODUCT_VERSION_MAJOR, PRODUCT_VERSION_MINOR,
PRODUCT_VERSION_MAINTENANCE.
Additionally, each device makefile contains two additional flags
which control both the release name (the name that appears in the
generated zip) and the device-specific version (empty by default,
to be bumped on a per device basis), example:
PRODUCT_RELEASE_NAME := XperiaArc-LT15i
PRODUCT_VERSION_DEVICE_SPECIFIC := .1
Change-Id: I15d18e27b89ea00109a61cb66e3bffbb061a2ed4
Tattoo is the actual model name, while click is the code name.
This is per definitons as in build.prop from original HTC rom.
Change-Id: I363634581849bd11b63f77f317dc268568cc4ac5
(arco): Having it here moves them to the end of the PRODUCT_LOCALES list,
so it doesn't mess up the default language locale in the rom,
making it look like this: http://oi53.tinypic.com/4ttyr5.jpg
Change-Id: Ief972c80bfaa237e8f53ad498a5defc8df03778c
Push 4: Created a ldpi structure to share with buzz
Push 5: Removed click configs
Push 6: Removed windows_media, ril and themes common
Change-Id: I697009f86a09d2486a5a49d0f08ca5b60f0efd03