Index: build/android/devil/android/device_utils.py |
diff --git a/build/android/devil/android/device_utils.py b/build/android/devil/android/device_utils.py |
index b169240578f56a69842982990bb5a5a647d13afb..55696711c854075d48324985a0a4d3545cf094bd 100644 |
--- a/build/android/devil/android/device_utils.py |
+++ b/build/android/devil/android/device_utils.py |
@@ -1699,6 +1699,11 @@ class DeviceUtils(object): |
"""Returns the product name of the device (e.g. 'nakasi').""" |
return self.GetProp('ro.product.name', cache=True) |
+ @property |
+ def product_board(self): |
+ """Returns the product board name of the device (e.g. 'shamu').""" |
+ return self.GetProp('ro.product.board', cache=True) |
+ |
def GetProp(self, property_name, cache=False, timeout=DEFAULT, |
retries=DEFAULT): |
"""Gets a property from the device. |