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

Issue 1200543002: [Android] Add support for installing split apks with adb_install_apk. (Closed)

Created:
5 years, 6 months ago by mikecase (-- gone --)
Modified:
5 years, 5 months ago
CC:
chromium-reviews, jbudorick+watch_chromium.org, klundberg+watch_chromium.org, yfriedman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Add support for installing split apks with adb_install_apk. BUG= Committed: https://crrev.com/ada7766d2c9f25712627e5a5e434a624863ed53f Cr-Commit-Position: refs/heads/master@{#337664}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Automatically find splits based on base apk name. #

Total comments: 2

Patch Set 3 : Addressed jbudorick's comment. Users now pass in glob to match splits. #

Total comments: 11

Patch Set 4 : Addressed jbudorick's comments. #

Patch Set 5 : #

Total comments: 7

Patch Set 6 : Addressed jbudorick's comments. #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -21 lines) Patch
M build/android/adb_install_apk.py View 1 2 3 4 5 6 5 chunks +24 lines, -1 line 0 comments Download
A build/android/pylib/sdk/aapt.py View 1 2 3 1 chunk +42 lines, -0 lines 0 comments Download
M build/android/pylib/sdk/split_select.py View 1 2 3 4 chunks +6 lines, -14 lines 0 comments Download
M build/android/pylib/utils/apk_helper.py View 1 2 3 4 4 chunks +20 lines, -6 lines 0 comments Download

Messages

