OSDN Git Service

A build property's value is returned empty in runtime when its length
authorYu Liu <e7664c@motorola.com>
Tue, 11 Feb 2014 03:20:36 +0000 (19:20 -0800)
committerYu Liu <e7664c@motorola.com>
Tue, 11 Feb 2014 23:31:49 +0000 (15:31 -0800)
commit115c66bd741c6caa7d3078615b81f5e7a5041c9b
treeba8bcc39d2ff75596b78e25fdd64c633581caf48
parent145562fcef979e4fea946987717618dba6148aeb
A build property's value is returned empty in runtime when its length
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
tools/post_process_props.py