summaryrefslogtreecommitdiffstats
path: root/tools/post_process_props.py
Commit message (Collapse)AuthorAgeFilesLines
* 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