Document the worker_threads option.

Change-Id: Id7b18728284ff1e36450e09a18ba7c3cb67e5a22

Conflicts:
	tools/releasetools/ota_from_target_files
Skip updating the recovery since this seems to be not implemented yet.

updating_recovery will always be False since source_recovery/target_recovery are not available.

Change-Id: Ie7b7807f6bb81af9706013968b3eb5bbf62d1bb2

Conflicts:
	tools/releasetools/ota_from_target_files
Add a "device specific" option to skip recovery updates during incremental OTAs.

Change-Id: I15288b883c0cbd9fd1fbd84564a8c81dbcef73ec
Add a device-specific option to disable the installation of a boot-image.
Add a device-specific configuration for clearing the /system partition.

By default this will be formatted, but some locked bootloaders require
that it's only "recursively deleted".

Change-Id: Ia902b867f150ac0ff836d0a1280f7439217401ea

Conflicts:
	tools/releasetools/ota_from_target_files
Add missing "delete recursive" function.
Fixed boot image installation if FullOTA_DisableBootImageInstallation is enabled.

Change-Id: Id41e7117fb1ece55aa61ef74d63316c39277c6a7
Make it possible to override the whole "format /system" routine.

Deciding between "format" and "recursive delete" might not be enough for
some devices. Thus we let them override the whole formatting process.
Bring back squisher as an optional part of the build

Some devices could benefit from the size reduction from running
squisher, so bring it back as an optional part of the build process.

Change-Id: I288f694fd1bf26782e05dcfa797a0569d9fdf9cb
Fix path
Revert Fix up the recovery.fstab for adv recovery
ota: Remove cruft we don't care about

Skip the date check (downgrade to your content), and don't include
recovery in otapackages.

Conflicts:
	tools/releasetools/ota_from_target_files
create a target for utilities
override ro.build.date.utc for recovery builds. fixup makerecoveries.sh script for touch recoveries.

Change-Id: I2cf967fb4b9dd5e8183dc6ff39b77076fccc38d9

Conflicts:
	tools/device/makerecoveries.sh
Add initial support for charge mode. also support recovery/root in the device tree to easily copy props into recovery images.

Change-Id: Icf773a49f2802e3b287b970a390339f1ba0c7aad

Conflicts:
	core/Makefile
	tools/device/BoardConfig.mk.template
	tools/device/device.mk.template
	tools/device/mkvendor.sh
Make the recovery ramdisk target depend on $(MKBOOTIMG) $(INTERNAL_BOOTIMAGE_FILES) rather than $(INSTALLED_BOOTIMAGE_TARGET). This fixes the circular dependency for when the kernel depends on the recovery ramdisk, which depends on the boot image, which depends on the kernel.

Change-Id: I658bedc329f2ea0170ac0012f80ca7d779b1c242
add unpackbootimg to otatools

Change-Id: I4e294c05eacc8bef8273247bcf1bf382291a3d31
unpackbootimg: add a target specifically for unpackbootimg.
for some reason, and I am guessing this is a bug in the Android build, I can no longer run the following:
make -j32 out/host/darwin-x86/bin/unpackbootimg

It works if the build has been built, but not if it is clean. Somewhere within the bowels of AOSP
something broken in 4.1.2.

Change-Id: I4f8c434f3fce9ddaee4f54febba02efac07a31a3
Remove the line that deletes *.rc from the recovery ramdisk.
This is no longer necessary since recovery init.rc only includes "import /init.recovery.${ro.hardware}.rc".

Fix up the unpackbootimg target.

Change-Id: I30b515bda982fbd944fffbc64501588cd3702dd8
Make sed in-place more portable

In-place sed (sed -i) works differents for GNU vs BSD version like
what is found on OS X.

This adds a check and does a sed -i for GNU and a sed -i '' for
Darwin only.

This allows my OS X machine to fully compile CM without the need
for any GNU specific packages.

Change-Id: Ic8aada282db9dbe8995aa1fc7b7eebe997a1a5fb

Conflicts:
	core/Makefile