build: Automatically set QCOM audio, display, media variants

* Device platform should determing the HAL that ought to be used. This
  commit forces QCOM_HARDWARE to select the -caf HAL variants, which
  are then broken down by platform within the variant path.

Change-Id: I6fc7a3def7b93112f034a3b89552f302727cdbf8
base: build javax.btobex

Change-Id: Ia82f74e7eb0f5758732399064277cf18a1fc15d9
recovery: build uncompressed ramdisk

Change-Id: I6027868864ec2696f20705faf4c68c684e7ef459
Signed-off-by: Chirayu Desai <chirayudesai1@gmail.com>
Remove HomeSample from builds

As good as it looks, we already have a launcher (Launcher3)

Change-Id: I87cac70eec30fd62d6f7ecb7777caa9d240fe0ee
product_config: Set AOSD_BUILD priority above TARGET_BUILD_APPS

Even if we are doing TARGET_BUILD_APPS, we may want to use a AOSD
target for building.

Change-Id: Ic8053bc679fa8b726be90e611aeaacdf1850cabc
build: don't clear recovery ramdisk

Clearing recovery ramdisk removes all files place there by the
device tree and all busybox symlinks placed there by recovery

Change-Id: I19e6164856a01a83a6e2c50ef96742edcb9f570f
build: Enable QCOM_BSP, QC_AV with QCOM_HARDWARE

Change-Id: Ibf9dd35272521109fea52e46bacf6e1e3074ed6a
recovery: Always allow the AOSD release key
Avoid the "Untrusted" warning in recovery when flashing a CM-signed
build

Change-Id: I13900bd7e2539fdc7442477a844391b8c5d87dda
Signed-off-by: CNBLACK <didwjdgns21@gmail.com>
build: Remove vendor overlay restrictions from AOSP

Change-Id: Ifebd3744215505ffef70c15edc7a3090780c60d5
build: Don't stop if JDK version doesn't match

Temporal change, right now unofficial OpenJDK 1.7 builds error out.

Change-Id: I5e77c70724c7d81544673715ed09e0a53ce32730
Use the L audio package

Change-Id: Ib11533e02fda55e1c9715170fac794a44f7886a4
Signed-off-by: Evan Anderson <evananderson@aospa.co>
Disable building recovery by deafult

Gate building recovery behind the "--recovery". Builds shouldn't overwrite
a users recovery

Change-Id: I4433ccb210af284ef0d1ebfee7736c0b105cad2a

Conflicts:
	tools/releasetools/ota_from_target_files
Disable recovery patch building

Change-Id: I0e657571bb81cf8407f4f6452b273a5c0628d3d1
Signed-off-by: Evan Anderson <evananderson@aospa.co>
Fix misc AOSD changes
Change-Id: I29dbb32e7d626c993b97bcaa5ea4343262980337
Signed-off-by: CNBLACK <didwjdgns21@gmail.com>
roomservice: handle GitHub's api changes

while other teams flood their gerrit, we just reformat our device string

GitHub support reply:
-------------------------------------
Hi Alexander Martinz,

> sorry to bother you, but our automated builds, which use the github search api
> to locate repositories, are constantly failing with some specific repositories.
>
> example url: https://api.github.com/search/repositories?q=user:NamelessRom+android_device+find7+fork:true

Sorry for the trouble!  Our search folks investigated and it looks like the issue
is how we tokenize repository names.

We're splitting "find7" into 2 separate tokens ("find" and "7"),
so searching for "find7" returns no results like you found.

This is why dropping the "7" works, or if you search for "7" separately,
it works as well:

https://api.github.com/search/repositories?q=user:NamelessRom+android_device+find+7+fork:true

Does that clear things up?
If this is a problem for your build process however, please let us know.

Thanks,
Robert

-------------------------------------

Change-Id: I111cb5dd1804d183811a2765f13d930d564d2cf5
Finish bring up
- Build CellBroadcastReceiver
- Replace Launcher2 w/ Launcher3 & remove QuickSearchBox
- add PRODUCT_BUILD_PROP_OVERRIDES
- Remove deprecated Music package
- Remove optional "Home Sample" Launcher

and more...

Change-Id: Ic8f707e7c2f492812648a4a5c3cc0b22af5fbb0
Signed-off-by: CNBLACK <didwjdgns21@gmail.com>
Maintenance & fixes
fix print AOSD_VERSION in build config
fix roomservice

Change-Id: I3cd6a75ff7d747eaba581c1e2c8cea077c2189ef
Signed-off-by: CNBLACK <didwjdgns21@gmail.com>
pathmap: Point QC HAL pathmaps directly to the source

Directly map to the actual HAL directory, including the
board platform. This lets project-path-for point directly
to the respective HALs.

Change-Id: Ic4ed61bbdea9d0b5683502bf84a8410e76858527
Force colorsheme to SVG, since darkblue doesn't exist on X11

Change-Id: I1b9e13dd4ca63ba27a49a55d95130bdceb187669
Colorize javac errors

You know those multi-line ones that are frequently interspersed with other buld output?
The ones that don't even have the word "error" in them to search for?

This makes them red.

ps2: fix jar_check failures cause by leaving empty stderr files in intermediates dirs
     this is probably not the best place to store stderr before colorizing it if javac
     exits non-zero, but it seems much lighter than mkdiring a bunch of temp directories
     or using sed to mangle the paths to point to per-intermediates directory unique
     temporary file names

Change-Id: I3b9b7d8a0c76958588ac1603b6742987d6dde54c
Signed-off-by: nuclearmistake <nuclearmistake@gmail.com>