summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ota: Make sure we don't install on top of an incompatible systemRicardo Cerqueira2015-10-062-0/+17
| | | | | | | | If the system has data present, make sure said data doesn't depend on a system signature different from our own. If we can't find our platform key, abort the installation Change-Id: I16572daf9464de326a9d0d126597cfbf03208f94
* Don't set CCACHE_BASEDIR if its already setMike Grissom2015-10-061-1/+3
| | | | | | * enable use of shared ccache Change-Id: Ic708a5d5169291d674b167aa2c87bf2c8adaafae
* build: Include an extra device.mkSteve Kondik2015-10-061-3/+7
| | | | Change-Id: I4373f78f57c81e46affc2f6a6bc854bf4c3d00db
* build: Add new public keys to recoveryBrint E. Kriebel2015-10-063-0/+51
| | | | Change-Id: I11dea464297813be36e60c23728dde8893535c46
* build: Set ccache base to build topTom Marshall2015-10-061-0/+54
| | | | | | This enables ccache sharing between different build tree paths. Change-Id: I99636bdd2779a6ccf0649f027e35cf67df44b6ae
* build: use /usr/bin/env to call pythonAndrew Bartholomew2015-10-062-2/+2
| | | | | | | | Hardcoding the path to python instead of env is not recommended. This can break the build in some Linux environments that link /usr/bin/python to python3. Change-Id: I4c62eb391acc6d468ce24ac8640834e965e76e78
* Store the base64 release key in the OTA zipsRicardo Cerqueira2015-10-063-1/+15
| | | | | | | | This can be directly grepped in pre-existing package.xml tables to make sure we're not trying to update to a differently signed build Change-Id: I7528a8e7c484ea9209cd665b9263328ae834586a
* tools: getb64key - print the base64 version of a PEM public key fileRicardo Cerqueira2015-10-061-0/+17
| | | | Change-Id: Ia94ff560c88dfe85c3fa55db5c8219aa0d3419ee
* build: edify: use set_metadata for backuptoolTom Marshall2015-10-061-2/+6
| | | | | | Also use saner permissions on backuptool.sh Change-Id: I50742b51867aa358f5924b8dc208833092a35bd9
* Store the value from TARGET_OTA_ASSERT_DEVICE to a fileBrint E. Kriebel2015-10-061-0/+1
| | | | | | | This is needed so it can be read in when re-signing a package to allow for the proper device asserts. Change-Id: I8f3bb491bbbaa4d2b827a45ef83f12c6c83e6712
* Allow individual projects to enforce a property's valueRicardo Cerqueira2015-10-062-5/+16
| | | | | | | | | | | | | | | | Some projects require system properties to be set to a specific value (for example, a shared library needing a property pointing to its own path) in order to work correctly, but some device configurations are mistakenly setting those properties with the wrong value (usually inherited from the original OEM build). "PRODUCT_PROPERTY_UBER_OVERRIDES += property=value" can (and should) be used in that project's makefile to ensure the value is the correct one. This variable is intended for software projects, and should never be used in product makefiles (BoardConfig, cm.mk, AndroidProduct) Change-Id: I1986e7c444e51cce8b198e43fdc793fad16d6276
* build: Fix cflags for QC targetsSteve Kondik2015-10-061-1/+3
| | | | Change-Id: I2281bec3afb4d80e80845718d880dc24ef7baf32
* qcom_utils: Update list of QCOM_BOARD_PLATFORMSdhacker292015-10-061-2/+6
| | | | | Add msm8226 (Moto G) and other upcoming platforms Change-Id: Icf895cbcf86791ca800636a1c0893b3a905a27a0
* build: Add QCOM target-specific configSteve Kondik2015-10-062-0/+22
| | | | | | | * Needed to support global DirectTract config on legacy targets * Let's also eliminate some boilerplate Change-Id: I736c10a5e7e1f3d1e0de9e60f29b60add276f151
* build: Add support for PRODUCT_COPY_FILES_OVERRIDESSteve Kondik2015-10-063-0/+18
| | | | | | | | | * We may have a case where prebuilts need to be built from source instead based on an externalized config. * New directive takes a list of destination files to remove from PRODUCT_COPY_FILES so that other instructions can be supplied. Change-Id: I7feff16440e54d1676ffddbbd96d5947efa43ede
* envsetup: Mark zsh as compatibleEmilio López2015-10-061-1/+3
| | | | | | | Basic functionality has been tested on zsh 5.0.2 and has been found to work correctly. Change-Id: I02e5e3bedf56b43104c280d9737ae7b334357643
* envsetup: drop unnecesary exportsEmilio López2015-10-061-4/+0
| | | | | | export -f is a bashism and we don't actually need it, so lets remove it. Change-Id: I9228cef0c4a9543b3d34fdc39a368ad0238431e2
* envsetup: do not print an error if complete failsEmilio López2015-10-061-1/+1
| | | | | | | complete is a bashism; so it will fail on other shells. Avoid printing an error if that is the case. Change-Id: Id6d6311792f409cc3a697c7a2bb003863f1afe60
* core: main: remove all the spam about including make filescybojenix2015-10-061-1/+1
| | | | Change-Id: Ifd2ef0e239d16b169c572472416c2c31df62a367
* envsetup: Fix remote functions to deal with symlinksSteve Kondik2015-10-061-2/+2
| | | | Change-Id: I6f35dc30dda22149b2c37e1c6c7d41ea7239d3bb
* build: Add cafremote command to envsetupSteve Kondik2015-10-061-0/+19
| | | | | | * So lazy! Change-Id: I99a988180abb4fb486d4ebbb842bb9eda03bf1bc
* For user builds, use a release build id in the description if one existsRicardo Cerqueira2015-10-061-2/+6
| | | | | | Companion change to Ic5913e587400dd38c04aa05de3a7becced77a59e Change-Id: If5edbf56d567701f96f0ba46af9a90ffa8310c24
* Don't make assumptions about the formats of build descriptionsRicardo Cerqueira2015-10-061-1/+1
| | | | Change-Id: Id83a7594e9e1b9b4ffbdbaba695506d8d0d21a46
* cm: Fix global selinux policy inclusionRicardo Cerqueira2015-10-061-0/+6
| | | | | | | | We're adding CM-specific policies to an overlay instead of patching external/sepolicy, so we need to make sure it's included to prevent misbehaving systems Change-Id: I7989a1093f9abc8360d492e73a860eb4afad10ad
* build: Add script to generate extra imagesSteve Kondik2015-10-061-0/+318
| | | | | | | | Change-Id: I53081c7a2b4f18bc8c8a27b04d311a6b078b2022 Use CM standard qcom naming Change-Id: I360b3dcf1fe82140a7993189e881f9d77b571bef
* build: Add support for vendor product and device nameSteve Kondik2015-10-061-4/+14
| | | | | | | | | | | * CM's build system assumes some convention-over-configuration which we might need to override in order to conform to vendor requirements. * Allow overriding of target and product names using these new variables. This allows for CM conventions to work, while generating the correct fingerprint dynamically without post processing the strings. Change-Id: Ic5913e587400dd38c04aa05de3a7becced77a59e
* Store the path to the ota file generator where it can be reusedRicardo Cerqueira2015-10-061-0/+1
| | | | Change-Id: I8896713c79a751b79fbbcc75f6ba30dad4ea9fac
* build: Don't run backuptool on GMS buildsSteve Kondik2015-10-061-0/+4
| | | | Change-Id: I5dde27f9d16b88049171db9805221d92e67f3e5d
* Add a unique build number to every buildRicardo Cerqueira2015-10-061-0/+1
| | | | | | | | | | | | | | | | | | | | SDK-readable via android.os.Build.INCREMENTAL Change-Id: If9885adebe12a56b2b2e353285721be695bc411b Fix exporting the unique build identifier Change-Id: Ie58e981b7e83a4351d137dfd8995dce7d365d950 Fix incremental build number on Darwin Darwin does not include sha1sum, but it should have openssl. Change-Id: If2b685c1478f9486bed21dfba0c655d9e02db72b Use openssl instead of sha1sum Change-Id: Iab8a74d4af6646104cb23312853f811a38bdec0d
* Add PRODUCT_BOOTANIMATIONWilliam Roberts2015-10-062-0/+7
| | | | | | | | | | | | | | | | | | | | Just add PRODUCT_BOOTANIMATION in your product makefiles and point it to the zip file you would like to have used as the boot animation. The coresponsing build system handles picking the last one, which is the last product to set this. Change-Id: I8c95a515a8fbb92d363141eb79e254712dccc162 Signed-off-by: William Roberts <wroberts@tresys.com> Fix for build break when PRODUCT_BOOTANIMATION is unset Change-Id: I236c2dd35ba0e632ed327ed6dc36324c9e59587a Restore original behavior when PRODUCT_BOOTANIMATION is undefined Change-Id: I3ee7141f7c26cee033b8a30824caf38fcacec5a8
* envsetup: Wait for device in installboot/installrecoverySteve Kondik2015-10-061-0/+2
| | | | | | | | | | | * Useful when you're racing against a bug that causes a kernel panic shortly after USB turns on :( Change-Id: I2a503e4b195e632ed5b67a77b942e80c47d0ff45 envsetup: Use wait-for-online so these cmds work in recovery Change-Id: I7a85e7068f373b1d726aa6b27a51862fa9b7c6fd
* build: allow dopush to work properly with network adbSam Mortimer2015-10-061-0/+9
| | | | Change-Id: I9efe60814d66dc8eb17544e6c2b94473dc903133
* Add temporary hack to help with merge resolution.Adnan Begovic2015-10-069-1004/+1004
| | | | Change-Id: I1207daf17c2bd3f7f18e35a7705635752535942f
* envsetup: Fix giant derpSteve Kondik2015-10-061-2/+2
| | | | Change-Id: I490556f18c40c3614e4e554d7db3306a16ff99d8
* envsetup: Fix installrecovery for new fstab formatSteve Kondik2015-10-061-2/+8
| | | | Change-Id: I26ab441c28350cce70bb976b249b16c6b83ab8da
* eat: Support v2 fstabsRicardo Cerqueira2015-10-061-2/+8
| | | | Change-Id: I5220d7e9232174e2acbdc2d6c931827af959f212
* envsetup: add a helper to fix "out/target/common" not being really commonChirayu Desai2015-10-061-0/+20
| | | | | | | | | | | | * out/target/common isn't really common, and if you do back to back builds for multiple devices, that is noticable. * Use out/target/common-$device instead, and link the appropriate dir to out/target/common every time lunch() is run, if CM_FIXUP_COMMON_OUT is set. * Refer https://groups.google.com/forum/#!topic/android-building/ispbOgzoyg8 for more info. Change-Id: I11e7df0e68e2a60ce32576f06397d60fc9465b60
* build: get rid of the sparse expand stuffShareef Ali2015-10-061-1/+1
| | | | | | | | | * 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
* envsetup.sh: add missing dquotesChristopher Lais2015-10-061-1/+1
| | | | Change-Id: Ic86a5dd36b0f32cd7dc4d2f9c187566398796ed6
* dopush: push files to /data tooChirayu Desai2015-10-061-2/+3
| | | | Change-Id: I85e24575a04955ae17b978f038edc46e1e6bfa2c
* Sign final packages with a different key if requestedRicardo Cerqueira2015-10-061-0/+8
| | | | | | ...and throw it into recovery builds as well Change-Id: Ic96d4d49d821cb03d5318e3e9ad93d02fb92573e
* lets make the lunch list look a little neatercybojenix2015-10-061-2/+2
| | | | | | | It's very simple, but with more and more devices coming in, a long list won't cut it There are probably better ways of doing this, feel free to comment Change-Id: I9bd1fef920f985a133c882df9987b6be29dbc7b8
* add adb to the disttoolsKoushik Dutta2015-10-061-0/+1
| | | | Change-Id: I898fa5c9396606144e57dba8453f476b9e9440ab
* repopick: support specifying a range of commits to pickinvisiblek2015-10-061-0/+13
| | | | | | * for example: repopick 12345-12350 Change-Id: I21dd0ef5f19d7b3899fa40ec4c28a0e9dba8a4df
* repopick: allow specifying a topic to pick all commits frominvisiblek2015-10-061-1/+34
| | | | Change-Id: I4fb60120794a77986bf641de063a8d41f4f45a23
* RepoPick : Add support for git pullDanesh M2015-10-061-3/+11
| | | | | | | Allow user to git pull patchsets and dependencies. Change-Id: If5520b45fe79836eac628b3caf0526f11f8953d9 (cherry picked from commit df646304bdcef329e3fe7c12b68107de1f4cd42a)
* repopick: skip a cherry pick if its already been mergedDan Pasanen2015-10-061-2/+12
| | | | | | * override this behavior with the -f argument Change-Id: I280b4945344e7483a192d1c9769c42b8fd2a2aef
* repopick: let's be nice to our servers :)Chirayu Desai2015-10-061-24/+35
| | | | | | | * Prefer fetching changes from GitHub, and if that fails, silently fall-back to Gerrit. Change-Id: Ibf68d4b69a7e8dbee2adb8f7f4250340b8be629c
* repopick: remove the superfluous information from dateDavid Ferguson2015-10-061-2/+3
| | | | | | * '2011-11-17 06:54:52.000000000' -> '2011-11-17 06:54:52' Change-Id: I73d37c9aba13d4be6b4d2d2fc0f2f83971a3e77b
* repopick: gracefully handle empty/non-JSON server responsesDavid Ferguson2015-10-061-3/+15
| | | | Change-Id: Idbabdbfb4a910de0ad405f02b2a84cf2bc9ef3dc