Document the worker_threads option.

Change-Id: Id7b18728284ff1e36450e09a18ba7c3cb67e5a22
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.

Conflicts:
	tools/releasetools/ota_from_target_files
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.

Conflicts:
	tools/releasetools/ota_from_target_files
Re-add latinime
Revert "ota: Disable downgrade check"

This reverts commit 49725c49b5f1672a81c03f290d9e020df1a39c73.
build: get rid of the sparse expand stuff

* i don't see a reason why we are doing this because we never deal
with flashing system img rawly
* This will put useless write on ssd..
* we don't have space on ssd

Change-Id: Icd53d161b8515f5eca238b98ad68515d69caa34f
Add f2fs to list of partition types in common.py

Change-Id: I9a54489c38009ca2970132b530164663b15c1337
build: edify: fix multiple device assert

Only generate one error message since multiple error message
will trigger a fail if the device does not match the first
assert

Change-Id: I1dc47cce10032eb28bbb808482b5ee9efc3b87bc

Conflicts:
	tools/releasetools/edify_generator.py
Revert "ota_from_target_files: Don't update recovery image"

This reverts commit 84a770ada2c0f60f5be118d2166d8506327d2d7e.

Conflicts:
	tools/releasetools/ota_from_target_files
Store the path to the ota file generator where it can be reused

Change-Id: I8896713c79a751b79fbbcc75f6ba30dad4ea9fac

Conflicts:
	core/Makefile
add adb to the disttools

Change-Id: I898fa5c9396606144e57dba8453f476b9e9440ab
add suffix on unpackbootimg target

Change-Id: I934361c451a380e0377648ed111a7580c4cfb04e
create a target for utilities
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