Merge "Allow ro. properties to have arbitrary lengths" am: 1d6e8e31d0
am: 47b3003e9b
Change-Id: I5018e0af0fbf7c3ddb17a76242cb99ed676ef12b
This commit is contained in:
commit
646f3c2651
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ def validate(prop):
|
||||||
buildprops = prop.to_dict()
|
buildprops = prop.to_dict()
|
||||||
for key, value in buildprops.iteritems():
|
for key, value in buildprops.iteritems():
|
||||||
# Check build properties' length.
|
# Check build properties' length.
|
||||||
if len(value) > PROP_VALUE_MAX:
|
if len(value) > PROP_VALUE_MAX and not key.startswith("ro."):
|
||||||
check_pass = False
|
check_pass = False
|
||||||
sys.stderr.write("error: %s cannot exceed %d bytes: " %
|
sys.stderr.write("error: %s cannot exceed %d bytes: " %
|
||||||
(key, PROP_VALUE_MAX))
|
(key, PROP_VALUE_MAX))
|
||||||
|
|
Loading…
Reference in a new issue