Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Issue 2069113002: [build/android] Switch hand-rolled 'ls' to StatDirectory (Closed)

Created:
4 years, 6 months ago by perezju
Modified:
4 years, 6 months ago
Reviewers:
jbudorick, agrieve
CC:
chromium-reviews, jbudorick+watch_chromium.org, mikecase+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[build/android] Switch hand-rolled 'ls' to StatDirectory Replace previous hand-rolled shell commands with more robust alternatives from device_utils. In particular "install_metadata", which used to be just the output of "ls -l" on the device, is now a list of dictionaries with stat file data for each installed package on the device. BUG=552376 Committed: https://crrev.com/40cb86544a3c7f5fc2cca51dc181624b2995eed8 Cr-Commit-Position: refs/heads/master@{#400123}

Patch Set 1 #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -46 lines) Patch
M build/android/gyp/apk_install.py View 2 chunks +8 lines, -18 lines 4 comments Download
M build/android/gyp/util/build_device.py View 4 chunks +22 lines, -28 lines 3 comments Download

Messages

Total messages: 10 (3 generated)
perezju
Please have a look. I did a few tests running gyp/get_device_configuration.py and gyp/apk_install.py; but I'm ...
4 years, 6 months ago (2016-06-15 14:54:45 UTC) #2
agrieve
Change lgtm. One comment which you're free to ignore. https://codereview.chromium.org/2069113002/diff/1/build/android/gyp/apk_install.py File build/android/gyp/apk_install.py (right): https://codereview.chromium.org/2069113002/diff/1/build/android/gyp/apk_install.py#newcode36 build/android/gyp/apk_install.py:36: ...
4 years, 6 months ago (2016-06-15 17:25:24 UTC) #3
jbudorick
https://codereview.chromium.org/2069113002/diff/1/build/android/gyp/util/build_device.py File build/android/gyp/util/build_device.py (right): https://codereview.chromium.org/2069113002/diff/1/build/android/gyp/util/build_device.py#newcode62 build/android/gyp/util/build_device.py:62: apk_pattern = re.compile('%s(-[0-9]*)?(.apk)?$' % re.escape(apk_package)) On 2016/06/15 14:54:45, perezju ...
4 years, 6 months ago (2016-06-15 20:47:37 UTC) #4
perezju
https://codereview.chromium.org/2069113002/diff/1/build/android/gyp/apk_install.py File build/android/gyp/apk_install.py (right): https://codereview.chromium.org/2069113002/diff/1/build/android/gyp/apk_install.py#newcode36 build/android/gyp/apk_install.py:36: return True On 2016/06/15 17:25:24, agrieve wrote: > On ...
4 years, 6 months ago (2016-06-16 09:31:28 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2069113002/1
4 years, 6 months ago (2016-06-16 09:32:15 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-16 10:36:45 UTC) #8
commit-bot: I haz the power
4 years, 6 months ago (2016-06-16 10:39:06 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/40cb86544a3c7f5fc2cca51dc181624b2995eed8
Cr-Commit-Position: refs/heads/master@{#400123}

Powered by Google App Engine
This is Rietveld 408576698