Total messages: 37 (7 generated)
mikecase (-- gone --)
5 years, 6 months ago (2015-06-19 23:11:55 UTC) #2
mikecase (-- gone --)
To install a split apk with this change, you can run build/android/adb_install_apk.py base_apk --apk-split split1.apk ...
5 years, 6 months ago (2015-06-19 23:14:11 UTC) #3
mikecase (-- gone --)
On 2015/06/19 at 23:14:11, mikecase wrote: > To install a split apk with this change, ...
5 years, 6 months ago (2015-06-24 15:32:26 UTC) #4
jbudorick
https://codereview.chromium.org/1200543002/diff/1/build/android/adb_install_apk.py File build/android/adb_install_apk.py (right): https://codereview.chromium.org/1200543002/diff/1/build/android/adb_install_apk.py#newcode33 build/android/adb_install_apk.py:33: parser.add_argument('--apk-split', Using this as-is looks like this: ./build/android/adb_install_apk.py --apk-split ...
5 years, 6 months ago (2015-06-24 19:00:40 UTC) #5
mikecase (-- gone --)
https://codereview.chromium.org/1200543002/diff/1/build/android/adb_install_apk.py File build/android/adb_install_apk.py (right): https://codereview.chromium.org/1200543002/diff/1/build/android/adb_install_apk.py#newcode33 build/android/adb_install_apk.py:33: parser.add_argument('--apk-split', On 2015/06/24 at 19:00:39, jbudorick wrote: > Using ...
5 years, 6 months ago (2015-06-24 19:16:20 UTC) #6
agrieve
On 2015/06/24 19:16:20, mikecase wrote: > https://codereview.chromium.org/1200543002/diff/1/build/android/adb_install_apk.py > File build/android/adb_install_apk.py (right): > > https://codereview.chromium.org/1200543002/diff/1/build/android/adb_install_apk.py#newcode33 > ...
5 years, 6 months ago (2015-06-24 19:27:18 UTC) #7
mikecase (-- gone --)
Made it so it automatically finds the splits based on the base_apk names. Quick question ...
5 years, 6 months ago (2015-06-25 00:34:48 UTC) #9
jbudorick
https://codereview.chromium.org/1200543002/diff/20001/build/android/adb_install_apk.py File build/android/adb_install_apk.py (right): https://codereview.chromium.org/1200543002/diff/20001/build/android/adb_install_apk.py#newcode73 build/android/adb_install_apk.py:73: density_splits = glob.glob(apk_without_extension + '-density-*.apk') This is too automagical. ...
5 years, 6 months ago (2015-06-25 00:36:53 UTC) #10
agrieve
On 2015/06/25 00:34:48, mikecase wrote: > Made it so it automatically finds the splits based ...
5 years, 6 months ago (2015-06-25 00:56:58 UTC) #11
mikecase (-- gone --)
https://codereview.chromium.org/1200543002/diff/20001/build/android/adb_install_apk.py File build/android/adb_install_apk.py (right): https://codereview.chromium.org/1200543002/diff/20001/build/android/adb_install_apk.py#newcode73 build/android/adb_install_apk.py:73: density_splits = glob.glob(apk_without_extension + '-density-*.apk') On 2015/06/25 at 00:36:53, ...
5 years, 6 months ago (2015-06-26 18:59:33 UTC) #12
jbudorick
https://codereview.chromium.org/1200543002/diff/40001/build/android/adb_install_apk.py File build/android/adb_install_apk.py (right): https://codereview.chromium.org/1200543002/diff/40001/build/android/adb_install_apk.py#newcode69 build/android/adb_install_apk.py:69: if args.splits: Is there any way we can detect ...
5 years, 6 months ago (2015-06-26 23:26:59 UTC) #13
agrieve
https://codereview.chromium.org/1200543002/diff/40001/build/android/adb_install_apk.py File build/android/adb_install_apk.py (right): https://codereview.chromium.org/1200543002/diff/40001/build/android/adb_install_apk.py#newcode69 build/android/adb_install_apk.py:69: if args.splits: On 2015/06/26 23:26:59, jbudorick wrote: > Is ...
5 years, 6 months ago (2015-06-26 23:53:03 UTC) #14
mikecase (-- gone --)
https://codereview.chromium.org/1200543002/diff/40001/build/android/adb_install_apk.py File build/android/adb_install_apk.py (right): https://codereview.chromium.org/1200543002/diff/40001/build/android/adb_install_apk.py#newcode69 build/android/adb_install_apk.py:69: if args.splits: On 2015/06/26 at 23:26:59, jbudorick wrote: > ...
5 years, 6 months ago (2015-06-27 00:21:22 UTC) #15
jbudorick
https://codereview.chromium.org/1200543002/diff/40001/build/android/adb_install_apk.py File build/android/adb_install_apk.py (right): https://codereview.chromium.org/1200543002/diff/40001/build/android/adb_install_apk.py#newcode35 build/android/adb_install_apk.py:35: nargs='*', I'm not sure how well this combines with ...
5 years, 5 months ago (2015-06-29 15:49:01 UTC) #16
mikecase (-- gone --)
https://codereview.chromium.org/1200543002/diff/40001/build/android/adb_install_apk.py File build/android/adb_install_apk.py (right): https://codereview.chromium.org/1200543002/diff/40001/build/android/adb_install_apk.py#newcode35 build/android/adb_install_apk.py:35: nargs='*', On 2015/06/29 at 15:49:01, jbudorick wrote: > I'm ...
5 years, 5 months ago (2015-06-29 20:06:21 UTC) #17
jbudorick
https://codereview.chromium.org/1200543002/diff/80001/build/android/adb_install_apk.py File build/android/adb_install_apk.py (right): https://codereview.chromium.org/1200543002/diff/80001/build/android/adb_install_apk.py#newcode76 build/android/adb_install_apk.py:76: if not split_pattern.endswith('.apk'): What's with this? Why are we ...
5 years, 5 months ago (2015-07-01 20:55:11 UTC) #18
mikecase (-- gone --)
https://codereview.chromium.org/1200543002/diff/80001/build/android/adb_install_apk.py File build/android/adb_install_apk.py (right): https://codereview.chromium.org/1200543002/diff/80001/build/android/adb_install_apk.py#newcode76 build/android/adb_install_apk.py:76: if not split_pattern.endswith('.apk'): On 2015/07/01 at 20:55:11, jbudorick wrote: ...
5 years, 5 months ago (2015-07-01 22:14:58 UTC) #19
jbudorick
https://codereview.chromium.org/1200543002/diff/80001/build/android/adb_install_apk.py File build/android/adb_install_apk.py (right): https://codereview.chromium.org/1200543002/diff/80001/build/android/adb_install_apk.py#newcode76 build/android/adb_install_apk.py:76: if not split_pattern.endswith('.apk'): On 2015/07/01 at 22:14:57, mikecase wrote: ...
5 years, 5 months ago (2015-07-01 22:18:56 UTC) #20
mikecase (-- gone --)
Removed the rest of the bits where I mess with the glob. People will run ...
5 years, 5 months ago (2015-07-02 00:45:35 UTC) #21
jbudorick
lgtm
5 years, 5 months ago (2015-07-02 00:48:32 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1200543002/120001
5 years, 5 months ago (2015-07-06 17:14:49 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/40999)
5 years, 5 months ago (2015-07-06 19:45:14 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1200543002/120001
5 years, 5 months ago (2015-07-07 16:39:50 UTC) #28
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 5 months ago (2015-07-07 19:33:33 UTC) #29
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/ada7766d2c9f25712627e5a5e434a624863ed53f Cr-Commit-Position: refs/heads/master@{#337664}
5 years, 5 months ago (2015-07-07 19:34:24 UTC) #30
treuvergeben281214
5 years, 5 months ago (2015-07-12 07:18:32 UTC) #33
treuvergeben281214
5 years, 5 months ago (2015-07-12 07:18:33 UTC) #34
treuvergeben281214
5 years, 5 months ago (2015-07-12 07:18:34 UTC) #35
treuvergeben281214
5 years, 5 months ago (2015-07-12 07:18:34 UTC) #36
treuvergeben281214
5 years, 5 months ago (2015-07-12 07:18:40 UTC) #37
Message was sent while issue was closed.

          

Powered by Google App Engine
This is Rietveld 408576698