Revert "Enable incremental builder to find files that moved, and try to process them via patch + rename, instead of delete + add."

This reverts commit 37335b42385970d957d48056145a3d4c4dbc6087.

Change-Id: I61cc125d3b08eaa300a7774b6607dbb43f0e7148
Merge "Revert "Enable incremental builder to find files that moved, and try to process them via patch + rename, instead of delete + add."" into klp-dev
store releasetools.py in the target_files zip

Save the device-specific releasetools.py module in the target_files
zip so that the OTA tools can use it without needing to get it from a
client.

Change-Id: I2dd5f4628290a8f2f56bd519b07d4ca8d92fddcd
add option to generate two-step recovery files

When run with the -2 option, ota_from_target_files will generate a
package (full or incremental) that does some extra reboots in order to
install the new recovery first, so that the rest of the installation
is done with the new recovery.  This can be useful if (say) the
package installation needs some features from the newer kernel.

For incremental packages, the verification phase is still done with
the old recovery.

This is only supported on devices where the misc partition is EMMC
(not MTD).

Two-step packages are slower to install and possibly confusing to
users (they will see their device reboot four times instead of twice),
so only use this option if necessary.

Change-Id: I3267d905e5e8eb1a1eb61bf48255b8b24ffc4ad1
.1 becomes .2

Change-Id: Ib4208e24e66b05ff441302a817be22ea213eb1df
Add Dialer to SDK system image. DO NOT MERGE.

Change-Id: I4f15482385c869a4ae08d99ae98bffc7c113acd7
Add utility function find-files-in-subdirs

find-files-in-subdirs uses utility find to find given files in the given
subdirs. This function uses $(1), instead of LOCAL_PATH as the base.

Change-Id: Ib76631c97acd257d651a580cbad767606874f5d0
(cherry picked from commit 85898bca9969ec30c746cc852394bbae0195edbc)
KVT49I
.1 becomes .2

Change-Id: Ib4208e24e66b05ff441302a817be22ea213eb1df
Enabled incrementals to patch + rename moved files

Change-Id: I551fc5291847e3ace15361c203d86f566c26da97
Makefile used spaces instead of a tab

Change-Id: Ia34f80d99062ef2899527f11d7bf72e78c63e31c
KVT49K
"KVT49L"
Allow custom recovery init.rc

Needed for HTC off-mode charging

Change-Id: Icb46985936c01e9e9f864c8a9fd9880d22c83ab1
Merge "Allow custom recovery init.rc" into android-4.4
Merge tag 'android-4.4.2_r2' into HEAD

Android 4.4.2 Release 2

Change-Id: I2111721c889a4bb342d171c5f9b0f65954b720bf
Allow devices to specify certain ro. props via TARGET_UNIFIED_DEVICE

This modifies buildinfo.sh to not set model, name, description, and
fingerprint in build.prop. These can then be set via custom init
lib.
This also fixes ota_from_target_files to function without these
props being preset.

Change-Id: Ia7dfcdea5aab7ebf51d3ab29a0d9e5751fc96663
Bump version to KTU58
"KTU58"
Build: Add support for specifying build variant in brunch/breakfast

This little modification allows specifying build variant in brunch/breakfast commands. For example we can use "brunch i9300 user" to build user variant instead of default userdebug.

When no extra argument is given, userdebug is default.

Change-Id: I2d438209f8a14949c64baa66485c811da384d20b