summaryrefslogtreecommitdiffstats
path: root/tools/post_process_props.py
Commit message (Collapse)AuthorAgeFilesLines
* py3: update all the thingsAnthony King2016-01-041-2/+2
| | | | Change-Id: I5e11b46b7c2f7f8760d6c0e713ca99c1e88b7cd3
* py3: post_process_propsAnthony King2016-01-041-1/+8
| | | | Change-Id: Idf7ed5daa4eaa88f5421c798862ea6bb09593cdc
* Enable ADB by default when ro.adb.secure is not 1Scott Mertz2015-10-061-2/+3
| | | | | | | * Property ro.build.type is not part of the default.prop we can't use this to decide how to apply adb by default within this function Change-Id: Ib3eb24c655353966d64c7148d7530244b628ce94
* Don't enable ADB by default on userdebug buildsMichael Bestas2015-10-061-3/+2
| | | | Change-Id: I33ae5c6f2787017a62e679aa0c28d4b909d45935
* Allow individual projects to enforce a property's valueRicardo Cerqueira2015-10-061-4/+15
| | | | | | | | | | | | | | | | 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
* Fail even dev build when property value exceeds length limit.Ying Wang2015-02-041-15/+4
| | | | | | | Let developers know the issue earlier when they set up new products. Change-Id: I3f2ecbc3a833c1a8a84bd75407a5c035e5fea70a
* resolved conflicts for merge of a8138028 to lmp-dev-plus-aospBrian Carlstrom2014-07-301-3/+9
|\ | | | | | | Change-Id: I5573d097d741f4922b791b33de5c941af08127c6
| * Add PROP_NAME_MAX validationBrian Carlstrom2014-07-291-3/+9
| | | | | | | | Change-Id: I49179c83ae163de6f6fb398c5de60c5d296ca009
* | Accomodate to the import syntax in build.prop.Ying Wang2014-04-151-2/+3
| | | | | | | | | | Bug: 14024566 Change-Id: I70b8d3c8cfc968a7f039728375f3f7f341cdc11a
* | Import OEM build properties, if defined.Jeff Sharkey2014-03-211-0/+11
|/ | | | | | | | | | | | Certain products can define a list of system properties that should be delegated to the OEM. Since these properties may be ro.*, we give them first shot at defining. Also support blacklist of properties that should never be defined by build.prop, used to delegate to runtime fingerprint generation. Bug: 13367676 Change-Id: I3f00db732f485818205a7b76b31edbdc3a89aac0
* Refactor a little bit and do the validation on also default.prop.Ying Wang2014-02-121-31/+47
| | | | Change-Id: I76c2344d9033eadede7048689a879c9a69a05b7f
* A build property's value is returned empty in runtime when its lengthYu Liu2014-02-111-1/+32
| | | | | | | | | | | exceeds 92 symbols (91 valid symbols + \0). It is better to catch that issue on earlier stage, i.e. fail the build with an appropriate message. For developer's build, show warning message instead of failing the build (in the latter case, as developers do not usually care about build properties too much). Change-Id: I03ced7b486d43a71b1921e0a9c48b43aa30727c7
* Turn off adb on user builds.Joe Onorato2012-05-021-2/+5
| | | | | | | | | Tungsten is the first device we have done since post_process_props.py and UsbDeviceManager were added that by default has no services running on usb. Everything else has mtp. This makes it so we always populate the property with something. Change-Id: Ic24f52462ed8866e87499c715dd21937e5b1128d
* post_process_props: Write mangled properties back to file instead of stdoutMike Lockwood2011-06-081-3/+2
| | | | | Change-Id: I78b642400c46019165f12d409a238344ca6e09dd Signed-off-by: Mike Lockwood <lockwood@android.com>
* post process the system propertiesJoe Onorato2011-06-081-0/+83
Change-Id: Ib78fe238d90dd4523326e4fa088d9333edc9e299