| Index: build/android/gyp/apk_install.py
|
| diff --git a/build/android/gyp/apk_install.py b/build/android/gyp/apk_install.py
|
| index a512e50e3d5e7163125a1009e5ee9d494cb2e9b4..d6c0e1af8eca3888afb5996b31fa2fd96f4bbe8c 100755
|
| --- a/build/android/gyp/apk_install.py
|
| +++ b/build/android/gyp/apk_install.py
|
| @@ -29,9 +29,9 @@ def GetNewMetadata(device, apk_package):
|
| output = device.RunShellCommand('ls -l /data/app/')
|
| # Matches lines like:
|
| # -rw-r--r-- system system 7376582 2013-04-19 16:34 \
|
| - # org.chromium.chrome.shell.apk
|
| + # org.chromium.chrome.apk
|
| # -rw-r--r-- system system 7376582 2013-04-19 16:34 \
|
| - # org.chromium.chrome.shell-1.apk
|
| + # org.chromium.chrome-1.apk
|
| apk_matcher = lambda s: re.match('.*%s(-[0-9]*)?(.apk)?$' % apk_package, s)
|
| matches = filter(apk_matcher, output)
|
| return matches[0] if matches else None
|
|
|