build: Ensure /system unmounted at install start

Account for the possibility that a user has mounted system manually
before installing the FullOTA package.

Change-Id: I97d0540676a7ce98762545e76ecb1a7f6335d204
repopick: handle variant hal branching

Change-Id: Ib0dee19abc13a7fb8d8e42c09b73c1b4f35ca938
releasetools: ota_from_target_files: add FullOTA_PostValidate

Change-Id: I152412049f90fd546d4516cc064238c3192be553
Add ext2, ext3, and vfat to releasetools

Support some non-standard partition that may be found in recovery.fstab

Conflicts:
	tools/releasetools/common.py

Change-Id: I0026a1d3ae5d432db10150d1a15f7bc8e7a6054b
core: Enable -mcpu=cortex-a8 flag for Scorpion cpu variant

To be used with
	http://review.cyanogenmod.org/#/c/77758/

Change-Id: I7ecc4707fa45bd7098165615c0521a12c85fb087
Merge remote-tracking branch 'github/cm-12.0' into cm-12.0

Conflicts:
	core/combo/arch/arm/armv7-a-neon.mk
Disable block-based ROM GitHub won't allow us to put 280 MB zip, fallback to older format

(cherry picked from commit dca699dffe037e41731db58df3b607d2ba589af0)
build: Add chromium prebuilt support to envsetup.sh && The core Makefile

This adds a chromium_prebuilt function to envsetup.sh that is invoked by lunch to check
whether the chromium prebuilts are up-to-date or not. If not, it will be built from source
and then the new source built version will be pulled during brunch/mka bacon to become the
new prebuilts for future builds.

This is all opt-in through the USE_PREBUILT_CHROMIUM flag. Without it being set to 1,
none of this would be ran, and regular operations will go on.

PS13:
-use export TARGET_DEVICE
-replace git -C with params compatible to old git versions

(vendor repository for script)

Change-Id: I40f8c8dbd2a8a84a5c1b9f47ee04180a71ef4e07
(cherry picked from commit 84bbaf5a7426680b0b3723d11be852f756ed9e86)

Conflicts:
	core/Makefile

(cherry picked from commit a40bd82712e11e0f7f778972cb85514f135cd3bc)
build: update prebuilt chromium script

Prebuilt chromium: update for lollipop

Change-Id: I4e34feb26c1b4bec10fb751a10dbc52579d7cd07

Prebuilt chromium: Run a check for target device directory

this should fix the issue that arises if device fails and device is built again,
chromium will error out because it thinks the prebuilt files exist (which they are
not, directories are just created).

Signed-off-by: Ayysir <ayysir@aospal.com>
Change-Id: I595cab268e66c738ccae9900150b36d7f9626a6e
(cherry picked from commit 32dad2952a7c9c924e18ca97336bcaefdc45fe5c)

(cherry picked from commit 5d849825cb5313a2fe1775f88b15da41048f73e3)
Revert binary.mk : add graphite and comnent out old graphite call (reverted from commit b98126879c2bcb7837bc24f7fd615d2abff548cf)