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

Issue 2734023002: Generalize the removal of system apps (Closed)

Created:
3 years, 9 months ago by bsheedy
Modified:
3 years, 9 months ago
CC:
catapult-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Generalize the removal of system apps Generalizes the approach used by RemoveSystemWebView to allow the removal of arbitrary system apps via the --remove-system-apps argument. Tested by running the following command on a newly reflashed Pixel and 5X and verifying the log output + the contents of /system/app: provision_devices.py -d <device> --remove-system-webview \ --remove-system-apps GoogleVrCore NotARealSystemApp -v -v -v BUG=chromium:671373 , catapult:#3341 Review-Url: https://codereview.chromium.org/2734023002 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/eaf9a11d28212ac48b5bfd16c4529ec5756afc2f

Patch Set 1 #

Total comments: 11

Patch Set 2 : Address yolandyan@ comments #

Total comments: 28

Patch Set 3 : Address comments #

Patch Set 4 : Un-hardcode /system/app #

Total comments: 4

Patch Set 5 : Address jbudorick@ comments #

Total comments: 7

Patch Set 6 : Address perezju@ comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -24 lines) Patch
M devil/devil/android/tools/provision_devices.py View 1 2 3 4 5 7 chunks +51 lines, -24 lines 0 comments Download

Messages

