roomservice: Remove support for devices in main manifest
* We are using roomservice for all devices since a long time Change-Id: Ice5c37de154ca3fb4cf69a8401e5bbe3c9e56e2a
This commit is contained in:
@@ -127,17 +127,6 @@ def get_from_manifest(devicename):
|
|||||||
if re.search("android_device_.*_%s$" % device, localpath.get("name")):
|
if re.search("android_device_.*_%s$" % device, localpath.get("name")):
|
||||||
return localpath.get("path")
|
return localpath.get("path")
|
||||||
|
|
||||||
# Devices originally from AOSP are in the main manifest...
|
|
||||||
try:
|
|
||||||
mm = ElementTree.parse(".repo/manifest.xml")
|
|
||||||
mm = mm.getroot()
|
|
||||||
except:
|
|
||||||
mm = ElementTree.Element("manifest")
|
|
||||||
|
|
||||||
for localpath in mm.findall("project"):
|
|
||||||
if re.search("android_device_.*_%s$" % device, localpath.get("name")):
|
|
||||||
return localpath.get("path")
|
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def is_in_manifest(projectpath):
|
def is_in_manifest(projectpath):
|
||||||
|
Reference in New Issue
Block a user