"LRX22D"
"LRX22E"
DO NOT MERGE.  Bump version to 5.0.2.

Change-Id: Ia6426dd03ac3b51061429b7da36e317bd3503775
"LRX22F"
LRX22G
releasetools: allow devices to specify a custom make_recovery_patch

Change-Id: I891660c1bf919b369afd4ff496fb6bab85dffe3f
Merge tag 'android-5.0.2_r1' into HEAD

Android 5.0.2 release 1
recovery: set 18x32 on 560dpi as well

* this is the setting for shamu, it should be comparable to xxhdpi

Change-Id: I4d4b0405b6fcb3493dc5da0a712ce54f83d9ab6f
roomservice: Improve new device retrieval

Without credentials, GitHub's search API limits requests to 60/hr.
The existing method to add a new device is to fetch JSON-formatted info
for ALL CM repositories and then search for the device. In doing so,
more than 10 pages of results are returned (i.e. more than 10 requests
per device). This is clumsy, slow, and limits use of roomservice to
only ~5 devices per hour.

Instead, only return search results for repositories that have the
device name in the repository name. Then, one device = one request.
It's faster and allows closer to 60 device setups / hr.

Additional bailouts are included to stop the script earlier than later
if a device is not found.

Change-Id: I7f914d7ede82da0f100d9fd6cf8b603177962e48
build: fix dopush for SystemUI

The path for SystemUI has changed in Lollipop

Change-Id: Ib2126f48f6769e5f91d0aa1d44d4049bdbe1deff
envsetup: new function cmka

- The build system adds a clean-<module> target
  for each module / package.
- This utilizes that and cleans and builds using mka.
- If no argument is supplied, it runs "mka clean".
- If argument is (bacon|otapackage|systemimage), it
  runs installclean.

Change-Id: I582ac2f92df3278c41c254c73e9c02ad7f406851
(cherry picked from commit eb74c2f2b9bb708e77edfdbb8ba0d0b716fef2fc)
(Also sneak in another minor change, a help entry for mkap)
releasetools: clean up residual targetfiles-* dirs in /tmp/

Change-Id: I3792307663f8a85513e102c8bf3d78cf4e514760
build: Set QCOM global cflags for secondary arch

Change-Id: I637d94f9b0ddee2c8d6057de44355e482163dd36
build: Fix copypasta in 2nd target clang flags

Change-Id: Ieedce8754b145e53d72a5d6a4b41fbe5cdf6473f
build: Add changes to release tools and mkbootimg

Change the prototype of LoadRecoveryFstab to take in the device type
as a argument. Fix the case where mkbootimg was being passed a incorrect
argument.

Change-Id: Ic6ac596d8d96d3a5effbdf513763ec1cb92b1a03
Add ddclient function for debugging with DDD

While debugging via the CLI is great, it is nice to have the
option to debug using a graphical front end.  This patch adds
a function for using ddd to debug native code.  Simply replace
gdbclient with dddclient and start debugging.

Change-Id: I3d3afe08772007b11ad6e0f839868e85386340f1
Note: Requires that ddd be installed on the host PC.
build: Allow devices to specify a RIL variant

Change-Id: Ia5d35d916be358fb7be7ead6bd05cc3628b35a37
core: Get the RIL variant path into the global includes

 * Need to have this in the global path, so shuffle things around a little.

Change-Id: I2dd2b378d17ff3fa0e379793df31d68964d87278
Merge pull request #3 from CyanogenMod/cm-12.0

big update