Total messages: 31 (9 generated)
the real yoland
https://codereview.chromium.org/2734023002/diff/1/devil/devil/android/tools/provision_devices.py File devil/devil/android/tools/provision_devices.py (right): https://codereview.chromium.org/2734023002/diff/1/devil/devil/android/tools/provision_devices.py#newcode128 devil/devil/android/tools/provision_devices.py:128: system_app_remove_list = system_app_remove_list or [] it seems like you ...
3 years, 9 months ago (2017-03-07 00:57:13 UTC) #3
bsheedy
https://codereview.chromium.org/2734023002/diff/1/devil/devil/android/tools/provision_devices.py File devil/devil/android/tools/provision_devices.py (right): https://codereview.chromium.org/2734023002/diff/1/devil/devil/android/tools/provision_devices.py#newcode128 devil/devil/android/tools/provision_devices.py:128: system_app_remove_list = system_app_remove_list or [] On 2017/03/07 00:57:13, the ...
3 years, 9 months ago (2017-03-07 01:42:54 UTC) #4
the real yoland
https://codereview.chromium.org/2734023002/diff/20001/devil/devil/android/tools/provision_devices.py File devil/devil/android/tools/provision_devices.py (right): https://codereview.chromium.org/2734023002/diff/20001/devil/devil/android/tools/provision_devices.py#newcode52 devil/devil/android/tools/provision_devices.py:52: _SYSTEM_WEBVIEW_NAMES = ['webview', 'WebViewGoogle'] If I run `adb shell ...
3 years, 9 months ago (2017-03-07 02:28:32 UTC) #5
the real yoland
Add owners for this directory as reviewers
3 years, 9 months ago (2017-03-07 02:32:07 UTC) #7
jbudorick
https://codereview.chromium.org/2734023002/diff/1/devil/devil/android/tools/provision_devices.py File devil/devil/android/tools/provision_devices.py (right): https://codereview.chromium.org/2734023002/diff/1/devil/devil/android/tools/provision_devices.py#newcode480 devil/devil/android/tools/provision_devices.py:480: device.EnableRoot() On 2017/03/07 01:42:53, bsheedy wrote: > On 2017/03/07 ...
3 years, 9 months ago (2017-03-07 02:50:54 UTC) #8
perezju
https://codereview.chromium.org/2734023002/diff/20001/devil/devil/android/tools/provision_devices.py File devil/devil/android/tools/provision_devices.py (right): https://codereview.chromium.org/2734023002/diff/20001/devil/devil/android/tools/provision_devices.py#newcode350 devil/devil/android/tools/provision_devices.py:350: def _RemoveSystemApp(device, path): On 2017/03/07 02:50:54, jbudorick wrote: > ...
3 years, 9 months ago (2017-03-07 11:35:09 UTC) #10
jbudorick
https://codereview.chromium.org/2734023002/diff/20001/devil/devil/android/tools/provision_devices.py File devil/devil/android/tools/provision_devices.py (right): https://codereview.chromium.org/2734023002/diff/20001/devil/devil/android/tools/provision_devices.py#newcode350 devil/devil/android/tools/provision_devices.py:350: def _RemoveSystemApp(device, path): On 2017/03/07 11:35:08, perezju wrote: > ...
3 years, 9 months ago (2017-03-07 15:14:05 UTC) #11
bsheedy
Addressed all the comments except the one group that seemed like a solution hadn't been ...
3 years, 9 months ago (2017-03-07 18:04:30 UTC) #12
bsheedy
https://codereview.chromium.org/2734023002/diff/20001/devil/devil/android/tools/provision_devices.py File devil/devil/android/tools/provision_devices.py (right): https://codereview.chromium.org/2734023002/diff/20001/devil/devil/android/tools/provision_devices.py#newcode350 devil/devil/android/tools/provision_devices.py:350: def _RemoveSystemApp(device, path): On 2017/03/07 15:14:05, jbudorick wrote: > ...
3 years, 9 months ago (2017-03-08 00:27:30 UTC) #14
the real yoland
https://codereview.chromium.org/2734023002/diff/20001/devil/devil/android/tools/provision_devices.py File devil/devil/android/tools/provision_devices.py (right): https://codereview.chromium.org/2734023002/diff/20001/devil/devil/android/tools/provision_devices.py#newcode52 devil/devil/android/tools/provision_devices.py:52: _SYSTEM_WEBVIEW_NAMES = ['webview', 'WebViewGoogle'] On 2017/03/07 at 18:04:29, bsheedy ...
3 years, 9 months ago (2017-03-08 00:32:53 UTC) #15
the real yoland
On 2017/03/08 at 00:32:53, the real yoland wrote: > https://codereview.chromium.org/2734023002/diff/20001/devil/devil/android/tools/provision_devices.py > File devil/devil/android/tools/provision_devices.py (right): > ...
3 years, 9 months ago (2017-03-08 00:33:21 UTC) #16
the real yoland
https://codereview.chromium.org/2734023002/diff/20001/devil/devil/android/tools/provision_devices.py File devil/devil/android/tools/provision_devices.py (right): https://codereview.chromium.org/2734023002/diff/20001/devil/devil/android/tools/provision_devices.py#newcode52 devil/devil/android/tools/provision_devices.py:52: _SYSTEM_WEBVIEW_NAMES = ['webview', 'WebViewGoogle'] On 2017/03/08 at 00:32:53, the ...
3 years, 9 months ago (2017-03-08 00:36:03 UTC) #17
bsheedy
https://codereview.chromium.org/2734023002/diff/20001/devil/devil/android/tools/provision_devices.py File devil/devil/android/tools/provision_devices.py (right): https://codereview.chromium.org/2734023002/diff/20001/devil/devil/android/tools/provision_devices.py#newcode52 devil/devil/android/tools/provision_devices.py:52: _SYSTEM_WEBVIEW_NAMES = ['webview', 'WebViewGoogle'] On 2017/03/08 00:36:03, the real ...
3 years, 9 months ago (2017-03-08 00:47:51 UTC) #18
jbudorick
lgtm w/ nits https://codereview.chromium.org/2734023002/diff/20001/devil/devil/android/tools/provision_devices.py File devil/devil/android/tools/provision_devices.py (right): https://codereview.chromium.org/2734023002/diff/20001/devil/devil/android/tools/provision_devices.py#newcode350 devil/devil/android/tools/provision_devices.py:350: def _RemoveSystemApp(device, path): On 2017/03/08 00:27:30, ...
3 years, 9 months ago (2017-03-08 01:36:34 UTC) #19
bsheedy
I'll wait on an LGTM from another reviewer before submitting. https://codereview.chromium.org/2734023002/diff/60001/devil/devil/android/tools/provision_devices.py File devil/devil/android/tools/provision_devices.py (right): https://codereview.chromium.org/2734023002/diff/60001/devil/devil/android/tools/provision_devices.py#newcode351 ...
3 years, 9 months ago (2017-03-08 01:39:17 UTC) #20
jbudorick
On 2017/03/08 01:39:17, bsheedy wrote: > I'll wait on an LGTM from another reviewer before ...
3 years, 9 months ago (2017-03-08 01:53:09 UTC) #21
perezju
Thanks for the changes! Just a couple more comments. https://codereview.chromium.org/2734023002/diff/80001/devil/devil/android/tools/provision_devices.py File devil/devil/android/tools/provision_devices.py (right): https://codereview.chromium.org/2734023002/diff/80001/devil/devil/android/tools/provision_devices.py#newcode87 devil/devil/android/tools/provision_devices.py:87: ...
3 years, 9 months ago (2017-03-08 10:19:04 UTC) #22
jbudorick
https://codereview.chromium.org/2734023002/diff/80001/devil/devil/android/tools/provision_devices.py File devil/devil/android/tools/provision_devices.py (right): https://codereview.chromium.org/2734023002/diff/80001/devil/devil/android/tools/provision_devices.py#newcode87 devil/devil/android/tools/provision_devices.py:87: remove_system_webview=False, On 2017/03/08 10:19:04, perezju wrote: > I think ...
3 years, 9 months ago (2017-03-08 13:54:14 UTC) #23
perezju
https://codereview.chromium.org/2734023002/diff/80001/devil/devil/android/tools/provision_devices.py File devil/devil/android/tools/provision_devices.py (right): https://codereview.chromium.org/2734023002/diff/80001/devil/devil/android/tools/provision_devices.py#newcode87 devil/devil/android/tools/provision_devices.py:87: remove_system_webview=False, On 2017/03/08 13:54:13, jbudorick wrote: > On 2017/03/08 ...
3 years, 9 months ago (2017-03-08 14:00:32 UTC) #24
bsheedy
Testing one final time locally before committing. https://codereview.chromium.org/2734023002/diff/80001/devil/devil/android/tools/provision_devices.py File devil/devil/android/tools/provision_devices.py (right): https://codereview.chromium.org/2734023002/diff/80001/devil/devil/android/tools/provision_devices.py#newcode360 devil/devil/android/tools/provision_devices.py:360: logger.info('System app ...
3 years, 9 months ago (2017-03-08 17:38:39 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2734023002/100001
3 years, 9 months ago (2017-03-08 18:08:56 UTC) #28
commit-bot: I haz the power
3 years, 9 months ago (2017-03-08 18:32:54 UTC) #31
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698