Accomodate to the import syntax in build.prop.
Bug: 14024566 Change-Id: I71692244fabcd4d12f65849ffa027295b3a2a79a (cherry picked from commit 092fea0d3e644573d7f0dbfe6692f42431f83c5c)
This commit is contained in:
@@ -179,6 +179,7 @@ def LoadBuildProp(read_helper):
|
|||||||
for line in data.split("\n"):
|
for line in data.split("\n"):
|
||||||
line = line.strip()
|
line = line.strip()
|
||||||
if not line or line.startswith("#"): continue
|
if not line or line.startswith("#"): continue
|
||||||
|
if "=" in line:
|
||||||
name, value = line.split("=", 1)
|
name, value = line.split("=", 1)
|
||||||
d[name] = value
|
d[name] = value
|
||||||
return d
|
return d
|
||||||
|
Reference in New Issue
Block a user